OSD interface color adaptive adjustment method and device, equipment and storage medium

By dynamically adjusting the color and transparency of the OSD interface, the problem of the OSD interface being difficult to recognize due to picture changes is solved, and the clear display and beautiful presentation in various backgrounds is achieved, which improves the user experience.

CN119201306APending Publication Date: 2024-12-27LEDMAN OPTOELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410880353.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-02
Publication Date
2024-12-27

AI Technical Summary

Technical Problem

In the interactive interface of televisions, conference machines and other devices, the OSD interface is difficult to identify due to changes in the picture color, which affects the accuracy and aesthetics of user operations. The prior art improves visibility by designing non-transparent and special color interfaces. But it destroys the overall coordination of the picture.

Method used

By obtaining the picture color value in the OSD interface display area in the interactive interface, dynamically adjusting the color of the OSD interface to form sufficient contrast with the background, and adjusting according to the preset transparency and lighting intensity to ensure that the interface is clear under various backgrounds Display and beautiful presentation.

Benefits of technology

It realizes the clear display and beautiful presentation of the OSD interface, improves the user experience and visual effects, avoids the aesthetic defects brought by the non-transparent interface, and ensures that the interface can automatically adapt to changes in various backgrounds.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119201306A_ABST
    Figure CN119201306A_ABST
Patent Text Reader

Abstract

The invention discloses an OSD interface color adaptive adjustment method and device, equipment and a storage medium, and relates to the technical field of display. The method comprises the steps of obtaining an OSD interface display area in an interactive interface in response to an OSD interface display instruction; obtaining a color value of a picture in the OSD interface display area, and recording the color value as a first picture background color value; and adjusting the color of the OSD interface according to the first picture background color value, displaying the OSD interface after color adjustment in the OSD interface display area, and placing the OSD interface on the upper layer of the picture. According to the method, the color of the OSD interface is dynamically adjusted by obtaining the picture color value in the display area of the OSD interface, so that the color of the OSD interface can be distinguished from the background picture color and can also adapt to the background picture color, clear display and attractive presentation of the OSD interface under various background pictures are achieved, and the use experience of a user is remarkably improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of display technology, and in particular to an OSD interface color adaptive adjustment method, device, equipment and storage medium. Background Art

[0002] Devices such as televisions, conference machines, and projectors are often used to play PPTs, movies, or video signals input through HDMI interfaces. The colors of the pictures displayed in the interactive interfaces of these devices are ever-changing, and the OSD (On-Screen Display) interface displayed on the screen often cannot be clearly seen by users due to the change in the color of the picture, affecting the accuracy of user operations and the user experience. For example, when a user is watching a movie or showing a PPT, the dynamic changes in the picture and the diversity of colors may confuse the OSD interface with the background, making the OSD interface difficult to identify. In order to ensure that users can clearly see the OSD interface on the upper layer of the picture, some device manufacturers design the OSD interface to be non-transparent and the color is very conspicuous. However, although this solution can improve the visibility of the OSD interface, it often leads to a lack of aesthetics in the interface design. Therefore, the non-transparent and special color interface appears too abrupt in many scenarios, destroying the overall coordination of the picture, affecting the user's visual experience and the aesthetics of the overall product. Therefore, how to improve the aesthetics and user experience of the interface while ensuring the visibility of the OSD interface has become a technical problem that needs to be solved urgently. Summary of the invention

[0003] In view of this, the embodiments of the present invention provide an OSD interface color adaptive adjustment method, device, equipment and storage medium to solve the problem in the prior art that the OSD interface display is difficult to identify due to picture changes.

[0004] In a first aspect, an embodiment of the present invention provides a method for adaptively adjusting the color of an OSD interface, the method comprising:

[0005] S1: In response to the OSD interface display instruction, an area in the interactive interface for displaying the OSD interface is obtained, which is recorded as the OSD interface display area;

[0006] S2: Obtain the color value of the picture in the OSD interface display area, and record it as the background color value of the first picture;

[0007] S3: adjusting the color of the OSD interface according to the background color value of the first picture;

[0008] S4: Displaying the color-adjusted OSD interface in the OSD interface display area and placing it on an upper layer of the screen.

[0009] Preferably, before adjusting the color of the OSD interface according to the background color of the first picture, the method further includes:

[0010] The transparency of the OSD interface is set according to a preset transparency value.

[0011] Preferably, after step S4, the method further includes:

[0012] S5: After a preset time interval, the color value of the picture in the OSD interface display area is obtained and recorded as the background color value of the second picture;

[0013] S6: Determine whether the difference between the second picture background color value and the first picture background color value is greater than or equal to a preset threshold;

[0014] S7: If no, go to step S5; if yes, go to step S8:

[0015] S8: Set the first screen background color value to be equal to the second screen background color value, execute step S3 to step S4, and then jump to step S5.

[0016] Preferably, the obtaining of the color value of the picture in the OSD interface display area, recorded as the first picture background color value, comprises:

[0017] Obtaining the RGB value of each pixel in the OSD interface display area;

[0018] The background color value of the first picture is obtained according to the average value of the RGB values ​​of each pixel.

[0019] Preferably, the obtaining of the color value of the picture in the OSD interface display area, recorded as the first picture background color value, comprises:

[0020] Obtaining RGB values ​​of all pixels in the OSD interface display area;

[0021] Quantize the RGB values ​​of all pixels;

[0022] The quantized RGB values ​​are counted to generate a color histogram;

[0023] According to the color histogram, the color value with the highest frequency is obtained and recorded as the primary color value, and the color value with the second highest frequency is recorded as the secondary color value;

[0024] A weighted average color value is obtained according to the primary hue color value and the secondary hue color value, which is the background color value of the first picture.

[0025] Preferably, adjusting the color of the OSD interface according to the background color value of the first picture includes:

[0026] Acquire the OSD interface color value according to the background color value of the first picture and the preset color correction value;

[0027] The color of the OSD interface is set according to the color value of the OSD interface.

[0028] Preferably, the acquiring the color value of the OSD interface according to the first picture background color value and the preset color correction value further comprises:

[0029] Get the light intensity of the current environment;

[0030] One or more of color saturation, contrast and brightness of the OSD interface is determined according to the light intensity.

[0031] In a second aspect, an embodiment of the present invention provides an OSD interface color adaptive adjustment device, the device comprising:

[0032] The area acquisition module is used to respond to the OSD interface display instruction and acquire the area in the interactive interface for displaying the OSD interface, which is recorded as the OSD interface display area;

[0033] A color acquisition module, used to acquire the color value of the picture in the OSD interface display area, recorded as the first picture background color value;

[0034] An adjustment module, used for adjusting the color of the OSD interface according to the background color value of the first picture;

[0035] The display module is used to display the OSD interface after color adjustment in the OSD interface display area and is placed on the upper layer of the screen.

[0036] In a third aspect, an embodiment of the present invention provides an OSD interface color adaptive adjustment device, comprising: at least one processor, at least one memory, and computer program instructions stored in the memory, and when the computer program instructions are executed by the processor, the method of the first aspect in the above embodiment is implemented.

[0037] In a fourth aspect, an embodiment of the present invention provides a storage medium having computer program instructions stored thereon, which implements the method of the first aspect in the above-mentioned embodiment when the computer program instructions are executed by a processor.

[0038] In summary, the beneficial effects of the present invention are as follows:

[0039] The OSD interface color adaptive adjustment method, device, equipment and storage medium provided by the embodiment of the present invention include: in response to the OSD interface display instruction, obtaining the OSD interface display area in the interactive interface; obtaining the color value of the picture in the OSD interface display area, recording it as the first picture background color value; adjusting the color of the OSD interface according to the first picture background color value, displaying the color-adjusted OSD interface in the OSD interface display area, and placing it on the upper layer of the picture. The method dynamically adjusts the color of the OSD interface by obtaining the picture color value in the OSD interface display area to ensure that the OSD interface color can be distinguished from the background picture color and can adapt to the background picture color, thereby solving the visibility problem of the OSD interface, realizing the clear display and beautiful presentation of the OSD interface under various background pictures, and significantly improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] In order to more clearly illustrate the technical solution of the embodiment of the present invention, the drawings required for use in the embodiment of the present invention will be briefly introduced below. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work, and these are all within the protection scope of the present invention.

[0041] Figure 1 It is a flow chart of the method for adaptively adjusting the color of an OSD interface according to an embodiment of the present invention.

[0042] Figure 2 The present invention is a flowchart of adjusting the color of an OSD interface at regular intervals.

