Naked eye 3D uncertain region image fusion method, system, device and equipment

By determining static and dynamic areas in the vehicle head-up display device and assigning target pixels to them for rendering processing, the problem of insufficient computing power in the vehicle head-up display device when processing 3D images is solved, and the picture is smooth and efficient. Image processing.

CN118764599APending Publication Date: 2024-10-11HANGZHOU FERVCLOUD TECHNOLOGY CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202411040091.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-31
Publication Date
2024-10-11

AI Technical Summary

Technical Problem

When the vehicle head-up display device processes full-frame 3D images, insufficient computing power causes the screen to freeze. Existing technology is difficult to effectively process the image fusion of static and dynamic areas.

Method used

By determining static and dynamic areas in the projected image, allocating target pixels to the target threads respectively, and using computational shaders for rendering processing, the resource usage of image fusion is reduced, and parallelism and computing efficiency are improved.

Benefits of technology

It solves the problem of insufficient computing power and is suitable for projection equipment with low computing power, ensuring the smoothness and processing efficiency of 3D images.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118764599A_ABST
    Figure CN118764599A_ABST
Patent Text Reader

Abstract

The invention discloses a naked eye 3D uncertain region image fusion method, system, device and equipment. Comprising the steps of obtaining a target static region in a next projection image after display of a current projection image is completed; and if it is determined that the current projection image contains the dynamic 3D fusion object to be moved, obtaining a target dynamic area of the dynamic 3D fusion object in the next projection image; according to the target static area and the target dynamic area, target pixel point positions corresponding to the target threads are determined, and the target threads are utilized to carry out rendering processing on the corresponding target pixel points to obtain a next projection image; and projecting the next projection image to the display screen for projection display. According to the technical scheme, the problem that processing of the full-width 3D picture consumes more computing power is solved, the method is suitable for projection equipment with lower computing power, and picture fluency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of 3D head-up display, and in particular to a method, system, device and equipment for fusion of indeterminate areas of naked-eye 3D images. Background Art

[0002] Naked-eye 3D display technology refers to a 3D display technology that allows users to directly watch three-dimensional images with their naked eyes and present 3D effects without wearing special 3D glasses or other auxiliary equipment. Naked-eye 3D display technology has a wide range of applications, such as movie playback, interactive projection, stage performances, and head-up displays.

[0003] In the vehicle's head-up display application scenario, naked-eye 3D display technology can provide drivers with richer and more intuitive information display, increase driving safety and convenience, especially naked-eye 3D display combined with augmented reality effects, which can provide 3D holographic images in the head-up display, helping drivers to obtain road information in an immersive way.

[0004] In the process of implementing the present invention, the inventors found that the prior art has the following problems: the head-up display device of the vehicle is generally equipped with a processing system that can be used by mobile terminals such as Android system and Hongmeng system, but the existing processing system can generally provide sufficient computing power for 2D image processing. For 3D images, the GPU (Graphics Processing Unit) calculates the pixels of the entire screen display area to achieve image fusion. In the process of ensuring real-time performance, the device computing power is insufficient and sufficient computing power support cannot be provided for the full 3D image, which may cause the screen to freeze. At the same time, the head-up display image may contain elements displayed in the static area and elements displayed in different dynamic areas. Therefore, the present invention proposes a method for realizing image fusion of static areas and dynamic areas while occupying fewer resources. Summary of the invention

[0005] The present invention provides a naked-eye 3D indefinite area image fusion method, system, device and equipment, which solves the problem of consuming a lot of computing power to process the full-frame 3D picture, is suitable for projection equipment with lower computing power, and improves the smoothness of the picture.

[0006] According to one aspect of the present invention, a method for fusion of indefinite area images of naked eye 3D is provided, comprising:

[0007] After the current projection image is displayed, a target static area in the next projection image is obtained; and if it is determined that the current projection image contains a dynamic 3D fusion object to be moved, a target dynamic area of ​​the dynamic 3D fusion object in the next projection image is obtained;

[0008] According to the target static area and the target dynamic area, the target pixel points corresponding to each target thread are determined, and the corresponding target pixel points are rendered by the target thread to obtain the next projection image;

[0009] The next projection image is projected onto a display screen for projection display.

[0010] Optionally, obtaining a target static area in a next projection image includes:

[0011] According to the static partition description information, a target static area is determined in the next projection image; wherein the static partition description information includes position information and size information of the target static area.

[0012] The advantage of this setting is that by determining the static area in the next projected image, the area where the fusion algorithm is used can be reduced, thereby solving the problem of insufficient computing power of the existing processing system when processing full-frame 3D images. It is suitable for projection devices with lower computing power and ensures the smoothness of the 3D picture.

[0013] Optionally, determining the position of a target pixel to be rendered according to the target static area and the target dynamic area includes:

[0014] Determine the first threads and the first pixel points corresponding to the first threads according to the static partition description information of each target static area;

[0015] Extracting dynamic partition description information and screen anchor information according to the target dynamic area, and acquiring multiple dynamic parameters according to the dynamic partition description information and the screen anchor information;

[0016] According to the dynamic parameters and the screen anchoring information, the second pixel points corresponding to the second threads are determined.

[0017] The advantage of this setting is that it can improve the parallelism of image processing by processing images with only one pixel through a single thread, make full use of the characteristics of the compute shader, and improve the efficiency of image processing.

[0018] Optionally, the dynamic partition description information includes a first coordinate of a center point of the target dynamic area in the projection image, and size information of the target dynamic area in the projection image;

[0019] The screen anchoring information includes size information of the projected image and the second coordinates of the anchor point in the projected image.

[0020] The advantage of such a setting is that by setting the above dynamic partition description information and screen anchoring information, the number of calculation parameters of the target dynamic area can be reduced, and while ensuring the calculation efficiency, the accuracy of the calculation of the target dynamic area can also be guaranteed.

[0021] Optionally, multiple dynamic parameters are obtained according to the dynamic partition description information and the screen anchoring information, including:

[0022] Determine the area width and area height of the target dynamic area in the projection image according to the size information of the target dynamic area in the projection image;

[0023] According to the first coordinate and the second coordinate, a horizontal coordinate difference and a vertical coordinate difference between the center point of the target dynamic area and the anchor point are determined.

[0024] The advantage of this setting is that by calculating the dynamic parameters according to the dynamic partition description information and the screen anchoring information, the calculation amount of the dynamic parameters is reduced, the real-time update of the dynamic parameters can be guaranteed, and the projection delay of the 3D fusion object is reduced.

[0025] Optionally, determining the second pixel positions corresponding to the second threads respectively according to the dynamic parameters and the screen anchoring information includes:

[0026] The calculation shader in the image processing engine is called to determine the second pixel position corresponding to each second thread according to the following formula:

[0027] id.x1=id.x2+LocalX+ScreenWidth / 2-ΔWidth / 2;

[0028] id.y1=id.y2+LocalY+ScreenHeight / 2-ΔHeight / 2;

[0029] Among them, id.x1 and id.y1 are the horizontal and vertical coordinates of the second pixel point respectively, id.x2 and id.y2 are the horizontal and vertical coordinates of the pixel point processed by the second thread in the current projection image respectively, LocalX and LocalY are the horizontal relative coordinates and vertical relative coordinates between the center point of the target dynamic area and the anchor point respectively, ScreenWidth is the screen width of the next projection image, ScreenHeight is the screen height of the next projection image, ΔWidth is the area width of the target dynamic area in the next projection image, and ΔHeight is the reference height of the target dynamic area in the next projection image.

[0030] The advantage of this setting is that the above formula is used to calculate the second pixel positions corresponding to each second thread, and the pixels to be rendered of the second thread can be quickly updated in combination with dynamic parameters, which is simple to calculate and has good real-time performance.

[0031] Optionally, after acquiring multiple dynamic parameters according to the target partition description information and the screen anchoring information, the method further includes:

[0032] According to the target dynamic area and the dynamic parameter, second threads for performing image fusion on the target dynamic area are determined in a computing shader.

[0033] The advantage of this setting is that it can minimize the occupancy of the thread group, maximize the use of threads in the thread group, avoid occupying the thread group of other tasks, and maximize the computing efficiency of the compute shader.

[0034] Optionally, determining, in a compute shader, second threads for performing image fusion on the target dynamic area according to the target dynamic area and the dynamic parameter, includes:

[0035] Determining a thread arrangement pattern in each thread group predefined in the compute shader;

[0036] A second thread group for performing image fusion on a target dynamic area is defined in a compute shader according to the thread arrangement mode, the area width, and the area height, and a plurality of second threads are determined according to the second thread group.

[0037] The advantage of this setting is that by determining the second thread group and the second thread according to the thread arrangement mode, the occupancy of the thread group can be minimized, the threads in the thread group can be maximized, and the thread group occupying other tasks can be avoided, so as to maximize the computing performance of the compute shader, improve the parallelism of image processing, and improve image processing efficiency.

[0038] Optionally, the target thread in the compute shader is used to render the unique target pixel point corresponding to it according to the fusion rule to obtain the rendering result value of the target pixel point. When each target thread completes the rendering, it is determined that the next projected image completes the image fusion processing.

[0039] The advantage of this setting is that by having a one-to-one correspondence between threads and pixels, and a single thread only rendering a unique pixel at a time, it can fully utilize the characteristics of the compute shader, improve the parallelism of image processing, and improve image processing efficiency.

[0040] Optionally, the target static area includes a static 3D fusion object, and the static 3D fusion object includes a vehicle status prompt element;

[0041] The dynamic 3D fusion object includes augmented reality AR prompt elements; the AR prompt elements specifically include AR navigation elements and AR obstacle prompt elements.

[0042] The advantage of this setting is that by displaying the vehicle status prompt elements as static 3D fusion objects and displaying the AR navigation elements and AR obstacle prompt elements as dynamic 3D fusion objects, virtual reality can be used to provide users with a good driving experience. At the same time, the 3D displayed AR prompt elements can improve the indication accuracy, readability and interactivity.

[0043] According to another aspect of the present invention, a head-up display system is provided, the head-up display system comprising a display screen and a head-up display; the head-up display comprises a control component;

[0044] Wherein, the control component is used to execute the naked-eye 3D indefinite area image fusion method described in any embodiment of the present invention.

[0045] Optionally, the head-up display further includes an optical grating device and a mirror device;

[0046] The optical grating device is used to split the projected image to generate a split image to achieve three-dimensional imaging;

[0047] The mirror device is used to project the split projection image onto a display screen for head-up display according to a preset angle.

[0048] The advantage of this setting is that by setting an optical grating device and a mirror device in the head-up display, the head-up display device can project clear 3D content, and adding 3D elements to the head-up display can enhance the user's driving experience.

[0049] According to another aspect of the present invention, a naked-eye 3D indefinite-region image fusion device is provided, comprising:

[0050] A region determination module, configured to obtain a target static region in a next projection image after displaying the current projection image is completed; and if it is determined that the current projection image contains a dynamic 3D fusion object to be moved, obtain a target dynamic region of the dynamic 3D fusion object in the next projection image;

[0051] An image fusion module, used to determine the target pixel points corresponding to each target thread according to the target static area and the target dynamic area, and use the target thread to render the corresponding target pixel points to obtain the next projection image;

[0052] The projection display module is used to project the next projection image onto a display screen for projection display.

[0053] According to another aspect of the present invention, a projection device is provided, the projection device comprising:

[0054] at least one processor; and

[0055] a memory communicatively connected to the at least one processor; wherein,

[0056] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the naked-eye 3D indefinite area image fusion method described in any embodiment of the present invention.

[0057] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the naked-eye 3D indefinite area image fusion method described in any embodiment of the present invention when executed.

[0058] The technical solution of the embodiment of the present invention obtains the target static area in the next projection image after completing the display of the current projection image, and determines that the current projection image contains a dynamic 3D fusion object to be moved, obtains the target dynamic area in the next projection image, determines the target pixel points corresponding to each target thread according to the target static area and the target dynamic area, and uses the target thread to render the corresponding target pixel points to obtain the next projection image and project it onto the display screen for projection display. The target pixel points processed by the target thread can be dynamically allocated, and a relatively fixed thread is used to perform image fusion processing on the static area and the dynamic area of ​​the target to be displayed in the naked-eye 3D image, and other parts of the image are not processed, thereby reducing the area where the fusion algorithm is used, thereby solving the problem of insufficient computing power when the existing processing system processes a full-frame 3D image, and is suitable for projection devices with low computing power to ensure the smoothness of the 3D picture.

[0059] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0060] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0061] Figure 1 This is a flow chart of a naked-eye 3D indefinite-region image fusion method provided according to Embodiment 1 of the present invention;

[0062] Figure 2 is a schematic diagram of a head-up display imaging process provided according to an embodiment of the present invention;

[0063] Figure 3 is a schematic diagram of image fusion region division provided according to an embodiment of the present invention;

[0064] Figure 4 is a schematic diagram of a static area provided according to an embodiment of the present invention;

[0065] Figure 5 is a schematic diagram of a dynamic region provided according to an embodiment of the present invention;

[0066] Figure 6 is a schematic diagram of a naked-eye 3D imaging principle provided according to an embodiment of the present invention;

[0067] Figure 7 is a schematic diagram of a projection effect of a naked-eye 3D image in a head-up display scene provided by an embodiment of the present invention;

[0068] Figure 8 is a flowchart of a naked-eye 3D static area image fusion method provided according to Embodiment 2 of the present invention;

[0069] Fig. 9 is a schematic diagram of a thread group arrangement mode provided according to an embodiment of the present invention;

[0070] Fig.10 is a schematic diagram of a thread arrangement mode provided according to an embodiment of the present invention;

[0071] Fig.11 is a relationship diagram between a thread group and threads provided according to an embodiment of the present invention;

[0072] Fig.12 is a flow chart of naked-eye 3D static area image fusion provided according to an embodiment of the present invention;

