CN116665578B - Display control method and device of transparent display screen and computer equipment - Google Patents

Display control method and device of transparent display screen and computer equipment Download PDF

Info

Publication number
CN116665578B
CN116665578B CN202310864489.6A CN202310864489A CN116665578B CN 116665578 B CN116665578 B CN 116665578B CN 202310864489 A CN202310864489 A CN 202310864489A CN 116665578 B CN116665578 B CN 116665578B
Authority
CN
China
Prior art keywords
pixel
edge
pixels
edge pixel
distance
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202310864489.6A
Other languages
Chinese (zh)
Other versions
CN116665578A (en
Inventor
石继元
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhuhai Zhongxucheng Technology Co ltd
Original Assignee
Zhuhai Zhongxucheng Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhuhai Zhongxucheng Technology Co ltd filed Critical Zhuhai Zhongxucheng Technology Co ltd
Priority to CN202310864489.6A priority Critical patent/CN116665578B/en
Publication of CN116665578A publication Critical patent/CN116665578A/en
Application granted granted Critical
Publication of CN116665578B publication Critical patent/CN116665578B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/2007Display of intermediate tones
    • G09G3/2074Display of intermediate tones using sub-pixels
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/06Adjustment of display parameters
    • G09G2320/0666Adjustment of display parameters for control of colour parameters, e.g. colour temperature
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Processing Of Color Television Signals (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

The present invention relates to the field of image display, and in particular, to a display control method and apparatus for a transparent display screen, and a computer device. The method comprises the following steps: determining all pixels in the color development state, and determining edge pixels in the pixels in all the color development state; for each edge pixel, calculating an adjustment coefficient for each edge pixel; determining an adjustment area by the average value of the distances corresponding to the edge pixels; adjusting the display color value of the corresponding edge pixel according to the adjustment coefficient of each edge pixel; for each pixel in the adjustment area, adjusting the display color value of the corresponding pixel in the adjustment area according to the average value of the distance between the edge pixels closest to the pixel and the adjustment coefficient. According to the display control method of the transparent display screen, the display color values of the edge pixels and the pixels in the adjustment range are adjusted, so that the display effect of an image is enhanced, particularly the display effect of the edge region of the image is enhanced, and the edge of the image becomes clear.

Description

Display control method and device of transparent display screen and computer equipment
Technical Field
The present invention relates to the field of image display, and in particular, to a display control method and apparatus for a transparent display screen, and a computer device.
Background
The transparent display screen is a display screen capable of seeing objects on the back through the screen, and the principle is that the transparent material or glass is processed in a specific mode, then an electronic screen is added on the transparent material, and the effect of image display is achieved by utilizing light refraction and transmission of the transparent material. As long as the base material with higher light transmittance is selected and the upper cover plate, the lower cover plate, the anode and the cathode are replaced by glass, light can easily pass through the panel.
At present, panel manufacturers have made it more convenient to add transparent sub-pixels to transparent display screens. The transparent sub-pixels are not luminous per se, and are made of high transparent materials, so that light can pass through the transparent sub-pixels, when countless transparent sub-pixels are uniformly distributed on the panel, the screen can naturally obtain a certain transparent effect, and meanwhile, the display of color images can be considered.
However, when the ambient brightness is high, the image color development effect is poor due to the transparency of the screen, and particularly in the edge region of the image, the edge of the image becomes more blurred due to the large light transmission amount.
Disclosure of Invention
Based on this, it is necessary to provide a display control method, apparatus and computer device for a transparent display screen in order to solve the above-mentioned problems.
The embodiment of the invention is realized in such a way that the display control method of the transparent display screen comprises the following steps:
s101, determining all pixels in a color development state, and determining edge pixels in all pixels in the color development state;
s102, regarding each edge pixel, taking the edge pixel as a center to make a ray, recording the distance of the edge of the pixel or the screen in the first color development state, which the ray passes, rotating the ray within the range of 0-360 degrees, and recording the distance S of the edge of the pixel or the screen in the first color development state, which the ray passes every time when rotating by one angle;
s103, obtaining a distance maximum value and a distance average value of each edge pixel from all S of each edge pixel;
s104, calculating to obtain an adjustment coefficient of each edge pixel according to the maximum value and the average value of the distance of each edge pixel;
s105, determining an adjustment area by the average value of the distances corresponding to the edge pixels;
s106, adjusting the display color value of the corresponding edge pixel according to the adjustment coefficient of each edge pixel;
s107, for each pixel in the adjustment area, determining the edge pixel closest to the pixel, acquiring the distance average value and the adjustment coefficient of the edge pixel, and adjusting the display color value of the corresponding pixel in the adjustment area according to the distance average value and the adjustment coefficient of the edge pixel.
In one embodiment, the present invention provides a display control device for a transparent display screen, including:
an edge pixel module for determining all the pixels in the color development state, and determining the edge pixels in the color development state;
the distance determining module is used for taking the edge pixel as a center for each edge pixel, recording the distance of the edge of the pixel or the screen in the first color development state, which the ray passes through, rotating the ray within the range of 0-360 degrees, and recording the distance s of the edge of the pixel or the screen in the first color development state, which the ray passes through every angle;
a length determining module, configured to obtain a distance maximum value and a distance average value of each edge pixel from all s of each edge pixel;
the adjustment coefficient module is used for calculating the adjustment coefficient of each edge pixel according to the distance maximum value and the distance average value of each edge pixel;
the adjustment area module is used for determining an adjustment area by the average value of the distances corresponding to the edge pixels;
the edge pixel color value module is used for adjusting the display color value of the corresponding edge pixel according to the adjustment coefficient of each edge pixel;
and the adjustment region color value module is used for determining the edge pixel closest to the pixel in the adjustment region, acquiring the distance average value and the adjustment coefficient of the edge pixel, and adjusting the display color value of the corresponding pixel in the adjustment region according to the distance average value and the adjustment coefficient of the edge pixel.
In one embodiment, the present invention provides a computer device, including a memory and a processor, where the memory stores a computer program, and the computer program when executed by the processor causes the processor to execute the steps of the display control method of a transparent display screen.
According to the display control method of the transparent display screen, provided by the embodiment of the invention, the edge pixels are identified, the adjustment coefficients of the edge pixels are calculated, and the display color values of the edge pixels and the pixels in the adjustment range are adjusted according to the adjustment coefficients, so that the display effect of an image is enhanced, and particularly the display effect of the edge region of the image is enhanced, and the edge of the image becomes clear.
Drawings
FIG. 1 is a flow chart of a method of controlling display of a transparent display screen according to one embodiment;
FIG. 2 is a block diagram of a display control device of a transparent display screen according to an embodiment;
FIG. 3 is a block diagram of the internal architecture of a computer device in one embodiment.
Detailed Description
The present invention will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present invention more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
It will be understood that the terms "first," "second," and the like, as used herein, may be used to describe various elements, but these elements are not limited by these terms unless otherwise specified. These terms are only used to distinguish one element from another element. For example, a first xx script may be referred to as a second xx script, and similarly, a second xx script may be referred to as a first xx script, without departing from the scope of this disclosure.
As shown in fig. 1, in one embodiment, a display control method of a transparent display screen is provided, which specifically includes the following steps:
s101, determining all pixels in a color development state, and determining edge pixels in all pixels in the color development state;
s102, regarding each edge pixel, taking the edge pixel as a center to make a ray, recording the distance of the edge of the pixel or the screen in the first color development state, which the ray passes, rotating the ray within the range of 0-360 degrees, and recording the distance S of the edge of the pixel or the screen in the first color development state, which the ray passes every time when rotating by one angle;
s103, obtaining a distance maximum value and a distance average value of each edge pixel from all S of each edge pixel;
s104, calculating to obtain an adjustment coefficient of each edge pixel according to the maximum value and the average value of the distance of each edge pixel;
s105, determining an adjustment area by the average value of the distances corresponding to the edge pixels;
s106, adjusting the display color value of the corresponding edge pixel according to the adjustment coefficient of each edge pixel;
s107, for each pixel in the adjustment area, determining the edge pixel closest to the pixel, acquiring the distance average value and the adjustment coefficient of the edge pixel, and adjusting the display color value of the corresponding pixel in the adjustment area according to the distance average value and the adjustment coefficient of the edge pixel.
In the present embodiment, the pixel in the color development state refers to a pixel with a color, including a white pixel, and the pixel in the transparent state is the opposite.
In this embodiment, the edge pixel refers to an edge pixel of the display image, and not an edge pixel of the whole image, for example, a transparent region is in the middle of the image, and then a pixel where the image borders the transparent region is also an edge pixel.
In this embodiment, the start point of the ray is the center point of the edge pixel, the distance of the pixel of the first color development state through which the ray passes is the distance from the center point of the edge pixel to the center point of the pixel of the first color development state, and the distance of the screen edge through which the ray passes is the distance from the center point of the edge pixel to the center point of the pixel of the screen edge.
In this embodiment, the angle of rotation is an angle at which the ray passes through the center point of the pixel of the first color development state or the pixel of the screen edge every time the ray rotates, and the value of the angle is not a fixed value.
In the present embodiment, the distance maximum value of each edge pixel is the maximum value among all s of each pixel.
In this embodiment, the distance average value of each edge pixel is a value obtained by adding all s of each pixel and dividing the sum by the number of s.
In this embodiment, the purpose of adjusting the color value of the pixel is to enhance the color effect of the pixel, the display creates colors through the RGB color module, each color in the RGB color module ranges from 0 to 255, the smaller the value is representing the darker the color, the color effect of the enhanced pixel is essentially to reduce the color value of the pixel, so the adjustment coefficient acts to reduce the color value, and thus the adjustment coefficient is a coefficient smaller than 1.
In this embodiment, the adjustment area is an area formed by the pixels whose color values need to be adjusted, and if only the color values of the edge pixels are adjusted, color mutation may occur at the edge of the image, so that the color values of the pixels adjacent to the edge pixels need to be adjusted.
In this embodiment, adjusting the color values of the edge pixels and the pixels in the adjustment area reduces the color values of the edge pixels and the pixels in the adjustment area, deepens the color of the edge pixels and the pixels in the adjustment area, and makes the edge area and the transparent area have a contrast ratio visually, so that the edge of the image becomes clear.
According to the display control method of the transparent display screen, provided by the embodiment of the invention, the edge pixels are identified, the adjustment coefficients of the edge pixels are calculated, and the display color values of the edge pixels and the pixels in the adjustment range are adjusted according to the adjustment coefficients, so that the display effect of an image is enhanced, and particularly the display effect of the edge region of the image is enhanced, and the edge of the image becomes clear.
In one embodiment, the determining the edge pixels among the pixels in all the color development states includes:
s201, selecting a pixel in a color development state, and setting a grid of 3*3 by taking the pixel in the color development state as the center;
s202, judging whether pixels in the grids are in a color development state or not, if so, the selected pixels are not edge pixels, and if not, the selected pixels are edge pixels;
s203, executing S201-S202 on all the pixels in the color development state, and determining all the edge pixels.
In this embodiment, the grid of 3*3 is a 9-grid of 9 pixels in 3 rows and 3 columns.
In this embodiment, if the image is excessively large, the region including the edge pixels may be judged first using a lattice of 5*5 or more, and then the region including the edge pixels may be judged using a lattice of 3*3.
In this embodiment, the essence of the edge pixels is that pixels in a transparent state exist in pixels surrounding one circle of any one of the color development pixels, and the grid of 3*3 includes the center pixel and pixels surrounding one circle of the center pixel, so the judgment is performed using the grid of 3*3.
In one embodiment, the calculating the adjustment coefficient of each edge pixel according to the distance maximum value and the distance average value of each edge pixel includes:
determining an adjustment coefficient of each edge pixel by a X R/L+b X L/X;
where a and b are preset ratios, the sum of a and b is equal to 1, r is the distance average of the edge pixels, L is the distance maximum of the edge pixels, and X is the length, width, or diagonal length of the screen.
In this embodiment, the blurring of the edge pixel is caused by the influence of the light transmission amount of the transparent area on the edge pixel, and the pixel in the edge area is also the pixel in the edge area, and the influence of the transmitted light amount on the display color value of the pixel is naturally different due to the difference of the sizes of the transparent areas in different positions, for example, if a certain edge pixel is located at the edge of a small transparent area, the influence of the light amount transmitted through the transparent area on the color value of the pixel is small, the amplitude to be adjusted is small, if the edge pixel is located at the edge of a large transparent area, the influence of the light amount transmitted through the transparent area on the color value of the pixel is large, and the amplitude to be adjusted is large, so the calculated value is the adjustment coefficient of the edge pixel through calculating the influence of the light transmission areas with different sizes in different positions by a×r/l+b×l/X.
In the present embodiment, for X, the screen size having the smallest direction flat angle with respect to the maximum value of the distance from the edge pixel is first selected as the value of X, that is, the length or width of the screen, L must be smaller than X because the adjustment coefficient is smaller than 1, and if X is selected as the length or width of the screen and X is smaller than L, the length of the diagonal line of the screen is newly selected as the value of X.
In one embodiment, the determining the adjustment area by the edge pixel and the distance average value corresponding to the edge pixel includes:
for any one edge pixel, taking the edge pixel as a center, and taking the average value of the distance of the pixel as a radius to make a circle;
selecting pixels in a color development state covered by at least m circles, and forming an adjustment area by all the pixels in the selected display state;
wherein m is a preset value.
In this embodiment, the adjustment area may include edge pixels in the process of determining the adjustment area, and the edge pixels are removed when the adjustment area is formed.
In this embodiment, the larger the value of m, the smaller the adjustment area, for example, when m is equal to 2, the adjustment area is an area where two circles intersect, and when m is equal to 3, the adjustment area is an area where three circles intersect, and the area where three circles intersect falls within the area where two circles intersect.
In one embodiment, the adjusting the display color value of each edge pixel according to the adjustment coefficient of the corresponding edge pixel includes:
acquiring the color value of each edge pixel;
for each edge pixel, obtaining a display color value after the adjustment of the edge pixel by C (1-K);
wherein, C is the display color value before the edge pixel adjustment, and K is the adjustment coefficient of the edge pixel.
In this embodiment, the nature of C (1-K) is C-C, i.e., the display color value before edge pixel adjustment minus the display color value to be adjusted.
In this embodiment, the color value of the pixel is formed by an RGB color module, and adjusting the display color value refers to adjusting the RGB values respectively, for example, C is (80, 100, 60), K is 0.1, and then the adjusted display color value is (72, 90, 54).
In one embodiment, the adjusting the display color value of the corresponding pixel in the adjustment area according to the average value of the distance between the edge pixels and the adjustment coefficient includes:
acquiring a color value of each pixel of the adjustment area;
for each pixel of the adjustment area, obtaining a display color value after pixel adjustment by c-c (1-d/r);
wherein, for each pixel of the adjustment area, c is the display color value before the pixel adjustment, k is the adjustment coefficient of the edge pixel closest to the pixel, d is the distance between the pixel and the edge pixel closest to the pixel, and r is the average value of the distances between the pixel and the edge pixel closest to the pixel.
In this embodiment, C-C (1-d/r) is also C-C (K), where K is an adjustment coefficient of a pixel of the adjustment area and is equal to K (1-d/r), and since for any one edge pixel, the edge pixel is centered on the average value of the distance of the pixel and is rounded with a radius, the distance from the pixel in the adjustment area to the edge pixel is smaller than the average value of the distance of the edge pixel, i.e., d is smaller than r, so d/r is smaller than 1, K is smaller than K, and the display color value of the pixel adjustment of the adjustment area is smaller than the display color value of the edge pixel adjustment.
In one embodiment, the display control method of the transparent display screen further includes:
in the continuous playing process, comparing each pixel of adjacent frames to obtain difference pixels and the number of the difference pixels;
the ratio of the number of the difference pixels to the number of the total pixels is recorded as a difference value;
and judging whether the difference value is smaller than a first preset value, if so, executing S101-S107 on the difference pixels, and if so, executing S101-S107 on the whole image.
In this embodiment, comparing each pixel refers to whether the RGB values of the pixel in two adjacent frames are the same for the same pixel, if so, the pixel is not a difference pixel, and if not, the pixel is a difference pixel.
In this embodiment, if the difference value of the adjacent frames is small, the image representing the adjacent frames has only small change, if the whole image is debugged, the same adjustment coefficient is still obtained for the non-difference pixels, and the adjusted display color value is unchanged, so that if the difference value is smaller than the first preset value, only the difference pixel needs to be adjusted to the display color value.
In this embodiment, the first preset value represents the maximum value of the difference between two adjacent images, and therefore cannot be too large, typically being set to 10%.
In one embodiment, the display control method of the transparent display screen further includes:
if the difference values of the n continuous frames of images are smaller than the first preset value, judging whether n is larger than the second preset value, and if so, executing S101-S107 on the whole image.
In this embodiment, only the difference value of the adjacent frames is determined during the continuous playing process, and for the first frame image and the nth frame image, the difference value may be larger than the first preset value, so that the display color value of the image needs to be adjusted again every second preset value frame number.
As shown in fig. 2, in one embodiment, a display control device of a transparent display screen is provided, which may specifically include:
an edge pixel module for determining all the pixels in the color development state, and determining the edge pixels in the color development state;
the distance determining module is used for taking the edge pixel as a center for each edge pixel, recording the distance of the edge of the pixel or the screen in the first color development state, which the ray passes through, rotating the ray within the range of 0-360 degrees, and recording the distance s of the edge of the pixel or the screen in the first color development state, which the ray passes through every angle;
a length determining module, configured to obtain a distance maximum value and a distance average value of each edge pixel from all s of each edge pixel;
the adjustment coefficient module is used for calculating the adjustment coefficient of each edge pixel according to the distance maximum value and the distance average value of each edge pixel;
the adjustment area module is used for determining an adjustment area by the average value of the distances corresponding to the edge pixels;
the edge pixel color value module is used for adjusting the display color value of the corresponding edge pixel according to the adjustment coefficient of each edge pixel;
and the adjustment region color value module is used for determining the edge pixel closest to the pixel in the adjustment region, acquiring the distance average value and the adjustment coefficient of the edge pixel, and adjusting the display color value of the corresponding pixel in the adjustment region according to the distance average value and the adjustment coefficient of the edge pixel.
In this embodiment, each module of the display control device of the transparent display screen is modularized in the method portion of the present invention, and for specific explanation of each module, please refer to the corresponding content of the method portion of the present invention, and the embodiments of the present invention are not described herein again.
FIG. 3 illustrates an internal block diagram of a computer device in one embodiment. As shown in fig. 3, the computer device includes a processor, a memory, a network interface, an input device, and a display screen connected by a system bus. The memory includes a nonvolatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program, where the computer program when executed by a processor may cause the processor to implement a display control method for a transparent display screen provided by an embodiment of the present invention. The internal memory may also store a computer program, which when executed by the processor, causes the processor to execute a display control method for a transparent display screen provided by the embodiment of the present invention. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, the input device of the computer equipment can be a touch layer covered on the display screen, can also be keys, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the structure shown in FIG. 3 is merely a block diagram of some of the structures associated with the present inventive arrangements and is not limiting of the computer device to which the present inventive arrangements may be applied, and that a particular computer device may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
In one embodiment, the display control apparatus for a transparent display screen provided in the embodiment of the present invention may be implemented as a computer program, which may be executed on a computer device as shown in fig. 3. The memory of the computer device may store various program modules constituting the display control apparatus of the transparent display screen, such as an edge pixel module, a distance determining module, a length determining module, an adjustment coefficient module, an adjustment area module, an edge pixel color value module, and an adjustment area color value module shown in fig. 2. The computer program constituted by the respective program modules causes the processor to execute the steps in a display control method of a transparent display screen of the respective embodiments of the present invention described in the present specification.
For example, the computer device shown in fig. 3 may execute step S101 by the edge pixel module in the display control apparatus of a transparent display screen as shown in fig. 2; the computer device may perform step S102 by determining a distance module; the computer device may perform step S103 by determining a length module; the computer device may execute step S104 by adjusting the coefficient module; the computer device may execute step S105 by adjusting the area module; the computer device may execute step S106 by the edge pixel color value module; the computer device may perform step S107 by adjusting the region color value module.
In one embodiment, a computer device is presented, the computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program:
s101, determining all pixels in a color development state, and determining edge pixels in all pixels in the color development state;
s102, regarding each edge pixel, taking the edge pixel as a center to make a ray, recording the distance of the edge of the pixel or the screen in the first color development state, which the ray passes, rotating the ray within the range of 0-360 degrees, and recording the distance S of the edge of the pixel or the screen in the first color development state, which the ray passes every time when rotating by one angle;
s103, obtaining a distance maximum value and a distance average value of each edge pixel from all S of each edge pixel;
s104, calculating to obtain an adjustment coefficient of each edge pixel according to the maximum value and the average value of the distance of each edge pixel;
s105, determining an adjustment area by the average value of the distances corresponding to the edge pixels;
s106, adjusting the display color value of the corresponding edge pixel according to the adjustment coefficient of each edge pixel;
s107, for each pixel in the adjustment area, determining the edge pixel closest to the pixel, acquiring the distance average value and the adjustment coefficient of the edge pixel, and adjusting the display color value of the corresponding pixel in the adjustment area according to the distance average value and the adjustment coefficient of the edge pixel.
In one embodiment, a computer readable storage medium is provided, having a computer program stored thereon, which when executed by a processor causes the processor to perform the steps of:
s101, determining all pixels in a color development state, and determining edge pixels in all pixels in the color development state;
s102, regarding each edge pixel, taking the edge pixel as a center to make a ray, recording the distance of the edge of the pixel or the screen in the first color development state, which the ray passes, rotating the ray within the range of 0-360 degrees, and recording the distance S of the edge of the pixel or the screen in the first color development state, which the ray passes every time when rotating by one angle;
s103, obtaining a distance maximum value and a distance average value of each edge pixel from all S of each edge pixel;
s104, calculating to obtain an adjustment coefficient of each edge pixel according to the maximum value and the average value of the distance of each edge pixel;
s105, determining an adjustment area by the average value of the distances corresponding to the edge pixels;
s106, adjusting the display color value of the corresponding edge pixel according to the adjustment coefficient of each edge pixel;
s107, for each pixel in the adjustment area, determining the edge pixel closest to the pixel, acquiring the distance average value and the adjustment coefficient of the edge pixel, and adjusting the display color value of the corresponding pixel in the adjustment area according to the distance average value and the adjustment coefficient of the edge pixel.
It should be understood that, although the steps in the flowcharts of the embodiments of the present invention are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in various embodiments may include multiple sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, nor do the order in which the sub-steps or stages are performed necessarily performed in sequence, but may be performed alternately or alternately with at least a portion of the sub-steps or stages of other steps or other steps.
Those skilled in the art will appreciate that all or part of the processes in the methods of the above embodiments may be implemented by a computer program for instructing relevant hardware, where the program may be stored in a non-volatile computer readable storage medium, and where the program, when executed, may include processes in the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), memory bus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
The technical features of the above-described embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above-described embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The foregoing examples illustrate only a few embodiments of the invention and are described in detail herein without thereby limiting the scope of the invention. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the invention, which are all within the scope of the invention. Accordingly, the scope of protection of the present invention is to be determined by the appended claims.

Claims (9)

1. The display control method of the transparent display screen is characterized by comprising the following steps of:
s101, determining all pixels in a color development state, and determining edge pixels in all pixels in the color development state;
s102, regarding each edge pixel, taking the edge pixel as a center to make a ray, recording the distance of the edge of the pixel or the screen in the first color development state, which the ray passes, rotating the ray within the range of 0-360 degrees, and recording the distance S of the edge of the pixel or the screen in the first color development state, which the ray passes every time when rotating by one angle;
s103, obtaining a distance maximum value and a distance average value of each edge pixel from all S of each edge pixel;
s104, calculating to obtain an adjustment coefficient of each edge pixel according to the maximum value and the average value of the distance of each edge pixel;
s105, determining an adjustment area by the average value of the distances corresponding to the edge pixels;
s106, adjusting the display color value of the corresponding edge pixel according to the adjustment coefficient of each edge pixel;
s107, for each pixel in the adjustment area, determining the edge pixel closest to the pixel, obtaining the distance average value and the adjustment coefficient of the edge pixel, and adjusting the display color value of the corresponding pixel in the adjustment area according to the distance average value and the adjustment coefficient of the edge pixel;
the calculating according to the distance maximum value and the distance average value of each edge pixel to obtain the adjustment coefficient of each edge pixel comprises the following steps:
determining an adjustment coefficient of each edge pixel by a X R/L+b X L/X;
where a and b are preset ratios, the sum of a and b is equal to 1, r is the distance average of the edge pixels, L is the distance maximum of the edge pixels, and X is the length, width, or diagonal length of the screen.
2. The display control method of a transparent display according to claim 1, wherein the determining edge pixels among pixels in all color development states includes:
s201, selecting a pixel in a color development state, and setting a grid of 3*3 by taking the pixel in the color development state as the center;
s202, judging whether pixels in the grids are in a color development state or not, if so, the selected pixels are not edge pixels, and if not, the selected pixels are edge pixels;
s203, executing S201-S202 on all the pixels in the color development state, and determining all the edge pixels.
3. The display control method of a transparent display screen according to claim 1, wherein the determining the adjustment area by the edge pixels and the distance average value corresponding to the edge pixels includes:
for any one edge pixel, taking the edge pixel as a center, and taking the average value of the distance of the pixel as a radius to make a circle;
selecting pixels in a color development state covered by at least m circles, and forming an adjustment area by all the pixels in the selected display state;
wherein m is a preset value.
4. The display control method of a transparent display according to claim 1, wherein the adjusting the display color value of the corresponding edge pixel according to the adjustment coefficient of each edge pixel comprises:
acquiring the color value of each edge pixel;
for each edge pixel, obtaining a display color value after the adjustment of the edge pixel by C (1-K);
wherein, C is the display color value before the edge pixel adjustment, and K is the adjustment coefficient of the edge pixel.
5. The display control method of a transparent display screen according to claim 1, wherein the adjusting the display color value of the corresponding pixel in the adjustment area according to the average value of the distance between the edge pixels and the adjustment coefficient comprises:
acquiring a color value of each pixel of the adjustment area;
for each pixel of the adjustment area, obtaining a display color value after pixel adjustment by c-c (1-d/r);
wherein, for each pixel of the adjustment area, c is the display color value before the pixel adjustment, k is the adjustment coefficient of the edge pixel closest to the pixel, d is the distance between the pixel and the edge pixel closest to the pixel, and r is the average value of the distances between the pixel and the edge pixel closest to the pixel.
6. The display control method of a transparent display according to claim 1, characterized in that the display control method of a transparent display further comprises:
in the continuous playing process, comparing each pixel of adjacent frames to obtain difference pixels and the number of the difference pixels;
the ratio of the number of the difference pixels to the number of the total pixels is recorded as a difference value;
and judging whether the difference value is smaller than a first preset value, if so, executing S101-S107 on the difference pixels, and if so, executing S101-S107 on the whole image.
7. The display control method of a transparent display according to claim 6, wherein the display control method of a transparent display further comprises:
if the difference values of the n continuous frames of images are smaller than the first preset value, judging whether n is larger than the second preset value, and if so, executing S101-S107 on the whole image.
8. A display control device of a transparent display screen, characterized in that the display control device of the transparent display screen comprises:
an edge pixel module for determining all the pixels in the color development state, and determining the edge pixels in the color development state;
the distance determining module is used for taking the edge pixel as a center for each edge pixel, recording the distance of the edge of the pixel or the screen in the first color development state, which the ray passes through, rotating the ray within the range of 0-360 degrees, and recording the distance s of the edge of the pixel or the screen in the first color development state, which the ray passes through every angle;
a length determining module, configured to obtain a distance maximum value and a distance average value of each edge pixel from all s of each edge pixel;
the adjustment coefficient module is used for calculating the adjustment coefficient of each edge pixel according to the distance maximum value and the distance average value of each edge pixel;
the adjustment area module is used for determining an adjustment area by the average value of the distances corresponding to the edge pixels;
the edge pixel color value module is used for adjusting the display color value of the corresponding edge pixel according to the adjustment coefficient of each edge pixel;
the adjusting region color value module is used for determining an edge pixel closest to the pixel for each pixel in the adjusting region, acquiring a distance average value and an adjusting coefficient of the edge pixel, and adjusting a display color value of a corresponding pixel in the adjusting region according to the distance average value and the adjusting coefficient of the edge pixel;
the calculating according to the distance maximum value and the distance average value of each edge pixel to obtain the adjustment coefficient of each edge pixel comprises the following steps:
determining an adjustment coefficient of each edge pixel by a X R/L+b X L/X;
where a and b are preset ratios, the sum of a and b is equal to 1, r is the distance average of the edge pixels, L is the distance maximum of the edge pixels, and X is the length, width, or diagonal length of the screen.
9. A computer device comprising a memory and a processor, the memory having stored therein a computer program which, when executed by the processor, causes the processor to perform the steps of the display control method of a transparent display screen as claimed in any one of claims 1 to 7.
CN202310864489.6A 2023-07-14 2023-07-14 Display control method and device of transparent display screen and computer equipment Active CN116665578B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310864489.6A CN116665578B (en) 2023-07-14 2023-07-14 Display control method and device of transparent display screen and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310864489.6A CN116665578B (en) 2023-07-14 2023-07-14 Display control method and device of transparent display screen and computer equipment

Publications (2)

Publication Number Publication Date
CN116665578A CN116665578A (en) 2023-08-29
CN116665578B true CN116665578B (en) 2024-04-16

Family

ID=87712039

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310864489.6A Active CN116665578B (en) 2023-07-14 2023-07-14 Display control method and device of transparent display screen and computer equipment

Country Status (1)

Country Link
CN (1) CN116665578B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109256076A (en) * 2018-08-30 2019-01-22 京东方科技集团股份有限公司 Edge pixel display methods, system, storage equipment and display device
CN114296678A (en) * 2021-12-30 2022-04-08 深圳市华星光电半导体显示技术有限公司 Special-shaped screen display method and device, display control equipment and storage medium
CN115810325A (en) * 2022-12-16 2023-03-17 信利(仁寿)高端显示科技有限公司 Special-shaped screen pixel light transmittance adjusting method and special-shaped screen

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8854401B2 (en) * 2010-12-28 2014-10-07 Apple Inc. System and method to improve image edge discoloration
CN107610594A (en) * 2017-09-19 2018-01-19 厦门天马微电子有限公司 A kind of display panel and display device
CN111163301B (en) * 2018-11-07 2021-04-20 浙江宇视科技有限公司 Color adjustment method, device and computer readable storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109256076A (en) * 2018-08-30 2019-01-22 京东方科技集团股份有限公司 Edge pixel display methods, system, storage equipment and display device
CN114296678A (en) * 2021-12-30 2022-04-08 深圳市华星光电半导体显示技术有限公司 Special-shaped screen display method and device, display control equipment and storage medium
CN115810325A (en) * 2022-12-16 2023-03-17 信利(仁寿)高端显示科技有限公司 Special-shaped screen pixel light transmittance adjusting method and special-shaped screen

Also Published As

Publication number Publication date
CN116665578A (en) 2023-08-29

Similar Documents

Publication Publication Date Title
KR102257160B1 (en) Compensation method for mura phenomenon of display panel and display panel
CN107610143B (en) Image processing method, image processing apparatus, image processing system, and display apparatus
JP6874157B2 (en) Display panel unevenness correction method and display panel
CN108877740A (en) Obtain method, apparatus, computer equipment and the storage medium of Mura offset data
CN109036244B (en) Mura compensation method and device for curved surface display screen and computer equipment
US9524664B2 (en) Display device, display panel driver and drive method of display panel
CN109036245B (en) Display processing method and device, integrated circuit and computer storage medium
US10885831B2 (en) Display method and display system of singular-shaped display panel, storage device and display device
CN108877631B (en) Mura compensation method and device for display screen, computer equipment and storage medium
JP5026545B2 (en) Display device, luminance unevenness correction method, correction data creation device, and correction data creation method
CN109285521B (en) Pixel driving method, pixel driving device and computer equipment
CN104795032B (en) Display equipment, display panel drive and the driving method of display panel
JP5174837B2 (en) Display device, luminance unevenness correction method, correction data creation device, and correction data creation method
CN112581896A (en) Display panel and compensation method and compensation device thereof
JP2011039451A (en) Display device, luminance unevenness correction method, and device and method for generating correction data
CN116665578B (en) Display control method and device of transparent display screen and computer equipment
CN117496884A (en) Brightness adjusting method of display device and display device
TWI547923B (en) Display panel and driving method
CN114495812B (en) Display panel brightness compensation method and device, electronic equipment and readable storage medium
JP5059092B2 (en) Display device, luminance unevenness correction method, and correction data creation device
US20230102440A1 (en) System and method for variable area-based compensation of burn-in in display panels
CN114138224B (en) Rendering method and device for sub-pixels in image, computer equipment and storage medium
CN112992052B (en) Power consumption control method of display panel and display panel
CN115995199A (en) Method for non-uniformity removal, calibration device and display driver
CN113963658B (en) Brightness compensation method, brightness data determination method, device and chip

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant