Medical display illumination correction method and system
By acquiring the ambient light and pre-output brightness in the medical display, correcting the backlight brightness and pixel data, and adjusting the LUT table, the problem of poor grayscale calibration in the hospital reading environment is solved, and more accurate light compensation and more accurate light compensation are achieved. Good gray scale resolution.
Patent Information
- Application Number
- CN202410331989.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-22
- Publication Date
- 2024-08-23
AI Technical Summary
In the actual hospital reading environment, it is difficult to strictly control the room illumination to comply with the draft regulations of DIN 6868-157, resulting in poor grayscale calibration of the monitor and affecting the doctor's grayscale resolution of images.
By obtaining the ambient illumination and display pre-output brightness, perform backlight brightness correction and pixel data integration calculation, adjust the LUT table to achieve accurate light compensation of the display, and output the final display image. Two LUT tables are used in a ping-pong structure to alternately run in time to ensure display. Continuity of effect.
The display effect of the medical monitor is improved and is more in line with the human visual model, allowing doctors to more easily distinguish various grayscales in the image, and enhancing the brightness compensation capability of the monitor.
Smart Images

Figure CN118538140A
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of medical displays, and in particular relates to a method and system for calibrating illumination of a medical display. Background Art
[0002] Doctors need to use a dedicated medical radiology display when reading DR, CT, and MRI films. Professional medical displays need to use the GSDF display curve specified in DICOM part14 for grayscale calibration to ensure that the different grayscales displayed on the display can be distinguished by the human eye. In addition, the ambient illumination of the reading room also needs to be controlled. The draft DIN 6868-157 stipulates that the ambient illumination of the diagnostic reading environment needs to be controlled to ≤50lx. There are two reasons for controlling the ambient illumination: one is to reduce the intensity of ambient light diffusely reflected on the screen surface, and the other is to reduce the stimulation of ambient light to the human eye and ensure that the pupil of the human eye does not shrink significantly due to excessive ambient light. However, in the actual hospital reading environment, it is difficult to strictly control the illumination of the room to meet the requirements of the draft DIN 6868-157. Doctors usually need a certain ambient illumination to read paper reports and other documents. Therefore, professional medical radiology displays are usually equipped with an ambient light compensation mechanism: by detecting the current ambient light brightness, the display brightness is adjusted dynamically in real time or a display correction curve is displayed, making the grayscale of the displayed image easier for the human eye to recognize.
[0003] However, the image content of the display itself will also produce brightness stimulation to the human eye, affecting the human visual system and causing the human eye's response to each grayscale to change. How to further optimize the display performance of the display is an important issue that needs to be solved urgently. Summary of the invention
[0004] In order to solve the defects in the prior art, the present invention discloses a medical display illumination correction method and system, which makes the display effect more consistent with the human eye visual model through a more accurate medical display light compensation method, making it easier for doctors to distinguish the various gray levels in the image.
[0005] To achieve the above object, the present invention is implemented by adopting the following technical solutions:
[0006] The first object of the present invention is to provide a method for calibrating illumination of a medical display, comprising:
[0007] Get the current ambient light illumination and the display pre-output brightness;
[0008] According to the current ambient light illumination, the pre-output brightness of the display and the preset compensation parameters, the input image is corrected for backlight brightness, and the final backlight brightness of the display is output;
[0009] Get pixel data of input image;
[0010] According to the pixel data of the input image, the brightness integral calculation is performed and the brightness integral value of the display is output;
[0011] Calculate and correct the LUT table according to the final backlight brightness of the display and the integrated value of the display brightness, and output the corrected LUT table;
[0012] According to the pixel data of the input image and the corrected LUT table, the input image is pixel corrected and the final pixel display data of the display is output;
[0013] According to the final backlight brightness of the display and the final pixel display data of the display, the final display image of the display is output to complete the illumination correction of the display.
[0014] Furthermore, the calculation formula for the final backlight brightness of the display includes:
[0015] L=L1+αL2
[0016] Wherein, L is the final backlight brightness of the display; L1 is the brightness pre-output by the display; L2 is the illumination of the current ambient light; and α is the preset compensation parameter.
[0017] Furthermore, the preset compensation parameter is set according to the reflectivity of diffusely reflected light on the surface of the liquid crystal panel of the display, and the value range of the preset compensation parameter includes 0.5% to 1.3%.
[0018] Furthermore, the brightness integral calculation is performed based on the pixel data of the input image, and the brightness integral value of the display is output; the formula for the brightness integral calculation includes:
[0019]
[0020] Where, k is the integral value of the display brightness; L x,y is the brightness information of the input image; x and y are the row and column values of the pixels of the input image respectively; W and H are the total number of pixels in the width and height directions of the input image respectively;
[0021] Among them, when the display is a color display, L x,y The calculation formula includes:
[0022] L x,y =0.299R x,y +0.587G x,y +0.114B x,y
[0023] When the display is a grayscale display, L x,y The calculation formula includes:
[0024] Lx,y =(R x,y +G x,y +B x,y ) / 3
[0025] In the formula, R x,y , G x,y and B x,y They are the RGB values of the input pixels respectively.
[0026] Furthermore, the calculation and correction of the LUT table includes adjusting the original DICOM GSDF correction curve. The specific adjustment method is as follows:
[0027] Assume that according to the DICOM GSDF correction curve, the input pixel data (R x,y ,G x,y ,B x,y ) is mapped to (R' x,y ,G' x,y ,B' x,y ), the output pixel of this method is
[0028] R o x,y =R x,y ×(R' x,y / R x,y ) 1-ηk
[0029] G o x,y =G x,y ×(G' x,y / G x,y ) 1-ηk
[0030] B o x,y =B x,y ×(B' x,y / B x,y ) 1-ηk
[0031] Wherein, η is the panel correction parameter, and according to the difference of the transmittance parameter of the liquid crystal panel itself, the value range is generally 7% to 10%. According to the output pixel value, the LUT table generation module calculates the corresponding correction LUT table.
[0032] Furthermore, the LUT table has two spaces. When the current LUT table calculation is not completed, the LUT table calculated at the previous moment is first used for display. When the LUT table calculation is completed, the next frame image is switched to the newly calculated LUT table.
[0033] A second object of the present invention is to provide a medical display illumination correction system, comprising:
[0034] Ambient light illuminance sampling module, used to obtain the current ambient light illuminance;
[0035] User brightness setting module, used to set and obtain the pre-output brightness of the display;
[0036] An image processing correction module is used to perform backlight brightness correction and pixel correction on the input image according to the illumination of the current ambient light, the brightness pre-output by the display, the pixel data of the input image and the preset compensation parameters, and output the final backlight brightness of the display and the final pixel display data of the display;
[0037] The display module is used to output the final display image of the display according to the final backlight brightness data of the display and the final pixel display data of the display output by the image processing and correction module.
[0038] Furthermore, the image processing correction module includes a display backlight calculation module, a LUT table generation module, an integral calculation module and a pixel correction module;
[0039] The display backlight calculation module is used to perform backlight brightness correction on the input image according to the illumination of the current ambient light, the brightness pre-output by the display and the preset compensation parameters, and output the final backlight brightness of the display;
[0040] The integral calculation module is used to perform brightness integral calculation according to the pixel data of the input image and output the brightness integral value of the display;
[0041] The LUT table generation module is used to calculate and correct the LUT table according to the final backlight brightness of the display and the display brightness integral value, and output the corrected LUT table;
[0042] The pixel correction module is used to perform pixel correction on the input image according to the pixel data of the input image and the corrected LUT table, and output the final pixel display data of the display.
[0043] Furthermore, the display module includes an LCD backlight driving module and an LCD liquid crystal driving module; the LCD backlight driving module is used to perform backlight display according to the final backlight brightness data of the display, and the LCD liquid crystal driving module is used to display the corrected output image according to the final pixel display data of the display.
[0044] Compared with the prior art, the beneficial effects achieved by the present invention are:
[0045] The present invention adds the brightness stimulation generated by the display itself into the display compensation mechanism, and uses two ping-pong structures to alternately run the calculation of the LUT table to calculate and correct the backlight of the display and the pixels of the input image, and finally outputs the corrected image, so as to more accurately compensate the light of the medical display, make the display effect more consistent with the human eye visual model, and make it easier for doctors to distinguish the various gray levels in the image. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] Figure 1 This is a flow chart of the illumination correction method for a medical display of the present invention;
[0047] Figure 2 It is a schematic diagram of the framework of the medical display illumination correction system of the present invention. DETAILED DESCRIPTION
[0048] The present invention will be further described below in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present invention, and cannot be used to limit the protection scope of the present invention.
[0049] Example 1
[0050] This embodiment provides a method for calibrating illumination of a medical display, comprising:
[0051] Get the current ambient light illumination and the display pre-output brightness;
[0052] According to the current ambient light illumination, the pre-output brightness of the display and the preset compensation parameters, the input image is corrected for backlight brightness, and the final backlight brightness of the display is output;
[0053] Get pixel data of input image;
[0054] According to the pixel data of the input image, the brightness integral calculation is performed and the brightness integral value of the display is output;
[0055] Correct the LUT table according to the final backlight brightness of the display and the integral value of the brightness of the display, and output the corrected LUT table;
[0056] According to the pixel data of the input image and the corrected LUT table, the input image is pixel corrected and the final pixel display data of the display is output;
[0057] According to the final backlight brightness of the display and the final pixel display data of the display, the final display image of the display is output to complete the illumination correction of the display.
[0058] Among them, the calculation formula of the final backlight brightness of the display includes:
[0059] L=L1+αL2
[0060] Wherein, L is the final backlight brightness of the display; L1 is the brightness of the display output in advance; L2 is the illumination of the current ambient light; α is the preset compensation parameter. The preset compensation parameter is set according to the reflectivity of the diffuse light on the surface of the liquid crystal panel of the display, and the preset compensation parameter value range includes 0.5% to 1.3%.
[0061] The brightness integral calculation is performed according to the pixel data of the input image, and the brightness integral value of the display is output; the formula for the brightness integral calculation includes:
[0062]
[0063] Where, k is the integral value of the display brightness; L x,y is the brightness information of the input image; x and y are the row and column values of the pixels of the input image respectively; W and H are the total number of pixels in the width and height directions of the input image respectively;
[0064] Among them, when the display is a color display, L x,y The calculation formula includes:
[0065] L x,y =0.299R x,y +0.587G x,y +0.114B x,y
[0066] When the display is a grayscale display, L x,y The calculation formula includes:
[0067] L x,y =(R x,y +G x,y +B x,y ) / 3
[0068] In the formula, R x,y , G x,y and B x,y They are the RGB values of the output pixels respectively.
[0069] In this embodiment, the LUT table is corrected by adjusting the original DICOM GSDF correction curve. In this embodiment, in order to ensure uninterrupted image display, the LUT table uses two LUTs to perform ping-pong structure time-sharing alternating operation. When the current LUT table calculation is not completed, the LUT table calculated at the previous moment is first used for display. When the LUT table calculation is completed, the newly calculated LUT table is switched to the next frame image.
[0070] The specific correction method is as follows: Assuming that according to the DICOM GSDF correction curve, the input pixel data (R x,y ,G x,y ,B x,y) is mapped to (R' x,y ,G' x,y ,B' x,y ), the output pixel of this method is
[0071] R o x,y =R x,y ×(R' x,y / R x,y ) 1-ηk
[0072] G o x,y =G x,y ×(G' x,y / G x,y ) 1-ηk
[0073] B o x,y =B x,y ×(B' x,y / B x,y ) 1-ηk
[0074] Wherein, η is the panel correction parameter, and according to the difference of the transmittance parameter of the liquid crystal panel itself, the value range is generally 7% to 10%. According to the output pixel value, the LUT table generation module calculates the corresponding correction LUT table.
[0075] The present invention adds the brightness stimulation generated by the display itself into the display compensation mechanism, and uses two ping-pong structures to alternately run the calculation of the LUT table to calculate and correct the backlight of the display and the pixels of the input image, and finally outputs the corrected image, so as to more accurately compensate the light of the medical display, make the display effect more consistent with the human eye visual model, and make it easier for doctors to distinguish the various gray levels in the image.
[0076] Example 2
[0077] like Figure 2 As shown, this embodiment provides a medical display illumination correction system, including:
[0078] User brightness setting module, used to set and obtain the pre-output brightness of the display;
[0079] An image processing correction module is used to perform backlight brightness correction and pixel correction on the input image according to the illumination of the current ambient light, the brightness pre-output by the display, the pixel data of the input image and the preset compensation parameters, and output the final backlight brightness of the display and the final pixel display data of the display;
[0080] The display module is used to output the final display image of the display according to the final backlight brightness data of the display and the final pixel display data of the display output by the image processing and correction module.
[0081] The image processing correction module includes a display backlight calculation module, a LUT table generation module, an integral calculation module and a pixel correction module; the display backlight calculation module is used to perform backlight brightness correction on the input image according to the illumination of the current ambient light, the brightness pre-output by the display and the preset compensation parameters, and output the final backlight brightness of the display; the integral calculation module is used to perform brightness integral calculation according to the pixel data of the input image, and output the display brightness integral value; the LUT table generation module is used to calculate and correct the LUT table according to the final backlight brightness of the display and the display brightness integral value, and output the corrected LUT table; the pixel correction module is used to perform pixel correction on the input image according to the pixel data of the input image and the corrected LUT table, and output the final pixel display data of the display. The display module includes an LCD backlight driver module and an LCD liquid crystal driver module; the LCD backlight driver module is used to perform backlight display according to the final backlight brightness data of the display, and the LCD liquid crystal driver module is used to display the corrected output image according to the final pixel display data of the display.
[0082] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the technical principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A method for calibrating illumination of a medical display, characterized in that: include: Obtain pixel data of the input image, the illumination of the current ambient light, and the brightness of the display output; The backlight brightness of the input image is calculated according to the illumination of the current ambient light, the brightness of the display output in advance, and the preset compensation parameters to obtain the final backlight brightness of the display; Perform brightness integral calculation according to pixel data of the input image to obtain the brightness integral value of the display; According to the final backlight brightness of the display and the integrated value of the display brightness, a LUT table is obtained; According to the pixel data of the input image and the LUT table, the input image is pixel corrected to obtain the final pixel display data of the display; According to the final backlight brightness of the display and the final pixel display data of the display, the final display image of the display is output to complete the illumination correction of the display.
2. The medical display illumination correction method according to claim 1, characterized in that: The calculation formula for the final backlight brightness of the display includes: L=L1+αL2 Wherein, L is the final backlight brightness of the display; L1 is the brightness pre-output by the display; L2 is the illumination of the current ambient light; and α is the preset compensation parameter.
3. The medical display illumination correction method according to claim 2, characterized in that: The preset compensation parameter is set according to the reflectivity of diffusely reflected light on the surface of the liquid crystal panel of the display, and the value range of the preset compensation parameter includes 0.5% to 1.3%.
4. The medical display illumination correction method according to claim 1, characterized in that: The formula for calculating the brightness integral includes: Where, k is the integral value of the display brightness; L x,y is the brightness information of the input image; x and y are the row and column values of the pixels of the input image respectively; W and H are the total number of pixels in the width and height directions of the input image respectively; Among them, when the display is a color display, L x,y The calculation formula includes: L x,y =0.299R x,y +0.587G x,y +0.114B x,y When the display is a grayscale display, L x,y The calculation formula includes: L x,y =(R x,y +G x,y +B x,y ) / 3 In the formula, R x,y , G x,y and B x,y They are the RGB values of the input pixels respectively.
5. The medical display illumination correction method according to claim 1, characterized in that: The LUT table is corrected by adjusting the original DICOMGSDF correction curve; The adjustment calculation formula of the original DICOM GSDF correction curve includes: R o x,y =R x,y ×(R’ x,y / R x,y ) 1-ηk G o x,y =G x,y ×(G' x,y / G x,y ) 1-ηk B o x,y =B x,y ×(B’ x,y / B x,y ) 1-ηk Among them, R x,y , G x,y and B x,y are the RGB values of the pixels in the input image; R' x,y , G' x,y and B' x,y are the mapped RGB values of the input image pixels; η is the panel correction parameter; k is the display brightness integral value; R o x,y , G o x,y and B o x,y They are the RGB values of the pixels of the input image after being adjusted by the original DICOM GSDF correction curve.
6. The medical display illumination correction method according to claim 5, characterized in that: The panel correction parameter η is in the range of 7% to 10% according to the difference in transmittance parameters of the liquid crystal panel in the display.
7. The medical display illumination correction method according to claim 1, characterized in that: The LUT table has two spaces. When the current LUT table calculation is not completed, the LUT table calculated at the previous moment is first used for display. When the LUT table calculation is completed, the next frame image is switched to the newly calculated LUT table.
8. A medical display illumination correction system, characterized in that: include: Ambient light illuminance sampling module, used to obtain the current ambient light illuminance; User brightness setting module, used to set and obtain the pre-output brightness of the display; An image processing correction module is used to perform backlight brightness correction and pixel correction on the input image according to the illumination of the current ambient light, the brightness pre-output by the display, the pixel data of the input image and the preset compensation parameters, and output the final backlight brightness of the display and the final pixel display data of the display; The display module is used to output the final display image of the display according to the final backlight brightness data of the display and the final pixel display data of the display output by the image processing and correction module.
9. The medical display illumination correction system according to claim 8, characterized in that: The image processing correction module includes a display backlight calculation module, a LUT table generation module, an integral calculation module and a pixel correction module; The display backlight calculation module is used to perform backlight brightness correction on the input image according to the illumination of the current ambient light, the brightness pre-output by the display and the preset compensation parameters, and output the final backlight brightness of the display; The integral calculation module is used to perform brightness integral calculation according to the pixel data of the input image and output the brightness integral value of the display; The LUT table generation module is used to calculate and correct the LUT table according to the final backlight brightness of the display and the display brightness integral value, and output the corrected LUT table; The pixel correction module is used to perform pixel correction on the input image according to the pixel data of the input image and the corrected LUT table, and output the final pixel display data of the display.
10. The medical display illumination correction system according to claim 8, characterized in that: The display module includes an LCD backlight driving module and an LCD liquid crystal driving module; the LCD backlight driving module is used to perform backlight display according to the final backlight brightness data of the display, and the LCD liquid crystal driving module is used to display a corrected output image according to the final pixel display data of the display.
Citation Information
Cited By
Brightness adjustment method and device of display panel, storage medium and electronic equipment
CN119889197A