[0073] Fig.13 is a flow chart of naked-eye 3D dynamic area image fusion provided according to an embodiment of the present invention;

[0074] Fig.14 is a schematic diagram of the structure of a head-up display system provided according to Embodiment 3 of the present invention;

[0075] Fig.152 is a schematic structural diagram of a naked-eye 3D indefinite-region image fusion device provided according to a fourth embodiment of the present invention;

[0076] Fig.16 It is a structural schematic diagram of a projection device for implementing the naked-eye 3D indefinite-area image fusion method of an embodiment of the present invention. DETAILED DESCRIPTION

[0077] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0078] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0079] The present invention can be applied to a variety of projection scenarios, such as movie playback, interactive projection, stage performance, and head-up display. In this application, the head-up display of a vehicle is used as an example to specifically illustrate the naked-eye 3D dynamic area image fusion method, wherein the vehicle is intended to represent various forms of transportation. For example, the transportation may include but is not limited to land transportation such as vehicles, air transportation such as aircraft (or aircraft), or water or underwater transportation.

[0080] Optionally, in the application of head-up display of the vehicle, the head-up display device of the vehicle can realize the processing and projection display of the projected image. The front-end display part of the naked-eye 3D display technology needs to calculate and generate the projected image through the pixel imaging unit, so that the left and right eyes of the person see different pictures and merge them into a 3D effect picture in the brain.

[0081] Embodiment 1

[0082] Figure 1This is a flow chart of a naked-eye 3D indefinite region image fusion method provided in the first embodiment of the present invention. This embodiment is applicable to the case where image fusion processing is performed only on the region with a 3D fusion object in the 3D projection image. The method can be executed by a naked-eye 3D indefinite region image fusion device. The naked-eye 3D indefinite region image fusion device can be implemented in the form of hardware and / or software, and can generally be configured in a projection device with an image processing function. Figure 1 As shown, the method includes:

[0083] S110, after the current projection image is displayed, obtaining a target static area in the next projection image; and if it is determined that the current projection image contains a dynamic 3D fusion object to be moved, obtaining a target dynamic area of ​​the dynamic 3D fusion object in the next projection image.

[0084] Figure 2 is a schematic diagram of an optional head-up display imaging process, such as Figure 2 As shown, the image source in the HUD (Head-Up display) emits light and forms an image, which is then projected onto the vehicle's windshield via a plane mirror and a curved mirror. The windshield is an optional imaging element. If the vehicle is equipped with other imaging elements, the image can also be projected onto other imaging elements. The eye box refers to the range of imaging light that can be received by the driver's eye height. The head-up display content actually observed from the driver's perspective is actually a virtual image on a virtual image plane in space. By correcting the projected image, the virtual image in the virtual image plane can be adjusted, ultimately achieving the effect of image change from the driver's perspective.

[0085] Optionally, in most naked-eye 3D projection display scenarios, the projected content is video or dynamic images, and whether it is video or dynamic images, it is actually projecting multiple frames of images in a short period of time. For example, if the usage scenario is a head-up display in a vehicle, the projected image can be a 3D head-up display image, and each frame of the projected image includes the 3D head-up display content at the current time point.

[0086] Optionally, in order to solve the problem of insufficient computing power of the processing system, the inventor of the present application proposes to split the image fusion algorithm into full-screen image fusion and indefinite area image fusion. For images that do not need to be displayed in full screen, indefinite areas can be selected in the projected image for regional image fusion. Figure 3 This is a schematic diagram of an optional image fusion region division, such as Figure 3As shown, the irregular area can be divided into a static irregular area and a dynamic irregular area. It can be understood that the static irregular area can refer to an area in which the shape and position of the projected image remain unchanged, but the specific display content in the area can be variable. The dynamic irregular area can refer to a display area of ​​a 3D fusion object whose display position is constantly moving in the projected image. For a moving 3D fusion object, its position in the display screen is different at different time points. In each frame of the image, the area displaying the 3D fusion object to be moved can be used as a dynamic irregular area. In addition, the shapes of the static irregular area and the dynamic irregular area are arbitrary shapes. For the sake of convenience of explanation, they are collectively referred to as static areas and dynamic areas in this application.

[0087] Figure 4 is an optional static area schematic diagram, such as Figure 4 As shown, fusion A, fusion B and fusion C are three static areas in the projection image, and the shapes of the static areas are not limited. Figure 4 For illustrative purposes only, when the total number of threads of the processing system is greater than the total number of threads required for image fusion, the position, number and shape of the static area are not limited.

[0088] Optionally, the static area is generally a pre-designed area. For example, in a head-up display application, vehicle status information such as vehicle speed is displayed in a fixed position. In this case, the area displaying the speed prompt element can be used as a static area. The target static area in the next projected image can be determined based on the preset static partition description information. The static partition description information can include the position information and size information of the target static area. The target static area can be determined based on the position information and size information. It can also include the display time information of the static area. For example, a picture can be displayed continuously for 10 minutes in a static area, and the picture disappears after 10 minutes. This is only an exemplary explanation here.

[0089] Figure 5 is an optional dynamic region diagram, such as Figure 5 As shown, Position A may be the current dynamic area in the current projection image, in which the 3D fusion object to be moved is displayed, and Position B and Position C show two optional dynamic areas. In the next projection image, if the 3D fusion object to be moved needs to be moved to Position B, then Position B is the target dynamic area in the next projection image, and it may also be moved to Position B and Position C at the same time, then Position B and Position C are two different target dynamic areas respectively. The shape and number of the dynamic areas are not limited here. Figure 5For illustrative purposes only, when the total number of threads in the processing system is greater than the total number of threads required for image fusion, the dynamic area can be moved to different area positions as required, and the number of shapes is not limited.

[0090] Optionally, a 3D fusion object may refer to a 3D target to be displayed in an image. Taking the head-up display in a vehicle as an example, the AR navigation element in the head-up display screen may be used as a 3D target, and the AR obstacle prompt element may be used as a 3D target. When there are multiple different obstacles, each obstacle corresponds to an AR obstacle prompt element, and each AR obstacle prompt element may be used as a 3D target. A dynamic 3D fusion object may refer to a 3D fusion object whose position can be moved, and a static 3D fusion object may be a display object in a static area in a projected image.

[0091] Optionally, the target static area can be one or more, and the display content within the target static area can be determined based on the real-time data of the vehicle. For example, in the head-up display application scenario of the vehicle, the display content within the target static area can be a vehicle speed display icon, and the display content within the target static area is determined based on the real-time vehicle speed sent by the sensor.

[0092] Optionally, the target dynamic area of ​​the dynamic 3D fusion object in the next projection image can be determined according to pre-set 3D projection content, and the target dynamic area of ​​the dynamic 3D fusion object in the next projection image can be determined according to information collected in real time. For example, in the head-up display application scenario of the vehicle, the area where the head-up display element is located in the next projection image, that is, the target dynamic area, can be determined according to the vehicle information collected in real time.