[0043] Figure 3 yes Figure 1 Specific flow chart of step S2 in FIG.

[0044] Figure 4 yes Figure 1 Another specific flow chart of step S2 in FIG.

[0045] Figure 5 yes Figure 1 Specific flow chart of step S3 in FIG.

[0046] Figure 6 It is a schematic diagram of the structure of the OSD interface color adaptive adjustment device according to an embodiment of the present invention.

[0047] Figure 7 It is a structural schematic diagram of an OSD interface color adaptive adjustment device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0048] The features and exemplary embodiments of various aspects of the present invention will be described in detail below. In order to make the purpose, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and Examples. It should be understood that the specific embodiments described herein are only configured to explain the present invention and are not configured to limit the present invention. For those skilled in the art, the present invention can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present invention by illustrating examples of the present invention.

[0049] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0050] Embodiment 1

[0051] The embodiment of the present invention provides an OSD interface color adaptive adjustment method, which is applicable to televisions, conference machines, projection equipment, display screens and other devices, which display video signals, picture signals and the like input therein through a (human-computer) interactive interface.

[0052] See also Figure 1 The OSD interface color adaptive adjustment method specifically includes the following steps:

[0053] S1: In response to the OSD interface display instruction, an area in the interactive interface for displaying the OSD interface is obtained, which is recorded as the OSD interface display area;

[0054] S2: Obtain the color value of the picture in the OSD interface display area, and record it as the background color value of the first picture;

[0055] S3: adjusting the color of the OSD interface according to the background color value of the first picture;

[0056] S4: Displaying the color-adjusted OSD interface in the OSD interface display area and placing it on an upper layer of the screen.

[0057] Specifically, the OSD interface is usually used to display the device's status information, setting options and other related information. When this information needs to be obtained, an OSD interface display instruction can often be sent to the device through a remote control or touch buttons in the interactive interface. When the device receives the OSD interface display instruction, it first determines the specific area in the interactive interface where the OSD interface is to be displayed, recorded as the OSD interface display area, obtains the color value of the current picture in the OSD interface display area, and sets the OSD interface color based on the color value of the picture background in the OSD interface display area, so that the OSD interface forms sufficient contrast with the background picture color of the next layer, and displays the adjusted OSD interface in the OSD interface display area, and ensures that it is located on the upper layer of the current picture, so that the user can clearly see the interface content when operating the OSD interface without being disturbed by the background picture.

[0058] In one embodiment, before adjusting the color of the OSD interface according to the first picture background color, the method further includes:

[0059] S0: Setting the transparency of the OSD interface according to a preset transparency value.

[0060] Specifically, in order to further improve the visual effect and adaptability of the OSD interface, before adjusting the color of the OSD interface according to the background color of the first screen, the transparency of the OSD interface will first be adjusted according to the preset transparency value. The transparency setting is to ensure that the OSD interface not only has sufficient contrast to ensure visibility on screens with different background colors, but also can blend with the background screen, thereby reducing interference with the overall visual effect. By setting an appropriate transparency value, the OSD interface can avoid appearing too abrupt while ensuring clear identification by the user, thereby enhancing the user's visual experience and operating experience. The preset transparency value here can be determined according to user preferences or actual application scenarios. The operating system of the device will adjust the transparency of the OSD interface according to the preset transparency value to achieve the desired transparency effect.

[0061] See also Figure 2 In one embodiment, the method further comprises:

[0062] S5: After a preset time interval, the color value of the picture in the OSD interface display area is obtained and recorded as the background color value of the second picture;

[0063] S6: Determine whether the difference between the second picture background color value and the first picture background color value is greater than or equal to a preset threshold;

[0064] S7: If no, go to step S5; if yes, go to step S8:

[0065] S8: Set the first screen background color value to be equal to the second screen background color value, execute step S3 to step S4, and then jump to step S5.

