Calibration method and device of display device, display method and device and electronic equipment

By detecting and calculating the brightness value of the display device, forming a brightness lookup table, and adjusting the grayscale output, the problem of inconsistent display of medical display devices under different ambient lights is solved, and the accuracy of calibration and diagnosis of DICOM standards is achieved.

CN118629370APending Publication Date: 2024-09-10BOE TECHNOLOGY GROUP CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410670321.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-28
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

The medical images displayed by medical display devices are inconsistent under different ambient light conditions, which affects the accuracy of diagnosis, and it is difficult to effectively calibrate existing technology to comply with DICOM standards.

Method used

By detecting the actual brightness value of the display device under no ambient light conditions, the ambient light brightness value is obtained, the theoretical brightness value is calculated, a brightness lookup table is formed, and the output brightness of each gray level is adjusted to make it comply with the DICOM standard.

Benefits of technology

It achieves image consistency displayed under different ambient light conditions, improves the accuracy and uniformity of diagnosis, and ensures that the displayed picture is consistent with the DICOM standard.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118629370A
    Figure CN118629370A
Patent Text Reader

Abstract

The invention provides a calibration method and device of a display device, a display method and device and electronic equipment. The calibration method comprises the following steps: detecting a first actual brightness value when the display device displays a white picture and a second actual brightness value when the display device displays a black picture in the absence of ambient light; acquiring an ambient light brightness value; acquiring a first theoretical brightness value when the display device displays a black picture and a second theoretical brightness value when the display device displays a white picture under the ambient light corresponding to the ambient light brightness value; according to the ambient light brightness value, the first theoretical brightness value and the second theoretical brightness value, determining a third theoretical brightness value when the display device displays a black picture and a fourth theoretical brightness value when the display device displays a white picture in the absence of ambient light; determining a theoretical brightness value of each gray scale according to the third theoretical brightness value and the fourth theoretical brightness value; and determining the calibrated brightness value corresponding to each gray scale according to the theoretical brightness value corresponding to each gray scale, and forming a brightness lookup table.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of display technology, and in particular to a calibration method for a display device, a display method, a device, and an electronic device. Background Art

[0002] When doctors are making diagnoses, the image information displayed by the display device has a great impact on the accuracy of the diagnosis, so doctors must carefully check the content of the image. The nuclear magnetic resonance images of the hospital imaging department are not fixed and only displayed on certain display devices, but are repeatedly called on different display devices according to different needs. Therefore, it is required that the image information displayed on different display devices for the same image must be consistent. Therefore, medical display devices must have the ability to adjust the DICOM standard curve so that the displayed image is consistent with the DICOM standard, ensuring the accuracy and uniformity of doctors reading films using different displays. DICOM (Digital Imaging and Communications in Medicine) is a medical digital imaging and communication standard. It was developed by the American College of Radiology (ACR) and the National Electrical Manufacturers Association (NEMA) to define standards specifically for the storage and transmission of medical images. Summary of the invention

[0003] The embodiment of the present invention provides a display device calibration method, a display method, a device and an electronic device, which are used to solve the problem of how to calibrate the display device so that the displayed picture complies with the DICOM standard.

[0004] In order to solve the above-mentioned technical problems, the present invention is achieved as follows:

[0005] In a first aspect, an embodiment of the present invention provides a calibration method for a display device, comprising:

[0006] Detecting a first actual brightness value of the display device when displaying a white picture and a second actual brightness value of the display device when displaying a black picture in the absence of ambient light;

[0007] Get the ambient light brightness value;

[0008] Acquire a first theoretical brightness value of the display device when displaying a black picture and a second theoretical brightness value of the display device when displaying a white picture under the ambient light corresponding to the ambient light brightness value; the second theoretical brightness value is determined according to the first actual brightness value;

[0009] Determine, according to the ambient light brightness value and the first theoretical brightness value, a third theoretical brightness value when the display device displays a black picture in the absence of ambient light; and, according to the ambient light brightness value and the second theoretical brightness value, determine a fourth theoretical brightness value when the display device displays a white picture in the absence of ambient light;

[0010] Determining a theoretical brightness value of each grayscale according to the third theoretical brightness value and the fourth theoretical brightness value;

[0011] According to the theoretical brightness value of each gray scale, a calibrated brightness value corresponding to each gray scale and conforming to the DICOM standard is determined, and a brightness lookup table of the display device is formed according to the calibrated brightness values ​​corresponding to all gray scales.

[0012] Optionally, the acquiring, under the ambient light corresponding to the ambient light brightness value, a first theoretical brightness value of the display device when displaying a black picture and a second theoretical brightness value of the display device when displaying a white picture includes:

[0013] Determining a first theoretical brightness value of the display device when displaying a black screen according to the ambient light brightness value and a preset safety factor, wherein the first theoretical brightness value=the ambient light brightness value / the safety factor;

[0014] The first actual brightness value is used as the second theoretical brightness value.

[0015] Optionally, determining a calibrated brightness value corresponding to each grayscale according to the theoretical brightness value of each grayscale includes:

[0016] For each grayscale, the calibrated brightness value corresponding to the grayscale is determined based on the theoretical brightness value of the grayscale, the ambient light brightness value, the second actual brightness value, the grayscale value corresponding to the grayscale, the maximum grayscale value, the correction coefficient, the second theoretical brightness value, the number of system board call bits of the display device, and the number of color depth bits of the display device.

[0017] Optionally, the acquired ambient light brightness value includes multiple values, and each ambient light brightness value corresponds to one brightness lookup table.

[0018] In a second aspect, an embodiment of the present invention provides a display method, including:

