CN110827734A - Automatic Gamma curve setting method for display - Google Patents

Automatic Gamma curve setting method for display Download PDF

Info

Publication number
CN110827734A
CN110827734A CN201810891430.5A CN201810891430A CN110827734A CN 110827734 A CN110827734 A CN 110827734A CN 201810891430 A CN201810891430 A CN 201810891430A CN 110827734 A CN110827734 A CN 110827734A
Authority
CN
China
Prior art keywords
value
image
gray
input image
gamma
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.)
Pending
Application number
CN201810891430.5A
Other languages
Chinese (zh)
Inventor
彭娟苓
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
DIVA LABORATORIES Ltd
Original Assignee
DIVA LABORATORIES Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by DIVA LABORATORIES Ltd filed Critical DIVA LABORATORIES Ltd
Priority to CN201810891430.5A priority Critical patent/CN110827734A/en
Publication of CN110827734A publication Critical patent/CN110827734A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/02Improving the quality of display appearance
    • G09G2320/0271Adjustment of the gradation levels within the range of the gradation scale, e.g. by redistribution or clipping
    • G09G2320/0276Adjustment of the gradation levels within the range of the gradation scale, e.g. by redistribution or clipping for the purpose of adaptation to the characteristics of a display device, i.e. gamma correction

Abstract

An automatic Gamma curve setting method for a display can automatically detect whether an input image is a gray image or a color image, judge whether the input image is the gray image or the color image according to an image value and classify the input image, and automatically execute a corresponding Gamma curve so as to provide a diagnosis platform for a user to correctly judge through correct image presentation.

Description