[0066] Specifically, when the OSD interface is displayed for a long time, or when the OSD interface (such as the sidebar of the conference machine or the OSD interface such as the electronic compass) is required to be fixedly suspended on the upper layer of the screen during the screen playback process, the color value of the screen in the OSD interface display area is re-acquired at every preset time interval (for example, every second or every 5 seconds) during the display of the OSD interface, and this new color value is recorded as the second screen background color value. It is determined whether the difference between the second screen background color value and the first screen background color value is greater than or equal to the preset threshold. If the difference is less than the preset threshold, it means that the background screen color change is not obvious and there is no need to readjust the OSD interface color. If the difference is large, it means that the background screen color has changed significantly. At this time, the first screen background color value is set to be equal to the second screen background color value, and then the color value of the OSD interface is adjusted according to the first screen background color value, and the interactive interface is refreshed to refresh the OSD interface so that the OSD interface color is dynamically adjusted according to the screen color change.

[0067] See also Figure 3 In one embodiment, the obtaining of the color value of the screen in the OSD interface display area, recorded as the first screen background color value, includes:

[0068] S21: Obtaining the RGB value of each pixel in the screen of the OSD interface display area;

[0069] S22: Obtain the background color value of the first picture according to the average value of the RGB values ​​of each pixel.

[0070] Specifically, in order to accurately obtain the background color value of the first picture, first obtain the RGB value of each pixel of the current picture in the area. Specifically, by scanning all pixels of the current picture in the OSD interface display area, extract the values ​​of the three color components of red (R), green (G) and blue (B) of each pixel. Then, the RGB values ​​of these pixels are counted and calculated to find the average value of the RGB values ​​of all pixels. This average value represents the overall color characteristics of the picture in the OSD interface display area. In this way, the color of the picture in the OSD interface display area can be accurately reflected, providing a reliable data basis for the subsequent adjustment of the color of the OSD interface.