[0019] For each pixel in the image to be displayed, searching for a calibrated brightness value corresponding to the grayscale initial value from a target brightness lookup table;

[0020] Display the calibrated brightness values ​​corresponding to the grayscale initial values ​​of all pixels found;

[0021] Wherein, in the target brightness lookup table, each grayscale corresponds to a calibrated brightness value that complies with the DICOM standard.

[0022] Optionally, for each pixel in the image to be displayed having an initial grayscale value, searching a target brightness lookup table for a calibrated brightness value corresponding to the initial grayscale value, the method further includes:

[0023] Acquire the ambient light brightness sensing value detected by the light sensor of the display device;

[0024] A target brightness lookup table corresponding to the ambient light brightness sensing value is called from a plurality of brightness lookup tables, and the ambient light brightness values ​​corresponding to the plurality of brightness lookup tables are different.

[0025] Optionally, calling a target brightness lookup table corresponding to the ambient light brightness sensing value includes at least one of the following:

[0026] If the ambient light brightness sensing value is greater than or equal to the maximum value among the ambient light brightness initial values ​​corresponding to the plurality of brightness lookup tables, calling the brightness lookup table corresponding to the maximum value as the target brightness lookup table;

[0027] If the ambient light brightness sensing value is less than or equal to the minimum value among the ambient light brightness initial values ​​corresponding to the plurality of brightness lookup tables, calling the brightness lookup table corresponding to the minimum value as the target brightness lookup table;

[0028] If the ambient light brightness sensing value is greater than the ambient light brightness initial value of the first brightness lookup table and less than the ambient light brightness initial value of the second brightness lookup table, the second brightness lookup table is called as the target brightness lookup table, wherein the first brightness lookup table and the second brightness lookup table are adjacent.

[0029] Optionally, the calling of a target brightness lookup table corresponding to the ambient light brightness sensing value further includes:

[0030] Continue to obtain the ambient light brightness sensing value detected by the light sensor of the display device;

[0031] Determine whether the currently acquired ambient light brightness sensing value is less than the difference between the ambient light brightness initial value of the brightness lookup table adjacent to the target brightness lookup table and the crossover point threshold, or whether the ambient light brightness sensing value is greater than the sum of the ambient light brightness initial value of the target brightness lookup table and the crossover point threshold;

[0032] If yes, return to the step of calling the target brightness lookup table corresponding to the ambient light brightness sensing value;

[0033] Otherwise, return to the step of continuing to obtain the ambient light brightness sensing value detected by the light sensor of the display device.

[0034] In a third aspect, an embodiment of the present invention provides a calibration device for a display device, comprising:

[0035] A detection module, used to detect a first actual brightness value when the display device displays a white picture and a second actual brightness value when the display device displays a black picture in the absence of ambient light;

[0036] The first acquisition module is used to obtain the ambient light brightness value;

[0037] A second acquisition module is used to acquire a first theoretical brightness value when the display device displays a black picture and a second theoretical brightness value when the display device displays a white picture under the ambient light corresponding to the ambient light brightness value; the second theoretical brightness value is determined according to the first actual brightness value;

[0038] a first determining module, configured to determine, according to the ambient light brightness value and the first theoretical brightness value, a third theoretical brightness value when the display device displays a black picture in the absence of ambient light, and, according to the ambient light brightness value and the second theoretical brightness value, a fourth theoretical brightness value when the display device displays a white picture in the absence of ambient light;

[0039] A second determination module, used to determine a theoretical brightness value of each gray scale according to the third theoretical brightness value and the fourth theoretical brightness value;

[0040] The third determination module is used to determine the calibrated brightness value corresponding to each grayscale and compliant with the DICOM standard according to the theoretical brightness value of each grayscale, and form a brightness lookup table of the display device according to the calibrated brightness values ​​corresponding to all grayscales.

[0041] In a fourth aspect, an embodiment of the present invention provides a display device, including:

[0042] A search module, for searching, for each pixel in the image to be displayed, a calibrated brightness value corresponding to the grayscale initial value from a target brightness search table;

[0043] A display module, used for displaying the calibrated brightness values ​​corresponding to the grayscale initial values ​​of all pixels found;

[0044] Wherein, in the target brightness lookup table, each grayscale corresponds to a calibrated brightness value that complies with the DICOM standard.

[0045] In a fifth aspect, an embodiment of the present invention provides an electronic device, comprising: a processor, a memory, and a program stored in the memory and executable on the processor, wherein when the program is executed by the processor, the steps of the calibration method for the display device as described in the first aspect are implemented, or when the program is executed by the processor, the steps of the display method as described in the second aspect are implemented.

[0046] In a sixth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the calibration method for the display device as described in the first aspect above are implemented; or, when the computer program is executed by a processor, the steps of the display method as described in the second aspect above are implemented.

[0047] In a seventh aspect, a computer program product is provided, comprising computer instructions, which, when executed by a processor, implement the steps of the calibration method for the display device as described in the first aspect above, or, when executed by a processor, implement the steps of the display method as described in the second aspect above.

[0048] In an embodiment of the present invention, the theoretical brightness values ​​of each grayscale of the display device that conform to the DICOM standard are calculated to form a brightness lookup table for the display device, so that when displaying a picture, the brightness lookup table can be used to adjust the output brightness of each grayscale so that the displayed picture is consistent with the DICOM standard. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Moreover, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:

[0050] Figure 1 is a schematic flow chart of a calibration method for a display device according to an embodiment of the present invention;

[0051] Figure 2 A schematic diagram of a table of theoretical brightness values ​​of each gray scale determined in an embodiment of the present invention;

[0052] Figure 3 One of the flowcharts of the display method according to an embodiment of the present invention;