[0093] S120 , determining the target pixel positions corresponding to the target threads respectively according to the target static area and the target dynamic area, and using the target threads to render the corresponding target pixel points to obtain the next projection image.

[0094] Optionally, determining the position of a target pixel to be rendered according to the target static area and the target dynamic area includes:

[0095] Determine the first threads and the first pixel points corresponding to the first threads according to the static partition description information of each target static area;

[0096] Extracting dynamic partition description information and screen anchor information according to the target dynamic area, and acquiring multiple dynamic parameters according to the dynamic partition description information and the screen anchor information;

[0097] According to the dynamic parameters and the screen anchoring information, the second pixel points corresponding to the second threads are determined.

[0098] Optionally, the first thread and the second thread are threads in the image processing engine used to perform image rendering processing on a unique pixel point, that is, a single thread can only render a unique pixel point in a single image fusion processing. The first pixel point may refer to each pixel point in the static area, and the second pixel point may refer to each pixel point in the dynamic area. When the static area and the dynamic area overlap, the pixel points in the overlapping area can only be processed as one of the first pixel points or the second pixel points, that is, in a single image fusion processing, each pixel point can only be rendered once.

[0099] Optionally, the first thread and the second thread serve as target threads, and the first pixel point and the second pixel point serve as target pixel points.

[0100] Optionally, after determining the target dynamic area of ​​the dynamic 3D fusion object in the next projection image, the dynamic partition description information and the screen anchoring information may be determined.

[0101] Optionally, the dynamic partition description information includes the first coordinates of the center point of the target dynamic area in the projection image, and the size information of the target dynamic area in the projection image; the screen anchoring information includes the size information of the projection image and the second coordinates of the anchor point in the projection image.

[0102] Optionally, the shape of the target dynamic area may be a rectangle, a triangle, a circle, an ellipse, etc., or an irregular shape, which is not limited here.

[0103] Optionally, for target dynamic areas of different shapes, the selected size information is also different. For example, for a target dynamic area of ​​a rectangle, triangle or ellipse, the size information selects the area width and the area height of the target dynamic area. For a circular target dynamic area, the size information can select the radius of the circle. For an irregularly shaped target dynamic area, the minimum bounding box of the target dynamic area can be determined first using a regular shape, and then the width and height of the minimum bounding box of the target dynamic area are determined. Only a few optional methods of obtaining the size information are shown here, and the size information is not specifically limited.

[0104] Optionally, the size information of the target dynamic area in the projection image may be the same as or different from the shape and size information of the target dynamic area in the next projection image, depending on the specific display requirements of the 3D projection image.

[0105] Optionally, based on existing projection technology, the projected image is generally a regular image, and the size information of the projected image may include the screen height and screen width of the projected image. Of course, the projected image may also be an irregular image. When the projected image is an irregular image, the size information of the projected image may be the size information of the minimum external frame of the projected image. The size information of the projected image is not specifically limited here.

[0106] Optionally, the anchor point may refer to a pre-calibrated point in the projection image, which may be used as a reference point in the projection image. The anchor point may be the center point of the projection image, corner points around the projection image, etc., but this is not limited.

[0107] Optionally, after the pixel points corresponding to the first thread and the second thread are determined, the first thread and the second thread respectively perform rendering processing on the corresponding pixel points.

[0108] It can be understood that in order to reduce the resource occupation of image fusion, based on the threads that perform image fusion on the static area and the dynamic area in the current projection image, the first thread and the second thread for performing image fusion on the next projection image are determined. The specific determination method is: if the number of pixels occupied by the static area and the dynamic area in the current projection image is the same as that in the next projection image, then the threads that perform image fusion on the current projection image are divided into the first thread and the second thread; if the number of pixels occupied by the static area or the dynamic area in the current projection image is less than the number of pixels in the next projection image, then on the basis of the threads that perform image fusion on the current projection image, new threads are confirmed as the first thread or the second thread; if the number of pixels occupied by the static area or the dynamic area in the current projection image is greater than the number of pixels in the next projection image, then some threads are selected from the threads that perform image fusion on the current projection image as the first thread and the second thread, which is not limited here.

[0109] Optionally, each target thread simultaneously performs rendering processing on the target pixel points, and after the rendering processing of each target pixel point is completed, the finally generated image is used as the next projection image.

[0110] S130, projecting the next projection image onto the display screen for projection display.

[0111] Figure 6 is a schematic diagram of an optional naked-eye 3D imaging principle. Figure 6In the HUD, the optical design is performed on the HUD so that the user's left eye sees image P1 and the right eye sees image P2 through the imaging structure, such as the windshield. Due to the binocular parallax formed by images P1 and P2, the objects seen by the user have a sense of depth and space. The right eye sees the image of the right eye, which is synthesized into a three-dimensional picture with a sense of depth in the user's brain. Naked-eye 3D imaging can adjust the binocular parallax by changing the position between the two images, so that the distance of the virtual image perceived by the user changes (the actual distance of the virtual image remains unchanged). The closer the two images are, the closer the virtual image distance perceived by the user is; conversely, the farther the two images are, the farther the virtual image distance perceived by the user is.

[0112] Optionally, the target static area of ​​the next projected image includes the left-eye visible image and the right-eye visible image of the static 3D fusion object; the target dynamic area of ​​the next projected image includes the left-eye visible image and the right-eye visible image of the dynamic 3D fusion object.

[0113] Optionally, when the application scenario is a head-up display function of a vehicle, the display screen may be an imaging element configured on the vehicle; the imaging element may include a front windshield of the vehicle, a reflective layer film disposed in the vehicle, or an imaging window disposed in the vehicle, but this is not limited. Imaging through the windshield is W-HUD (Windshield-HUD, windshield head-up display), and imaging through the imaging window is C-HUD (Combiner HUD, combined head-up display). Optionally, the imaging window is generally made of a transparent material (transparent to visible light) or an imaging plate with a certain curvature.

[0114] Figure 7 A schematic diagram of an optional projection effect of a dynamic 3D fusion object in a head-up display scene is shown in FIG. Figure 7 As shown, the black box in the middle can be regarded as a dynamic area, in which the dynamic 3D fusion object is the navigation arrow in the AR navigation element. The ghosting effect indicated by the arrow in the figure is actually the superposition effect of the left and right eye images. It is a 3D dynamic arrow from the driver's human eye perspective, and the rest can be regarded as a simulated segmentation of the vehicle's front windshield and other areas in the car from the driver's perspective, which can be ignored. AR navigation elements can be displayed in different areas of the screen, and the shapes of AR navigation elements displayed in each area may also be different. For example, a straight arrow is displayed first, and a left turn arrow is displayed later. The position where the AR navigation area is displayed in each projected image can be used as a target dynamic area of ​​the projected image.

[0115] Optionally, the projected image is a 3D head-up display image; the display screen is an imaging element configured on the vehicle; the imaging element includes a front windshield of the vehicle, an emitting film layer arranged in the vehicle, or an imaging window arranged in the vehicle.