[0071] In one embodiment, the RGB value of each pixel can also be weighted averaged according to the importance of different positions in the OSD interface display area (for example, the weights of the user's line of sight area and the edge area are different), so as to more accurately reflect the color characteristics of the area where the user actually pays attention to and improve the accuracy of the OSD interface color adjustment.

[0072] See also Figure 4 In one embodiment, the color distribution of the screen in the OSD interface display area can also be analyzed, and the main color and secondary color of the background color can be identified by counting the distribution and proportion of the main colors of the screen in the area, and the OSD interface color can be adjusted based on this information to ensure that the OSD interface can maintain good contrast and visual effects under various background conditions. The specific steps are as follows:

[0073] S23: Obtaining RGB values ​​of all pixels in the OSD interface display area;

[0074] S24: quantizing the RGB values ​​of all pixels;

[0075] For example, 256 levels of RGB values ​​can be compressed into 16 or 32 levels, which is achieved by dividing the continuous color values ​​into several discrete intervals, making color analysis more efficient;

[0076] S25: Count the quantized RGB values ​​to generate a color histogram;

[0077] The color histogram shows the number of pixels of different colors (RGB values) and their distribution in the OSD interface display area. Each color value corresponds to a count, indicating the number of times the color appears in the OSD interface display area.

[0078] S26: according to the color histogram, obtaining the color value with the highest frequency, recording it as the primary color value, and recording the color value with the second highest frequency as the secondary color value;

[0079] In other embodiments, a preset threshold may be set to distinguish between the primary hue and the secondary hue. If the color appears more frequently than the threshold, it is the primary hue.

[0080] S27: Obtain a weighted average color value according to the primary color value and the secondary color value, which is the background color value of the first picture:

[0081] The corresponding weighted values ​​are determined according to the frequency ratio of the main color tone and the secondary color tone, so as to determine the weighted average color value of the main color tone and the secondary color tone, and the weighted average color value is the first screen background color value.

[0082] See also Figure 5 In one embodiment, adjusting the color of the OSD interface according to the background color value of the first picture includes:

[0083] S31: acquiring an OSD interface color value according to the first screen background color value and a preset color correction value;

[0084] S32: Setting the color of the OSD interface according to the color value of the OSD interface.

[0085] Specifically, the preset color correction value is to ensure that the OSD interface color forms a sufficient contrast with the background color, so that the OSD interface is more clearly visible when displayed. The calculation formula for calculating the OSD interface color value based on the background color value of the first picture and the preset color correction value is as follows:

[0086] OSD interface color value = first screen background color value ± preset color correction value;

[0087] The preset color correction value can be adjusted according to actual conditions or user preferences to adapt to different background images.

[0088] Furthermore, one or more of the color saturation, contrast and brightness of the OSD interface is determined according to the light intensity of the current environment. For example, when the light intensity is 900 lux, the color saturation is moderately increased (for example, by 20%) to make the color more vivid; the contrast is enhanced (for example, by 30%) to ensure visibility in high-light environments; the brightness is reduced (for example, by 10%) to avoid visual fatigue caused by excessive brightness. The adjusted OSD interface color value and its attributes (saturation, contrast, brightness) are applied to the OSD interface to ensure that the OSD interface is always clearly visible and has good visual effects under the current lighting conditions.

[0089] In summary, the OSD interface color adaptive adjustment method provided by the embodiment of the present invention includes responding to the OSD interface display instruction, obtaining the OSD interface display area in the interactive interface; obtaining the color value of the picture in the OSD interface display area, recorded as the first picture background color value; adjusting the color of the OSD interface according to the first picture background color value, displaying the color-adjusted OSD interface in the OSD interface display area, and placing it on the upper layer of the picture. The method dynamically adjusts the color of the OSD interface by obtaining the picture color value in the OSD interface display area to ensure that the OSD interface color can be distinguished from the background picture color and can adapt to the background picture color, solves the visibility problem of the OSD interface, avoids the aesthetic defects caused by the use of non-transparent and special color OSD interfaces, realizes the clear display and beautiful presentation of the OSD interface under various background pictures, and significantly improves the user experience. Whether the user is watching a movie, showing a PPT or performing other operations, the OSD interface can automatically adapt to the changes in the background picture, provide better visual effects, and improve the accuracy of user operations and overall experience.

[0090] Embodiment 2

[0091] See also Figure 6The embodiment of the present invention provides an OSD interface color adaptive adjustment device 200, the device 200 comprising:

[0092] The area acquisition module 201 is used to respond to the OSD interface display instruction and acquire the area in the interactive interface for displaying the OSD interface, which is recorded as the OSD interface display area;

[0093] A color acquisition module 202 is used to acquire the color value of the picture in the OSD interface display area, which is recorded as the first picture background color value;

[0094] An adjustment module 203, configured to adjust the color of the OSD interface according to the background color value of the first screen;

[0095] The display module 204 is used to display the OSD interface after color adjustment in the OSD interface display area and place it on the upper layer of the screen.

[0096] Preferably, the device 200 further includes:

[0097] The transparency setting module is used to set the transparency of the OSD interface according to a preset transparency value.

[0098] Preferably, the device 200 further includes:

[0099] A timing module, used for obtaining the color value of the picture in the display area of ​​the OSD interface after a preset time interval, and recording it as the background color value of the second picture;

[0100] A judging module, used for judging whether a difference between the second picture background color value and the first picture background color value is greater than or equal to a preset threshold;

[0101] The execution module is used to execute the steps of the timing module if no; if yes, execute the steps of the setting module:

[0102] Setting module: Set the background color value of the first screen to be equal to the background color value of the second screen, execute the color adjustment steps to the steps of the display module, and then jump to the steps of the timing module.

[0103] Preferably, the color acquisition module 202 includes:

[0104] A first RGB value acquisition unit, used to acquire the RGB value of each pixel in the OSD interface display area;

[0105] The first average value obtaining unit is used to obtain the first screen background color value according to the average value of the RGB values ​​of each pixel.

[0106] Preferably, the color acquisition module 202 includes:

[0107] A second RGB value acquisition unit, used to acquire RGB values ​​of all pixels in the OSD interface display area;

[0108] A quantization unit is used to quantize the RGB values ​​of all pixels;

[0109] A histogram generating unit, used for performing statistics on the quantized RGB values ​​to generate a color histogram;

[0110] A division unit is used to obtain the color value with the highest frequency according to the color histogram, record it as the main color value, and record the color value with the second highest frequency as the secondary color value;

[0111] The second average value obtaining unit is used to obtain a weighted average color value according to the main hue color value and the secondary hue color value, that is, the first picture background color value.

[0112] Preferably, the adjustment module 203 includes:

[0113] A correction unit, configured to obtain an OSD interface color value according to the background color value of the first screen and a preset color correction value;

[0114] The interface color setting unit is used to set the color of the OSD interface according to the OSD interface color value.

[0115] Preferably, the correction unit further includes:

[0116] A light intensity acquisition unit, used to acquire the light intensity of the current environment;

[0117] A determination unit is used to determine one or more of the color saturation, contrast and brightness of the OSD interface according to the light intensity.

[0118] In summary, the OSD interface color adaptive adjustment device provided by the embodiment of the present invention includes: responding to the OSD interface display instruction, obtaining the OSD interface display area in the interactive interface; obtaining the color value of the picture in the OSD interface display area, recorded as the first picture background color value; adjusting the color of the OSD interface according to the first picture background color value, displaying the color-adjusted OSD interface in the OSD interface display area, and placing it on the upper layer of the picture. The method dynamically adjusts the color of the OSD interface by obtaining the picture color value in the OSD interface display area to ensure that the OSD interface color can be distinguished from the background picture color and can adapt to the background picture color, solves the visibility problem of the OSD interface, avoids the aesthetic defects caused by the use of non-transparent and special color OSD interfaces, realizes the clear display and beautiful presentation of the OSD interface under various background pictures, and significantly improves the user experience. Whether the user is watching a movie, showing PPT or performing other operations, the OSD interface can automatically adapt to the changes in the background picture, provide better visual effects, and improve the accuracy of user operations and overall experience.

[0119] Embodiment 3

[0120] In addition, the OSD interface color adaptive adjustment method of the embodiment of the present invention can be implemented by an OSD interface color adaptive adjustment device. Figure 7 A schematic diagram of the hardware structure of an OSD interface color adaptive adjustment device provided by an embodiment of the present invention is shown.

[0121] The OSD interface color adaptive adjustment device may include a processor 301 and a memory 302 storing computer program instructions.

[0122] Specifically, the processor 301 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiment of the present invention.

[0123] The memory 302 may include a large capacity memory for data or instructions. For example, but not limitation, the memory 302 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, the memory 302 may include a removable or non-removable (or fixed) medium. In appropriate cases, the memory 302 may be inside or outside the data processing device. In a specific embodiment, the memory 302 is a non-volatile solid-state memory. In a specific embodiment, the memory 302 includes a read-only memory (ROM). In appropriate cases, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically rewritable ROM (EAROM) or a flash memory or a combination of two or more of these.

[0124] The processor 301 reads and executes the computer program instructions stored in the memory 302 to implement any one of the OSD interface color adaptive adjustment methods in the above embodiments.

[0125] In one example, the OSD interface color adaptive adjustment device may further include a communication interface 303 and a bus 310. Figure 7 As shown, the processor 301, the memory 302, and the communication interface 303 are connected via a bus 310 and communicate with each other.

[0126] The communication interface 303 is mainly used to implement the communication between the modules, devices, units and / or equipment in the embodiment of the present invention.

[0127] Bus 310 includes hardware, software or both, and the components of OSD interface color adaptive adjustment device are coupled to each other. For example, but not limitation, bus 310 may include accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front-side bus (FSB), hypertransport (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 310 may include one or more buses. Although the embodiment of the present invention describes and shows a specific bus, the present invention considers any suitable bus or interconnection.

[0128] Embodiment 4

[0129] In addition, in combination with the OSD interface color adaptive adjustment method in the above embodiment, the embodiment of the present invention can provide a computer-readable storage medium for implementation. The computer-readable storage medium stores computer program instructions; when the computer program instructions are executed by the processor 301, any one of the OSD interface color adaptive adjustment methods in the above embodiment is implemented.

[0130] In summary, the OSD interface color adaptive adjustment method, device, equipment and storage medium provided by the embodiment of the present invention include: in response to the OSD interface display instruction, obtaining the OSD interface display area in the interactive interface; obtaining the color value of the picture in the OSD interface display area, recorded as the first picture background color value; adjusting the color of the OSD interface according to the first picture background color value, displaying the color-adjusted OSD interface in the OSD interface display area, and placing it on the upper layer of the picture. The method dynamically adjusts the color of the OSD interface by obtaining the picture color value in the OSD interface display area to ensure that the OSD interface color can be distinguished from the background picture color and can adapt to the background picture color, solves the visibility problem of the OSD interface, avoids the aesthetic defects caused by the use of non-transparent and special color OSD interfaces, realizes the clear display and beautiful presentation of the OSD interface under various background pictures, and significantly improves the user experience. Whether the user is watching a movie, showing PPT or performing other operations, the OSD interface can automatically adapt to the changes in the background picture, provide better visual effects, and improve the accuracy and overall experience of user operations.

[0131] It should be clear that the present invention is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present invention is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present invention.

[0132] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present invention are programs or code segments that are used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.

[0133] It should also be noted that the exemplary embodiments mentioned in the present invention describe some methods or systems based on a series of steps or devices. However, the present invention is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiments, or in a different order from the embodiments, or several steps can be performed simultaneously.

[0134] The above is only a specific implementation of the present invention. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working process of the system, module and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here. It should be understood that the protection scope of the present invention is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be covered within the protection scope of the present invention.

Claims

1. A method for adaptively adjusting the color of an OSD interface, characterized in that: The method comprises: S1: In response to the OSD interface display instruction, an area in the interactive interface for displaying the OSD interface is obtained, which is recorded as the OSD interface display area; S2: Obtain the color value of the picture in the OSD interface display area, and record it as the background color value of the first picture; S3: adjusting the color of the OSD interface according to the background color value of the first picture; S4: Displaying the color-adjusted OSD interface in the OSD interface display area and placing it on an upper layer of the screen.

2. The method for adaptively adjusting the color of an OSD interface according to claim 1, characterized in that: Before adjusting the color of the OSD interface according to the background color of the first picture, the method further includes: The transparency of the OSD interface is set according to a preset transparency value.

3. The method for adaptively adjusting the color of an OSD interface according to claim 1, characterized in that: After step S4, the method further includes: S5: After a preset time interval, the color value of the picture in the OSD interface display area is obtained and recorded as the background color value of the second picture; S6: Determine whether the difference between the second picture background color value and the first picture background color value is greater than or equal to a preset threshold; S7: If no, go to step S5; if yes, go to step S8: S8: Set the first screen background color value to be equal to the second screen background color value, execute step S3 to step S4, and then jump to step S5.

4. The method for adaptively adjusting the color of an OSD interface according to any one of claims 1 to 3, characterized in that: The step of obtaining the color value of the screen in the OSD interface display area, recorded as the first screen background color value, includes: Obtaining the RGB value of each pixel in the OSD interface display area; The background color value of the first picture is obtained according to the average value of the RGB values ​​of each pixel.

5. The method for adaptively adjusting the color of an OSD interface according to any one of claims 1 to 3, characterized in that: The step of obtaining the color value of the screen in the OSD interface display area, recorded as the first screen background color value, includes: Obtaining RGB values ​​of all pixels in the OSD interface display area; Quantize the RGB values ​​of all pixels; The quantized RGB values ​​are counted to generate a color histogram; According to the color histogram, the color value with the highest frequency is obtained and recorded as the primary color value, and the color value with the second highest frequency is recorded as the secondary color value; A weighted average color value is obtained according to the primary hue color value and the secondary hue color value, which is the background color value of the first picture.

6. The method for adaptively adjusting the color of an OSD interface according to any one of claims 1 to 3, characterized in that: The adjusting the color of the OSD interface according to the background color value of the first picture includes: Acquire the OSD interface color value according to the background color value of the first picture and the preset color correction value; The color of the OSD interface is set according to the color value of the OSD interface.

7. The method for adaptively adjusting the color of an OSD interface according to claim 6, characterized in that: The acquiring the color value of the OSD interface according to the first picture background color value and the preset color correction value also includes: Get the light intensity of the current environment; One or more of color saturation, contrast and brightness of the OSD interface is determined according to the light intensity.

8. An OSD interface color adaptive adjustment device, characterized in that: The device comprises: The area acquisition module is used to respond to the OSD interface display instruction and acquire the area in the interactive interface for displaying the OSD interface, which is recorded as the OSD interface display area; A color acquisition module, used to acquire the color value of the picture in the OSD interface display area, recorded as the first picture background color value; An adjustment module, used for adjusting the color of the OSD interface according to the background color value of the first picture; The display module is used to display the OSD interface after color adjustment in the OSD interface display area and is placed on the upper layer of the screen.

9. An OSD interface color adaptive adjustment device, characterized in that: include: At least one processor, at least one memory and computer program instructions stored in the memory, when the computer program instructions are executed by the processor, implement the method according to any one of claims 1 to 7.

10. A storage medium having computer program instructions stored thereon, characterized in that: When the computer program instructions are executed by a processor, the method according to any one of claims 1 to 7 is implemented.