[0053] Figure 4 FIG2 is a second flow chart of the display method according to an embodiment of the present invention;

[0054] Figure 5is a schematic diagram for comparing the contrast response of a DICOM curve of a display device and a standard DICOM curve when ambient light is not considered;

[0055] Figure 6 It is a schematic diagram comparing the contrast response of the DICOM curve of the display device considering the ambient light according to the embodiment of the present invention and the standard DICOM curve;

[0056] Figure 7 is a functional block diagram of a SoC according to an embodiment of the present invention;

[0057] Figure 8 A functional block diagram of an FPGA used in a display device of the related art;

[0058] Fig. 9 is a schematic diagram of a photosensor according to an embodiment of the present invention;

[0059] Fig.10 A schematic structural diagram of a calibration device for a display device according to an embodiment of the present invention;

[0060] Fig.11 is a schematic structural diagram of a display device according to an embodiment of the present invention;

[0061] Fig.12 Schematic diagram of the structure of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0062] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0063] Currently, consumer-grade LCD monitors are gamma-calibrated (usually gamma2.2) before leaving the factory to ensure that the display image meets the viewing habits of the human eye; however, for professional-grade medical display devices, professional calibration must be performed before leaving the factory to ensure that the image meets the DICOM standard. In actual use, the reading room in the hospital is not a completely dark environment. There is a certain amount of ambient light, which will have a certain impact on the dark image (low grayscale image). Therefore, medical display devices need to calibrate DICOM based on ambient light to meet the minimum parallax of the human eye to ensure the accuracy of the doctor's diagnosis.

[0064] Please refer to Figure 1 The embodiment of the present invention provides a calibration method for a display device. The display device in the embodiment of the present invention may be a medical display device, and of course other types of display devices are not excluded. The calibration method for the display device includes:

[0065] Step 11: Detecting a first actual brightness value LmaxA when the display device displays a white picture and a second actual brightness value LminA when the display device displays a black picture in the absence of ambient light;

[0066] No ambient light means that all ambient light is turned off or the environment is completely dark.

[0067] In the embodiment of the present invention, a color analyzer may be used to detect a first actual brightness value LmaxA when the display device displays a white picture and a second actual brightness value LminA when the display device displays a black picture in the absence of ambient light.

[0068] In some embodiments, optionally, the brightness of the center of the screen of the display device may be detected to obtain a first actual brightness value LmaxA when the display device displays a white picture and a second actual brightness value LminA when the display device displays a black picture.

[0069] In some embodiments, if the grayscale value range is 0-255, the white screen is a screen displaying grayscale 255, and the black screen is a screen displaying grayscale 0; if the grayscale value range is 0-1023, the white screen is a screen displaying grayscale 1023, and the black screen is a screen displaying grayscale 0.

[0070] In some embodiments, it is assumed that the detected first actual brightness value LmaxA=500 nit, and the second actual brightness value=0.3 nit.

[0071] Step 12: Get the ambient light brightness value Lamb;

[0072] In the embodiment of the present invention, the ambient light illumination value can be detected by a illuminance meter, and then the ambient light illumination value can be converted into the ambient light brightness value Lamb. For example, the following formula can be used to convert illumination and brightness:

[0073] L=R×E

[0074] Among them, L is brightness, R is reflectance, and E is illumination.

[0075] In the embodiment of the present invention, assuming that the detected ambient light illumination value is 68 lux and the reflectivity of the screen of the display device is 0.0073, the ambient light brightness value Lamb calculated according to the above formula is 0.5 nit.

[0076] Step 13: obtaining a first theoretical brightness value Lmin' when the display device displays a black picture and a second theoretical brightness value Lmax' when the display device displays a white picture under the ambient light corresponding to the ambient light brightness value Lamb;

[0077] In some embodiments, optionally, obtaining a first theoretical brightness value of the display device when displaying a black screen and a second theoretical brightness value of the display device when displaying a white screen under the ambient light corresponding to the ambient light brightness value includes: determining the first theoretical brightness value of the display device when displaying a black screen based on the ambient light brightness value and a preset safety factor, wherein the first theoretical brightness value = the ambient light brightness value / the safety factor.

[0078] That is, under the ambient light corresponding to the ambient light brightness value Lamb, the first theoretical brightness value Lmin' of the display device when displaying a black screen is calculated using the following formula: Lmin'=Lamb / a, wherein a is a safety factor, and the value of the safety factor is [0,1], which can be determined based on experience, for example, it can be set to 0.3, assuming that Lamb=0.5nit, then according to the calculation formula of the above-mentioned first theoretical brightness value Lmin', it is obtained: Lmin'=Lamb / a=0.5 / 0.3=1.67nit.

[0079] Since the proportion of the brightness of ambient light is small and can be ignored when the display device displays a white screen, optionally, obtaining the first theoretical brightness value of the display device when displaying a black screen and the second theoretical brightness value of the display device when displaying a white screen under the ambient light corresponding to the ambient light brightness value includes: taking the first actual brightness value as the second theoretical brightness value, that is, Lmax'=LmaxA.

[0080] Step 14: determining a third theoretical brightness value Lmin when the display device displays a black picture in the absence of ambient light according to the ambient light brightness value Lamb and the first theoretical brightness value Lmin', and determining a fourth theoretical brightness value Lmax when the display device displays a white picture in the absence of ambient light according to the ambient light brightness value Lamb and the second theoretical brightness value Lmax';

[0081] In some embodiments, optionally, the third theoretical brightness value can be determined by the following formula: Lmin = Lmin'-Lamb, assuming that Lmin' = Lamb / a = 0.5 / 0.3 = 1.67nit, Lamb = 0.5nit, then Lmin = Lmin'-Lamb = 1.67-0.5 = 1.17nit. In some embodiments, assuming that the second actual brightness value LminA detected when the display device displays a black screen in the absence of ambient light is Lmin = 0.3nit, it can be seen that the second actual brightness value LminA deviates from the third theoretical brightness value Lmin when the display device displays a black screen in the absence of ambient light, and calibration is required to increase the brightness of the black screen to ensure that most of the brightness contribution of the black screen comes from the screen of the display device itself.

[0082] In some embodiments, optionally, the second theoretical brightness value Lmax' may be used as the fourth theoretical value Lmax.

[0083] Step 15: determining a theoretical brightness value of each grayscale according to the third theoretical brightness value Lmin and the fourth theoretical brightness value Lmax;

[0084] The DICOM Part 14 standard defines the functional relationship between human vision and brightness response (GSDF), also known as the DICOM curve. The DICOM curve is used to adjust the grayscale range and center position of medical images to change the contrast and brightness of the image. Medical display devices should comply with the DICOM curve. If they exceed the curve range, it will interfere with image diagnosis.

[0085] In the embodiment of the present invention, a GSDF (Grayscale Standard Display Function) may be used to calculate the theoretical brightness value of each grayscale.

[0086] In the embodiment of the present invention, optionally, the GSDF function uses the following formula to calculate the theoretical brightness value of each grayscale:

[0087]