[0116] The technical solution of the embodiment of the present invention obtains the target static area in the next projection image after completing the display of the current projection image, and determines that the current projection image contains a dynamic 3D fusion object to be moved, obtains the target dynamic area in the next projection image, determines the target pixel points corresponding to each target thread according to the target static area and the target dynamic area, and uses the target thread to render the corresponding target pixel points to obtain the next projection image and project it onto the display screen for projection display. The target pixel points processed by the target thread can be dynamically allocated, and a relatively fixed thread is used to perform image fusion processing on the static area and the dynamic area of ​​the target to be displayed in the naked-eye 3D image, and other parts of the image are not processed, thereby reducing the area where the fusion algorithm is used, thereby solving the problem of insufficient computing power when the existing processing system processes a full-frame 3D image, and is suitable for projection devices with low computing power to ensure the smoothness of the 3D picture.

[0117] Embodiment 2

[0118] Figure 8 This is a flow chart of a naked-eye 3D static area image fusion method provided by Embodiment 2 of the present invention. Based on the above embodiments, this embodiment specifically describes the naked-eye 3D static area image fusion method. Figure 8 As shown, the method includes:

[0119] S210. After the display of the current projection image is completed, determine the target static area in the next projection image according to the static partition description information; and if it is determined that the current projection image contains a dynamic 3D fusion object to be moved, obtain the target dynamic area of ​​the dynamic 3D fusion object in the next projection image.

[0120] Optionally, the static partition description information includes location information and size information of the target static area.

[0121] Optionally, the target static area includes a static 3D fusion object, and the static 3D fusion object includes a vehicle status prompt element;

[0122] The dynamic 3D fusion object includes augmented reality AR prompt elements; the AR prompt elements specifically include AR navigation elements and AR obstacle prompt elements.

[0123] Optionally, when the application scenario is the head-up display function of a vehicle, the static 3D fusion object is a vehicle status prompt element. The vehicle status prompt element is generally generated based on the vehicle's own status and does not require some elements to be moved for display, such as the vehicle's speed, headlight status, engine status and other indicators.

[0124] Optionally, when the application scenario is a head-up display function of a vehicle, the dynamic 3D fusion object may be an augmented reality AR prompt element; the AR prompt element specifically includes an AR navigation element and an AR obstacle prompt element, but is not limited to the AR prompt elements exemplified above.

[0125] Optionally, an AR prompt element may refer to an element that uses augmented reality technology and real-time vehicle auxiliary information to provide prompts to users in the form of a head-up display; an AR navigation element may refer to a navigation element that uses virtual models, arrows, dotted lines and other elements to guide users; an AR obstacle prompt element may refer to an element that uses indicator marks to prompt users of obstacles around the vehicle, such as triangles, horizontal lines and other indicator marks.

[0126] It can be understood that the virtual image plane serves as the virtual image imaging plane of the projection image (refer to the mirror imaging principle). When the light source in the HUD projects the projection image onto the imaging element of the vehicle, the projection image actually observed in the driver's perspective is actually located on the virtual image plane in the space. By controlling the imaging size and imaging position of the static 3D fusion object and the dynamic 3D fusion object in the projection image in the virtual image plane, what is finally presented in the driver's perspective is the effect of the fusion of the virtual image of the static 3D fusion object and the dynamic 3D fusion object with the road environment in the real world.

[0127] Optionally, the position information of the target static area may refer to the position coordinates of at least one positioning point in the target static area on the projected image, as well as size information that can be used to calibrate the size of the target static area. For target static areas of different shapes, the selected size information is also different. For example, for a rectangular, triangular or elliptical target static area, the size information selects the width and height of the target static area. For a circular target static area, the size information may select the radius of the circle. For an irregularly shaped target static area, the minimum bounding box of the target static area may be determined first using a regular shape, and then the width and height of the minimum bounding box of the target static area may be determined. Only a few optional methods for obtaining the size information are shown here, and the size information is not specifically limited.

[0128] S220: Determine first threads and first pixel points corresponding to each first thread according to the static partition description information of each target static area.

[0129] Optionally, the first thread in the compute shader corresponds one-to-one to each pixel point in the target static area, and the first thread is used to perform image fusion processing on corresponding pixel points in the target static area.

[0130] Optionally, the naked-eye 3D indefinite area image fusion method proposed in the present application can be processed by the image processing engine in the projection device calling the compute shader. The image processing engine can create and render the 3D model. The compute shader includes multiple regularly arranged thread groups, each thread group includes multiple regularly arranged threads. Based on the properties of the image processing engine itself, each thread in the compute shader can perform image processing on a pixel point in the projected image, and each thread can process in parallel. Therefore, for complex image processing of multiple pixels, the computing time can be greatly saved by calling each thread in the compute shader to process simultaneously.

[0131] Optionally, the number of thread groups in the compute shader can be specified through pre-configured thread group properties. A thread group can be understood as a combination of a bunch of threads. A thread group can contain many threads. The usage of the thread group property is as follows: the first parameter is the kernel index value, and the next three parameters are the number of thread groups on the x, y, and z axes respectively.

[0132] Continuing from the previous example, Fig. 9 is a schematic diagram of an optional thread group arrangement mode. Fig. 9 In the example shown, cs.Dispatch(kernal,4,4,2) is set. Fig. 9 Each cube in the diagram can be considered as a thread group. The thread groups are arranged in the following pattern: 4 in the X-axis direction, 4 in the Y-axis direction, and 2 in the Z-axis direction. Fig. 9 This is only an exemplary description and does not limit the actual arrangement of thread groups.

[0133] Optionally, the compute shader can also specify the number of threads in the thread group through pre-configured thread properties. The arrangement of threads in the thread group is also similar to the rectangular arrangement. The thread properties specify the number of threads in the x, y, and z directions.

[0134] Continuing from the previous example, Fig.10 A schematic diagram of an optional thread arrangement mode is shown in FIG. Fig.10 In the example shown, [numthreads(8,4,2)] is specified, which specifies 8, 4, and 2 threads for the x, y, and z axes respectively, so a thread group has 64 threads. Fig.10 A small cube in the box represents a thread.

[0135] Optional, Fig.11 is an optional relationship diagram between thread groups and threads, such as Fig.11As shown, the right side is a schematic diagram of the thread group arrangement mode, the left side is a schematic diagram of the thread arrangement mode, and the right image is an expansion of one of the threads in the left thread arrangement mode diagram. When there are 32 thread groups in the left image and each thread group in the right image has 64 threads, there are a total of 32×64=2048 threads in the image processing engine.

[0136] Optionally, after determining the size information of the target static area, the number of pixels in the target static area can be determined based on the size information. According to the characteristics of the image processing engine, each first thread in the compute shader corresponds one-to-one to each pixel in the target static area, and the first thread is used to perform image fusion processing on the corresponding pixel points in the target static area. Therefore, after obtaining the number of pixels, the number of first threads required to be used can be determined.

[0137] S230: extracting dynamic partition description information and screen anchoring information according to the target dynamic area, and acquiring a plurality of dynamic parameters according to the dynamic partition description information and the screen anchoring information.

[0138] Optionally, the dynamic partition description information includes a first coordinate of a center point of the target dynamic area in the projection image, and size information of the target dynamic area in the projection image;

[0139] The screen anchoring information includes size information of the projected image and the second coordinates of the anchor point in the projected image.

[0140] Optionally, multiple dynamic parameters are obtained according to the dynamic partition description information and the screen anchoring information, including:

[0141] Determine the area width and area height of the target dynamic area in the projection image according to the size information of the target dynamic area in the projection image;

[0142] According to the first coordinate and the second coordinate, a horizontal coordinate difference and a vertical coordinate difference between the center point of the target dynamic area and the anchor point are determined.

[0143] Optionally, the horizontal coordinate difference between the center point and the anchor point can be obtained by subtracting the horizontal coordinate in the first coordinate from the horizontal coordinate in the second coordinate, and the vertical coordinate difference between the center point and the anchor point can be obtained by subtracting the vertical coordinate in the first coordinate from the vertical coordinate in the second coordinate.

[0144] In a specific application scenario, dynamic parameters of integer type (int) such as area width ΔWidth, area height ΔHeight, horizontal coordinate difference LocalX and vertical coordinate difference LocalY can be defined, and the parameters can be assigned to the imaging area Image. The specific definition can be expressed as ImageRectTransform.sizeDelta = new Vector2(ΔWidth, ΔHeight) and ImageRectTransform.anchoredPosition = new Vector2(PositionX, PositionY), where ImageRectTransform.anchoredPosition is the position of the 3D fusion object relative to the anchor point and ImageRectTransform.sizeDelta is the object size of the 3D fusion object, both of which are attributes in the image processing engine.

[0145] S240: Determine, in a compute shader, second threads for performing image fusion on the target dynamic area according to the target dynamic area and the dynamic parameters.

[0146] Optionally, determining, in a compute shader, second threads for performing image fusion on the target dynamic area according to the target dynamic area and the dynamic parameter, includes:

[0147] Determining a thread arrangement pattern in each thread group predefined in the compute shader;

[0148] A second thread group for performing image fusion on a target dynamic area is defined in a compute shader according to the thread arrangement mode, the area width, and the area height, and a plurality of second threads are determined according to the second thread group.

[0149] Optionally, each second thread in the compute shader corresponds one-to-one to each pixel point in the target dynamic area, and the second thread is used to perform image fusion processing on corresponding pixel points in the target dynamic area.

[0150] In a specific application scenario, the second thread group can be defined by CS.Dispatch(kernal,ΔWidth / numberThreasdX,ΔHeight / numberThreasdY,1), where numberThreasdX is the number of threads on the X-axis in the thread group, and numberThreasdY is the number of threads on the Y-axis in the thread group. The kernel keyword is used to define a computing kernel. A computing kernel is a function that can be executed in parallel. It accepts a set of input data and returns a set of output data. In Compute Shader, one or more computing kernels can be defined, and then computing tasks can be performed by calling these kernels.

[0151] S250: Determine the second pixel point positions corresponding to the second threads according to the dynamic parameters and the screen anchoring information.

[0152] Optionally, determining the second pixel positions corresponding to the second threads respectively according to the dynamic parameters and the screen anchoring information includes:

[0153] The calculation shader in the image processing engine is called to determine the second pixel position corresponding to each second thread according to the following formula:

[0154] id.x1=id.x2+LocalX+ScreenWidth / 2-ΔWidth / 2;

[0155] id.y1=id.y2+LocalY+ScreenHeight / 2-ΔHeight / 2;

[0156] Among them, id.x1 and id.y1 are the horizontal and vertical coordinates of the second pixel point respectively, id.x2 and id.y2 are the horizontal and vertical coordinates of the pixel point processed by the second thread in the current projection image respectively, LocalX and LocalY are the horizontal relative coordinates and vertical relative coordinates between the center point of the target dynamic area and the anchor point respectively, ScreenWidth is the screen width of the next projection image, ScreenHeight is the screen height of the next projection image, ΔWidth is the area width of the target dynamic area in the next projection image, and ΔHeight is the reference height of the target dynamic area in the next projection image.

[0157] S260: Utilize the target thread to render the corresponding target pixel points to obtain the next projection image.

[0158] Optionally, the target thread in the compute shader is used to render the unique target pixel point corresponding to it according to the fusion rule to obtain the rendering result value of the target pixel point. When each target thread completes the rendering, it is determined that the next projected image completes the image fusion processing.

[0159] S270: Project the next projection image onto the display screen for projection display.

[0160] Optional, Fig.12 Another optional naked-eye 3D static area image fusion flow chart is shown below. Fig.12 An optional naked-eye 3D static area image fusion application scenario is shown, that is, the partition size and position of the target static area are obtained through the static partition image fusion algorithm, and then the total number of Shader threads required is determined, the partition size and position and the total number of Shader threads are input into a pre-established 3D image fusion model, the subscript, fused pixel value and slope are obtained, and then the fused imaging result of the static partition image is generated according to the total number of Shader threads, subscript, fused pixel value and slope.

[0161] Optional, Fig.13 It is an optional naked eye 3D dynamic area image fusion flow chart. Fig.13 Another optional naked-eye 3D dynamic area image fusion application scenario is shown in the figure, that is, firstly, the dynamic partition size parameter and the dynamic partition position parameter are obtained, which can be similar to the dynamic area size information and the coordinate difference between the dynamic area center point and the anchor point in the present application, and the total number of Shader threads is determined according to the dynamic partition size parameter, and the dynamic partition position parameter and the dynamic partition size parameter are input into the pre-established 3D image fusion model together to obtain the subscript, fused pixel value and slope, and then the fusion imaging result of the dynamic partition image is generated according to the total number of Shader threads, the subscript, the fused pixel value and the slope.

[0162] The technical solution of the embodiment of the present invention obtains the target static area in the next projection image after completing the display of the current projection image, and determines that the current projection image contains a dynamic 3D fusion object to be moved, obtains the target dynamic area in the next projection image, determines the target pixel points corresponding to each target thread according to the target static area and the target dynamic area, and uses the target thread to render the corresponding target pixel points to obtain the next projection image and project it onto the display screen for projection display. The target pixel points processed by the target thread can be dynamically allocated, and a relatively fixed thread is used to perform image fusion processing on the static area and the dynamic area of ​​the target to be displayed in the naked-eye 3D image, and other parts of the image are not processed, thereby reducing the area where the fusion algorithm is used, thereby solving the problem of insufficient computing power when the existing processing system processes a full-frame 3D image, and is suitable for projection devices with low computing power to ensure the smoothness of the 3D picture.

[0163] Embodiment 3

[0164] Fig.14 This is a schematic diagram of the structure of a head-up display system provided by Embodiment 3 of the present invention. Fig.14 As shown, the head-up display system includes a display screen 310 and a head-up display 320 ; the head-up display 320 includes a control component 321 , an optical grating device 322 and a mirror device 323 .

