Display processing method and device and electronic equipment
By adjusting the depth information of objects displayed in naked-eye 3D to approach zero plane depth, parallax images are generated and interlaced for output, solving the problems of ghosting, blurring, jagged edges, and breakage of text and other displayed objects in naked-eye 3D, while maintaining the stereoscopic effect of 3D scenes.
Patent Information
- Application Number
- CN202511748599.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-25
- Publication Date
- 2026-02-17
AI Technical Summary
In glasses-free 3D technology, displayed objects such as text often suffer from display problems such as ghosting, blurring, jagged edges, or breaks.
By adjusting the depth information of the target display object in the image data to make it close to the zero-plane depth information, the visual stereoscopic effect is reduced, and first and second parallax images are generated and interleaved for output, thus achieving a naked-eye 3D interface image.
It effectively alleviates or eliminates problems such as ghosting, blurring, jagged edges, and breaks in naked-eye 3D display of target objects, without affecting the stereoscopic visual effect of 3D modeling scenes.
Smart Images

Figure CN121547567A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of naked-eye 3D (three-dimensional) technology, and more particularly to a display processing method, apparatus and electronic device. Background Technology
[0002] Currently, when using naked-eye 3D technology for applications such as games, there are often display problems with some objects such as text, such as severe ghosting, blurring, jagged edges, or breaks in the text. Summary of the Invention
[0003] Therefore, this application discloses the following technical solution:
[0004] A display processing method, comprising:
[0005] Obtain the image data of the interface image;
[0006] The target display object in the interface image is determined based on the image data;
[0007] The first depth information corresponding to the target display object in the image data is adjusted to the second depth information; the second depth information is closer to the depth information corresponding to the zero plane than the first depth information is closer to the depth information corresponding to the zero plane.
[0008] The interface image is output and displayed based on the second depth information of the target display object and the corresponding depth information of other display objects besides the target display object in the image data, so as to present a naked-eye three-dimensional effect.
[0009] Optionally, the second depth information and the depth information corresponding to the zero plane satisfy the first proximity condition.
[0010] Optionally, adjusting the first depth information corresponding to the target display object in the image data to second depth information includes:
[0011] Based on the pixel position information of the target display object in the interface image, the first depth information of the target pixel corresponding to the target display object is adjusted to the second depth information.
[0012] Optionally, output display is performed based on the second depth information of the target display object and the corresponding depth information of other display objects besides the target display object in the image data, including:
[0013] Based on the second depth information of the target display object, the depth information of the other display objects, and the pixel color information of each display object, a first parallax image and a second parallax image are generated; the depth information corresponding to the same target display object in the first parallax image and the second parallax image respectively satisfies the second proximity condition;
[0014] Based on the first parallax image and the second parallax image, the interface image that displays a naked-eye 3D effect is output.
[0015] Optionally, the display objects of the interface image include 3D modeled scene elements and user interface elements;
[0016] The target display object includes at least one of the text in the three-dimensional modeling scene elements and the user interface elements; the target display object is displayed in the naked-eye three-dimensional output screen of the interface image in a plane that satisfies the third proximity condition with the zero plane.
[0017] Optionally, determining the target display object in the interface image based on the image data includes one of the following:
[0018] The target display object is determined based on the pixel transparency of each display object in the image data;
[0019] The attributes of each display object are identified based on the image data, and the target display object is determined based on the attributes of each display object.
[0020] Optionally, determining the target display object based on the pixel transparency of each display object in the image data includes:
[0021] Identify the target pixels in the image data whose transparency satisfies the transparency condition;
[0022] The display object formed by the target pixels is determined as the target display object.
[0023] A display processing device, comprising:
[0024] The acquisition module is used to obtain image data of the interface image;
[0025] The determining module is used to determine the target display object in the interface image based on the image data;
[0026] The adjustment module is used to adjust the first depth information corresponding to the target display object in the image data to the second depth information; the second depth information is closer to the depth information corresponding to the zero plane than the first depth information is closer to the depth information corresponding to the zero plane.
[0027] An output display module is used to output and display the interface image with a naked-eye 3D effect based on the second depth information of the target display object and the corresponding depth information of other display objects besides the target display object in the image data.
[0028] An electronic device, comprising:
[0029] Memory, used to store at least one set of computer instructions;
[0030] A processor is configured to perform the following processing by executing a set of instructions stored in the memory:
[0031] Obtain the image data of the interface image;
[0032] The target display object in the interface image is determined based on the image data;
[0033] The first depth information corresponding to the target display object in the image data is adjusted to the second depth information; the second depth information is closer to the depth information corresponding to the zero plane than the first depth information is closer to the depth information corresponding to the zero plane.
[0034] The interface image is output and displayed based on the second depth information of the target display object and the corresponding depth information of other display objects besides the target display object in the image data, so as to present a naked-eye three-dimensional effect.
[0035] Optionally, the electronic device further includes a display device for outputting and displaying naked-eye 3D images.
[0036] A storage medium carrying one or more computer instruction sets, which, when executed by an electronic device, enable the electronic device to implement any of the display processing methods provided above. Attached Figure Description
[0037] To more clearly illustrate the technical solutions in the embodiments of this application or related technologies, the drawings used in the description of the embodiments or related technologies will be briefly introduced below. Obviously, the drawings described below are only embodiments of this application. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.
[0038] Figure 1 This is a flowchart of the display processing method provided in this application;
[0039] Figure 2 These are exemplary interface images of the naked-eye 3D game provided in this application;
[0040] Figure 3 This is a schematic diagram of the identification result of the target display object provided in this application;
[0041] Figure 4 This is a structural diagram of the display processing device provided in this application;
[0042] Figure 5 This is a structural diagram of the electronic device provided in this application. Detailed Implementation
[0043] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0044] This application provides a display processing method, apparatus, and electronic device to solve or alleviate display problems such as ghosting, blurring, jagged edges, or breaks in partial display objects like text in naked-eye 3D application scenarios.
[0045] The provided display processing method can be applied to electronic devices in a variety of general or special computing environments or configurations, including display devices with glasses-free 3D display capabilities, or display devices with glasses-free 3D display capabilities that can be externally connected via wired or wireless means.
[0046] See Figure 1 The flowchart shown illustrates the display processing method provided in this application embodiment, which may include the following steps 101 to 104, which are described in detail below.
[0047] Step 101: Obtain the image data of the interface image.
[0048] The interface image here is the interface image to be output and displayed in a naked-eye 3D application scenario.
[0049] Optionally, the obtained image data of the interface image includes channel information and depth information of each displayed object in the interface image.
[0050] The channel information of the display object may further include the color information and transparency information of each pixel contained in the display object, such as the red, green, and blue color information and transparency information of each pixel contained in the display object based on the RGBA (Red-Green-Blue-Alpha) information format.
[0051] The depth information of the displayed object includes the distance between the object point / scene point corresponding to each pixel contained in the displayed object and the camera imaging plane.
[0052] Step 102: Determine the target display object in the interface image based on the image data.
[0053] In naked-eye 3D applications, the displayed objects in the interface images include 3D modeled scene elements, as well as user interface elements.
[0054] 3D modeling scene elements are the core visual content in naked-eye 3D modeling scenes, including but not limited to 3D model elements such as buildings, terrain, characters, and text (such as scene / story narration text and character dialogue text), used to create a 3D immersive experience environment for users. User interface elements are graphical systems used to enhance the interactivity between the 3D modeling scene and the user. Taking a graphical system used to enhance the interactivity between the game and the player as an example, user interface elements can specifically include but are not limited to controls such as buttons, panels, and health bars.
[0055] See Figure 2 The example provides exemplary interface images of a glasses-free 3D game, which includes 3D modeled scene elements of the glasses-free 3D game, such as characters, buildings, and text, as well as UI elements such as buttons, panels, and health bars to enhance the interactivity between the user and the glasses-free 3D game.
[0056] Optionally, the target display object includes text in 3D modeling scene elements (such as character dialogue text in a game) and at least one of the user interface elements. These display objects (target display objects) often have display problems such as ghosting, blurring, jagged edges and breaks in naked-eye 3D displays.
[0057] After obtaining the image data of the interface image, this step further determines the target display object in the interface image based on the image data of the interface image.
[0058] In one optional implementation, the target display object can be determined based on the pixel transparency of each display object in the image data of the interface image. In this implementation, target pixels in the image data whose transparency meets the transparency condition can first be identified, and then the display objects formed by the target pixels can be identified as the target display objects. At the same time, the position information of the identified target display objects can also be marked, such as the pixel coordinates of the target display objects in the interface image.
[0059] The transparency condition can be set based on the actual transparency of the target display object in the interface image. For example, the transparency condition can be set to a pixel transparency of 1, or the absolute value of the difference between the pixel transparency and 1 is less than a threshold, or the pixel transparency reaches a threshold.
[0060] Based on the transparency conditions set above, to... Figure 2 Taking the identification of the target display object in the interface image shown as an example, for instance, each pixel in the image can be traversed line by line to obtain the alpha channel value of each pixel's channel information, that is, the pixel transparency. If the transparency of each pixel in a certain area is 1, then the display object in that area is identified as the target display object, such as UI elements / text, etc. See [link to relevant documentation]. Figure 3 Provided for Figure 2 This diagram illustrates the recognition results of UI elements / text and other target display objects in the interface image. If the transparency of each pixel in a certain area is 0, the display objects in that area are identified as non-target display objects such as game elements. Simultaneously, the position information of UI elements / text and other target display objects can be marked and recorded.
[0061] In practical applications, the implementation is not limited to the above-described methods. In other implementations, the attributes of each display object can be identified first based on the image data of the interface image, and then the target display object can be determined based on the attributes of each display object. For example, image processing techniques such as image edge detection can be used, combined with OCR (Optical Character Recognition), to identify the type (such as 3D modeling elements like people / buildings, text, buttons) and / or attribute information such as shape and contour features of each display object. Based on this, the target display object among the display objects can be determined according to the type and / or shape and contour features of each display object. For example, display objects of a specific type (such as text, or UI interface elements such as buttons and health bars) identified can be determined as the target display object.
[0062] Step 103: Adjust the first depth information corresponding to the target display object in the image data to the second depth information.
[0063] The zero plane, also known as the zero parallax plane, is the reference plane in a stereoscopic vision system where the images of the left and right eyes are aligned. When the pixels of 3D content are on this plane, the images received by both eyes are completely identical, with no depth offset. Therefore, depth cannot be perceived through parallax, thus forming a reference plane without a sense of stereoscopic depth.
[0064] In glasses-free 3D, the zero plane typically refers to the display plane on which the screen of the display device is located. Its depth is usually 0. Objects displayed on this plane have zero parallax for both eyes, meaning the image completely overlaps with the screen, and no sense of depth is produced.
[0065] The second depth information is closer to the depth information corresponding to the zero plane than the first depth information is closer to the depth information corresponding to the zero plane. The second depth information can be determined based on the depth information corresponding to the zero plane, or it can be determined by combining the first depth information corresponding to the target display object and the depth information corresponding to the zero plane, as long as the determined second depth information is closer to the depth information corresponding to the zero plane than the first depth information is closer to the depth information corresponding to the zero plane.
[0066] In glasses-free 3D applications, text within 3D modeled scene elements (such as dialogue text in games), as well as user interface elements like buttons, panels, and health bars, often exhibit display issues such as ghosting, blurring, jagged edges, and breaks. The applicant discovered that these problems arise because stereoscopic depth information affects the display of text / UI elements. Text within 3D modeled scene elements, or user interface elements like buttons, panels, and health bars, are typically stereoscopic static elements. Their edges may experience slight displacement under different viewing angles due to raster filtering (in glasses-free 3D, raster filtering creates a stereoscopic visual experience by allowing the left and right eyes to receive images from different angles), leading to ghosting, blurring, jagged edges, or breaks (stereoscopic dynamic elements can be automatically compensated for by the brain due to continuous movement). If the eye muscles have insufficient accommodation ability or refractive errors exist, these display problems will be more pronounced.
[0067] Based on the above findings, this application embodiment determines a second depth information for the target display object that is closer to the depth information corresponding to the zero plane than the first depth information corresponding to the target display object in the image data, and adjusts the first depth information of the target display object to the second depth information to reduce the visual stereoscopic degree of the target display object. By reducing the visual stereoscopic degree of the target display object, display problems such as ghosting, blurring, jagged edges and breaks in naked-eye 3D display of the target display object can be alleviated or eliminated.
[0068] In practical applications, a second depth information can be determined for each target pixel contained in the target display object (i.e., each pixel in the interface image that constitutes the target display object), and the first depth information of the target pixel corresponding to the target display object can be adjusted to the second depth information based on the pixel position information of the target display object in the interface image.
[0069] Step 104: Output and display the interface image based on the second depth information of the target display object and the corresponding depth information of other display objects besides the target display object in the image data, so as to present the naked-eye three-dimensional effect.
[0070] After adjusting the depth information of the target display object, the target display object is displayed in naked-eye 3D based on the adjusted second depth information. For other display objects in the interface image other than the target display object, the original depth information corresponding to them in the image data of the interface image is maintained, and the other display objects are displayed in naked-eye 3D based on the corresponding original depth information.
[0071] Specifically, a first parallax image and a second parallax image can be generated firstly based on the second depth information of the target display object, the depth information of other display objects besides the target display object, and the pixel color information (such as RGB color information) of each display object, or by combining the transparency information of each display object. Then, based on the first parallax image and the second parallax image, the interface image displaying the naked-eye 3D effect is output.
[0072] Optionally, the first and second parallax images are the left and right images in stereoscopic vision, respectively. These images are projected to the left and right eyes from different perspectives, utilizing the human eye's interpupillary distance of approximately 65mm to create parallax. After the brain fuses these two subtly different images, it produces three-dimensional stereoscopic vision with depth perception.
[0073] After obtaining the first parallax image and the second parallax image, the corresponding hardware can be called in conjunction with the SDK (Software Development Kit). For example, the relevant hardware of a display device with naked-eye 3D display function can be called in conjunction with the SDK deployed in the hardware to interweave the first parallax image and the second parallax image to generate a corresponding interwoven image. Finally, by rendering the interwoven image, naked-eye 3D display is realized, and the interface image with naked-eye 3D effect is presented.
[0074] In summary, the display processing method provided in this application, after obtaining the image data of the interface image, determines the target display object in the interface image based on the image data, and adjusts the first depth information corresponding to the target display object in the image data to a second depth information that is closer to the depth information corresponding to the zero plane (compared to the degree of closeness between the first depth information and the depth information corresponding to the zero plane). Then, the target display object is displayed in naked-eye 3D based on the second depth information. This effectively reduces the absolute depth value of the target display object and the visual stereoscopic effect during naked-eye 3D display, and eliminates as much as possible the root causes of display problems such as ghosting, blurring, jagged edges, and breaks in naked-eye 3D display of target display objects such as text / user interface elements. This alleviates or eliminates the display problems such as ghosting, blurring, jagged edges, and breaks in naked-eye 3D display of target display objects.
[0075] It is worth noting that since the target display objects, such as text / user interface elements, are not part of the scene elements of the 3D modeling scene itself (such as characters, terrain, and buildings in a 3D game), reducing the visual stereoscopic degree of the target display objects alleviates or eliminates the display problems existing in the target display objects, without affecting the stereoscopic visual effect of the 3D modeling scene in the naked-eye 3D output screen.
[0076] In one alternative embodiment, the second depth information and the depth information corresponding to the zero plane satisfy a first proximity condition.
[0077] Wherein, the second depth information and the depth information corresponding to the zero plane satisfy the first proximity condition, which can mean that the absolute value of the difference between the second depth information and the depth information corresponding to the zero plane is less than the first threshold.
[0078] The absolute value of the difference between the second depth information and the depth information corresponding to the zero plane is less than the first threshold. This can further refer to the second depth information being the same as the depth information corresponding to the zero plane, or the second depth information being different from the depth information corresponding to the zero plane, but the absolute value of the difference between the second depth information and the depth information corresponding to the zero plane is less than the first threshold.
[0079] In practical applications, preferably, the first threshold can be set to a small value close to 0, so as to make the second depth information as similar or approximately the same as the depth information corresponding to the zero plane. Accordingly, by adjusting the depth of the target display object from the original first depth information to the second depth information, the target display object is made as much as possible into a 2D display object, thereby eliminating as much as possible the root cause of display problems such as ghosting, blurring, jagged edges and breaks in naked-eye 3D display of target display objects such as text / user interface elements.
[0080] Based on the feature that the depth information corresponding to the second depth information and the zero plane satisfies the first proximity condition, the depth information corresponding to the same target display object in the first parallax image and the second parallax image respectively satisfies the second proximity condition, and the target display object can be displayed in the naked-eye 3D output screen of the interface image in a plane that satisfies the third proximity condition with the zero plane.
[0081] The depth information corresponding to the same target display object in the first parallax image and the second parallax image respectively satisfies the second proximity condition. This can mean that the depth information corresponding to the same target display object in the first parallax image and the second parallax image are the same and there is no depth difference. Alternatively, it can mean that the depth information corresponding to the same target display object in the first parallax image and the second parallax image are different, but the absolute value of the difference between the two depth information is less than the second threshold, depending on the actual application.
[0082] Similarly, the target display object being displayed in the naked-eye 3D output of the interface image in a plane that satisfies the third proximity condition with the zero plane can mean that the target display object is displayed in the naked-eye 3D output of the interface image in a plane with the zero plane, or that the target display object is not displayed in the naked-eye 3D output of the interface image in a plane with the zero plane, but the distance between the displayed plane and the zero plane is less than the third threshold, depending on the actual application.
[0083] If the second depth information is the same as the depth information corresponding to the zero plane, the target display object substantially changes into a 2D display object after depth adjustment. Therefore, the same target display object has the same depth information in both the first and second parallax images, which are the depth information corresponding to the zero plane. The target display object is displayed on the zero plane in the naked-eye 3D output of the interface image. If the second depth information is different from the depth information corresponding to the zero plane, but the absolute value of the difference between the second depth information and the depth information corresponding to the zero plane is less than a first threshold, then it matches. The same target display object has different depth information in both the first and second parallax images, and the absolute value of the difference between them is less than a second threshold. The plane displayed by the target display object in the naked-eye 3D output of the interface image is not the zero plane, and the distance between the displayed plane and the zero plane is less than a third threshold.
[0084] The first, second, and third thresholds can be set based on the actual application.
[0085] Based on the solution in this embodiment, the target display object can be transformed from a 3D display object to a 2D display object as much as possible through depth adjustment. This eliminates the root causes of display problems such as ghosting, blurring, jagged edges, and breaks in naked-eye 3D display of target display objects such as text / user interface elements. It can further alleviate or eliminate display problems such as ghosting, blurring, jagged edges, and breaks in naked-eye 3D display of target display objects.
[0086] Corresponding to the above-described display processing method, this application embodiment also provides a display processing device, the composition of which is as follows: Figure 4 As shown, it includes:
[0087] The acquisition module 401 is used to obtain image data of the interface image;
[0088] The determining module 402 is used to determine the target display object in the interface image based on the image data;
[0089] Adjustment module 403 is used to adjust the first depth information corresponding to the target display object in the image data to the second depth information; the second depth information is closer to the depth information corresponding to the zero plane than the first depth information is closer to the depth information corresponding to the zero plane.
[0090] The output display module 404 is used to output and display based on the second depth information of the target display object and the depth information of other display objects besides the target display object in the image data, so as to present the interface image with naked-eye three-dimensional effect.
[0091] In one optional embodiment, the second depth information and the depth information corresponding to the zero plane satisfy a first proximity condition.
[0092] In an optional embodiment, the adjustment module 403 is specifically used to: adjust the first depth information of the target pixel corresponding to the target display object to the second depth information based on the pixel position information of the target display object in the interface image.
[0093] In an optional embodiment, the output display module 404 is specifically used for:
[0094] Based on the second depth information of the target display object, the depth information of the other display objects, and the pixel color information of each display object, a first parallax image and a second parallax image are generated; the depth information corresponding to the same target display object in the first parallax image and the second parallax image respectively satisfies the second proximity condition;
[0095] Based on the first parallax image and the second parallax image, the interface image that displays a naked-eye 3D effect is output.
[0096] In one optional implementation, each display object of the interface image includes 3D modeled scene elements and user interface elements;
[0097] The target display object includes at least one of the text in the three-dimensional modeling scene elements and the user interface elements; the target display object is displayed in the naked-eye three-dimensional output screen of the interface image in a plane that satisfies the third proximity condition with the zero plane.
[0098] In an alternative implementation, the determining module 402 is specifically used for:
[0099] The target display object is determined based on the pixel transparency of each display object in the image data;
[0100] The attributes of each display object are identified based on the image data, and the target display object is determined based on the attributes of each display object.
[0101] In an optional implementation, the determining module 402, when determining the target display object based on the pixel transparency of each display object in the image data, is specifically used for:
[0102] Identify the target pixels in the image data whose transparency satisfies the transparency condition;
[0103] The display object formed by the target pixels is determined as the target display object.
[0104] This application also discloses an electronic device, the composition and structure of which are as follows: Figure 5 As shown, it includes at least:
[0105] Memory 10 is used to store the computer instruction set;
[0106] Computer instruction sets can be implemented in the form of computer programs.
[0107] The processor 20 is configured to implement the display processing method provided in any of the above method embodiments by executing a set of computer instructions in the memory.
[0108] The processor 20 can be a central processing unit (CPU), a graphics processor, an application-specific integrated circuit (ASIC), a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), a neural network processor (NPU), a deep learning processor (DPU), or other programmable logic devices.
[0109] Optionally, the electronic device may also include a display device capable of outputting and displaying glasses-free 3D images.
[0110] Optionally, electronic devices may also include storage resources such as memory and cache.
[0111] Optionally, the electronic device may also include an image acquisition device.
[0112] In addition to these components, electronic devices may also include communication interfaces, communication buses, and other parts. Memory, processor, and communication interface communicate with each other through the communication bus.
[0113] Communication interfaces are used for communication between electronic devices and other devices. Communication buses can be Peripheral Component Interconnect (PCI) buses or Extended Industry Standard Architecture (EISA) buses, and can be categorized into address buses, data buses, control buses, etc.
[0114] This application also discloses a storage medium carrying one or more computer instruction sets, which, when executed by an electronic device, enable the electronic device to implement the display processing method provided in any of the above method embodiments.
[0115] It should be noted that the various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. The same or similar parts between the various embodiments can be referred to each other.
[0116] For ease of description, the above systems or devices are described separately as various modules or units based on their functions. Of course, in implementing this application, the functions of each unit can be implemented in one or more software and / or hardware components.
[0117] As can be seen from the above description of the embodiments, those skilled in the art can clearly understand that this application can be implemented by means of software plus necessary general-purpose hardware platforms. Based on this understanding, the technical solution of this application, in essence or the part that makes a creative contribution, can be embodied in the form of a software product. This computer software product can be stored in a storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in various embodiments or some parts of the embodiments of this application.
[0118] Finally, it should be noted that in this document, relational terms such as first, second, third, and fourth are used to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0119] The above description is only a preferred embodiment of this application. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of this application, and these improvements and modifications should also be considered within the scope of protection of this application.
Claims
1. A display processing method, comprising: Obtain the image data of the interface image; The target display object in the interface image is determined based on the image data; The first depth information corresponding to the target display object in the image data is adjusted to the second depth information; The second depth information is closer to the depth information corresponding to the zero plane than the first depth information is closer to the depth information corresponding to the zero plane. The interface image is output and displayed based on the second depth information of the target display object and the corresponding depth information of other display objects besides the target display object in the image data, so as to present a naked-eye three-dimensional effect.
2. The display processing method according to claim 1, wherein the second depth information and the depth information corresponding to the zero plane satisfy the first proximity condition.
3. The display processing method according to claim 1, wherein adjusting the first depth information corresponding to the target display object in the image data to second depth information includes: Based on the pixel position information of the target display object in the interface image, the first depth information of the target pixel corresponding to the target display object is adjusted to the second depth information.
4. The display processing method according to claim 1, wherein output display is performed based on the second depth information of the target display object and the corresponding depth information of other display objects besides the target display object in the image data, comprising: Based on the second depth information of the target display object, the depth information of the other display objects, and the pixel color information of each display object, a first parallax image and a second parallax image are generated. The depth information corresponding to the same target display object in the first parallax image and the second parallax image respectively satisfies the second proximity condition; Based on the first parallax image and the second parallax image, the interface image that displays a naked-eye 3D effect is output.
5. The display processing method according to any one of claims 1-3, wherein each display object of the interface image includes three-dimensional modeling scene elements and user interface elements; The target display object includes at least one of the text in the three-dimensional modeling scene elements and the user interface elements; the target display object is displayed in the naked-eye three-dimensional output screen of the interface image in a plane that satisfies the third proximity condition with the zero plane.
6. The display processing method according to claim 1, wherein determining the target display object in the interface image based on the image data includes one of the following: The target display object is determined based on the pixel transparency of each display object in the image data; The attributes of each display object are identified based on the image data, and the target display object is determined based on the attributes of each display object.
7. The display processing method according to claim 6, wherein determining the target display object based on the pixel transparency of each display object in the image data includes: Identify the target pixels in the image data whose transparency satisfies the transparency condition; The display object formed by the target pixels is determined as the target display object.
8. A display processing device, comprising: The acquisition module is used to obtain image data of the interface image; The determining module is used to determine the target display object in the interface image based on the image data; The adjustment module is used to adjust the first depth information corresponding to the target display object in the image data to the second depth information; The second depth information is closer to the depth information corresponding to the zero plane than the first depth information is closer to the depth information corresponding to the zero plane. An output display module is used to output and display the interface image with a naked-eye 3D effect based on the second depth information of the target display object and the corresponding depth information of other display objects besides the target display object in the image data.
9. An electronic device, comprising: Memory, used to store at least one set of computer instructions; A processor is configured to perform the following processing by executing a set of instructions stored in the memory: Obtain the image data of the interface image; The target display object in the interface image is determined based on the image data; The first depth information corresponding to the target display object in the image data is adjusted to the second depth information; The second depth information is closer to the depth information corresponding to the zero plane than the first depth information is closer to the depth information corresponding to the zero plane. The interface image is output and displayed based on the second depth information of the target display object and the corresponding depth information of other display objects besides the target display object in the image data, so as to present a naked-eye three-dimensional effect.
10. The electronic device according to claim 9 further includes a display device for outputting and displaying naked-eye three-dimensional images.