CN112927147B - Display data correction method and device of display module, computer equipment and medium - Google Patents
Display data correction method and device of display module, computer equipment and medium Download PDFInfo
- Publication number
- CN112927147B CN112927147B CN202110064149.6A CN202110064149A CN112927147B CN 112927147 B CN112927147 B CN 112927147B CN 202110064149 A CN202110064149 A CN 202110064149A CN 112927147 B CN112927147 B CN 112927147B
- Authority
- CN
- China
- Prior art keywords
- display
- area
- display data
- boundary line
- pixel
- 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
Links
- 238000012937 correction Methods 0.000 title claims abstract description 48
- 238000000034 method Methods 0.000 title claims abstract description 32
- 230000003287 optical effect Effects 0.000 claims abstract description 28
- 238000005452 bending Methods 0.000 claims description 17
- 238000003860 storage Methods 0.000 claims description 16
- 238000004590 computer program Methods 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 10
- 238000009826 distribution Methods 0.000 description 9
- 230000000694 effects Effects 0.000 description 6
- 238000012545 processing Methods 0.000 description 6
- 239000000428 dust Substances 0.000 description 4
- 230000005856 abnormality Effects 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 238000001914 filtration Methods 0.000 description 2
- 238000002372 labelling Methods 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 239000013307 optical fiber Substances 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 238000007781 pre-processing Methods 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 241001270131 Agaricus moelleri Species 0.000 description 1
- 230000002159 abnormal effect Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 230000015556 catabolic process Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000013480 data collection Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000006731 degradation reaction Methods 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000012535 impurity Substances 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012805 post-processing Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/90—Dynamic range modification of images or parts thereof
-
- G—PHYSICS
- G02—OPTICS
- G02F—OPTICAL DEVICES OR ARRANGEMENTS FOR THE CONTROL OF LIGHT BY MODIFICATION OF THE OPTICAL PROPERTIES OF THE MEDIA OF THE ELEMENTS INVOLVED THEREIN; NON-LINEAR OPTICS; FREQUENCY-CHANGING OF LIGHT; OPTICAL LOGIC ELEMENTS; OPTICAL ANALOGUE/DIGITAL CONVERTERS
- G02F1/00—Devices or arrangements for the control of the intensity, colour, phase, polarisation or direction of light arriving from an independent light source, e.g. switching, gating or modulating; Non-linear optics
- G02F1/01—Devices or arrangements for the control of the intensity, colour, phase, polarisation or direction of light arriving from an independent light source, e.g. switching, gating or modulating; Non-linear optics for the control of the intensity, phase, polarisation or colour
- G02F1/13—Devices or arrangements for the control of the intensity, colour, phase, polarisation or direction of light arriving from an independent light source, e.g. switching, gating or modulating; Non-linear optics for the control of the intensity, phase, polarisation or colour based on liquid crystals, e.g. single liquid crystal display cells
- G02F1/1306—Details
- G02F1/1309—Repairing; Testing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/90—Determination of colour characteristics
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Nonlinear Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Chemical & Material Sciences (AREA)
- Crystallography & Structural Chemistry (AREA)
- Optics & Photonics (AREA)
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
Abstract
The invention discloses a display data correction method and device of a display module, computer equipment and medium. In one embodiment, the method comprises: acquiring a display image of a display module obtained through image acquisition; determining a corresponding relation between the pixel logic position of the display module and display data according to the display image, the pixel physical position of the display module and the pixel logic position of the display module, and determining an arc boundary line of a display area of the display module according to the pixel logic position of the display module; and correcting the display data of the vicinity of the arc-shaped boundary line of the display area according to the display data of the vicinity of the arc-shaped boundary line of the display area. According to the embodiment, the display data is corrected, so that the accuracy of external optical compensation on the display module with the arc-shaped boundary line in the display area can be improved, and the situation that display is too bright due to too high compensation value is avoided.
Description
Technical Field
The present invention relates to the field of display technologies, and in particular, to a display data correction method and apparatus for a display module, a computer device, and a medium.
Background
An Organic Light-Emitting Diode (OLED) display panel includes a large number of Light-Emitting Diode units, and in the process of manufacturing a conventional OLED display panel, due to material impurities, manufacturing process and the like, electrical parameters of different Light-Emitting Diode units are not uniform, so that the OLED display panel has non-uniformity in brightness during display. This non-uniformity is known in the art as mura. External optical compensation (Demura) is typically used to solve the problem of non-uniformity in the panel display.
Existing Demura compensation often occurs when the compensation accuracy of the display area edge position is low.
Disclosure of Invention
The invention aims to provide a display data correction method and device of a display module, computer equipment and medium.
In order to achieve the above purpose, the invention adopts the following technical scheme:
the first aspect of the present invention provides a display data correction method for a display module, including:
acquiring a display image of a display module obtained through image acquisition;
determining a corresponding relation between the pixel logic position of the display module and display data according to the display image, the pixel physical position of the display module and the pixel logic position of the display module, and determining an arc boundary line of a display area of the display module according to the pixel logic position of the display module;
and correcting the display data of the vicinity of the arc-shaped boundary line of the display area according to the display data of the vicinity of the arc-shaped boundary line of the display area.
Optionally, the correcting the display data of the vicinity of the display area arc boundary line of the display module according to the display data of the vicinity of the display area arc boundary line of the display module includes:
the correcting the display data of the vicinity of the display area arc boundary line according to the display data of the vicinity of the display area arc boundary line includes:
and correcting the display data of each position in a first area to be the average value of the display data in a first pixel size area containing the corresponding position, and correcting the display data of each position in a second area to be the average value of the display data in a second pixel size area containing the corresponding position, wherein the first area is the area with the first pixel width in the arc boundary line of the display area, and the second area is the area with the second pixel width outside the arc boundary line of the display area.
Optionally, the correcting the display data of the vicinity of the display area arc boundary line according to the display data of the vicinity of the display area arc boundary line further includes: and correcting the display data of each position in a third area to be 1/n of the average value of the display data in the area containing the arc boundary line of the display area, wherein n is greater than 1, and the third area is an area except the second area outside the arc boundary line of the display area.
Optionally, the display data of the display module is used for external optical compensation based on m×m pixel areas, the first pixel width is greater than or equal to m, and the second pixel width is greater than m.
Optionally, the first pixel size and the second pixel size are respectively set to p 1 ×p 1 And p 2 ×p 2 P is equal to the pixel area of (1) 1 Is larger than the first pixel width and p 2 Is larger than the second pixel width.
Optionally, the area including the arc-shaped boundary line of the display area is a rectangular area including the arc-shaped boundary line of the display area and a part of the display area, and the correcting the display data at each position in the third area to 1/n of the average value of the display data in the area including the arc-shaped boundary line of the display area includes: the display data at each position in the third area is corrected to 1/n of the average value of the display data in the partial display area in the rectangular area.
Optionally, before the correcting the display data of the vicinity of the display area arc boundary line according to the display data of the vicinity of the display area arc boundary line, the method further includes:
and if the display module is provided with the bending area, correcting the display data of the bending area.
A second aspect of the present invention provides a display data correction device of a display module, including:
the acquisition module is used for acquiring a display image of the display module obtained through image acquisition;
the determining module is used for determining the corresponding relation between the pixel logic position of the display module and the display data according to the display image, the pixel physical position of the display module and the pixel logic position of the display module, and determining the arc boundary line of the display area of the display module according to the pixel logic position of the display module;
and the correction module is used for correcting the display data of the nearby position of the arc-shaped boundary line of the display area according to the display data of the nearby region of the nearby position of the arc-shaped boundary line of the display area.
A third aspect of the present invention provides a computer apparatus comprising:
one or more processors;
a storage means for storing one or more programs;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method provided by the first aspect of the present invention.
A fourth aspect of the invention is a computer readable storage medium having stored thereon a computer program which when executed by a processor implements the method provided by the first aspect of the invention.
The beneficial effects of the invention are as follows:
according to the technical scheme, the display data at the position near the arc-shaped boundary line of the display area of the display module can be corrected, so that the accuracy of external optical compensation of the display module can be improved, and the situation that display is too bright due to too high compensation value is avoided.
Drawings
The following describes the embodiments of the present invention in further detail with reference to the drawings.
Fig. 1 shows a pixel distribution diagram of a rounded display area.
Fig. 2 shows a flowchart of a display data correction method according to an embodiment of the present invention.
Fig. 3 shows a schematic diagram of a pixel mask.
Fig. 4 shows a schematic view of the inflection zone.
Fig. 5 shows a schematic diagram of the positions of the correction area and the extension area.
Fig. 6 shows a schematic diagram of the location of the inactive area.
Fig. 7 shows a schematic diagram of a fill-in value area of an invalid area.
Fig. 8 is a schematic diagram showing an image near the arc boundary line of the display module after display data correction.
Fig. 9 is a schematic diagram showing an image near an arc boundary line of another display module after display data correction.
Fig. 10 is a schematic view of another image near the arc boundary line of the display module after display data correction.
Fig. 11 shows a flowchart of an external optical compensation method according to an embodiment of the present invention.
Fig. 12 is a schematic diagram of a display data correction device according to an embodiment of the present invention.
Fig. 13 shows a schematic structural diagram of a computer device according to an embodiment of the present invention.
Detailed Description
In order to more clearly illustrate the present invention, the present invention will be further described with reference to preferred embodiments and the accompanying drawings. Like parts in the drawings are denoted by the same reference numerals. It is to be understood by persons skilled in the art that the following detailed description is illustrative and not restrictive, and that this invention is not limited to the details given herein.
Demura compensation mainly comprises two steps of data acquisition and data compensation. Due to efficiency, computational resource utilization, etc., for example, the capacity of EEPROM is limited when writing demux compensation data into EEPROM, demux compensation is typically performed on a pixel area or pixel block basis, for example, a 4x4 pixel area. However, the inventor found that when Demura compensation is performed based on the pixel region, compensation accuracy at the arc boundary line is affected for the case that the display screen is an open hole screen, a bang screen (i.e. a dent is provided above the display screen), four corners of the display area of the display screen are rounded, that is, for the case that the display screen is a special-shaped screen with an arc boundary line in the display area (wherein the open hole edge of the perforated screen can be regarded as an arc boundary line, that is, the display area has an arc boundary line surrounding the open hole, and the open hole is a non-display area), and abnormal phenomena such as edge saw teeth, edge white edges and the like occur after compensation. In addition, during Demura-compensated data acquisition, distortion often occurs in display data at the edge of the display area, which also results in a decrease in compensation accuracy.
Taking a display module with a rounded right upper corner of a display area based on a 4×4 pixel area as an example for Demura compensation, for a pixel distribution Map (Pixcel Map) shown in fig. 1, D and 0 are non-light-emitting areas (D and 0 are different in that an OLED structure such as a TFT and an organic light-emitting layer is formed by orthographic projection at the D position, but does not emit light, and the 0 position is a position on the display screen where no OLED structure is formed at all); g is an RGB light emitting region, i.e., a display region. The 4×4 area in the dashed box is a post-processing calculation area of demux, where since the D position does not emit light, the display data of the D position is 0, which results in smaller calculated display data of the 4×4 area, so that the demux compensation value of the 4×4 area calculated is larger, and is displayed too bright after compensation. Therefore, when the Demura compensation is performed on the display module with the arc-shaped boundary line in the display area based on the pixel area, the display data is based on the value of the pixel area form of the rectangular block, so that the position where the display data does not emit light is inevitably obtained near the arc-shaped boundary line, the average value of the whole pixel area becomes smaller, the light emitting condition of the pixel cannot be truly reflected, and the excessively high compensation value, namely the overcompensation, is given later, so that the display of the module is excessively bright. In addition, during Demura-compensated data collection, distortion often occurs in display data at the edge of the display area, which also causes degradation of compensation accuracy.
Thus, as shown in fig. 2, an embodiment of the present invention provides a display data correction method, including the steps of:
s210, obtaining a display image of the display module obtained through image acquisition.
In a specific example, the display module may be driven to display a white or color screen with a specific gray scale, where several gray scales may be arbitrarily selected, for example, 16, 32, 64, 96, 128, 160, 192, 224, etc. Specifically, the panel manufacturer can select according to the intra-factory module mura condition. The display image can be obtained by photographing the display module which is displaying the specific gray-scale picture by an image acquisition device such as an industrial camera, wherein the industrial camera generally adopts a CCD or COMS camera with high resolution and high precision, and the selection of the resolution of the camera depends on the resolution, the size, the photographing distance, the setting precision of Demura compensation and other factors of the detected display module.
After the display image of the display module obtained by image acquisition is obtained, in order to improve the precision of subsequent processing, the display image can be subjected to image preprocessing, for example, the image preprocessing comprises image denoising, moire removal, module surface dust filtration and the like, wherein the main reason of the surface dust filtration is that the module is lack of data in a certain area due to dust attached to the surface of the area, and the lost data is filled by positioning the dust area and performing adjacent domain interpolation through an image processing algorithm, so that the display data is ensured to be free from abnormality.
S220, according to the display image, the pixel physical position of the display module and the pixel logic position of the display module, determining the corresponding relation between the pixel logic position of the display module and display data, and determining the arc boundary line of the display area of the display module according to the pixel logic position of the display module.
In a specific example, a display area (AA area) of a display module in a display image may be extracted according to display data of each coordinate position in the display image, the display data of the Pixel physical position of the display module may be obtained based on Pixel arrangement including the Pixel physical position of the display module and the display data in the display image, and then the correspondence between the Pixel logical position of the display module and the display data may be obtained according to, for example, a Pixel distribution Map (Pixel Map) provided by a display module manufacturer, which includes a one-to-one correspondence between the Pixel logical position and the Pixel physical position of the display module, that is, the Pixel physical position maps the display data to the Pixel logical position.
For the arc border of the display area, the arc border contained in the arc border can be directly obtained according to the Pixel logic position of the display module contained in the Pixel distribution Map (Pixel Map) provided by a display module manufacturer, for example, and then extracted.
S230, correcting the display data of the bending area of the display module with the bending area.
It is understood that whether the bending region exists in the display module is known in advance, if so, the step S230 may be executed, and if not, the step S230 may be skipped to directly execute the subsequent steps.
In a specific example, a Pixel distribution Mask (Pixel Map Mask) is generated according to a Pixel physical position of the display module, wherein in the Pixel distribution Mask, pixel logic positions are in one-to-one correspondence with the Pixel physical positions of the display module, the Pixel distribution Mask performs binary labeling on luminous Pixel positions in a display area and non-luminous positions in a non-display area, for example, the luminous Pixel positions in the display area take gray values 255, and the non-luminous positions in the non-display area take gray values 0. Then, binary labeling can be performed on each position in the display image based on a preset gray level threshold value to obtain a Pixel Mask (Pixel Mask), for example, a light-emitting position represented in the display image is taken as a gray level value 255, a non-light-emitting position is taken as a gray level value 0, as shown in fig. 3, white in fig. 3 is effective data (display area) in the Pixel Mask, and the gray level value is 255; black is an inactive area (non-display area) in the pixel mask, and the gradation value is 0. It should be noted that, the gray frame on the outer side in fig. 3 does not belong to the display module, and only serves to define the whole area of the display module.
For a display module having a bending region, such as a curved screen, the distortion of the display data in the bending region may result in that the gap (i.e., the non-display region) at the bending region of the pixel mask obtained by calculation may be large, and the gap at the bending region should be the display region according to the pixel distribution mask reflecting the actual display region and the non-display region, so that the distortion correction of the display data in the bending region is required.
As shown in fig. 4, the correction calculation formula of the inflection region display data is, for example, as follows:
P2’=P2*W(P1)/W(P2)
wherein W (·) is the average value in the image window, that is, the average value of the pixel blocks at the current position, P1 is the display data of the pixel blocks in the plane area, which are close to the bending area, and P2 is the display data of the pixel blocks in the bending area; p2' is the display data of the pixel block in the corrected inflection region.
S240, correcting the display data of the vicinity of the arc-shaped boundary line of the display area according to the display data of the vicinity of the arc-shaped boundary line of the display area.
In some optional implementations, the correcting the display data of the vicinity of the display area arc boundary line of the display module according to the display data of the vicinity of the display area arc boundary line of the display module includes:
and correcting the display data of each position in the correction area to be the average value of the display data in the first pixel size area containing the corresponding position, and correcting the display data of each position in the expansion area to be the average value of the display data in the second pixel size area containing the corresponding position, wherein the correction area is the area with the first pixel width in the arc boundary line of the display area, and the expansion area is the area with the second pixel width outside the arc boundary line of the display area.
It should be noted that, the correction area is an area with a certain pixel width within the arc boundary line of the display area (because the arc boundary line of the display area is determined according to the pixel logic position of the display module, it may also be called as a pixel distribution map boundary, a PixcelMap boundary), that is, the correction area is located at the edge of the display area, and the display data corresponding to the correction area is the display data of the light emitting pixels; the extended area is an area with a certain pixel width outside the arc boundary line of the display area, namely, the extended area is an edge of the non-display area, which is close to the display area, and the corresponding display data is the display data of the non-light-emitting position.
According to the implementation mode, the correction area and the expansion area are divided into the adjacent area of the position close to the arc-shaped boundary line of the display area of the display module, the position close to the arc-shaped boundary line of the display area of the display module can be subjected to area division, then targeted correction is achieved, the display data of the area close to the arc-shaped boundary line in the arc-shaped boundary line of the display area is corrected, the distortion of the display data of the area close to the arc-shaped boundary line in the arc-shaped boundary line of the display area is repaired, and the defect filling based on the Demura compensation of the pixel area in the area close to the arc-shaped boundary line in the arc-shaped boundary line is achieved through the correction of the display data of the expansion area, so that the effect of improving the accuracy of external optical compensation of the display module with the arc-shaped boundary line in the display area is effectively guaranteed.
In some optional implementations, the correcting the display data of the vicinity of the display area arc boundary line according to the display data of the vicinity of the display area arc boundary line further includes: and correcting the display data of each position in an invalid region to be 1/n of the average value of the display data in the region containing the arc boundary line of the display region, wherein n is greater than 1, and the invalid region is a region except for an expansion region outside the arc boundary line of the display region.
According to the implementation mode, the effect of performing the deletion filling based on the Demura compensation of the pixel area on the area close to the arc-shaped boundary line in the arc-shaped boundary line can be ensured by correcting the display data of the partial area, far away from the display area, of the non-display area, so that the effect of improving the precision of performing external optical compensation on the display module with the arc-shaped boundary line in the display area is further effectively ensured.
In some optional implementations, the display data of the display module is used for external optical compensation based on m×m pixel areas, the first pixel width is greater than or equal to m and the second pixel width is greater than m.
In one specific example, the first pixel width and the second pixel width are determined according to a pixel area size selected when performing Demura compensation. For example, for performing an external optical compensation based on a 4×4 pixel area, for example, the first pixel width takes 4 and the second pixel width takes 8.
The implementation mode ensures that the division or selection of the correction area and the expansion area can ensure the effect of improving the precision of external optical compensation on the display module with the arc-shaped boundary line of the display area.
In some alternative implementations, the first pixel size and the second pixel size are each set to p 1 ×p 1 And p 2 ×p 2 P is equal to the pixel area of (1) 1 Is larger than the first pixel width and p 2 Is larger than the second pixel width.
In a specific example, the display data of the correction area and the extension area are corrected by the correction method of the present embodimentWhen the correction value is the average value of the adjacent window (for a position of the correction region, the correction value is p centered on the position 1 ×p 1 The average value of the display data in the region is corrected to p centered at a position of the extended region 2 ×p 2 Average of display data within the area), for example, for performing external optical compensation based on a 4×4 pixel area, the first pixel width takes 4, the second pixel width takes 8,p 1 And p 2 For example, take 16 or 24.
By the implementation mode, effective compensation of display data of a correction area and an expansion area which are positioned near the arc-shaped boundary line of the display area can be guaranteed, and the effect of improving the accuracy of external optical compensation of the display module with the arc-shaped boundary line of the display area is further guaranteed.
In some optional implementations, the area including the display area arc boundary line is a rectangular area including the display area arc boundary line and a part of the display area, and the correcting the display data of each position in the invalid area to 1/n of the average value of the display data in the area including the display area arc boundary line includes: the display data at each position in the invalid region is corrected to 1/n of the average value of the display data in the partial display region in the rectangular region.
By the implementation mode, effective correction of display data of an invalid area can be guaranteed, and the effect of improving the accuracy of external optical compensation of the display module with the arc-shaped boundary line of the display area is further guaranteed.
In some alternative implementations, n is 2.
In a specific example, n may be an integer greater than 1, or may be a non-integer greater than 1, for example, 4/3, when the display data at each position in the invalid region is corrected to 3/4 of the average value of the display data in the region including the arc-shaped boundary line of the display region.
In a specific example, fig. 5 shows a correction area and an extension area, wherein the correction area and the extension area are white, and the remaining area (including an invalid area and a display area other than the correction area) is black; fig. 6 shows an inactive area, wherein the inactive area is white and the remaining areas (including the extended area and the display area) are black; when the invalid region is corrected, 1/n of the average value of the adjacent region is adopted for filling, the adjacent region is four rectangular frames containing four fillets and rectangular frames surrounding the display screen openings, which are obtained by the line frame in fig. 7, the five rectangular frames are filling value regions of five corresponding invalid regions, taking the invalid region in the upper right corner in fig. 6 as an example, and the display data of each position in the invalid region is corrected to 1/2 of the average value of the display data in the display region in the rectangular frame in the upper right corner in fig. 7. It should be noted that the gray frame on the outer side in fig. 5-7 does not belong to the display module, and only serves to define the whole area of the display module.
The image near the arc-shaped boundary line shown in fig. 8 is an indication that the pixel width of the extension area is smaller (for example, the second pixel width is equal to 2), and when the Demura compensation based on, for example, a 4×4 pixel area is performed subsequently, the compensation value may be raised, so that the arc-shaped boundary line of the display area of the compensated display module has an over-bright phenomenon; the image near the arc-shaped boundary line shown in fig. 9 is an indication that the pixel width of the extension area is more suitable (for example, the second pixel width is equal to 8), so that no abnormality exists when the Demura compensation based on the pixel area is performed subsequently; the image near the arc-shaped boundary line shown in fig. 10 is an implementation in which the pixel width of the extended area is small (for example, the second pixel width is equal to 2) but the invalid area is filled, that is, the display data at each position in the invalid area is corrected to 1/n of the average value of the display data in the area including the arc-shaped boundary line of the display area, so that there is no abnormality even when the Demura compensation based on the pixel area is performed later. It can be understood that the pixel width of the extension area is proper to take value and is filled by an invalid area, so that the precision of subsequent Demura compensation can be ensured.
In summary, according to the display data correction method provided by the embodiment, by correcting the display data at the position near the arc-shaped boundary line of the display area of the display module, the accuracy of performing external optical compensation on the display module can be improved, and the situation that display is too bright due to too high compensation value is avoided.
As shown in fig. 11, another embodiment of the present invention provides an external optical compensation method, comprising the steps of:
s310, obtaining a display image of the display module obtained through image acquisition.
S320, determining a corresponding relation between the pixel logic position of the display module and display data according to the display image, the pixel physical position of the display module and the pixel logic position of the display module, and determining an arc boundary line of a display area of the display module according to the pixel logic position of the display module.
S330, correcting the display data of the bending area of the display module with the bending area.
And S340, correcting the display data of the vicinity of the arc-shaped boundary line of the display area according to the display data of the vicinity of the arc-shaped boundary line of the display area.
S350, calculating an external optical compensation value of each pixel in the display module according to the corrected display data, and realizing external optical compensation according to the external optical compensation value.
In a specific example, the modified display data is gray-scale data, and the modified gray-scale data is converted into brightness data to restore the mura information of the display module. And then, calculating a demux compensation value of the display module pixels according to the brightness data, converting the demux compensation value into corresponding compensation parameters according to a demux IP interface function protocol in a display module driving IC (Dirver IC), for example, the compensation parameters are the compensation values of driving currents, and storing the compensation parameters into the driving IC to finish demux compensation.
In this embodiment, steps S310-S340 correspond to steps S210-S240 of the previous embodiment, and reference is made to the previous embodiment for relevant points, which are not repeated here.
As shown in fig. 12, another embodiment of the present invention provides a display data correction apparatus, including:
the acquisition module is used for acquiring a display image of the display module obtained through image acquisition;
the determining module is used for determining the corresponding relation between the pixel logic position of the display module and the display data according to the display image, the pixel physical position of the display module and the pixel logic position of the display module, and determining the arc boundary line of the display area of the display module according to the pixel logic position of the display module;
and the correction module is used for correcting the display data of the nearby position of the arc-shaped boundary line of the display area according to the display data of the nearby region of the nearby position of the arc-shaped boundary line of the display area.
In some optional implementations, the modifying module, configured to modify, according to display data of a vicinity of a position near a display area arc boundary line of the display module, the display data of the position near the display area arc boundary line of the display module includes:
and correcting the display data of each position in a first area to be the average value of the display data in a first pixel size area containing the corresponding position, and correcting the display data of each position in a second area to be the average value of the display data in a second pixel size area containing the corresponding position, wherein the first area is the area with the first pixel width in the arc boundary line of the display area, and the second area is the area with the second pixel width outside the arc boundary line of the display area.
In some optional implementations, the modifying module, configured to modify, according to display data of a vicinity of a position near a display area arc boundary line of the display module, display data of a position near the display area arc boundary line of the display module further includes:
and correcting the display data of each position in a third area to be 1/n of the average value of the display data in the area containing the arc boundary line of the display area, wherein n is greater than 1, and the third area is an area except the second area outside the arc boundary line of the display area.
In some optional implementations, the display data of the display module is used for external optical compensation based on m×m pixel areas, the first pixel width is greater than or equal to m and the second pixel width is greater than m.
In some alternative implementations, the first pixel size and the second pixel size are each set to p 1 ×p 1 And p 2 ×p 2 P is equal to the pixel area of (1) 1 Is larger than the first pixel width and p 2 Is larger than the second pixel width.
In some optional implementations, the correction module, configured to, in the area including the display area arc-shaped boundary line is a rectangular area including the display area arc-shaped boundary line and a portion of the display area, correct the display data at each position in the third area to 1/n of a mean value of the display data in the area including the display area arc-shaped boundary line includes: the display data at each position in the third area is corrected to 1/n of the average value of the display data in the partial display area in the rectangular area.
In some alternative implementations, as shown in fig. 12, the apparatus further includes: and the correction module is used for correcting the display data of the bending area of the display module.
It should be noted that, the principles and the workflow of the display data correction device provided in this embodiment are similar to those of the display data correction method provided in the foregoing embodiment, and the relevant portions may be referred to the foregoing description, which is not repeated herein.
Fig. 13 is a schematic structural diagram of a computer device according to another embodiment of the present invention. The computer device 50 shown in fig. 13 is merely an example, and should not be construed as limiting the functionality and scope of use of embodiments of the present invention.
As shown in fig. 13, the computer device 50 is in the form of a general purpose computing device. Components of computer device 50 may include, but are not limited to: one or more processors or processing units 500, a system memory 516, and a bus 501 that connects the various system components, including the system memory 516 and the processing units 500.
Bus 501 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, and a local bus using any of a variety of bus architectures. By way of example, and not limitation, such architectures include Industry Standard Architecture (ISA) bus, micro channel architecture (MAC) bus, enhanced ISA bus, video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Computer device 50 typically includes a variety of computer system readable media. Such media can be any available media that is accessible by computer device 50 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 516 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM) 504 and/or cache memory 506. The computer device 50 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 508 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 13, commonly referred to as a "hard disk drive"). Although not shown in fig. 13, a magnetic disk drive for reading from and writing to a removable non-volatile magnetic disk (e.g., a "floppy disk"), and an optical disk drive for reading from or writing to a removable non-volatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be coupled to bus 501 through one or more data medium interfaces. Memory 516 may include at least one program product having a set (e.g., at least one) of program modules configured to carry out the functions of embodiment one.
A program/utility 510 having a set (at least one) of program modules 512 may be stored, for example, in a memory 516, such program modules 512 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment. Program modules 512 generally perform the functions and/or methods in the embodiments described herein.
The computer device 50 may also communicate with one or more external devices 70 (e.g., keyboard, pointing device, display 60, etc.), one or more devices that enable a user to interact with the computer device 50, and/or any devices (e.g., network card, modem, etc.) that enable the computer device 50 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 502. Moreover, computer device 50 may also communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN) and/or a public network, such as the Internet, through network adapter 514. As shown in fig. 13, the network adapter 514 communicates with other modules of the computer device 50 over the bus 501. It should be appreciated that although not shown in fig. 13, other hardware and/or software modules may be used in connection with computer device 50, including, but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
The processor unit 500 executes various functional applications and data processing by running a program stored in the system memory 516, for example, implementing the display data correction method or the external optical compensation method provided by the foregoing embodiment.
Another embodiment of the present invention provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the display data correction method or the external optical compensation method provided by the foregoing embodiment.
In practical applications, the computer-readable storage medium may take the form of any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In this embodiment, a computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
It should be understood that the foregoing examples of the present invention are provided merely for clearly illustrating the present invention and are not intended to limit the embodiments of the present invention, and that various other changes and modifications may be made therein by one skilled in the art without departing from the spirit and scope of the present invention as defined by the appended claims.
Claims (9)
1. The display data correction method of the display module is characterized by comprising the following steps of:
acquiring a display image of a display module obtained through image acquisition;
determining a corresponding relation between the pixel logic position of the display module and display data according to the display image, the pixel physical position of the display module and the pixel logic position of the display module, and determining an arc boundary line of a display area of the display module according to the pixel logic position of the display module;
correcting the display data of the vicinity of the arc-shaped boundary line of the display area according to the display data of the vicinity of the arc-shaped boundary line of the display area;
the correcting the display data of the vicinity of the display area arc boundary line according to the display data of the vicinity of the display area arc boundary line includes:
and correcting the display data of each position in a first area to be the average value of the display data in a first pixel size area containing the corresponding position, and correcting the display data of each position in a second area to be the average value of the display data in a second pixel size area containing the corresponding position, wherein the first area is the area with the first pixel width in the arc boundary line of the display area, and the second area is the area with the second pixel width outside the arc boundary line of the display area.
2. The method of claim 1, wherein modifying the display data for the vicinity of the display area arcuate boundary line based on the display data for the vicinity of the display area arcuate boundary line further comprises: and correcting the display data of each position in a third area to be 1/n of the average value of the display data in the area containing the arc boundary line of the display area, wherein n is greater than 1, and the third area is an area except the second area outside the arc boundary line of the display area.
3. The method of claim 1, wherein the display data of the display module is used for external optical compensation based on m x m pixel areas, the first pixel width being greater than or equal to m and the second pixel width being greater than m.
4. The method of claim 1, wherein the first pixel size and the second pixel size are each set to p 1 ×p 1 And p 2 ×p 2 P is equal to the pixel area of (1) 1 Is larger than the first pixel width and p 2 Is larger than the second pixel width.
5. The method of claim 2, wherein the area including the display area arc boundary line is a rectangular area including the display area arc boundary line and a portion of the display area, and wherein the correcting the display data at each position in the third area to 1/n of the average value of the display data in the area including the display area arc boundary line includes: the display data at each position in the third area is corrected to 1/n of the average value of the display data in the partial display area in the rectangular area.
6. The method according to claim 1, wherein before the correcting of the display data of the vicinity of the display area arcuate boundary line based on the display data of the vicinity of the display area arcuate boundary line, the method further comprises:
and if the display module is provided with the bending area, correcting the display data of the bending area.
7. A display data correction device of a display module, comprising:
the acquisition module is used for acquiring a display image of the display module obtained through image acquisition;
the determining module is used for determining the corresponding relation between the pixel logic position of the display module and the display data according to the display image, the pixel physical position of the display module and the pixel logic position of the display module, and determining the arc boundary line of the display area of the display module according to the pixel logic position of the display module;
and the correction module is used for correcting the display data of the nearby position of the arc-shaped boundary line of the display area according to the display data of the nearby position of the arc-shaped boundary line of the display area, and comprises correcting the display data of each position in a first area into a mean value of the display data in a first pixel size area containing the corresponding position and correcting the display data of each position in a second area into a mean value of the display data in a second pixel size area containing the corresponding position, wherein the first area is an area with a first pixel width in the arc-shaped boundary line of the display area, and the second area is an area with a second pixel width outside the arc-shaped boundary line of the display area.
8. A computer device, comprising:
one or more processors;
a storage means for storing one or more programs;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of any of claims 1-6.
9. A computer readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the method according to any of claims 1-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110064149.6A CN112927147B (en) | 2021-01-18 | 2021-01-18 | Display data correction method and device of display module, computer equipment and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110064149.6A CN112927147B (en) | 2021-01-18 | 2021-01-18 | Display data correction method and device of display module, computer equipment and medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112927147A CN112927147A (en) | 2021-06-08 |
CN112927147B true CN112927147B (en) | 2023-12-22 |
Family
ID=76163407
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110064149.6A Active CN112927147B (en) | 2021-01-18 | 2021-01-18 | Display data correction method and device of display module, computer equipment and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112927147B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113593479B (en) * | 2021-09-27 | 2022-01-07 | 华兴源创(成都)科技有限公司 | Sub-pixel level mura compensation method for display panel |
CN114112324B (en) * | 2021-11-09 | 2024-04-26 | 合肥维信诺科技有限公司 | Display screen brightness uniformity testing method and testing device |
CN114937434A (en) * | 2022-06-02 | 2022-08-23 | 利亚德光电股份有限公司 | Correction data processing method, device and computer readable storage medium |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101526890A (en) * | 2009-03-30 | 2009-09-09 | 昆山龙腾光电有限公司 | Position mapping method of display units of tiled display wall and device |
JP2013246261A (en) * | 2012-05-24 | 2013-12-09 | Sharp Corp | Display device and method of driving display device |
CN106370873A (en) * | 2015-07-22 | 2017-02-01 | 深圳迈瑞生物医疗电子股份有限公司 | Sample loading region expansion method, sample loading region expansion apparatus and sample analyzer |
CN108172183A (en) * | 2018-01-02 | 2018-06-15 | 京东方科技集团股份有限公司 | A kind of pixel compensation method, pixel compensation device and display device |
CN108198534A (en) * | 2018-01-12 | 2018-06-22 | 京东方科技集团股份有限公司 | Display methods, display optimization device and display device |
CN110176209A (en) * | 2018-02-27 | 2019-08-27 | 京东方科技集团股份有限公司 | Optical compensation method and optical compensation equipment for display panel |
CN110930919A (en) * | 2019-11-20 | 2020-03-27 | 深圳吉迪思电子科技有限公司 | Image processing method and display driving device |
CN111145692A (en) * | 2020-01-22 | 2020-05-12 | 华兴源创(成都)科技有限公司 | Data restoration method and device for display panel |
CN112086055A (en) * | 2020-09-15 | 2020-12-15 | 昆山工研院新型平板显示技术中心有限公司 | Brightness compensation method and equipment of display panel and display device |
-
2021
- 2021-01-18 CN CN202110064149.6A patent/CN112927147B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101526890A (en) * | 2009-03-30 | 2009-09-09 | 昆山龙腾光电有限公司 | Position mapping method of display units of tiled display wall and device |
JP2013246261A (en) * | 2012-05-24 | 2013-12-09 | Sharp Corp | Display device and method of driving display device |
CN106370873A (en) * | 2015-07-22 | 2017-02-01 | 深圳迈瑞生物医疗电子股份有限公司 | Sample loading region expansion method, sample loading region expansion apparatus and sample analyzer |
CN108172183A (en) * | 2018-01-02 | 2018-06-15 | 京东方科技集团股份有限公司 | A kind of pixel compensation method, pixel compensation device and display device |
CN108198534A (en) * | 2018-01-12 | 2018-06-22 | 京东方科技集团股份有限公司 | Display methods, display optimization device and display device |
CN110176209A (en) * | 2018-02-27 | 2019-08-27 | 京东方科技集团股份有限公司 | Optical compensation method and optical compensation equipment for display panel |
CN110930919A (en) * | 2019-11-20 | 2020-03-27 | 深圳吉迪思电子科技有限公司 | Image processing method and display driving device |
CN111145692A (en) * | 2020-01-22 | 2020-05-12 | 华兴源创(成都)科技有限公司 | Data restoration method and device for display panel |
CN112086055A (en) * | 2020-09-15 | 2020-12-15 | 昆山工研院新型平板显示技术中心有限公司 | Brightness compensation method and equipment of display panel and display device |
Also Published As
Publication number | Publication date |
---|---|
CN112927147A (en) | 2021-06-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112927147B (en) | Display data correction method and device of display module, computer equipment and medium | |
US10504400B2 (en) | Method and apparatus for performing correction processing on grayscale of a pixel in an image | |
CN107610143B (en) | Image processing method, image processing apparatus, image processing system, and display apparatus | |
CN111862875B (en) | Display method, display panel, display control device, and storage medium | |
JP7175197B2 (en) | Image processing method and device, storage medium, computer device | |
US8384738B2 (en) | Compositing windowing system | |
EP3407604A1 (en) | Method and device for processing high dynamic range image | |
US7764292B2 (en) | Three dimensional graphics processing apparatus, image display apparatus, three dimensional graphics processing method, control program and computer-readable recording medium | |
KR102307501B1 (en) | Optical compensation system and Optical compensation method thereof | |
GB2521234A (en) | Method of and apparatus for displaying an output surface in data processing systems | |
CN103428511A (en) | Pattern processing device, pattern processing method | |
KR20070012270A (en) | Defective pixel management for flat panel displays | |
CN110858470A (en) | Display control method and device of OLED screen and terminal equipment | |
KR102405309B1 (en) | Display device and method for displaying the same | |
JPWO2019041842A5 (en) | ||
TWI760934B (en) | Mura compensation method for display panel, system, electronic device, and storage medium | |
US10475164B2 (en) | Artifact detection in a contrast enhanced output image | |
CN111583376B (en) | Method and device for eliminating black edge in illumination map, storage medium and electronic equipment | |
CA2743036C (en) | Vector image drawing device, vector image drawing method, and recording medium | |
CN113298739B (en) | Display repair method, computer device, and computer-readable storage medium | |
CN115100081B (en) | LCD display screen gray scale image enhancement method, device, equipment and storage medium | |
CN109410224B (en) | Image segmentation method, system, device and storage medium | |
EP4345598A1 (en) | Compensation method and apparatus for under-display camera display area, device, and storage medium | |
CN113963663A (en) | Pixel driving method, display and readable storage medium | |
CN118351013A (en) | Image enhancement method, device, equipment and storage medium |
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 |