[0165] The control component 321 is used to execute the naked-eye 3D indefinite region image fusion method described in any embodiment of the present invention. That is:

[0166] After the current projection image is displayed, a target static area in the next projection image is obtained; and if it is determined that the current projection image contains a dynamic 3D fusion object to be moved, a target dynamic area of ​​the dynamic 3D fusion object in the next projection image is obtained;

[0167] According to the target static area and the target dynamic area, the target pixel points corresponding to each target thread are determined, and the corresponding target pixel points are rendered by the target thread to obtain the next projection image;

[0168] The next projection image is projected onto a display screen for projection display.

[0169] The optical grating device 322 can be used to split the projection image to generate a split image to achieve three-dimensional imaging.

[0170] The mirror device 323 can be used to project the split projection image onto a display screen for head-up display according to a preset angle.

[0171] It is understandable that after the image rendering is completed, the rendered image can be split by the optical grating device 322, and the projected image after splitting includes the image that can be seen by the driver's left eye and the image seen by the right eye, thereby achieving a three-dimensional imaging effect.

[0172] Optionally, the mirror device 323 may include mirror devices such as a plane mirror and a curved mirror, which reflect or refract the split image emitted by the image source, thereby projecting it onto the display screen.

[0173] The technical solution of the embodiment of the present invention, by configuring a head-up display including a control component, an optical grating device and a mirror device in a head-up display system, and using the head-up display to execute a naked-eye 3D indefinite area image fusion method, can provide a head-up display system that can achieve image fusion with less computing power and project a three-dimensional projection image to a user, thereby improving the user experience.

[0174] Embodiment 4

[0175] Fig.15 This is a schematic diagram of the structure of a naked-eye 3D indefinite region image fusion device provided in Embodiment 4 of the present invention. Fig.15 As shown, the device includes: a region determination module 410, an image fusion module 420 and a projection display module 430.

[0176] The region determination module 410 is used to obtain a target static region in a next projection image after the current projection image is displayed; and if it is determined that the current projection image contains a dynamic 3D fusion object to be moved, obtain a target dynamic region of the dynamic 3D fusion object in the next projection image.

[0177] The image fusion module 420 is used to determine the target pixel positions corresponding to each target thread according to the target static area and the target dynamic area, and use the target thread to render the corresponding target pixel points to obtain the next projection image.

[0178] The projection display module 430 is used to project the next projection image onto a display screen for projection display.

[0179] The technical solution of the embodiment of the present invention obtains the target static area in the next projection image after completing the display of the current projection image, and determines that the current projection image contains a dynamic 3D fusion object to be moved, obtains the target dynamic area in the next projection image, determines the target pixel points corresponding to each target thread according to the target static area and the target dynamic area, and uses the target thread to render the corresponding target pixel points to obtain the next projection image and project it onto the display screen for projection display. The target pixel points processed by the target thread can be dynamically allocated, and a relatively fixed thread is used to perform image fusion processing on the static area and the dynamic area of ​​the target to be displayed in the naked-eye 3D image, and other parts of the image are not processed, thereby reducing the area where the fusion algorithm is used, thereby solving the problem of insufficient computing power when the existing processing system processes a full-frame 3D image, and is suitable for projection devices with low computing power to ensure the smoothness of the 3D picture.

[0180] Based on the above embodiments, the region determination module 410 may include a static region determination unit, which is specifically configured to:

[0181] According to the static partition description information, a target static area is determined in the next projection image; wherein the static partition description information includes position information and size information of the target static area.

[0182] On the basis of the above embodiments, the image fusion module 420 may include a pixel point determination unit and a pixel point rendering unit;

[0183] The pixel determination unit may include:

[0184] A first pixel point determination subunit is used to determine the first threads and the first pixel point positions corresponding to the first threads according to the static partition description information of each target static area;

[0185] A dynamic parameter acquisition subunit, configured to extract dynamic partition description information and screen anchor information according to the target dynamic area, and acquire multiple dynamic parameters according to the dynamic partition description information and the screen anchor information;

[0186] The second pixel point determination subunit is used to determine the second pixel point positions corresponding to each second thread according to each dynamic parameter and the screen anchoring information.

[0187] Based on the above embodiments, the dynamic partition description information includes the first coordinate of the center point of the target dynamic area in the projection image, and the size information of the target dynamic area in the projection image;

[0188] The screen anchoring information includes size information of the projected image and the second coordinates of the anchor point in the projected image.

[0189] Based on the above embodiments, the dynamic parameter acquisition subunit can be specifically used for:

[0190] Determine the area width and area height of the target dynamic area in the projection image according to the size information of the target dynamic area in the projection image;

[0191] According to the first coordinate and the second coordinate, a horizontal coordinate difference and a vertical coordinate difference between the center point of the target dynamic area and the anchor point are determined.

[0192] Based on the above embodiments, the second pixel point determination subunit may be specifically used for:

[0193] The calculation shader in the image processing engine is called to determine the second pixel position corresponding to each second thread according to the following formula:

[0194] id.x1=id.x2+LocalX+ScreenWidth / 2-ΔWidth / 2;

[0195] id.y1=id.y2+LocalY+ScreenHeight / 2-ΔHeight / 2;

[0196] Among them, id.x1 and id.y1 are the horizontal and vertical coordinates of the second pixel point respectively, id.x2 and id.y2 are the horizontal and vertical coordinates of the pixel point processed by the second thread in the current projection image respectively, LocalX and LocalY are the horizontal relative coordinates and vertical relative coordinates between the center point of the target dynamic area and the anchor point respectively, ScreenWidth is the screen width of the next projection image, ScreenHeight is the screen height of the next projection image, ΔWidth is the area width of the target dynamic area in the next projection image, and ΔHeight is the reference height of the target dynamic area in the next projection image.

[0197] Based on the above embodiments, a second thread determination unit may be further included, which is used to:

[0198] According to the target dynamic area and the dynamic parameter, second threads for performing image fusion on the target dynamic area are determined in a computing shader.

[0199] Based on the above embodiments, the second thread determination unit may be specifically configured to:

[0200] Determining a thread arrangement pattern in each thread group predefined in the compute shader;

[0201] A second thread group for performing image fusion on a target dynamic area is defined in a compute shader according to the thread arrangement mode, the area width, and the area height, and a plurality of second threads are determined according to the second thread group.

[0202] Based on the above embodiments, the target thread in the compute shader is used to render the unique target pixel point corresponding to it according to the fusion rule to obtain the rendering result value of the target pixel point. When each target thread completes the rendering, it is determined that the next projected image completes the image fusion processing.

[0203] On the basis of the above embodiments, the target static area includes a static 3D fusion object, and the static 3D fusion object includes a vehicle status prompt element;

[0204] The dynamic 3D fusion object includes augmented reality AR prompt elements; the AR prompt elements specifically include AR navigation elements and AR obstacle prompt elements.