Automatic Gamma curve setting method for display
Technical Field
The present invention relates to the field of medical display technology, and more particularly to a display for adjusting a composite image by using automatic Gamma curve setting and color temperature.
Background
Generally, a medical display is generally classified into three categories, i.e., a diagnostic display, an operating room display and a teaching display, wherein the diagnostic display is required to have high resolution and high brightness, and is adjusted and calibrated by a Digital Imaging and communications in Medicine (DICOM) protocol. The display for operating room faces the front imaging device such as endoscope, etc., and the display for operation auxiliary information needs to match the characteristics of the imaging device, such as moderate resolution, general brightness, etc., and Gamma adjustment is needed.
Users of medical monitors, such as radiologists, often view various data of patients, such as CT/MRI images, medical record data, or surgical images. In addition to conventional gray-scale images, many image processing techniques are increasingly applied to medical treatment, such as endoscopic system imaging, 3D images, color MRI images, PET pseudo-color images, and so on, and these image data are color images.
However, various data types with different characteristics, such as gray scale images, color images, text, charts, and audio, are required to be accurately visualized and displayed so that a user, such as a doctor, can perform diagnosis. A color image is an image having a plurality of colors, and is an aggregate of gray images as compared with a gray image, and if expressed in RGB color space, the values of three components may vary within a certain range. The gray image is a color image, which is a subset of the color image, and the values of the three RGB components are identical.
A typical gray-scale display cannot display color image data, and if a color display is used to simultaneously display a color image and a gray-scale image, a single adjustment method will cause display distortion of one of the images, which will affect the accuracy of diagnosis. This makes many diagnostic workstations have different displays, that is, two high-resolution, high-brightness and DICOM-calibrated gray-scale displays are used, and a low-resolution, low-brightness and Gamma-calibrated color display is added to process, control and display different data, so as to meet the requirement of accurate diagnosis.
In addition, in the prior art, the medical display can only select the full-screen image to execute the DICOM curve or the Gamma2.2 curve when presenting the image, if the image is a composite image, that is, the image has both gray and color images, the medical gray image must be defined in the DICOM part14 according to the standard Gray Scale Display Function (GSDF), if the gray image executes the Gamma2.2 curve, the image will be too bright, the details of dark level will be lost, and the display result of the image may cause errors in the diagnosis of diseases. Similarly, if the DICOM curve is executed on the medical color image, the image is too dark, the contrast of the color is reduced, and the color error of the real image is too large.
Disclosure of Invention
According to the defect that the medical display can only select a single image correction mode when presenting a composite image in the prior art, the main object of the present invention is to provide a diagnosis platform which can automatically detect whether an input image is a gray image or a color image, and judge whether the input image is the gray image or the color image according to the image value, so as to automatically execute the corresponding Gamma curve, thereby providing the user with correct judgment through correct image presentation.
Another objective of the present invention is to adjust the image of the panel through the optical sensor.
It is still another object of the present invention to determine whether the input image is a gray image, a color image or a composite image in real time and to perform the corresponding Gamma curve and color temperature value, so that the best image display effect can be obtained without delay when outputting the image.
It is a further object of the present invention to provide an image enhancement function, which allows a user to clearly see the classification of whether an image frame is a gray image or a color image through the image enhancement function, so as to correctly determine whether the gray image or the color image is a gray image or a color image according to an input image in real time, and to display the image through an enhancement enable value, so that the user can only view the gray image or the color image.
According to the above object, the present invention provides an automatic Gamma curve setting method for a display, comprising providing an input image having a plurality of pixel values, determining a relationship between R, G and B values of each pixel (pixel data) of the input image to determine whether the pixel value is a gray scale value, marking the pixel value with a gray scale flag if the pixel value is determined to be the gray scale value, and setting the gray scale flag value to 1, such that each pixel in the input image has a corresponding gray scale flag value, counting the maximum end value of the gray scale succession of the input image having the plurality of pixels, wherein the counted pixel is marked as the number of gray scale flag values 1, and if the gray scale flag value of the counted pixel is not 1, resetting the total number before the pixel value having the gray scale flag value not 1 to zero, and starting to re-count the maximum end value of the gray scale succession from the next pixel of the pixel having the gray scale flag value not 1, Judging the image as the continuous number of the gray level images according to the sensitivity value and normalizing the gray level blocks of the gray level images of the image, wherein the smaller the sensitivity value is, the smaller the gray level block belonging to the input image is, the larger the sensitivity value is, the larger the gray level block belonging to the input image is, and when the maximum end value of the gray level continuity is greater than or equal to the sensitivity value, the gray level enabling value of the input image is set to be 1. When the automatic Gamma enable value is 1 and the image emphasis enable value is 0, the automatic Gamma correct function imaging is carried out on the execution picture, if the automatic Gamma enable value is 1 and the emphasis enable value is 1, the original brightness of the input image is maintained by the gray image in the input image in the execution picture, and the brightness of the rest color images in the input image is reduced by 50%, and when the automatic Gamma enable value is 1 and the emphasis enable value is 2, the original brightness of the input image is maintained by the color image in the input image in the execution picture, and the brightness of the rest gray images in the input image is reduced by 50%; according to the gray starting value, different Gamma DICOM curve operations and different color temperature operations are executed on the same image picture, so that the input image becomes image data which accords with the curve and the standard after the operation, and the adjusted image is transmitted to the panel in the same display picture according to the Gamma adjusted image to obtain the output image.
According to the above-mentioned objectives, the present invention further provides a display using the automatic Gamma curve setting system according to the automatic Gamma curve setting method of the display, which includes an image input unit, an image processing unit and an image output unit, wherein the image input unit is a display panel for inputting an image, and the input image can be a color image, a gray image or a composite image having both a color image and a gray image. The image processing unit judges whether the input image is a gray image, a color image or a composite image in real time by using an automatic Gamma curve setting method, and executes a corresponding Gamma curve and a color temperature value, so that the image processing unit still has the best image display effect under the condition of no delay when the image is output. The image output unit is a display panel for displaying the image adjusted by the automatic Gamma curve setting method.
Drawings
FIG. 1 is a diagram illustrating a display device employing an automatic Gamma curve setting method according to the disclosed technique.
FIG. 2 is a block diagram of an image processing unit for an automatic Gamma curve setting method in a display according to the disclosed technique.
Detailed Description
So that the manner in which the above recited features and advantages of the present invention can be understood and attained by a person skilled in the art, a more particular description of the invention, briefly summarized above, may be had by reference to the appended drawings, in which like reference numerals refer to like elements, features, and embodiments. The drawings referred to below are schematic representations relating to the features of the invention and are not necessarily drawn to scale. The description of the embodiments related to the present invention will not be repeated, except for those skilled in the art.
Please refer to fig. 1 first. Fig. 1 shows a display to which an automatic Gamma curve setting method is applied. In fig. 1, a display 1 using an automatic Gamma curve setting system includes an image input unit 10, a processing unit 20, an image output unit 12, a microprocessor 30 and an adjustment controller 40, wherein the image input unit 10 is an image source for inputting an image, which may be a color image, a gray image or a composite image having both a color image and a gray image. The processing unit 20 is used for sensing and receiving the input image transmitted by the image input unit 10, and performing Gamma curve adjustment on the input image, in the present invention, the image input unit 10 is a display adapter or an endoscope connected to the display 1, but not limited thereto. If the input image is a gray image, executing a DICOM Part14 Gamma curve, and if the input image is a color image, executing a Gamma2.2 curve. The image output unit 12 is a display panel, and is used for outputting the image after Gamma curve adjustment, so as to solve the problem that some medical devices may use gray or color displays at the same time, and the trouble of space for placing many displays on the diagnosis and treatment platform at the same time, and avoid using display panels with different resolutions, which causes the misjudgment of users such as doctors in diagnosis. The functions and functions of the processing unit 20, the microprocessor 30, and the calibration controller 40 are described in detail below.
Please refer to fig. 2. Fig. 2 is a block diagram showing an image processing unit for an automatic Gamma curve setting method in a display. In fig. 2, the image processing unit 210 in the processing unit 20 includes an RGB data selection module 2102, an image dithering (undithering) processing module 2104, a color temperature (color temperature) module 2106, an image emphasis (highlight) module 2108, a grayscale image (mono) sensing selection module 2110, a Gamma lookup table 2112, a Gamma DICOM lookup table 2114, a line buffer (line buffer)2116, and a microprocessor external flexible bus 220 connected to the image processing unit 210, wherein the RGB data selection module 2102, the image dithering (undithering) processing module 2104, the color temperature (color temperature) module 2106, the image emphasis (highlight) data module 2108, the grayscale image (mono) data sensing selection module 2110, the Gamma lookup table 2112, the Gamma om lookup table 2114, and the line buffer (eblinux) 2116 are image memory access memories, and the above modules are connected to each other. Therefore, in the embodiment of the present invention, the processing unit 20 for performing adjustment setting on the input image is a Field Programmable Gate Array (FPGA), which is abbreviated as FPGA in the following description.
Next, before setting forth the specific steps of the automatic Gamma curve setting method of the present invention, it is first explained with respect to the parameters used in fig. 2.
The parameter a is an Auto Gamma Enable value (Auto Gamma Enable), that is, when the image processing unit 20 receives an execution signal of the Auto Gamma Enable value transmitted from the flexible bus 220 outside the microprocessor through the bus, an Auto Gamma Action is enabled, wherein the flexible bus 220 outside the microprocessor captures a brightness value and a color temperature value of the display panel 12 at each color level through the calibration controller 40 in the optical sensor (not shown), and then calculates a correct calibration value and a correct compensation value through the microprocessor 30, so that the microprocessor can write and read the display panel 12 through the flexible bus 220 outside the microprocessor and communicate with the FPGA20, and then write the calibration value into the Block Ram built in the FPGA 20.
The parameter B, i.e., the high intensity Enable value (high intensity Enable), is emphasized by the image emphasis module 2108, and has two emphasis modes, wherein when an image belonging to a gray-scale image in the input image data is input, the brightness of the original gray-scale image is maintained, and the brightness of the image is reduced when the rest color images (i.e., non-gray-scale images) in the input image data are input. When the image belonging to the color image in the input image data is input, the brightness of the original color image is maintained, and the brightness of the rest gray-scale images (i.e. achromatic color images) in the input image data is reduced.
The parameter C is described below in English "Data Level" for Data levels (Date levels) (levels 0 to 10). In the invention, the RGB data are respectively 8bits, 10bits and 12bits, and the level of bit values of different corresponding RGB data is as follows:
when the RGB data is 8bits,
data Level 0, wherein the difference value of the RGB values is less than or equal to 0;
the difference value of RGB values is less than or equal to 1;
data Level 2, the difference value of the RGB values is less than or equal to 2;
data Level 3, wherein the difference value of the RGB values is less than or equal to 3; by the way of analogy, the method can be used,
the difference value of the three values of Data Level 10RGB is less than or equal to 10.
When the RGB data is 10bits,
the difference value of RGB is less than or equal to 0;
the difference value of the Data Level 1 and the RGB values is less than or equal to 4;
the Data Level 2 is that the difference value of RGB is less than or equal to 8;
data Level 3, the difference value of RGB values is less than or equal to 12; by the way of analogy, the method can be used,
the difference value of the Data Level 10 and the RGB value is less than or equal to 40.
When the RGB data is 12bits,
the difference value of RGB is less than or equal to 0;
the difference value of the Data Level 1 and the RGB values is less than or equal to 16;
the difference value of RGB is less than or equal to 32;
the difference value of RGB is less than or equal to 48 in Data Level 3; by the way of analogy, the method can be used,
the difference value of the Data Level 10 and the RGB value is less than or equal to 160.
And the parameter D is a Data Sensitivity value (Data Sensitivity), and the Sensitivity value is 0-10. In the invention, the Sensitivity value (Sensitivity) determines the number of pixels which are continuously judged as the gray-scale image to standardize the blocks belonging to the gray-scale image in the input image, and the judgment is finer when the Sensitivity value is smaller; conversely, the larger the sensitivity value is, the larger the gray scale block is. Therefore, the sensitivity value is automatically calculated according to the resolution of the display panel 12.
Sensitivity value (Sensitivity)0:2 pixels (pixels);
sensitivity values 1:4 pixels (pixels);
sensitivity value 2 panel pixel/64 pixel;
sensitivity value 3 panel pixels/32 (pixels);
sensitivity value 4 panel pixels/16 (pixels);
sensitivity value 5 panel pixel/16 + panel pixel/32 (pixel);
sensitivity value 6 panel pixels/8 (pixels);
sensitivity value 7 panel pixel/8 + panel pixel/32 (pixel);
sensitivity value 8 panel pixel/8 + panel pixel/16 (pixel);
sensitivity value 9 panel pixel/8 + panel pixel/16 + panel pixel/32 (pixel);
sensitivity value 10 panel pixel/4 (pixel).
The parameter E is Gamma Data. The Gamma data may be (1) Gamma curve values that have been calibrated are stored by having multiple blackrams in the FPGA 20; (2) at present, the actual image is mostly 10bits due to the specification, but after the image dithering processing module 2104 executes the dithering (undercutting) operation of the image, the image is promoted to 18bits, so that in the color image, the color representation is smoother and multicolor, and in the gray image, a multi-level gray image can be clearly presented, that is, gray, black and white levels can be obviously presented and distinguished; (3) the adjusted 18bits Gamma curve value is calculated by the FPGA20 with the image to show the image value according with the standard curve, the gray image is the Gamma DICOM value, and the color image is the multi-group Gamma curve value, so that when the image is the composite image, the gray image with multi-level and the color image with multi-color are shown in the same display picture at the same time.
Parameter F is color temperature data (color temperature data). The adjusted color temperature parameter value can be displayed by the FPGA20 through the color temperature module 2106 image operation to obtain a correct color temperature value. The gray image has one set of color temperature values, and the color image has another set of color temperature values, i.e. the gray image and the color image have different color temperature values, and can be displayed in the same display frame at the same time.
Please continue with fig. 2. The specific execution flow of the automatic Gamma curve setting method of the invention is as follows:
the image input unit 10 inputs image data, and the RGB data selecting module 2102 of the image input unit 10 senses and selects the input image data as a color image, a gray-scale image, or a composite image having both a color image and a gray-scale image. In this step, the RGB Data selecting module 2102 determines whether the pixel value is a gray Level value by determining a relationship between an R value, a G value, and a B value of each pixel (pixel Data) of the input image in real time, if so, the pixel value is marked with a gray Level flag, and the gray Level flag is set to 1, so that each pixel in the input image has a corresponding gray Level flag value, for example, in a first aspect, when the R value is greater than or equal to the G value and the R value is also greater than or equal to the B value, if the (R-G) value is less than the Data Level and the (R-B) value is less than the Data Level, the gray Level flag value marked by the pixel is set to 1; in the second mode, when the R value is greater than or equal to the G value and less than or equal to the B value, if the (R-G) value is less than the Data Level and the (B-R) value is less than the Data Level, the gray Level flag value marked by the pixel is 1; in the third aspect, when the R value is less than or equal to the G value and greater than or equal to the B value, if the (G-R) value is less than the Data Level and the (R-B) value is less than the Data Level, the gray Level flag value marked by the pixel is 1; and a fourth mode, when the R value is less than or equal to the G value and less than or equal to the B value, if the (G-R) value is less than the Data Level and the (B-R) value is less than the Data Level, the gray Level flag value marked by the pixel is 1, and the four modes are simply expressed by the following mathematical formula:
in the first aspect, when the R value ≧ G value and R value > B value, if the (R-G) value < Data Level and the (R-B) value < Data Level, the pixel gray Level flag value is 1;
in a second aspect, when the R value ≧ G value and the R value ≦ B value, if the (R-G) value < DataLevel and the (B-R) value < DataLevel, then the pixel grayscale flag value is 1;
in a third aspect, when the R value is ≦ G value and the R value is ≧ B value, if the (G-R) value < DataLevel and the (R-B) value < DataLevel, then the pixel grayscale flag value is 1; and
in a fourth aspect, when the R value is less than or equal to the G value and the R value is less than or equal to the B value, if the (G-R) value < DataLevel and the (B-R) value < DataLevel, then the pixel grayscale flag value is 1.
Calculating (count) a gray scale continuous maximum end value of a plurality of pixels in the input image, wherein the step uses the gray scale image sensing selection module 2110 to calculate how many pixels of the input image are continuously marked as the number of pixels with a gray scale flag value of 1, if the calculated gray scale flag value of the pixel is not 1, the previous total number of the pixels with the calculated gray scale flag value of 1 is zeroed (i.e. the counter is cleared), and the gray scale continuous maximum end value is recalculated from the next pixel of the pixel with the gray scale flag value of 1. The line buffer 2116 is used to count the gray level consecutive maximum end value, for example, the 4K2K image frame is composed of 3840 × 2160 pixels, which means 3840 pixels in a line and 2160 lines in total. The line buffer 2116 is set to a space size of a pixel image data amount of one line only, and when data is transferred to the line buffer 2116, the data is written into the line buffer 2116, and the maximum end value of gradation continuity is counted in the line buffer 2116, and then read out from the line buffer 2116 and transferred to the display panel. Since the data in the line buffer 2116 is updated once per line, each pixel of the whole picture can be updated with different gray scale enabling values through different Gamma curve values and color temperature parameter values, and the change of the display panel during updating can not be seen obviously by the user.
Then, according to the Sensitivity value (Sensitivity), judging the continuous number of the input image as the gray image, and normalizing the gray block of the gray image of the input image, when the Sensitivity value is smaller, the smaller the gray block belonging to the input image is; on the contrary, the larger the sensitivity value is, the larger the gray scale block belonging to the input image is, and when the continuous maximum end value of the gray scale is greater than or equal to the sensitivity value, the gray scale enabling value of the input image is set to 1.
And then, judging the automatic Gamma enabling value of the input image, and if the automatic Gamma enabling value is 0, carrying out image adjustment on the whole input image through the same Gamma curve value for the non-gray level image and the color image in the input image.
Next, executing image emphasis enable (highlight enable) for the input image, wherein when the Auto Gamma enable value is 1 and the image emphasis enable value is 0, displaying the Auto Gamma correct function on the execution screen, and when the Auto Gamma enable value is 1 and the image emphasis enable value is 1, maintaining the brightness of the original gray-scale image of the input image in the execution screen, and reducing the brightness of the rest color images in the input image by 50%; if the auto Gamma enable value is 1 and the image emphasis enable value is 2, the portion of the input image in the execution screen that belongs to the color image maintains the brightness of the original color image of the input image, and the remaining gray levels in the input image are reduced by 50% of the brightness value. In this step, the user can clearly see the classification of whether the image frame is a gray image or a color image through the function of emphasizing the image, so as to display the correct gray image or the color image according to the input image, and the image can be displayed through the emphasis enabling value so that the user can only watch the gray image or the color image.
Finally, according to the gray starting value, different Gamma DICOM curve operations and different color temperature operations are performed on the same image frame, so that the input image becomes image data which conforms to the curve and the standard after the operation, and the image data is transmitted to a display panel (image output unit) 12 in the same display frame according to the adjusted image to obtain an output image adjusted by the Gamma curve. In this step, Gamma DICOM lookup table (Look-up table)2114 and color temperature module 2106 are used to perform different Gamma DICOM curve operations and different color temperature operations on the same image according to the gray-level enabling value.
In the step of performing different Gamma DICOM curve operations and different color temperature operations on the same image according to the gray-scale enabling value, when the automatic Gamma enabling value is 1 and the image emphasis enabling value is 0, if the input image with the gray-scale enabling value of 1 is subjected to the Gamma DICOM curve operation and the color temperature operation, the operated image (i.e., the adjusted image) is transmitted to the display panel (image output unit) 12, and the image automatically adjusted by the Gamma DICOM curve is displayed.
In another embodiment of the present invention, in the step of performing different Gamma dicom curve operations and different color temperature operations on the same image frame according to the gray scale enabling value, if the input image with the automatic Gamma enabling value of 1, the image emphasis enabling value of 0, and the gray scale enabling value of 0 is operated by the Gamma curve value stored in the Random Access Memory (RAM), and simultaneously, the color temperature operation is performed, the operated image is transmitted to the image output panel (image output unit) 12, and the image automatically adjusted by the Gamma curve is displayed. In the embodiment of the invention, the color temperature range is 1800K-18000K, the common color temperature is 6500K, 7500K, 8200K or 9300K, the Gamma lookup table 2112 is stored in the random access memory, and a plurality of different Gamma curve values are stored in the Gamma lookup table 2112, wherein the Gamma curve values can be Gamma 1.0-Gamma 4.0, and the common Gamma values are Gamma 1.8, Gamma 2.0 or Gamma 2.2.
In another embodiment, in the same execution frame, different Gamma curves and different color temperatures are executed according to the gray scale enabling value, the image (i.e., the adjusted image) that is obtained by performing Gamma curve operation and color temperature operation on the input image and conforms to the curve and the standard is transmitted to the display panel 12 as an image display value, and the display panel 12 outputs and displays the adjusted image according to the image display value.
Therefore, the method can automatically detect the state of the input image, such as a gray image, a color image or a composite image with both the gray image and the color image in real time and without delay according to the execution steps, and calculate the relevant parameters of the image to be adjusted according to the R value, the G value and the B value of each pixel of the input image, such as an automatic Gamma enable value, an image emphasis enable value, a Data Level, a Data Sensitivity, a Gamma value and a color temperature value, and automatically execute the corresponding Gamma curve and the color temperature to adjust the input image, so that the color image is improved in multi-color and smooth presentation after adjustment, and the gray image can clearly present multi-Level gray images after adjustment, thereby providing a correct diagnosis platform for a user.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention; while the foregoing is directed to embodiments of the present invention, other and further embodiments of the invention may be devised without departing from the basic scope thereof, and the scope thereof is determined by the claims that follow.

Claims (9)

1. An automatic Gamma curve setting method for a display is characterized by comprising the following steps:
providing an input image, wherein the input image has a plurality of pixel values;
judging the relation among the R value, G value and B value of each pixel (pixel data) of the input image to determine whether the pixel is a gray scale value, if the pixel value is judged to be the gray scale value, marking the pixel value by a gray scale flag and setting the gray scale flag value to be 1, so that the pixels in the input image all have a corresponding gray scale flag value;
calculating a gray scale continuous maximum end value of the input image having the pixel, wherein the number of the pixels marked as the gray scale flag value of 1 is calculated, if the gray scale flag value of the pixel is not calculated to be 1, the total number before the pixel of which the gray scale flag value is not calculated to be 1 is zeroed, and the gray scale continuous maximum end value is recalculated starting from the next pixel of the pixel of which the gray scale flag value is not 1;
judging the input image as the continuous number of the gray images according to the sensitivity value, and normalizing the gray blocks of the gray images of the input image, wherein the smaller the sensitivity value is, the smaller the gray blocks belonging to the input image is, the larger the sensitivity value is, the larger the gray blocks belonging to the input image is, and when the maximum end value of the gray continuity is greater than or equal to the sensitivity value, the gray starting value of the input image is set to be 1;
judging an automatic Gamma enabling value and an image emphasis enabling value of the input image, if the automatic Gamma enabling value is 0 and the image emphasis enabling value is 1, maintaining the original brightness of the input image by a gray image in the input image in an execution picture, and reducing the brightness of the rest color images in the input image by 50%, if the automatic Gamma enabling value is 0 and the image emphasis enabling value is 2, maintaining the original brightness of the input image by a color image in the input image in the execution picture, and reducing the brightness of the rest gray images in the input image by 50%; and
and executing different Gamma DICOM curve operations and different color temperature operations on the execution picture according to the gray starting value, so that the input image becomes image data which accords with curves and standards after operation, and transmitting the adjusted image to an image output unit in the same execution picture according to the adjusted image to display the output image adjusted by the Gamma curves.
2. The method as claimed in claim 1, wherein the RGB values are 8bits, 10bits or 12 bits.
3. The method for setting automatic Gamma curve of display device according to claim 1, wherein the sensitivity value is in the range of 0 to 10.
4. The method of claim 1 or 3, wherein the sensitivity value varies with the resolution of the image output unit.
5. The method as claimed in claim 4, wherein the image output unit is a display panel.
6. The method as claimed in claim 1, wherein in the step of performing different Gamma DICOM curve operations and different color temperature operations on the image frame according to the gray-scale enable value, when the automatic Gamma DICOM value is 1 and the image emphasis enable value is 0, the image of the input image with the gray-scale enable value of 1 after the Gamma DICOM curve operations and the color temperature operations is output by the image output unit.
7. The method as claimed in claim 1, wherein in the step of performing different Gamma DICOM curve operations and different color temperature operations on the image frame according to the gray-scale enable value, when the automatic Gamma enable value is 1 and the image emphasis enable value is 0, the image of the input image with the gray-scale enable value of 0 after the Gamma curve value operation and the color temperature operation is outputted by the image output unit.
8. The automatic Gamma curve setting method of claim 6 or 7, wherein the color temperature range is 1800K to 18000K.
9. The method of claim 7, wherein the Gamma curve value is from Gamma 1.0 to Gamma 4.0.
CN201810891430.5A 2018-08-07 2018-08-07 Automatic Gamma curve setting method for display Pending CN110827734A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810891430.5A CN110827734A (en) 2018-08-07 2018-08-07 Automatic Gamma curve setting method for display

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810891430.5A CN110827734A (en) 2018-08-07 2018-08-07 Automatic Gamma curve setting method for display

