Image display method and device, electronic equipment and storage medium
By identifying and adjusting the display parameters of edge pixels in the display device, the chromaticity offset and edge jagging problems caused by the lack of auxiliary luminescence in the sub-pixel rendering technology are solved, and a higher quality image display is achieved.
Patent Information
- Application Number
- CN202411995692.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-31
- Publication Date
- 2025-03-21
AI Technical Summary
In sub-pixel rendering technology, edge pixels often have problems such as chromaticity offset and edge jagging due to lack of complete auxiliary luminescence from areas beyond the screen boundary, which often affects the display effect.
By defining that the pixel in the preset edge area in the display device is an edge pixel, the display parameters are obtained, the actual brightness value is calculated, and whether the preset brightness threshold value is exceeded. If it is exceeded, adjust the display parameters to resolve jagging and color distortion issues.
It effectively avoids visual degradation caused by edge pixels due to excessive brightness, such as jagged sense and chromatic aberration offset, significantly improves image display quality and achieves a smoother, accurate and comfortable visual experience.
Smart Images

Figure CN119673082A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of display technology, and in particular to a display method, device, equipment and storage medium. Background Art
[0002] With the continuous advancement of display technology, the resolution and display quality of display devices (such as LCDs, OLED displays, etc.) have been significantly improved. In order to achieve higher resolution at the smallest possible physical size, the industry has begun to adopt sub-pixel rendering (SPR) technology. Different from the traditional rendering method based on whole pixels, SPR technology will further subdivide the light-emitting unit of a pixel into independent sub-pixels (such as red, green, and blue sub-pixels), and achieve resolution and fineness that exceeds the original number of pixels by flexibly combining and adjusting the light-emitting brightness of sub-pixels.
[0003] However, SPR faces a key problem in its application: since the display often needs to "borrow" sub-pixels from adjacent pixels to achieve fine adjustment of color and brightness, pixels in the edge area often cannot borrow colors from areas beyond the screen boundary. Due to the lack of complete auxiliary light from adjacent areas, these pixels at the edge of the display often have problems such as chromaticity shift and edge aliasing during the rendering process. This not only affects the edge smoothness and color consistency of the entire image, but also weakens the advantages of SPR technology in improving resolution and image quality.
[0004] Traditional solutions often assign special weights to edge pixels or adjust them individually in order to maintain the visual effect as much as possible without the assistance of some sub-pixels. However, such methods are often difficult to achieve ideal display effects due to complex adjustment algorithms, cumbersome weight settings, and unstable performance in different content scenarios.
[0005] Therefore, there is an urgent need for a more efficient, more intelligent and SPR-compatible edge pixel display control method to ensure high resolution and high image quality of the display device in the absence of complete sub-pixel "borrowing", overcome the jagged edges, color deviation and distortion problems in the edge areas, and achieve a smoother, more accurate and comfortable visual experience. Summary of the invention
[0006] The purpose of the present application is to provide an image display method, device, equipment and storage medium, define pixels in a preset edge area in a display device as edge pixels, and obtain display parameters of the edge pixels. Then, the actual brightness value of the edge pixel is calculated according to the obtained display parameters, and it is determined whether the brightness value exceeds a preset brightness threshold. When the actual brightness value exceeds the preset brightness threshold, the display parameters of the edge pixel are adjusted to solve the jagged effect and color distortion problems caused by pixel arrangement at the edge of the display screen.
[0007] To achieve the above objectives: In a first aspect, an embodiment of the present application provides an image display method, the method comprising: Defining pixels in a preset edge region of a display device as edge pixels, and obtaining display parameters of the edge pixels; Calculating the actual brightness value of the edge pixel according to the display parameter, and determining whether the actual brightness value exceeds a preset brightness threshold; If the actual brightness value of the edge pixel exceeds the brightness threshold, adjusting the display parameter; After the display parameters of the edge pixels are adjusted, the display device is used to display an image.
[0008] Optionally, if the actual brightness value of the edge pixel exceeds the brightness threshold, adjusting the display parameter includes: In the edge area, if the actual brightness value of one of the edge pixels exceeds the brightness threshold, marking the edge pixel; At a preset detection time point, detecting whether all the edge pixels in the edge area are marked; If all the edge pixels in the edge region are marked, the display parameter is adjusted.
[0009] Optionally, adjusting the display parameter includes: adjusting the brightness input value of the edge pixel to zero.
[0010] Optionally, in the edge area, if the actual brightness value of one of the edge pixels exceeds the brightness threshold, the edge pixel is marked; At a preset detection time point, detecting whether edge pixels adjacent to the marked edge pixel are all marked; If three consecutive edge pixels are marked, the display parameters of the three edge pixels are adjusted.
[0011] Optionally, the edge pixels include a first edge pixel and a second edge pixel; The first edge pixel comprises at least one of a first row of pixels, a last row of pixels, a first column of pixels, and a last column of pixels of the display device; The second edge pixels include pixels of a preset number of rows or a preset number of columns adjacent to the first edge pixels; The detecting, at a preset detection time point, whether all the edge pixels in the edge area are marked comprises: At the detection time point, detecting whether three consecutive first edge pixels are marked; If yes, continue to detect whether all the second edge pixels are marked.
[0012] Optionally, the continuing to detect whether all the second edge pixels are marked includes: Detect whether the second edge pixels adjacent to the marked first edge pixels are all marked, and if so; The display parameters of the marked first edge pixel are adjusted.
[0013] In a second aspect, an embodiment of the present application provides an image display device, the device comprising: An edge pixel detection module is used to obtain display parameters of edge pixels in a preset edge area of the display device; A brightness calculation module, which calculates the actual brightness value of the edge pixel according to the display parameters; A judgment module is used to judge whether the actual brightness value of the edge pixel exceeds a preset brightness threshold; A display adjustment module adjusts the display parameters of edge pixels according to the judgment result of the judgment module; The display module is used to display the image after the display adjustment module adjusts the display parameters of the edge pixels.
[0014] Furthermore, the display device further includes: An analysis module, used to obtain and analyze display information input to the display device and generate analysis data; A decision module: decides whether to execute the display method before or after the display information is input to the display device according to the analysis data of the analysis module.
[0015] In a third aspect, an embodiment of the present application provides a device, comprising: a processor and a memory storing a computer program, and when the processor runs the computer program, the steps of the above method are implemented.
[0016] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, the steps of the above method are implemented. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 A schematic diagram of a flow chart of a method provided in an embodiment of the present invention.
[0018] Figure 2 A schematic diagram of a specific flow chart of the method provided in an embodiment of the present invention.
[0019] Figure 3 Another specific flowchart of the method provided by the embodiment of the present invention.
[0020] Figure 4 A schematic diagram of the structure of a display device provided by an embodiment of the present invention.
[0021] Figure 5 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0022] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0023] It should be noted that, in this article, the terms "include", "comprises" 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 includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element. In addition, components, features, and elements with the same name in different embodiments of the present application may have the same meaning or different meanings, and their specific meanings need to be determined by their explanation in the specific embodiment or further combined with the context of the specific embodiment.
[0024] It should be understood that, although the terms first, second, third, etc. may be used to describe various information in this article, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of this article, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein can be interpreted as "at the time of..." or "when..." or "in response to determination". Furthermore, as used in this article, the singular forms "one", "one" and "the" are intended to also include plural forms, unless there is an opposite indication in the context. It should be further understood that the terms "comprising", "including" indicate that there are described features, steps, operations, elements, components, projects, kinds, and / or groups, but do not exclude the existence, occurrence or addition of one or more other features, steps, operations, elements, components, projects, kinds, and / or groups. The terms "or" and "and / or" used herein are interpreted as inclusive, or mean any one or any combination. Thus, “A, B, or C” or “A, B and / or C” means “any of the following: A; B; C; A and B; A and C; B and C; A, B, and C.” An exception to this definition will occur only when a combination of elements, functions, steps, or operations are inherently mutually exclusive in some manner.
[0025] It should be understood that, although the various steps in the flowchart in the embodiment of the present application are displayed in sequence according to the indication of the arrows, these steps are not necessarily performed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and it can be performed in other orders. Moreover, at least a portion of the steps in the figure may include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily performed at the same time, but can be performed at different times, and their execution order is not necessarily performed in sequence, but can be performed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
[0026] It should be noted that, in this article, step codes such as S101, S102, etc. are used for the purpose of expressing the corresponding content more clearly and concisely, and do not constitute a substantial limitation on the sequence. When implementing the step, those skilled in the art may execute S102 first and then S101, etc., but these should all be within the scope of protection of this application.
[0027] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0028] In the subsequent description, the suffixes such as "module", "component" or "unit" used to represent elements are only used to facilitate the description of the present application, and have no specific meanings. Therefore, "module", "component" or "unit" can be used in a mixed manner.
[0029] See also Figure 1 , is a display method provided in an embodiment of the present application, which optimizes the display effect by adjusting the display parameters of edge pixels to reduce visual impairments caused by excessive brightness, such as jaggedness and color shift. The method provided in this embodiment includes: Step S101: define an edge pixel area.
[0030] The image display device defines an edge area according to the image content and display area. This edge area is usually the four border parts of the image, such as the top, bottom, left and right pixels. In particular, these areas are easily affected by factors such as image resolution and display device characteristics. It is easy to have jagged or uneven edges. Specifically, the system defines the four edges of the image, such as the top, bottom, left and right, and possible corner parts as edge pixel areas. The definition of the edge pixel area can be appropriately adjusted according to the requirements of the display device, screen resolution, etc. For example, the upper 20 pixel rows, the lower 20 pixel rows, and the left and right 10 pixel rows of the image are set as the edge area.
[0031] Step S102: Obtain display parameters of edge pixels.
[0032] The display parameters usually include the color information, brightness value, color saturation, etc. of the pixel. For example, the system may obtain the RGB value (the value of red, green, and blue) of the edge pixel, and the RGB value of each pixel is used for subsequent brightness calculation.
[0033] Step S103: Calculate the actual brightness value of the edge pixel.
[0034] Among them, according to the acquired display parameters, the system will calculate the actual brightness value of each edge pixel. The brightness value is usually obtained by weighted calculation of the three components (red, green, and blue) in the RGB color model. Specifically, the calculation formula of the brightness value is as follows:
[0035] Among them, R, G, and B are the red, green, and blue component values of the edge pixel respectively. The brightness value reflects the brightness of the image.
[0036] Step S104: determine whether the actual brightness value exceeds a preset brightness threshold.
[0037] After the actual brightness value of the edge pixel is calculated, the actual brightness value of each edge pixel is compared with a preset brightness threshold.
[0038] The setting of the brightness threshold depends on different display environments, application scenarios and display requirements. The brightness threshold can be dynamically adjusted based on the following factors: Brightness range of displayed content: If a bright image or background color is being displayed on the screen, the threshold should adapt to this brightness variation and is usually set based on the global brightness of the screen.
[0039] Brightness characteristics of edge areas: In edge areas, due to uneven distribution of light sources, the brightness threshold may be lower to avoid display anomalies caused by ambient light or color difference. The threshold can be set to a more conservative value to ensure timely adjustment in high-brightness scenes.
[0040] Screen type and display technology: For different types of screens such as OLED and LCD, the setting of brightness threshold may also be different. For example, in OLED screens, due to the self-luminous characteristics, its brightness adjustment may require different processing.
[0041] Step S105: If the brightness value exceeds a preset brightness threshold, adjust the display parameters.
[0042] In actual display processing, in order to prevent the loss of specific border images due to brightness adjustment, this technical solution introduces a brightness threshold determination mechanism. When it is detected that the brightness of pixels close to the edge is lower than a preset threshold (for example, a reasonable range between 32 and 128), the low-brightness pixel can be identified as a border area pixel that needs to be protected, rather than simply clearing its brightness to zero. Through this threshold setting, the integrity and display quality of the border image can be ensured while reducing the edge brightness, thereby improving the visual effect while meeting the protection requirements of specific image content.
[0043] Step S106: Display the image.
[0044] After adjusting the display parameters of edge pixels, the system will eventually generate processed display data and output the image using a display device. At this point, the display effect of the edge area has been optimized, and pixels with too high or too low brightness have been adjusted to a suitable range, avoiding problems such as overexposure and color shift, and ensuring image clarity and natural transition.
[0045] The image display method of this embodiment can effectively avoid the jaggedness, edge overbrightness or color shift problems that occur during the display process. By accurately controlling the display parameters of edge pixels, especially the brightness value and contrast, the image display quality is significantly improved, so that the display device can better handle the display requirements of high contrast and complex image content.
[0046] For further information, see Figure 2 The method comprises: Step S201: Obtain display parameters of edge pixels.
[0047] Step S202: Calculate the actual brightness value of the edge pixel.
[0048] Step S203: determining whether the actual brightness value of the edge pixel exceeds a preset brightness threshold.
[0049] The actual brightness value of each edge pixel is compared with a preset brightness threshold value. If the actual brightness value exceeds the threshold value, it indicates that the brightness of the edge pixel may be too high or too low and needs to be adjusted.
[0050] Step S204: Mark edge pixels that exceed a brightness threshold.
[0051] Among them, for the target pixel whose brightness value exceeds the preset brightness threshold, it is marked. A mark bit (such as "mark") can be set to indicate that the pixel is a highlight pixel, usually using a Boolean value or integer (such as 1 for marking and 0 for not marking) to record.
[0052] Step S205: at a preset detection time point, detecting whether all edge pixels are marked.
[0053] Wherein: at a preset detection time point (for example, before each image frame refresh or during a regular check), it is detected whether all edge pixels in the edge area have been marked.
[0054] If at this moment, all edge pixels have been marked as exceeding the brightness threshold and need to be adjusted, then the adjustment step is continued.
[0055] Step S206: Adjust display parameters.
[0056] By marking and timing detection, it is ensured that each pixel that needs to be adjusted is processed in a timely manner to avoid obvious jaggedness, color cast or other adverse visual effects during image output, thereby improving image quality and visual experience.
[0057] Furthermore, in the edge area, if the actual brightness value of one of the edge pixels exceeds the brightness threshold, the edge pixel is marked. At a preset detection time point, it is detected whether all edge pixels adjacent to the marked edge pixel are marked. If N consecutive edge pixels are marked, the display parameters of the N edge pixels are adjusted.
[0058] Based on the same inventive concept as the above embodiments, the above embodiments are described in detail below through a specific application scenario. Step S301: define the left edge of the display area as the edge area, specifically the leftmost continuous area of each line of the display area Pixel.
[0059] Suppose the pixels in each row of the display area are numbered as (in is the row number, is the number of pixels in the left edge area). The edge area is the leftmost 1st to 2nd pixels, that is:
[0060] in, Indicates the number of rows currently being processed.
[0061] Step S302: For each target pixel (in is the row number, j is the column number, and 1) Determine the pixel Is it greater than the preset brightness threshold? .Right now: like ,but For highlight pixels If each line from arrive The pixel values satisfy , then the target pixel area of this row is considered to be a highlight area.
[0062] Step S303: At a preset detection time point, when the pixel value of each pixel in the target pixel area is detected Both are greater than the threshold Specifically, set a marking bit , a value of 1 indicates that the pixel is a highlight pixel, and a value of 0 indicates that the pixel is not a highlight pixel. That is:
[0063] If all pixels in the target pixel area , ,…, If all are 1, then all pixels in the target pixel area are considered to be highlight pixels.
[0064] Step S304: adjusting the display parameters of the edge pixels.
[0065] Step S305: output display data.
[0066] In a specific implementation, the adjusting the display parameter includes: adjusting the brightness input value of the edge pixel to zero.
[0067] Image display devices control the display effect of each pixel by receiving digital signals (such as RGB values). The brightness input value usually refers to the numerical value that controls the brightness of the pixel. For example, in the RGB color model, the brightness value of each channel of red, green, and blue is usually represented by a number from 0 to 255, where 0 represents the darkest (no brightness) and 255 represents the brightest (maximum brightness). In this solution, the brightness input value refers to the original input signal data used to display the brightness of the pixel.
[0068] Adjusting the brightness input value of edge pixels to zero means completely suppressing the brightness intensity of these over-bright edge pixels so that they no longer affect the final displayed image effect.
[0069] For example, if the brightness input value of an edge pixel is 255 (maximum brightness), adjusting to zero means setting this value to 0, so that the pixel will no longer emit light on the display, thus avoiding overly bright areas in the image display.
[0070] Furthermore, the method comprises: Step S401: In a display area of a display device, pixels are divided into two types of edge pixels: first edge pixels and second edge pixels.
[0071] The first edge pixels include pixels in the four edge regions of the display device, namely, at least one of the first row of pixels, the last row of pixels, the first column of pixels, and the last column of pixels. The first edge pixels are located at the edge of the display region and are the pixels that are most directly in contact with the display boundary. They often require special processing to ensure a smooth and balanced display effect.
[0072] The second edge pixels are pixels adjacent to the first edge pixels. Specifically, the second edge pixels include pixels of a preset number of rows or a preset number of columns adjacent to the first edge pixels. By setting a preset range, the second edge pixels ensure that the pixels of the entire edge area can be effectively processed to avoid omission.
[0073] Step S402: at a preset detection time point, detecting whether N consecutive first edge pixels are marked.
[0074] The system checks N consecutive first edge pixels to determine whether the N first edge pixels have been marked according to whether their brightness exceeds the standard.
[0075] If all N consecutive first edge pixels have been marked (ie, all edge pixels to be processed have been identified), the next step is entered to continue processing the second edge pixels.
[0076] If there are first edge pixels that are not marked, this means that the actual brightness values of the first edge pixels are within the normal range and do not need to be adjusted, so they are normal and do not require further processing.
[0077] Step S403: At a preset detection time point, whether all second edge pixels adjacent to the marked first edge pixel are marked.
[0078] The system will check the second edge pixels adjacent to the marked first edge pixels to determine whether these pixels have been marked, and the marking conditions are the same as those for the first edge pixels.
[0079] If the actual brightness value of the second edge pixel exceeds the preset brightness threshold, the actual pixel point of the second edge pixel is marked as a "highlight pixel". This process can be completed by setting a flag bit, such as setting a Boolean value (such as 1 for highlight and 0 for non-highlight) to record whether the pixel point is highlighted.
[0080] Step S404: If all the second edge pixels adjacent to the marked first edge pixel are marked, proceed to step S405; if not, proceed to step S406.
[0081] Step S405: adjusting the brightness input value of the marked first edge pixel to zero.
[0082] Step S406: output display data.
[0083] In the above embodiment, after the input data of the marked first edge pixel is reset to zero, the auxiliary light emitting effect of the adjacent second edge pixel makes the edge transition smoother, thus avoiding the abrupt contrast between the edge of the display device and the central area of the screen.
[0084] In addition, by setting the data of the highlighted pixels to zero, not only can the visual discomfort caused by the excessive brightness of the edge area be avoided, but also the pixels in the adjacent area can continue to provide light, thereby reducing the visual anomalies caused by excessive brightness differences. It is worth noting that the partial data lost in the first target pixel area will not have a significant impact on the display effect, but will help reduce visual defects in the display and improve the overall display quality.
[0085] See also Figure 4 Based on the same inventive concept as the above-mentioned embodiment, an embodiment of the present invention provides a display device, the display device comprising: Edge pixel detection module 110: obtains display parameters of edge pixels in a preset edge region in the display device. Edge pixels are usually located at the edge of an image or display region, or in regions where brightness changes dramatically in the display region. These pixels can be identified and extracted by an image processing algorithm (e.g., an edge detection algorithm).
[0086] Brightness calculation module 120: Brightness calculation module 120 calculates actual brightness values of edge pixels according to the display parameters.
[0087] The judgment module 130 judges the calculation result of the brightness calculation module 120 and determines which edge pixels need to be adjusted. If the actual brightness value of the edge pixel exceeds the set brightness threshold, the pixel is considered to be too bright and may need to be adjusted.
[0088] Display adjustment module 140: According to the result of the determination module 130, the display adjustment module 140 adjusts the edge pixels.
[0089] Furthermore, the display device further includes: The analysis module 210 is used to obtain and analyze the display information input to the display device and generate analysis data; The decision module 220 generates a calculation method according to the analysis data of the analysis module 210, and the brightness calculation module 120 performs brightness calculation on the acquired edge pixels according to the calculation method.
[0090] In order to better understand the display device of the present invention, the following embodiment is described in detail. This embodiment explains how to use various modules to work together to optimize the display effect, especially the brightness calculation and adjustment when processing edge pixels.
[0091] In this embodiment, the display device is applied to a television with edge pixel optimization function. The display area of the television includes a plurality of pixel arrays, wherein the edge pixel is one of the key factors affecting the display quality.
[0092] In the display area, the display area is first scanned by the edge pixel detection module 110 to detect and obtain edge pixels in the display area.
[0093] The edge pixel detection module 110 not only obtains the position information of these edge pixels, but also extracts the display parameters related to these edge pixels, such as their color, brightness value, contrast, etc. These display parameters describe the visual characteristics of edge pixels and are the basis for subsequent optimization and processing.
[0094] The analysis module 210 receives the display parameters from the edge pixel detection module 110 and analyzes the parameters.
[0095] The decision module 220 determines whether to apply the processing before or after the display data is output based on the output result of the analysis module 210 .
[0096] If the analysis results show that certain display parameters (such as brightness, contrast, etc.) can be optimized before input display to avoid adverse effects during the display process, the decision module 220 will generate a processing method requiring image processing before input data.
[0097] If the analysis result shows that optimization is needed at a later stage of the display process to avoid poor display effects due to premature processing, the decision module 220 will choose to make adjustments after the display output.
[0098] According to the judgment of the decision module 220, the brightness calculation module 120 performs the corresponding calculation before or after the input data. If it is decided to process before input, the brightness calculation module 120 will calculate and adjust according to the display parameters of the input image; if it is decided to process after output, the brightness calculation module 120 will wait until the image rendering is completed before making adjustments to ensure that the display effect of edge pixels is optimal.
[0099] Based on the same inventive concept as the above embodiments, the embodiments of the present invention provide a device such as Figure 5 As shown, the device includes: a processor 310 and a memory 311 storing a computer program; wherein, Figure 5 The processor 310 shown in the figure is not used to indicate that the number of the processor 310 is one, but is only used to indicate the positional relationship of the processor 310 relative to other devices. In actual applications, the number of the processor 310 may be one or more; similarly, Figure 5 The memory 311 shown in the figure has the same meaning, that is, it is only used to refer to the position relationship of the memory 311 relative to other devices. In practical applications, the number of memories 311 can be one or more. When the processor 310 runs the computer program, the method applied to the above device is implemented.
[0100] The device may also include: at least one network interface 312. The various components in the device are coupled together via a bus system 313. It is understood that the bus system 313 is used to achieve connection and communication between these components. In addition to the data bus, the bus system 313 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, Figure 4 Various buses are labeled as bus system 313.
[0101] The memory 311 may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. The non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic random access memory (FRAM), a flash memory, a magnetic surface memory, an optical disc, or a compact disc read-only memory (CD-ROM); the magnetic surface memory may be a disk memory or a tape memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), synchronous static random access memory (SSRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM, SyncLink Dynamic Random Access Memory), and direct RAMbus random access memory (DRRAM, Direct Rambus Random Access Memory).The memory 311 described in the embodiments of the present invention is intended to include but is not limited to these and any other suitable types of memories.
[0102] The memory 311 in the embodiment of the present invention is used to store various types of data to support the operation of the device. Examples of these data include: any computer program used to operate on the device, such as an operating system and an application; contact data; phone book data; messages; pictures; videos, etc. Among them, the operating system includes various system programs, such as a framework layer, a core library layer, a driver layer, etc., which are used to implement various basic services and process hardware-based tasks. The application program may include various applications, such as a media player (Media Player), a browser (Browser), etc., which are used to implement various application services. Here, the program that implements the method of the embodiment of the present invention may be included in the application program.
[0103] Based on the same inventive concept as the above-mentioned embodiment, this embodiment further provides a computer-readable storage medium, in which a computer program is stored. The computer-readable storage medium may be a ferromagnetic random access memory (FRAM), a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a flash memory, a magnetic surface memory, an optical disc, or a compact disc read-only memory (CD-ROM); it may also be various devices including one or any combination of the above-mentioned memories, such as a mobile phone, a computer, a tablet device, a personal digital assistant, etc. When the computer program stored in the computer-readable storage medium is executed by the processor, the above-mentioned method is implemented. For the specific steps implemented when the computer program is executed by the processor, please refer to Figure 1 The description of the illustrated embodiment will not be repeated here.
[0104] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0105] In this document, the terms "comprises," "comprising," or any other variations thereof, are intended to cover a non-exclusive inclusion of elements other than those listed and may also include additional elements not expressly listed.
[0106] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. An image display method, characterized in that: include: Defining pixels in a preset edge region of a display device as edge pixels, and obtaining display parameters of the edge pixels; Calculating the actual brightness value of the edge pixel according to the display parameter, and determining whether the actual brightness value exceeds a preset brightness threshold; If the actual brightness value of the edge pixel exceeds the brightness threshold, adjusting the display parameter; After the display parameters of the edge pixels are adjusted, the display device is used to display an image.
2. The image display method according to claim 1, characterized in that: If the actual brightness value of the edge pixel exceeds the brightness threshold, adjusting the display parameter includes: In the edge area, if the actual brightness value of one of the edge pixels exceeds the brightness threshold, marking the edge pixel; At a preset detection time point, detecting whether all edge pixels in the edge area are marked; If all edge pixels in the edge region are marked, the display parameter is adjusted.
3. The image display method according to claim 1 or 2, characterized in that: The adjusting the display parameter includes: adjusting the brightness input value of the edge pixel to zero.
4. The image display method according to claim 2, characterized in that: In the edge area, if the actual brightness value of one of the edge pixels exceeds the brightness threshold, marking the edge pixel; At a preset detection time point, detecting whether edge pixels adjacent to the marked edge pixel are all marked; If N consecutive edge pixels are marked, the display parameters of the N edge pixels are adjusted.
5. The image display method according to claim 4, characterized in that: The edge pixels include a first edge pixel and a second edge pixel; The first edge pixel comprises at least one of a first row of pixels, a last row of pixels, a first column of pixels, and a last column of pixels of the display device; The second edge pixels include pixels of a preset number of rows or a preset number of columns adjacent to the first edge pixels; The step of detecting whether all edge pixels in the edge area are marked at a preset detection time point includes: At the detection time point, detecting whether N consecutive first edge pixels are all marked; If yes, continue to detect whether all the second edge pixels are marked.
6. The image display method according to claim 5, characterized in that: The continuing to detect whether all the second edge pixels are marked comprises: Detect whether the second edge pixels adjacent to the marked first edge pixels are all marked, and if so; The display parameters of the marked first edge pixel are adjusted.
7. An image display device, characterized in that: The image display device comprises: An edge pixel detection module is used to obtain display parameters of edge pixels in a preset edge area of the display device; A brightness calculation module, which calculates the actual brightness value of the edge pixel according to the display parameters; A judgment module is used to judge whether the actual brightness value of the edge pixel exceeds a preset brightness threshold; A display adjustment module adjusts the display parameters of edge pixels according to the judgment result of the judgment module; The display module is used to display the image after the display adjustment module adjusts the display parameters of the edge pixels.
8. The display device according to claim 7, characterized in that: The display device further includes: An analysis module, used to obtain and analyze display information input to the display device and generate analysis data; A decision module: decides whether to execute the display method before or after the display information is input to the display device according to the analysis data of the analysis module.
9. A device, characterized in that: include: A processor and a memory storing a computer program, wherein when the processor runs the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A storage medium, characterized in that: A computer program is stored, and when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.