[0205] The naked-eye 3D indefinite region image fusion device provided in the embodiment of the present invention can execute the naked-eye 3D indefinite region image fusion method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0206] Embodiment 5

[0207] Fig.16 A schematic diagram of a projection device 10 that can be used to implement an embodiment of the present invention is shown. The projection device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The projection device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0208] like Fig.16As shown, the projection device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by the at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the projection device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0209] A number of components in the projection device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the projection device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0210] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as the indefinite region image fusion method of naked eye 3D as described in an embodiment of the present invention.

[0211] That is:

[0212] After the current projection image is displayed, a target static area in the next projection image is obtained; and if it is determined that the current projection image contains a dynamic 3D fusion object to be moved, a target dynamic area of ​​the dynamic 3D fusion object in the next projection image is obtained;

[0213] According to the target static area and the target dynamic area, the target pixel points corresponding to each target thread are determined, and the corresponding target pixel points are rendered by the target thread to obtain the next projection image;

[0214] The next projection image is projected onto a display screen for projection display.

[0215] In some embodiments, the indefinite region image fusion method of naked eye 3D can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on the projection device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the indefinite region image fusion method of naked eye 3D described above can be performed. Alternatively, in other embodiments, the processor 11 can be configured to perform the indefinite region image fusion method of naked eye 3D by any other appropriate means (for example, by means of firmware).

[0216] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0217] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0218] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0219] To provide interaction with a user, the systems and techniques described herein can be implemented on a projection device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the projection device. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0220] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0221] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0222] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0223] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for fusion of images in an indefinite region, characterized in that: include: After the display of the current projection image is completed, the target static area in the next projection image is obtained; and, if it is determined that the current projection image contains a dynamic 3D fusion object to be moved, obtaining a target dynamic region of the dynamic 3D fusion object in the next projection image; According to the target static area and the target dynamic area, the target pixel points corresponding to each target thread are determined, and the corresponding target pixel points are rendered by the target thread to obtain the next projection image; The next projection image is projected onto a display screen for projection display.

2. The method according to claim 1, characterized in that Obtain the target static area in the next projection image, including: According to the static partition description information, a target static area is determined in the next projection image; wherein the static partition description information includes position information and size information of the target static area.

3. The method according to claim 2, characterized in that Determining the position of a target pixel to be rendered according to the target static area and the target dynamic area includes: Determine the first threads and the first pixel points corresponding to the first threads according to the static partition description information of each target static area; Extracting dynamic partition description information and screen anchor information according to the target dynamic area, and acquiring multiple dynamic parameters according to the dynamic partition description information and the screen anchor information; According to the dynamic parameters and the screen anchoring information, the second pixel points corresponding to the second threads are determined.

4. The method according to claim 3, characterized in that The dynamic partition description information includes the first coordinate of the center point of the target dynamic area in the projection image, and the size information of the target dynamic area in the projection image; The screen anchoring information includes size information of the projected image and the second coordinates of the anchor point in the projected image.

5. The method according to claim 4, characterized in that According to the dynamic partition description information and the screen anchoring information, multiple dynamic parameters are obtained, including: Determine the area width and area height of the target dynamic area in the projection image according to the size information of the target dynamic area in the projection image; According to the first coordinate and the second coordinate, a horizontal coordinate difference and a vertical coordinate difference between the center point of the target dynamic area and the anchor point are determined.

6. The method according to claim 5, characterized in that Determining the second pixel positions corresponding to the second threads respectively according to the dynamic parameters and the screen anchoring information includes: The calculation shader in the image processing engine is called to determine the second pixel position corresponding to each second thread according to the following formula: id.x1=id.x2+LocalX+ScreenWidth / 2-ΔWidth / 2; id.y1=id.y2+LocalY+ScreenHeight / 2-ΔHeight / 2; Among them, id.x1 and id.y1 are the horizontal and vertical coordinates of the second pixel point respectively, id.x2 and id.y2 are the horizontal and vertical coordinates of the pixel point processed by the second thread in the current projection image respectively, LocalX and LocalY are the horizontal relative coordinates and vertical relative coordinates between the center point of the target dynamic area and the anchor point respectively, ScreenWidth is the screen width of the next projection image, ScreenHeight is the screen height of the next projection image, ΔWidth is the area width of the target dynamic area in the next projection image, and ΔHeight is the reference height of the target dynamic area in the next projection image.

7. The method according to claim 6, characterized in that After obtaining multiple dynamic parameters according to the target partition description information and the screen anchoring information, the method further includes: According to the target dynamic area and the dynamic parameter, second threads for performing image fusion on the target dynamic area are determined in a computing shader.

8. The method according to claim 7, characterized in that According to the target dynamic area and the dynamic parameter, determining in a computing shader each second thread for performing image fusion on the target dynamic area includes: Determining a thread arrangement pattern in each thread group predefined in the compute shader; A second thread group for performing image fusion on a target dynamic area is defined in a compute shader according to the thread arrangement mode, the area width, and the area height, and a plurality of second threads are determined according to the second thread group.

9. The method according to claim 1, characterized in that: The target thread in the compute shader is used to render the unique target pixel point corresponding to it according to the fusion rule to obtain the rendering result value of the target pixel point. When each target thread completes the rendering, it is determined that the next projection image completes the image fusion processing.

10. The method according to claim 1, characterized in that The target static area includes a static 3D fusion object, and the static 3D fusion object includes a vehicle status prompt element; The dynamic 3D fusion object includes augmented reality AR prompt elements; the AR prompt elements specifically include AR navigation elements and AR obstacle prompt elements.

11. A head-up display system, characterized in that: The head-up display system includes a display screen and a head-up display; the head-up display includes a control component; Wherein, the control component is used to execute the naked-eye 3D indefinite area image fusion method described in any one of claims 1-10.

12. The system according to claim 11, characterized in that The head-up display also includes an optical grating device and a mirror device; The optical grating device is used to split the projected image to generate a split image to achieve three-dimensional imaging; The mirror device is used to project the split projection image onto a display screen for head-up display according to a preset angle.

13. A naked eye 3D indefinite area image fusion device, characterized in that: include: The region determination module is used to obtain the target static region in the next projection image after the display of the current projection image is completed; and, if it is determined that the current projection image contains a dynamic 3D fusion object to be moved, obtaining a target dynamic region of the dynamic 3D fusion object in the next projection image; An image fusion module, used to determine the target pixel points corresponding to each target thread according to the target static area and the target dynamic area, and use the target thread to render the corresponding target pixel points to obtain the next projection image; The projection display module is used to project the next projection image onto a display screen for projection display.

14. A projection device, characterized in that: The projection device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the naked-eye 3D indefinite area image fusion method described in any one of claims 1 to 10 of the present invention.

15. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the naked-eye 3D indefinite area image fusion method according to any one of claims 1 to 10 when executed.

Citation Information

Cited By

  • Naked-eye 3D uncertain region image fusion method, system, apparatus, and device

    WO2026025890A1

  • Naked-eye 3D dynamic-area image fusion method and apparatus, device, and medium

    WO2026025891A1