Publications (1)

Publication Number Publication Date
CN110827734A true CN110827734A (en) 2020-02-21

Family

ID=69533644

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810891430.5A Pending CN110827734A (en) 2018-08-07 2018-08-07 Automatic Gamma curve setting method for display

Country Status (1)

Country Link
CN (1) CN110827734A (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101101669A (en) * 2007-07-13 2008-01-09 天津大学 Image reinforcement method for self-adaptive regulation according to edge and brightness
CN102629466A (en) * 2012-04-11 2012-08-08 南京巨鲨显示科技有限公司 Adaptive correction method for color gray-scale image of display
CN103390395A (en) * 2012-05-09 2013-11-13 厦门毅想通信研发中心有限公司 Method and electronic equipment for adjusting brightness of display
CN104200792A (en) * 2014-08-20 2014-12-10 青岛海信电器股份有限公司 Method and apparatus for positioning gray scale image region during medical image displaying
CN104519236A (en) * 2013-09-26 2015-04-15 京瓷办公信息系统株式会社 Image forming apparatus and image forming method
JP2016050983A (en) * 2014-08-29 2016-04-11 サイバネットシステム株式会社 Gray scale inspection apparatus and gray scale inspection method
CN106128373A (en) * 2015-05-07 2016-11-16 钰纬科技开发股份有限公司 Image processing device with image compensation function and image processing method thereof
WO2017024787A1 (en) * 2015-08-12 2017-02-16 青岛海信电器股份有限公司 Image correction method and device
CN106657959A (en) * 2015-11-04 2017-05-10 青岛海信电器股份有限公司 Image border detection method and apparatus
CN107292825A (en) * 2016-03-30 2017-10-24 青岛海信电器股份有限公司 A kind of method and device of image rectification

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101101669A (en) * 2007-07-13 2008-01-09 天津大学 Image reinforcement method for self-adaptive regulation according to edge and brightness
CN102629466A (en) * 2012-04-11 2012-08-08 南京巨鲨显示科技有限公司 Adaptive correction method for color gray-scale image of display
CN103390395A (en) * 2012-05-09 2013-11-13 厦门毅想通信研发中心有限公司 Method and electronic equipment for adjusting brightness of display
CN104519236A (en) * 2013-09-26 2015-04-15 京瓷办公信息系统株式会社 Image forming apparatus and image forming method
CN104200792A (en) * 2014-08-20 2014-12-10 青岛海信电器股份有限公司 Method and apparatus for positioning gray scale image region during medical image displaying
JP2016050983A (en) * 2014-08-29 2016-04-11 サイバネットシステム株式会社 Gray scale inspection apparatus and gray scale inspection method
CN106128373A (en) * 2015-05-07 2016-11-16 钰纬科技开发股份有限公司 Image processing device with image compensation function and image processing method thereof
WO2017024787A1 (en) * 2015-08-12 2017-02-16 青岛海信电器股份有限公司 Image correction method and device
CN106657959A (en) * 2015-11-04 2017-05-10 青岛海信电器股份有限公司 Image border detection method and apparatus
CN107292825A (en) * 2016-03-30 2017-10-24 青岛海信电器股份有限公司 A kind of method and device of image rectification

Similar Documents

Publication Publication Date Title
EP2367348B1 (en) Method for generating a lookup table for color correction for an image display device
US10614746B2 (en) Automatic gamma curve setting method for monitor
CN102105104B (en) Gray scale display device
EP1735767B1 (en) Method and device for improving spatial and off--axis display standard conformance
CN102396021B (en) Display apparatus, display system, computer program, recording medium, and correction method
TWI457553B (en) Clibration system and method thereof for calibrating display
CN102629466B (en) Adaptive correction method for color gray-scale image of display
KR20160030005A (en) Display apparatus, Display control apparatus and Display method
CN104916259A (en) Method of controlling brightness of display screen of medical display, device and medical display
CN101118729A (en) Image display method and image display device
US20090096819A1 (en) Driving circuit apparatus
US10909948B2 (en) Ubiquitous auto calibration device and the calibration method thereof
US20080123918A1 (en) Image processing apparatus
KR101893949B1 (en) LED Individual Correction Method Based On The Operating Computer Of The LED Signboard
JP5326144B2 (en) Calibration system and method for calibrating a display
EP2573671A2 (en) Colour calibration method and apparatus
KR100859937B1 (en) Method and device of rapidly generating a gray-level versus brightness curve of a display
US11763777B2 (en) Image display device, image display system, image display method, and computer program for providing a low-luminance grayscale standard display function (GSDF) display
TW201501115A (en) Correcting system and correcting method for display device
CN110827734A (en) Automatic Gamma curve setting method for display
JP2005070080A (en) Gradation correcting method and program
WO2010089597A1 (en) Displaying image data
WO2016151944A1 (en) Image correction device, image correction method, and image correction program
WO2024044957A1 (en) Display apparatus and brightness adjustment method therefor
WO2014061124A1 (en) Display device and image display method

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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20200221