[0088] j(L)=A+B·log 10 (L)+C·(log 10 (L) 2 +D·(log 10 (L) 3 +E·(log 10 (L) 4 +F·(log 10 (L) 5 +G·(log 10 (L) 6 +H·(log 10 (L) 7 +I·(log 10 (L) 8 ;

[0089]

[0090] JK = Jmin + k × Js;

[0091] Wherein, j(L) is the JND value of brightness L, JS and JK are intermediate process variables, n is the number of system board call bits, for example, 8 or 10, k is the sequence number of the grayscale, L(j) is the theoretical brightness value of the jth grayscale, and the value is, for example, 1-1023, Ln is the natural logarithm, a, b, c, d, e, f, g, h are constants, for example, a = -1.3011877, b = -2.5840191E-2, c = 8.2042636E-2, d = -1.0320229E-1, e = 1.3646699E -1, f=2.8745620E-2, g=-2.5468404E-2, h=-3.197897E-3, A, B, C, D, E, F, G, H, I are constants, for example, A=71.498068, B=94.593053, C=41.912053, D=9.8247004, E=0.28175407, F=-1.1878455, G=-0.18014349, H=0.14710899, I=-0.017046845.

[0092] The theoretical brightness value of each gray scale is determined as Figure 2 As shown, the DICOM (theoretical) column is the theoretical brightness value of each grayscale. For example, the theoretical brightness value that conforms to the DICOM standard corresponding to grayscale 0 is 1.169807754, and the theoretical brightness value that conforms to the DICOM standard corresponding to grayscale 1 is 1.186315691.

[0093] Step 16: Determine a calibrated brightness value that complies with the DICOM standard and corresponds to each grayscale according to the theoretical brightness value of each grayscale, and form a brightness lookup table of the display device according to the calibrated brightness values ​​corresponding to all grayscales.

[0094] Optionally, according to the theoretical brightness value of each gray scale, the calibrated brightness value corresponding to each gray scale is determined, including: for each gray scale, according to the theoretical brightness value of the gray scale, the ambient light brightness value, the second actual brightness value, the gray scale value corresponding to the gray scale, the maximum gray scale value, the correction coefficient, the second theoretical brightness value, the number of bits called by the system board of the display device, and the number of bits of the color depth of the display device, the calibrated brightness value corresponding to the gray scale is determined.

[0095] Optionally, the calibrated brightness value corresponding to each grayscale that complies with the DICOM standard can be calculated using the following formula:

[0096]

[0097] The theoretical brightness value is the theoretical brightness value of the gray scale, Lamb is the ambient light brightness value, LminA is the second actual brightness value, and Lmax′ is the second theoretical brightness value.

[0098] Assuming the system board calls the number of bits as 10bit, the grayscale value range is 0-1023, and the maximum grayscale value is 1023. If the system board calls the number of bits as Xbit, the corresponding grayscale value range becomes 0-2 X -1.

[0099] The color depth bit number of the display device is the actual color depth number of the module (most medical display devices currently use 10-bit color depth modules, which can display 0-1023 gray levels).

[0100] The correction factor is the actual gamma coefficient of the module ±0.01 (for example, 2.23±0.01).

[0101] Optionally, after substituting different grayscale values ​​into the above formula, a data table using decimal data will be obtained (due to the fluctuation of the correction coefficient, the decimal data obtained will also have a corresponding fluctuation range). The obtained data table is input into a base conversion tool to obtain a data table of machine-recognizable hexadecimal data, which is used as the brightness lookup table of the display device and stored in the Gamma LUT position of the system board.

[0102] In an embodiment of the present invention, the theoretical brightness values ​​of each grayscale of the display device that conform to the DICOM standard are calculated to form a brightness lookup table for the display device, so that when displaying a picture, the brightness lookup table can be used to adjust the output brightness of each grayscale so that the displayed picture is consistent with the DICOM standard.

[0103] In an embodiment of the present invention, optionally, the obtained ambient light brightness value includes multiple values, and each ambient light brightness value corresponds to a brightness lookup table. That is to say, different brightness lookup tables can be determined for different ambient lights, for example, different brightness lookup tables can be determined for several common ambient light brightnesses. For example, the ambient light illumination of the reading room in the medical industry is usually 25-75lux, then different brightness lookup tables can be determined for the four ambient light illuminations of 25lux, 35lux, 45lux, 55lux and 65lux, respectively. The ambient light illumination range corresponding to the first brightness lookup table can be 25-34lux, and the ambient light illumination range corresponding to the second brightness lookup table can be 35-44lux, and so on, wherein 25lux, 35lux, 45lux, 55lux and 65lux (or the brightness values ​​corresponding to these illumination values) can be called the initial values ​​of the ambient light brightness corresponding to the brightness lookup table.

[0104] In the embodiment of the present invention, optionally, among the plurality of ambient light brightness values, the intervals between two adjacent initial ambient light brightness values ​​are the same. For example, for an ambient light illumination range of 25-75 lux, a brightness lookup table is determined every 10 lux.

[0105] Please refer to Figure 3 , an embodiment of the present invention further provides a display method, comprising:

[0106] Step 21: for each pixel in the image to be displayed having an initial grayscale value, searching a target brightness lookup table for a calibrated brightness value corresponding to the initial grayscale value;

[0107] Step 22: Display the calibrated brightness values ​​corresponding to the grayscale initial values ​​of all pixels found;

[0108] Wherein, in the target brightness lookup table, each grayscale corresponds to a calibrated brightness value that complies with the DICOM standard.

[0109] It should be noted that, when the display device in the embodiment of the present invention adopts the DICOM mode, the above display method is executed. If the display device does not adopt the DICOM mode, a normal display method is used for display without brightness calibration.

[0110] In some embodiments, optionally, the display device has multiple brightness lookup tables, each of which corresponds to an ambient light brightness value range. For example, the first brightness lookup table corresponds to an ambient light brightness range of a1-a2, and the second brightness lookup table corresponds to an ambient light brightness range of a3-a4, where a1 and a3 can be called ambient light brightness initial values.

[0111] Optionally, for each pixel in the image to be displayed having an initial grayscale value, searching a target brightness lookup table for a calibrated brightness value corresponding to the initial grayscale value, the method further includes:

[0112] Acquire the ambient light brightness sensing value detected by the light sensor of the display device;

[0113] A target brightness lookup table corresponding to the ambient light brightness sensing value is called from a plurality of brightness lookup tables, and the ambient light brightness values ​​corresponding to the plurality of brightness lookup tables are different.

[0114] It should be noted that the value detected by the light sensor can be an ambient light illumination value, and the ambient light illumination value can be converted into a brightness value. Of course, the stored brightness lookup table may correspond to the ambient light illumination value. For example, the ambient light illumination range corresponding to the first brightness lookup table is 25-34 lux. At this time, if the value detected by the light sensor is an ambient light illumination value, it does not need to be converted into a brightness value.

[0115] In the embodiment of the present invention, optionally, for the sake of accuracy, the light-sensitive sensor of the display device may be used to detect the ambient light multiple times, for example, 50 times, and the average of the brightness values ​​detected multiple times is taken as the ambient light brightness sensing value.

[0116] In some embodiments, optionally, calling a target brightness lookup table corresponding to the ambient light brightness sensing value includes at least one of the following:

[0117] If the ambient light brightness sensing value is greater than or equal to the maximum value among the ambient light brightness initial values ​​corresponding to the plurality of brightness lookup tables, calling the brightness lookup table corresponding to the maximum value as the target brightness lookup table;

[0118] If the ambient light brightness sensing value is less than or equal to the minimum value among the ambient light brightness initial values ​​corresponding to the plurality of brightness lookup tables, calling the brightness lookup table corresponding to the minimum value as the target brightness lookup table;

[0119] If the ambient light brightness sensing value is greater than the ambient light brightness initial value of the first brightness lookup table and less than the ambient light brightness initial value of the second brightness lookup table, the second brightness lookup table is called as the target brightness lookup table, wherein the first brightness lookup table and the second brightness lookup table are adjacent.

[0120] In the embodiment of the present invention, optionally, if the ambient light brightness sensing value is greater than or equal to the maximum value of the ambient light brightness initial values ​​corresponding to the multiple brightness lookup tables, the method may further include: displaying prompt information, wherein the prompt information is used to prompt to reduce the ambient light.

[0121] In use, due to the presence of multiple brightness lookup tables, when the current ambient light brightness is near the initial values ​​of different brightness lookup tables, the brightness lookup table may be replaced, causing the screen to flicker due to slight changes in ambient light. For example, when the ambient light illumination is 34 lux, a brightness lookup table corresponding to the range of 25-34 lux may be used. When the ambient light illumination changes to 36 lux, a brightness lookup table corresponding to the range of 35-44 lux may need to be used, causing the screen to flicker due to the replacement of the brightness lookup table. To solve this problem, in some embodiments, optionally, the calling of the target brightness lookup table corresponding to the ambient light brightness sensing value also includes:

[0122] Continue to obtain the ambient light brightness sensing value detected by the light sensor of the display device;

[0123] Determine whether the currently acquired ambient light brightness sensing value is less than the difference between the ambient light brightness initial value of the brightness lookup table adjacent to the target brightness lookup table and the crossover point threshold, or whether the ambient light brightness sensing value is greater than the sum of the ambient light brightness initial value of the target brightness lookup table and the crossover point threshold;

[0124] If yes, return to the step of calling the target brightness lookup table corresponding to the ambient light brightness sensing value;

[0125] Otherwise, return to the step of continuing to obtain the ambient light brightness sensing value detected by the light sensor of the display device.

[0126] The crossing point threshold can be set as required.

[0127] The above method can also be called a crossover algorithm.

[0128] In one embodiment, please refer to Figure 4 , assuming the display device has 5 brightness lookup tables LUT ai (i=1, 2, 3, 4, 5), the initial values ​​of ambient light brightness corresponding to the five brightness lookup tables are L ai (i=1, 2, 3, 4, 5). The crossing threshold is L ath .

[0129] The display method of the embodiment of the present invention may include:

[0130] Step 31: Get the ambient light brightness sensing value L a Optionally, the ambient light brightness can be measured multiple times (e.g., 50 times) and the average value can be taken to obtain the ambient light brightness sensing value L a .

[0131] Step 32: The calling and the ambient light brightness sensing value L a The corresponding target brightness lookup table includes at least one of the following:

[0132] If the ambient light brightness sensing value L a >L a5 , call L a5 The corresponding brightness lookup table is used as the target brightness lookup table; optionally, prompt information is also displayed, and the prompt information is used to prompt to reduce the ambient light.

[0133] If the ambient light brightness sensing value L a <L a1 , call L a1 The corresponding brightness lookup table is used as the target brightness lookup table;

[0134] If L a(i-1) <The ambient light brightness sensing value L a <Lai , call LUT ai Among them, you can set L a0 =0.

[0135] Step 33: Continue to obtain the ambient light brightness sensing value L detected by the light sensor of the display device a ; Determine the currently acquired ambient light brightness sensing value L a Is it less than L a(i-1) -L ath , or, the ambient light brightness sensing value L a Is it greater than L ai +L ath ;

[0136] If so, return to the step of calling the target brightness lookup table corresponding to the ambient light brightness sensing value; otherwise, return to the step of continuing to obtain the ambient light brightness sensing value detected by the photosensor of the display device.

[0137] In the embodiment of the present invention, when the input source signal enters the system board of the display device, the main control MCU (Microcontroller Unit) starts to analyze the display image. When the display device enables the DICOM mode, the main control MCU calls the brightness lookup table stored in the Gamma LUT to perform brightness search, and outputs the brightness calibration value found to the display panel of the display device.

[0138] Please refer to Figure 5 , Figure 5 Schematic diagram of the comparison of the contrast response of the DICOM curve of the display device and the standard DICOM curve when the ambient light is not considered. Figure 5 It can be seen that the contrast response index of the DICOM curve does not meet the requirements of the standard. Please refer to Figure 6 , Figure 6 FIG. 1 is a schematic diagram comparing the contrast response of the DICOM curve of the display device considering the ambient light according to the embodiment of the present invention and the standard DICOM curve. Figure 6 It can be seen that the contrast response index of the DICOM curve is much smaller than the required value in the standard (≤15%), the maximum deviation is only 4.2%, and the safety factor a=0.3.

[0139] Contrast response is a key parameter for evaluating medical display devices. Contrast response is calculated using the slope of brightness response. i (measured contrast) and Grayscale Standard Display Function (GSDF) values (The target contrast of GSDF) is calculated as follows:

[0140]

[0141]

[0142] Among them, L′ i is the brightness value at index i, L′ i d is the target brightness value corresponding to the grayscale standard display function.

[0143] The tolerance value for the contrast response index in the standard is specified as ±15%. Within this tolerance value, the machine is deemed to meet the standard.

[0144] The display device in the embodiment of the present invention can use SoC (System on a Chip, chip system, system-level chip or system on chip) to execute the above display method. The functional block diagram of SoC is as follows: Figure 7 As shown in the figure, the middle box is the internal architecture of SOC, and the functional modules are integrated on the same chip IC. SOC can process input source signals, control the display panel (PANEL) and LED driver (driver), communicate with the light sensor, and control the use of peripherals.

[0145] like Figure 8 As shown in FIG. 1 , a functional block diagram of an FPGA (Field Programmable Gate Array) used in a display device of the related art is shown. Figure 8 It can be seen that the process from signal input to normal panel display has to go through many IC processing (MUX / Engine / LUT / OSD is FPGA IC, HDMI decoding / DP decoding / USB decoding, etc. are all independent ICs, external DDR (Double Data Rate), MCU IC, output encoding IC), among which the LUT (lookup table) and OSD (screen display) menu display in FPGA need to use MCU (microcontroller unit) to design OSD and calculate LUT.

[0146] Compared with the FPGA used in the display device of the related art, SoC has the following advantages as shown in Table 1:

[0147] Table 1

[0148]

[0149]

[0150] The display device in the embodiment of the present invention further has a light sensor. In addition to the portrait detection function, the more important function of the light sensor is ambient light detection. Fig. 9 , Fig. 9 The schematic diagram of the light sensor of the embodiment of the present invention is shown in FIG. 1. At present, the ambient light in the room is 25-75 lux. With this solution, the safety factor can be ≤0.3, and the contrast response is <10%, which meets the industry standard for Class A devices.

[0151] Please refer to Fig.10 The embodiment of the present invention further provides a calibration device 100 for a display device, comprising:

[0152] A detection module 101, configured to detect a first actual brightness value when the display device displays a white picture and a second actual brightness value when the display device displays a black picture in the absence of ambient light;

[0153] A first acquisition module 102 is used to acquire the ambient light brightness value;

[0154] A second acquisition module 103 is used to acquire a first theoretical brightness value when the display device displays a black picture and a second theoretical brightness value when the display device displays a white picture under the ambient light corresponding to the ambient light brightness value; the second theoretical brightness value is determined according to the first actual brightness value;

[0155] a first determining module 104, configured to determine, according to the ambient light brightness value and the first theoretical brightness value, a third theoretical brightness value when the display device displays a black picture in the absence of ambient light, and, according to the ambient light brightness value and the second theoretical brightness value, a fourth theoretical brightness value when the display device displays a white picture in the absence of ambient light;

[0156] A second determination module 105, configured to determine a theoretical brightness value of each gray scale according to the third theoretical brightness value and the fourth theoretical brightness value;

[0157] The third determination module 106 is used to determine the calibrated brightness value corresponding to each gray scale according to the theoretical brightness value of each gray scale and conform to the DICOM standard, and form a brightness lookup table of the display device according to the calibrated brightness values ​​corresponding to all gray scales.

[0158] Optionally, the second acquisition module 103 is used to determine a first theoretical brightness value of the display device when displaying a black screen based on the ambient light brightness value and a preset safety factor, wherein the first theoretical brightness value = the ambient light brightness value / the safety factor; and the first actual brightness value is used as the second theoretical brightness value.

[0159] Optionally, the second determination module 105 is used to determine, for each grayscale, the calibrated brightness value corresponding to the grayscale based on the theoretical brightness value of the grayscale, the ambient light brightness value, the second actual brightness value, the grayscale value corresponding to the grayscale, the maximum grayscale value, the correction coefficient, the second theoretical brightness value, the number of system board call bits of the display device, and the number of color depth bits of the display device.

[0160] Optionally, the acquired ambient light brightness value includes multiple values, and each ambient light brightness value corresponds to one brightness lookup table.

[0161] Please refer to Fig.11 The embodiment of the present invention further provides a display device 110, including:

[0162] A search module 111 is used to search for a calibrated brightness value corresponding to the grayscale initial value of each pixel in the image to be displayed from a target brightness lookup table;

[0163] A display module 112, configured to display the calibrated brightness values ​​corresponding to the grayscale initial values ​​of all pixels found;

[0164] Wherein, in the target brightness lookup table, each grayscale corresponds to a calibrated brightness value that complies with the DICOM standard.

[0165] Optionally, the display device 110 further includes:

[0166] An acquisition module, used to acquire a sensed value of ambient light brightness detected by a light sensor of the display device;

[0167] The calling module is used to call a target brightness lookup table corresponding to the ambient light brightness sensing value from a plurality of brightness lookup tables, wherein the plurality of brightness lookup tables correspond to different ambient light brightness values.

[0168] Optionally, the calling module is used to perform at least one of the following:

[0169] If the ambient light brightness sensing value is greater than or equal to the maximum value among the ambient light brightness initial values ​​corresponding to the plurality of brightness lookup tables, calling the brightness lookup table corresponding to the maximum value as the target brightness lookup table;

[0170] If the ambient light brightness sensing value is less than or equal to the minimum value among the ambient light brightness initial values ​​corresponding to the plurality of brightness lookup tables, calling the brightness lookup table corresponding to the minimum value as the target brightness lookup table;

[0171] If the ambient light brightness sensing value is greater than the ambient light brightness initial value of the first brightness lookup table and less than the ambient light brightness initial value of the second brightness lookup table, the second brightness lookup table is called as the target brightness lookup table, wherein the first brightness lookup table and the second brightness lookup table are adjacent.

[0172] Optionally, the calling module is also used to continue to obtain the ambient light brightness sensing value detected by the photosensor of the display device; determine whether the ambient light brightness sensing value currently obtained is less than the difference between the ambient light brightness initial value of the adjacent brightness lookup table before the target brightness lookup table and the crossover point threshold, or whether the ambient light brightness sensing value is greater than the sum of the ambient light brightness initial value of the target brightness lookup table and the crossover point threshold; if so, return to the step of calling the target brightness lookup table corresponding to the ambient light brightness sensing value; otherwise, return to the step of continuing to obtain the ambient light brightness sensing value detected by the photosensor of the display device.

[0173] Please refer to Fig.12 An embodiment of the present invention further provides an electronic device 120, including a processor 121, a memory 122, and a computer program stored in the memory 122 and executable on the processor 121. When the computer program is executed by the processor 121, the calibration method of the display device or each process of the display method embodiment described above is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.

[0174] The embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the calibration method of the display device or each process of the display method embodiment described above can be implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here. The computer-readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0175] The present application also provides a computer program product, including computer instructions, which, when executed by a processor, implement the above Figure 1 or Figure 3 The various processes of the method embodiment shown can achieve the same technical effect, and will not be described again here to avoid repetition.

[0176] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0177] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present invention.

[0178] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the enlightenment of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the present invention and the claims, all of which are within the protection of the present invention.

Claims

1. A method for calibrating a display device, characterized in that: include: Detecting a first actual brightness value of the display device when displaying a white picture and a second actual brightness value of the display device when displaying a black picture in the absence of ambient light; Get the ambient light brightness value; Acquire a first theoretical brightness value of the display device when displaying a black picture and a second theoretical brightness value of the display device when displaying a white picture under the ambient light corresponding to the ambient light brightness value; The second theoretical brightness value is determined according to the first actual brightness value; Determine, according to the ambient light brightness value and the first theoretical brightness value, a third theoretical brightness value when the display device displays a black picture in the absence of ambient light; and, according to the ambient light brightness value and the second theoretical brightness value, determine a fourth theoretical brightness value when the display device displays a white picture in the absence of ambient light; Determining a theoretical brightness value of each grayscale according to the third theoretical brightness value and the fourth theoretical brightness value; According to the theoretical brightness value of each gray scale, a calibrated brightness value corresponding to each gray scale and conforming to the DICOM standard is determined, and a brightness lookup table of the display device is formed according to the calibrated brightness values ​​corresponding to all gray scales.

2. The method according to claim 1, characterized in that The obtaining of a first theoretical brightness value of the display device when displaying a black picture and a second theoretical brightness value of the display device when displaying a white picture under the ambient light corresponding to the ambient light brightness value includes: Determining a first theoretical brightness value of the display device when displaying a black screen according to the ambient light brightness value and a preset safety factor, wherein the first theoretical brightness value=the ambient light brightness value / the safety factor; The first actual brightness value is used as the second theoretical brightness value.

3. The method according to claim 1, characterized in that Determining a calibrated brightness value corresponding to each grayscale according to the theoretical brightness value of each grayscale includes: For each grayscale, the calibrated brightness value corresponding to the grayscale is determined based on the theoretical brightness value of the grayscale, the ambient light brightness value, the second actual brightness value, the grayscale value corresponding to the grayscale, the maximum grayscale value, the correction coefficient, the second theoretical brightness value, the number of system board call bits of the display device, and the number of color depth bits of the display device.

4. The method according to any one of claims 1 to 3, characterized in that: The acquired ambient light brightness values ​​include a plurality of values, and each of the ambient light brightness values ​​corresponds to one of the brightness lookup tables.

5. A display method, characterized in that: include: For each pixel in the image to be displayed, searching for a calibrated brightness value corresponding to the grayscale initial value from a target brightness lookup table; Display the calibrated brightness values ​​corresponding to the grayscale initial values ​​of all pixels found; Wherein, in the target brightness lookup table, each grayscale corresponds to a calibrated brightness value that complies with the DICOM standard.

6. The method according to claim 5, characterized in that For each pixel in the image to be displayed, the initial grayscale value is searched from a target brightness lookup table for a calibrated brightness value corresponding to the initial grayscale value, and the method further comprises: Obtaining an ambient light brightness sensing value detected by a light sensor of the display device; A target brightness lookup table corresponding to the ambient light brightness sensing value is called from a plurality of brightness lookup tables, and the ambient light brightness values ​​corresponding to the plurality of brightness lookup tables are different.

7. The method according to claim 6, characterized in that The calling of the target brightness lookup table corresponding to the ambient light brightness sensing value includes at least one of the following: If the ambient light brightness sensing value is greater than or equal to the maximum value among the ambient light brightness initial values ​​corresponding to the plurality of brightness lookup tables, calling the brightness lookup table corresponding to the maximum value as the target brightness lookup table; If the ambient light brightness sensing value is less than or equal to the minimum value among the ambient light brightness initial values ​​corresponding to the plurality of brightness lookup tables, calling the brightness lookup table corresponding to the minimum value as the target brightness lookup table; If the ambient light brightness sensing value is greater than the ambient light brightness initial value of the first brightness lookup table and less than the ambient light brightness initial value of the second brightness lookup table, the second brightness lookup table is called as the target brightness lookup table, wherein the first brightness lookup table and the second brightness lookup table are adjacent.

8. The method according to claim 7, characterized in that The calling of the target brightness lookup table corresponding to the ambient light brightness sensing value further includes: Continue to obtain the ambient light brightness sensing value detected by the light sensor of the display device; Determine whether the currently acquired ambient light brightness sensing value is less than the difference between the ambient light brightness initial value of the brightness lookup table adjacent to the target brightness lookup table and the crossover point threshold, or whether the ambient light brightness sensing value is greater than the sum of the ambient light brightness initial value of the target brightness lookup table and the crossover point threshold; If yes, return to the step of calling the target brightness lookup table corresponding to the ambient light brightness sensing value; Otherwise, return to the step of continuing to obtain the ambient light brightness sensing value detected by the light sensor of the display device.

9. A calibration device for a display device, characterized in that: include: A detection module, used to detect a first actual brightness value when the display device displays a white picture and a second actual brightness value when the display device displays a black picture in the absence of ambient light; The first acquisition module is used to obtain the ambient light brightness value; A second acquisition module is used to acquire a first theoretical brightness value when the display device displays a black picture and a second theoretical brightness value when the display device displays a white picture under the ambient light corresponding to the ambient light brightness value; The second theoretical brightness value is determined according to the first actual brightness value; a first determining module, configured to determine, according to the ambient light brightness value and the first theoretical brightness value, a third theoretical brightness value when the display device displays a black picture in the absence of ambient light, and, according to the ambient light brightness value and the second theoretical brightness value, a fourth theoretical brightness value when the display device displays a white picture in the absence of ambient light; A second determination module, used to determine a theoretical brightness value of each gray scale according to the third theoretical brightness value and the fourth theoretical brightness value; The third determination module is used to determine the calibrated brightness value corresponding to each grayscale and compliant with the DICOM standard according to the theoretical brightness value of each grayscale, and form a brightness lookup table of the display device according to the calibrated brightness values ​​corresponding to all grayscales.

10. A display device, characterized in that: include: A search module, for searching, for each pixel in the image to be displayed, a calibrated brightness value corresponding to the grayscale initial value from a target brightness search table; A display module, used for displaying the calibrated brightness values ​​corresponding to the grayscale initial values ​​of all pixels found; Wherein, in the target brightness lookup table, each grayscale corresponds to a calibrated brightness value that complies with the DICOM standard.

11. An electronic device, characterized in that: include: A processor, a memory, and a program stored in the memory and executable on the processor, wherein the program, when executed by the processor, implements the steps of a calibration method for a display device as described in any one of claims 1 to 4, or the program, when executed by the processor, implements the steps of a display method as described in any one of claims 5 to 8.

12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the display device calibration method as described in any one of claims 1 to 4; or, when executed by a processor, implements the steps of the display method as described in any one of claims 5 to 8.

13. A computer program product, characterized in that The method comprises computer instructions, which, when executed by a processor, implement the steps of the display device calibration method as described in any one of claims 1 to 4, or, when executed by a processor, implement the steps of the display method as described in any one of claims 5 to 8.