TWI822513B - Dynamic contrast adjustment module, display driver chip, display device and information processing device - Google Patents
Dynamic contrast adjustment module, display driver chip, display device and information processing device Download PDFInfo
- Publication number
- TWI822513B TWI822513B TW111147634A TW111147634A TWI822513B TW I822513 B TWI822513 B TW I822513B TW 111147634 A TW111147634 A TW 111147634A TW 111147634 A TW111147634 A TW 111147634A TW I822513 B TWI822513 B TW I822513B
- Authority
- TW
- Taiwan
- Prior art keywords
- contrast
- histogram
- parameter
- calculation unit
- value
- Prior art date
Links
- 230000010365 information processing Effects 0.000 title claims description 6
- 238000000034 method Methods 0.000 claims abstract description 32
- 238000004364 calculation method Methods 0.000 claims description 46
- 238000013507 mapping Methods 0.000 claims description 31
- 230000001186 cumulative effect Effects 0.000 claims description 30
- 238000012545 processing Methods 0.000 claims description 22
- 238000009825 accumulation Methods 0.000 claims description 17
- 238000009826 distribution Methods 0.000 claims description 15
- 238000005070 sampling Methods 0.000 claims description 14
- 238000005520 cutting process Methods 0.000 claims description 6
- 230000003313 weakening effect Effects 0.000 abstract description 8
- 238000010586 diagram Methods 0.000 description 16
- 230000008901 benefit Effects 0.000 description 3
- 238000013461 design Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 238000012552 review Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000008034 disappearance Effects 0.000 description 1
- 238000005315 distribution function Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000009827 uniform distribution Methods 0.000 description 1
- 230000002087 whitening effect Effects 0.000 description 1
Images
Landscapes
- Controls And Circuits For Display Device (AREA)
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
Abstract
本發明主要揭示一種動態對比度調整模塊,係透過應用在一驅動顯示晶片的方式而被整合在一顯示裝置之中,用以對一輸入顯示數據進行一對比度調整處理以產生一輸出顯示數據。特別地,本發明之動態對比度調整模塊在[0,50]的對比度數值範圍內執行動態對比度減弱操作,在(50,100]的對比度數值範圍內執行動態對比度增強,從而完成所述對比度調整處理之後產生所述輸出顯示數據,使該顯示驅動晶片依據該輸出顯示數據而驅動該顯示裝置顯示一兼具動態對比度增強與減弱的圖像。另一方面,可以通過調節客戶參數(如:[0, 100])與內部使用算法參數(如:C、B)的映射關係之方式,使得本發明之動態對比度調整模塊適用於各種顯示裝置。The present invention mainly discloses a dynamic contrast adjustment module, which is integrated into a display device by applying a driving display chip to perform a contrast adjustment process on an input display data to generate an output display data. In particular, the dynamic contrast adjustment module of the present invention performs a dynamic contrast weakening operation within a contrast value range of [0,50], and performs a dynamic contrast enhancement operation within a contrast value range of (50,100], thereby completing the contrast adjustment process. The output display data enables the display driver chip to drive the display device to display an image with both dynamic contrast enhancement and weakening based on the output display data. On the other hand, the display driver chip can be adjusted by adjusting customer parameters (such as: [0, 100 ]) and the internally used algorithm parameters (such as: C, B) make the dynamic contrast adjustment module of the present invention suitable for various display devices.
Description
本發明為顯示驅動的相關技術領域,尤指應用於顯示驅動晶片之中的一種動態對比度調整模塊。The present invention relates to the technical field related to display driving, and in particular, to a dynamic contrast adjustment module used in display driving chips.
圖1為習知的一種顯示裝置的方塊圖。熟悉顯示裝置之設計與製造的電子工程師必然知道,習知的顯示裝置1a的架構係包括:一顯示面板11a以及至少一顯示驅動晶片(Display driver IC, DDI)12a,其中該顯示驅動晶片12a自一上位機2a(如:智慧型手機的應用處理器)接收一輸入顯示數據,並將該輸入顯示數據預處理為一輸出顯示數據,最終依據該輸出顯示數據對該顯示面板11a進行顯示驅動。Figure 1 is a block diagram of a conventional display device. Electronic engineers who are familiar with the design and manufacturing of display devices must know that the structure of a conventional display device 1a includes: a
為了驅動該顯示面板11a以高對比度顯示圖像,如圖1所示,現有技術在該顯示驅動晶片12a之中設置一對比度調整單元121a,用以對該輸入顯示數據進行一對比度調整處理。熟悉顯示驅動晶片12a之設計與製造的電子工程師必然知道,該對比度調整單元121a採用直方圖均衡化(Histogram Equalization, HE)實現圖像對比度的增強,其主要技術手段係首先依據該輸入顯示數據產生一畫素數量(number of pixels)相對於灰階值(Gray level, 0~255)的第一直方圖,且該第一直方圖含有複數個直方條。接著,對該第一直方圖內的複數個直方條進行一均勻分布處理,使該複數個直方條在0~255的灰階範圍內平均分佈,從而獲得一第二直方圖。最終,依據該第二直方圖產生一特定圖像所對應一輸出顯示數據,使該顯示驅動晶片12a依據該輸出顯示數據而驅動該顯示面板11a顯示該特定圖像。In order to drive the
實務經驗顯示,直方圖均衡化具有一些缺陷,例如, 經過直方圖均衡化處理之後,該顯示面板11a在進行圖像時,顯示畫面會出現過白的現象。另一方面,經過直方圖均衡化處理之後,由於圖像的灰階的級數減少,導致一些細節消失(過白導致消失)。總的來說,習知技術的對比度調整單元121a採用直方圖均衡化實現圖像對比度的增強,然而其處理過程缺乏彈性且無法動態調整,因此有必要對其進行缺失改善。Practical experience shows that histogram equalization has some defects. For example, after the histogram equalization process, when the
由上述說明可知,本領域亟需一種動態對比度調整模塊。It can be seen from the above description that a dynamic contrast adjustment module is urgently needed in this field.
本發明之主要目的在於提供一種動態對比度調整模塊,其可實現顯示裝置的動態對比度調節,且具有高適用性、最大調整範圍可調、可動態降低對比度以及可動態增強對比度等特點。The main purpose of the present invention is to provide a dynamic contrast adjustment module that can realize dynamic contrast adjustment of a display device and has the characteristics of high applicability, adjustable maximum adjustment range, dynamic contrast reduction, and dynamic contrast enhancement.
具體地,本發明之該動態對比度調整模塊在[0,50]的對比度數值範圍內執行動態對比度減弱操作,在(50,100]的對比度數值範圍內執行動態對比度增強,從而完成所述對比度調整處理之後產生所述輸出顯示數據,使該顯示驅動晶片依據該輸出顯示數據而驅動該顯示裝置顯示一兼具動態對比度增強與減弱的圖像。另一方面,可以通過調節客戶參數(如:[0, 100])與內部使用算法參數(如:C、 B)的映射關係之方式,使得本發明之動態對比度調整模塊適用於各種顯示裝置。Specifically, the dynamic contrast adjustment module of the present invention performs a dynamic contrast weakening operation within a contrast value range of [0,50], and performs a dynamic contrast enhancement operation within a contrast value range of (50,100], thereby completing the contrast adjustment process. The output display data is generated so that the display driver chip drives the display device to display an image with both dynamic contrast enhancement and weakening based on the output display data. On the other hand, the user parameters (such as: [0, 100]) and the internally used algorithm parameters (such as: C, B), making the dynamic contrast adjustment module of the present invention suitable for various display devices.
為達成上述目的,本發明提出所述動態對比度調整模塊的一實施例,其係整合在一顯示裝置之中,用以對一輸入顯示數據進行一對比度調整處理,且所述對比度調整處理包括以下步驟: 依據該輸入顯示數據產生一畫素數量(number of pixels)相對於灰階值的第一直方圖,且該第一直方圖包含K個第一直方條; 依據一裁剪閥值對L個所述第一直方條進行裁剪以獲得L個裁剪部分;其中,K為正整數,且L≦K; 將該L個裁剪部分所含有的畫素數量均分至該K個第一直方條,以獲得一包含K個第二直方條的第二直方圖; 對該K個第二直方條執行一直方條累積運算以獲得K個累積參數,並依據該K個累積參數與一圖像長寬參數計算出K個對比度參數; 依據K個採樣點與該K個對比度參數繪製一對比度參數曲線;以及 利用該對比度參數曲線對該輸入顯示數據進行一灰階值調整處理。 In order to achieve the above object, the present invention proposes an embodiment of the dynamic contrast adjustment module, which is integrated into a display device and used to perform a contrast adjustment process on an input display data, and the contrast adjustment process includes the following Steps: Generate a first histogram of the number of pixels relative to the grayscale value based on the input display data, and the first histogram includes K first histograms; Clipping the L first square bars according to a clipping threshold to obtain L clipped parts; where K is a positive integer, and L≦K; Divide the number of pixels contained in the L cropped parts equally into the K first histogram bars to obtain a second histogram including K second histogram bars; Perform a square bar accumulation operation on the K second histogram bars to obtain K accumulation parameters, and calculate K contrast parameters based on the K accumulation parameters and an image length and width parameter; Draw a contrast parameter curve based on the K sampling points and the K contrast parameters; and The contrast parameter curve is used to perform a grayscale value adjustment process on the input display data.
在一實施例中,本發明所述之動態對比度調整模塊包括: 一直方圖生成單元,用以依據該輸入顯示數據產生所述第一直方圖; 一閥值計算單元,用以依據該顯示裝置的一對比度數值、一對比度中間值、自一對比度最大值映射獲得的一第一映射值、以及自該對比度中間值映射獲得的一第二映射值; 一裁剪單元,用以依據該裁剪閥值對L個所述第一直方條進行裁剪以獲得該L個裁剪部分,並將該L個裁剪部分所含有的畫素數量均分至該K個第一直方條; 一累積分佈計算單元,用以對該K個第二直方條執行所述直方條累積運算以獲得該K個累積參數; 一參數計算單元,用以計算出該K個對比度參數;以及 一處理單元,依據該K個採樣點與該K個對比度參數繪出所述對比度參數曲線,接著利用該對比度參數曲線對該輸入顯示數據進行所述灰階值調整處理。 In one embodiment, the dynamic contrast adjustment module of the present invention includes: a histogram generating unit configured to generate the first histogram based on the input display data; A threshold calculation unit for calculating a contrast value of the display device, a contrast intermediate value, a first mapping value obtained from a contrast maximum value mapping, and a second mapping value obtained from the contrast intermediate value mapping. ; A cropping unit, used to crop L first square bars according to the cropping threshold to obtain the L cropped parts, and equally divide the number of pixels contained in the L cropped parts into the K first bar; a cumulative distribution calculation unit, used to perform the histogram accumulation operation on the K second histogram bars to obtain the K accumulation parameters; a parameter calculation unit used to calculate the K contrast parameters; and A processing unit draws the contrast parameter curve based on the K sampling points and the K contrast parameters, and then uses the contrast parameter curve to perform the gray scale value adjustment process on the input display data.
在一實施例中,該閥值計算單元利用以下數學運算式(1)計算獲得該裁剪閥值: ……………………(1); 其中,EQ_lim為該裁剪閥值,User_coe為該對比度數值、50為該對比度中間值、C為該第一映射值,且B為該第二映射值。 In one embodiment, the threshold calculation unit uses the following mathematical operation formula (1) to calculate the clipping threshold: ……………………(1); Among them, EQ_lim is the clipping threshold, User_coe is the contrast value, 50 is the contrast intermediate value, C is the first mapping value, and B is the second mapping value .
在一實施例中,該累積分佈計算單元利用以下數學運算式(2)計算獲得所述累積參數: ………(2); 其中,CDF(i)為所述累積參數,i≦K,Hist(1)為第1個所述第二直方條,Hist(i-1)為第i-1個所述第二直方條,且Hist(i)為第i個所述第二直方條。 In one embodiment, the cumulative distribution calculation unit calculates and obtains the cumulative parameter using the following mathematical operation formula (2): ………(2); Among them, CDF(i) is the cumulative parameter, i≦K, Hist(1) is the first second histogram, and Hist(i-1) is the i-1th the second histogram, and Hist(i) is the i-th second histogram.
在一實施例中,該參數計算單元利用以下數學運算式(3)計算獲得所述對比度參數: …………………………(3); 其中,Dbit為用以表示數據處理精度的位元,DRF(i)為所述對比度參數,且W和L為所述圖像長寬參數。 In one embodiment, the parameter calculation unit calculates and obtains the contrast parameter using the following mathematical operation formula (3): …………………………(3); Among them, Dbit is the bit used to represent the data processing accuracy, DRF(i) is the contrast parameter, and W and L are the image length and width parameters .
並且,本發明還提出一種顯示裝置的一實施例,包含至少一顯示驅動晶片以及一顯示面板,其特徵在於,該顯示驅動晶片具有一動態對比度調整模塊,從而利用該動態對比度調整模塊對一輸入顯示數據進行一對比度調整處理,且所述對比度調整處理包括以下步驟: 依據該輸入顯示數據產生一畫素數量(number of pixels)相對於灰階值的第一直方圖,且該第一直方圖包含K個第一直方條; 依據一裁剪閥值對L個所述第一直方條進行裁剪以獲得L個裁剪部分;其中,K為正整數,且L≦K; 將該L個裁剪部分所含有的畫素數量均分至該K個第一直方條,以獲得一包含K個第二直方條的第二直方圖; 對該K個第二直方條執行一直方條累積運算以獲得K個累積參數,並依據該K個累積參數與一圖像長寬參數計算出K個對比度參數; 依據K個採樣點與該K個對比度參數繪製一對比度參數曲線;以及 利用該對比度參數曲線對該輸入顯示數據進行一灰階值調整處理。 Furthermore, the present invention also proposes an embodiment of a display device, including at least one display driver chip and a display panel, characterized in that the display driver chip has a dynamic contrast adjustment module, so that the dynamic contrast adjustment module is used to adjust an input The display data undergoes a contrast adjustment process, and the contrast adjustment process includes the following steps: Generate a first histogram of the number of pixels relative to the grayscale value based on the input display data, and the first histogram includes K first histograms; Clipping the L first square bars according to a clipping threshold to obtain L clipped parts; where K is a positive integer, and L≦K; Divide the number of pixels contained in the L cropped parts equally into the K first histogram bars to obtain a second histogram including K second histogram bars; Perform a square bar accumulation operation on the K second histogram bars to obtain K accumulation parameters, and calculate K contrast parameters based on the K accumulation parameters and an image length and width parameter; Draw a contrast parameter curve based on the K sampling points and the K contrast parameters; and The contrast parameter curve is used to perform a grayscale value adjustment process on the input display data.
在一實施例中,本發明所述之動態對比度調整模塊包括: 一直方圖生成單元,用以依據該輸入顯示數據產生所述第一直方圖; 一閥值計算單元,用以依據該顯示裝置的一對比度數值、一對比度中間值、自一對比度最大值映射獲得的一第一映射值、以及自該對比度中間值映射獲得的一第二映射值; 一裁剪單元,用以依據該裁剪閥值對L個所述第一直方條進行裁剪以獲得該L個裁剪部分,並將該L個裁剪部分所含有的畫素數量均分至該K個第一直方條; 一累積分佈計算單元,用以對該K個第二直方條執行所述直方條累積運算以獲得該K個累積參數; 一參數計算單元,用以計算出該K個對比度參數;以及 一處理單元,依據該K個採樣點與該K個對比度參數繪出所述對比度參數曲線,接著利用該對比度參數曲線對該輸入顯示數據進行所述灰階值調整處理。 In one embodiment, the dynamic contrast adjustment module of the present invention includes: a histogram generating unit configured to generate the first histogram based on the input display data; A threshold calculation unit for calculating a contrast value of the display device, a contrast intermediate value, a first mapping value obtained from a contrast maximum value mapping, and a second mapping value obtained from the contrast intermediate value mapping. ; A cropping unit, used to crop L first square bars according to the cropping threshold to obtain the L cropped parts, and equally divide the number of pixels contained in the L cropped parts into the K first bar; a cumulative distribution calculation unit, used to perform the histogram accumulation operation on the K second histogram bars to obtain the K accumulation parameters; a parameter calculation unit used to calculate the K contrast parameters; and A processing unit draws the contrast parameter curve based on the K sampling points and the K contrast parameters, and then uses the contrast parameter curve to perform the gray scale value adjustment process on the input display data.
在一實施例中,該閥值計算單元利用以下數學運算式(1)計算獲得該裁剪閥值: ……………(1); 其中,EQ_lim為該裁剪閥值,User_coe為該對比度數值、50為該對比度中間值、C為該第一映射值,且B為該第二映射值。 In one embodiment, the threshold calculation unit uses the following mathematical operation formula (1) to calculate the clipping threshold: ……………(1); Among them, EQ_lim is the clipping threshold, User_coe is the contrast value, 50 is the contrast intermediate value, C is the first mapping value, and B is the second mapping value.
在一實施例中,該累積分佈計算單元利用以下數學運算式(2)計算獲得所述累積參數: ……(2); 其中,CDF(i)為所述累積參數,i≦K,Hist(1)為第1個所述第二直方條,Hist(i-1)為第i-1個所述第二直方條,且Hist(i)為第i個所述第二直方條。 In one embodiment, the cumulative distribution calculation unit calculates and obtains the cumulative parameter using the following mathematical operation formula (2): ...(2); Among them, CDF(i) is the cumulative parameter, i≦K, Hist(1) is the first second histogram, Hist(i-1) is the i-1th all the second histogram bar, and Hist(i) is the i-th second histogram bar.
在一實施例中,該參數計算單元利用以下數學運算式(3)計算獲得所述對比度參數: ……………………………(3); 其中,Dbit為用以表示數據處理精度的位元,DRF(i)為所述對比度參數,且W和L為所述圖像長寬參數。 In one embodiment, the parameter calculation unit calculates and obtains the contrast parameter using the following mathematical operation formula (3): ……………………………(3); Among them, Dbit is the bit used to represent the data processing accuracy, DRF(i) is the contrast parameter, and W and L are the length and width of the image parameters.
進一步地,本發明還提出一種資訊處理裝置,其特徵在於,包含如前所述本發明之顯示裝置。在一實施例中,該資訊處理裝置為選自於由平面顯示裝置、智慧型電視、智慧型手機、智慧型手錶、平板電腦、一體式電腦、筆記型電腦、車載娛樂裝置、和視訊式門口機所組成群組之中的一種電子裝置。Furthermore, the present invention also provides an information processing device, which is characterized in that it includes the display device of the present invention as mentioned above. In one embodiment, the information processing device is selected from a flat display device, a smart TV, a smart phone, a smart watch, a tablet computer, an all-in-one computer, a notebook computer, a car entertainment device, and a video doorway An electronic device in a group of machines.
為使 貴審查委員能進一步瞭解本發明之結構、特徵、目的、與其優點,茲附以圖式及較佳具體實施例之詳細說明如後。In order to enable the review committee to further understand the structure, characteristics, purpose, and advantages of the present invention, drawings and detailed descriptions of preferred embodiments are attached below.
圖2為包含本發明之一種動態對比度調整模塊的一顯示裝置的方塊圖。該顯示裝置1包括:一顯示面板11以及至少一顯示驅動晶片12,其中該顯示驅動晶片12自一上位機2(如:智慧型手機的應用處理器)接收一輸入顯示數據。如圖2所示,本發明之動態對比度調整模塊121係整合在該驅動顯示晶片12之中,用以對所述輸入顯示數據進行一對比度調整處理以產生一輸出顯示數據,使該驅動顯示晶片12依據該輸出顯示數據驅動該顯示面板11顯示一圖像。FIG. 2 is a block diagram of a display device including a dynamic contrast adjustment module of the present invention. The
圖3為圖2所示之本發明之動態對比度調整模塊的方塊圖。如圖3所示,本發明之動態對比度調整模塊121包括:一直方圖生成單元1211、一閥值計算單元1212、一裁剪單元1213、一累積分佈計算單元1214、一參數計算單元1215、以及一處理單元1216。執行所述對比度調整處理時,本發明之動態對比度調整模塊121係先啟動該直方圖生成單元1211,從而依據該輸入顯示數據產生一畫素數量(number of pixels)相對於灰階值的第一直方圖,且該第一直方圖包含K個第一直方條。圖4即為第一直方圖的示圖。接著,該動態對比度調整模塊121啟動其所述閥值計算單元1212,從而依據該顯示裝置的一對比度數值、一對比度中間值、自一對比度最大值映射獲得的一第一映射值、以及自該對比度中間值映射獲得的一第二映射值,並接著利用該裁剪單元1213以依據該裁剪閥值對L個第一直方條進行裁剪以獲得L個裁剪部分,並將該L個裁剪部分所含有的畫素數量均分至該K個第一直方條,以獲得一包含K個第二直方條的第二直方圖。圖5即為第二直方圖的示圖。FIG. 3 is a block diagram of the dynamic contrast adjustment module of the present invention shown in FIG. 2 . As shown in Figure 3, the dynamic
在一實施例中,該閥值計算單元1212利用以下數學運算式(1)計算獲得該裁剪閥值:
…… (1)。
In one embodiment, the
於上式(1)中,EQ_lim為該裁剪閥值,User_coe為該對比度數值、50為該對比度中間值、C為該第一映射值,且B為該第二映射值。具體地,顯示器的對比度數值的可調範圍通常為0~100,可以記為[0, 100],且(0-100)/2=50為所述對比度中間值。依據本發明之設計,該動態對比度調整模塊121在[0,50]的對比度數值範圍內執行動態對比度減弱操作,且在(50,100]的對比度數值範圍內執行動態對比度增強。其中,0為User_coe的最小取值,且100為User_coe的最大取值。In the above formula (1), EQ_lim is the clipping threshold, User_coe is the contrast value, 50 is the contrast intermediate value, C is the first mapping value, and B is the second mapping value. Specifically, the adjustable range of the contrast value of the display is usually 0 to 100, which can be recorded as [0, 100], and (0-100)/2=50 is the intermediate contrast value. According to the design of the present invention, the dynamic
值得注意的是,在進行直方圖的製作時,先從灰階值0~255之中挑選17個採樣點,這些採樣點的灰階值介於0~255之間。接著,統計圖像區塊之中其畫素灰階值等於這17個採樣點的灰階值的個數。舉例而言,17個灰階值分別為G1~G17,其中,在圖像區塊之中,畫素灰階值等於G1的畫素的個數有100個、……、畫素灰階值等於G17的畫素的個數有20個。在完成畫素個數的統計後,即可繪製出如圖4所示之包含K個第一直方條的第一直方圖。繼續地,如圖4所示,以裁剪閥值EQ_lim對L個所述第一直方條進行裁剪以獲得L個裁剪部分,接著,如圖5所示,將該L個裁剪部分所含有的畫素數量均分至該K個第一直方條,以獲得一包含K個第二直方條的第二直方圖。其中,K為正整數,且L≦K。It is worth noting that when making the histogram, 17 sampling points are first selected from the
繼續地,該動態對比度調整模塊121啟用其累積分佈計算單元1214以及參數計算單元1215,從而對如圖5所示之K個第二直方條執行一直方條累積(Cumulative Distribution Function, CDF)運算以獲得K個累積參數,而後依據該K個累積參數與一圖像長寬參數計算出K個對比度參數。具體地,該累積分佈計算單元1214和該參數計算單元1215分別利用以下數學運算式(2)、(3)計算獲得所述累積參數與所述對比度參數:
…············ (2)
………………………········ (3)
Continuing, the dynamic
於上式(2)中,CDF(i)為第i個所述累積參數,i≦K,Hist(1)為第1個所述第二直方條,Hist(i-1)為第i-1個所述第二直方條,且Hist(i)為第i個所述第二直方條。於上式(3)中,Dbit為用以表示數據處理精度的位元,例如9位元。並且,DRF(i)為所述對比度參數,且W和L為所述圖像長寬參數。具體地,對由該輸入顯示數據所對應的圖像執行一直方圖生成操作時,通常會將該圖像分割成複數個512×512大小的灰度圖像。在此情況下,本發明所採用算法的數據處理精度為9位元,因此
=511。
In the above formula (2), CDF(i) is the i-th cumulative parameter, i≦K, Hist(1) is the first second histogram, and Hist(i-1) is the i-
完成K個所述對比度參數的計算之後,該動態對比度調整模塊121啟用其處理單元1216,從而依據該K個採樣點與該K個對比度參數繪出所述對比度參數曲線,接著利用該對比度參數曲線對該輸入顯示數據進行所述灰階值調整處理。After completing the calculation of the K contrast parameters, the dynamic
舉例而言,當該顯示裝置1的對比度數值為30時(即,User_coe=30),可以先令User_coe=70並計算出對應的裁剪閥值EQ_lim,接著利用此EQ_lim對圖4所示之K個第一第一直方條進行裁剪。應可理解,由於只有L個所述第一直方條會超過EQ_lim,因此實際上只能夠對L個所述第一直方條進行裁剪以獲得L個裁剪部分。繼續地,將該L個裁剪部分所含有的畫素數量均分至該K個第一直方條以獲得一包含K個第二直方條的第二直方圖(如圖5所示),接著對該K個第二直方條執行一直方條累積運算以獲得K個累積參數,並依據該K個累積參數與一圖像長寬參數計算出K個對比度參數。For example, when the contrast value of the
最終,該處理單元1216依據K個採樣點與該K個對比度參數繪製一對比度參數曲線,此對比度參數曲線在此稱為正向對比度參數曲線。圖6即為正向對比度參數曲線的示圖。接著,將圖6的17個數據點的(X,Y)數值對調以獲得新的17個數據點,並將此17個數據點繪製成另一對比度參數曲線,此對比度參數曲線在此稱為反向對比度參數曲線。圖7即為正向對比度參數曲線和反向對比度參數曲線的示圖。如圖7所示,利用(X=Y, Y=X)的數據對稱法將正向對比度參數曲線的兩個數據點(96, 155)、(128,192)對稱為反向對比度參數曲線的兩個數據點(155, 96)、(192,128)。Finally, the
繼續地,可以將正向對比度參數曲線的17個數據點和反向對比度參數曲線的17個數據點以線段座標形式表示之上。圖8即為以線段座標形式表示的正向對比度參數曲線和反向對比度參數曲線的示圖。如圖8所示, 在一512×512大小的灰度圖像沿著X軸採樣17個採樣點,採樣步長step=32,因此0、32、64、96、128、160、192、224、256、288、320、352、384、416、448、480、511即為X軸的17個座標點。應可理解,每個採樣點有其對應的DCR。並且,在獲得反向對比度參數曲線之後,還可以進一步地利用插值法(Interpolation)計算每個採樣點的DCR。最終,該處理單元1216接著利用該反向對比度參數曲線對該輸入顯示數據進行所述灰階值調整處理。通常,利用查表法與插值法可以獲得每個採樣點的DCR所對應的亮度值,該亮度值對應一畫素灰階值,即為經過對比度調整處理之後的畫素灰階值。在完成所述灰階值調整處理之後,該處理單元1216產生一輸出顯示數據,使該顯示驅動晶片12依據該輸出顯示數據而驅動該顯示面板11顯示一兼具動態對比度增強與減弱的圖像。Continuing, the 17 data points of the forward contrast parameter curve and the 17 data points of the reverse contrast parameter curve can be expressed in the form of line segment coordinates. Figure 8 is a diagram showing the forward contrast parameter curve and the reverse contrast parameter curve expressed in the form of line segment coordinates. As shown in Figure 8, a 512×512 grayscale image is sampled along the , 256, 288, 320, 352, 384, 416, 448, 480, 511 are the 17 coordinate points of the X-axis. It should be understood that each sampling point has its corresponding DCR. Moreover, after obtaining the inverse contrast parameter curve, the DCR of each sampling point can be further calculated using the interpolation method. Finally, the
如此,上述係已完整且清楚地說明本發明之動態對比度調整模塊;並且,經由上述可得知本發明係具有下列之優點:In this way, the above has completely and clearly explained the dynamic contrast adjustment module of the present invention; and from the above, it can be known that the present invention has the following advantages:
(1)本發明提供一種動態對比度調整模塊,其可實現顯示裝置的動態對比度調節,且具有高適用性、最大調整範圍可調、可動態降低對比度以及可動態增強對比度等特點。具體地,本發明之該動態對比度調整模塊在[0,50]的對比度數值範圍內執行動態對比度減弱操作,在(50,100]的對比度數值範圍內執行動態對比度增強,從而完成所述對比度調整處理之後產生所述輸出顯示數據,使該顯示驅動晶片依據該輸出顯示數據而驅動該顯示裝置顯示一兼具動態對比度增強與減弱的圖像。另一方面,可以通過調節客戶參數(如:[0, 100])與內部使用算法參數(如:C、B)的映射關係之方式,使得本發明之動態對比度調整模塊適用於各種顯示裝置。(1) The present invention provides a dynamic contrast adjustment module that can realize dynamic contrast adjustment of a display device and has the characteristics of high applicability, adjustable maximum adjustment range, dynamic contrast reduction, and dynamic contrast enhancement. Specifically, the dynamic contrast adjustment module of the present invention performs a dynamic contrast weakening operation within a contrast value range of [0,50], and performs a dynamic contrast enhancement operation within a contrast value range of (50,100], thereby completing the contrast adjustment process. The output display data is generated so that the display driver chip drives the display device to display an image with both dynamic contrast enhancement and weakening based on the output display data. On the other hand, the user parameters (such as: [0, 100]) and the internally used algorithm parameters (such as: C, B), making the dynamic contrast adjustment module of the present invention suitable for various display devices.
(2)並且,本發明同時提供一種顯示裝置,其包含至少一顯示驅動晶片以及一顯示面板,其特徵在於,該顯示驅動晶片具有如前所述本發明之動態對比度調整模塊,從而利用該動態對比度調整模塊對一輸入顯示數據進行一對比度調整處理,使該顯示驅動晶片12驅動該顯示面板顯示具高對比度之圖像。(2) Furthermore, the present invention also provides a display device, which includes at least one display driver chip and a display panel. It is characterized in that the display driver chip has the dynamic contrast adjustment module of the present invention as described above, thereby utilizing the dynamic contrast adjustment module. The contrast adjustment module performs a contrast adjustment process on an input display data, so that the
(3)進一步地,本發明還提供一種資訊處理裝置,其特徵在於,包含如前所述本發明之顯示裝置。在可行的實施例中,該資訊處理裝置為選自於由平面顯示裝置、智慧型電視、智慧型手機、智慧型手錶、平板電腦、一體式電腦、筆記型電腦、車載娛樂裝置、和視訊式門口機所組成群組之中的一種電子裝置。(3) Furthermore, the present invention also provides an information processing device, which is characterized by including the display device of the present invention as described above. In a feasible embodiment, the information processing device is selected from the group consisting of a flat display device, a smart TV, a smart phone, a smart watch, a tablet computer, an all-in-one computer, a notebook computer, an in-vehicle entertainment device, and a video communication device. An electronic device in a group composed of door phones.
必須加以強調的是,前述本案所揭示者乃為較佳實施例,舉凡局部之變更或修飾而源於本案之技術思想而為熟習該項技藝之人所易於推知者,俱不脫本案之專利權範疇。It must be emphasized that the foregoing disclosed in this case are preferred embodiments. Any partial changes or modifications derived from the technical ideas of this case and easily inferred by those familiar with the art do not deviate from the patent of this case. category of rights.
綜上所陳,本案無論目的、手段與功效,皆顯示其迥異於習知技術,且其首先發明合於實用,確實符合發明之專利要件,懇請 貴審查委員明察,並早日賜予專利俾嘉惠社會,是為至禱。To sum up, regardless of the purpose, means and effects of this case, it shows that it is completely different from the conventional technology, and that the invention is practical first, and indeed meets the patent requirements for inventions. I sincerely ask the review committee to take a clear look and grant the patent as soon as possible for your benefit. Society is a prayer for the Supreme Being.
1a:顯示裝置1a:Display device
11a:顯示面板11a:Display panel
12a:顯示驅動晶片12a: Display driver chip
121a:對比度調整單元121a: Contrast adjustment unit
2a:上位機2a: Host computer
1:顯示裝置1:Display device
11:顯示面板11:Display panel
12:顯示驅動晶片12:Display driver chip
121:動態對比度調整模塊121:Dynamic contrast adjustment module
1211:直方圖生成單元1211: Histogram generation unit
1212:閥值計算單元1212: Threshold calculation unit
1213:裁剪單元1213:Cutting unit
1214:累積分佈計算單元1214: Cumulative distribution calculation unit
1215:參數計算單元1215: Parameter calculation unit
1216:處理單元1216:Processing unit
2:上位機2: Host computer
圖1為習知的一種顯示裝置的方塊圖; 圖2為包含本發明之一種動態對比度調整模塊的一顯示裝置的方塊圖; 圖3為圖2所示之本發明之動態對比度調整模塊的方塊圖; 圖4為第一直方圖的示圖; 圖5為第二直方圖的示圖; 圖6為正向對比度參數曲線的示圖; 圖7為正向對比度參數曲線和反向對比度參數曲線的示圖;以及 圖8為為以線段座標形式表示的正向對比度參數曲線和反向對比度參數曲線的示圖。 Figure 1 is a block diagram of a conventional display device; Figure 2 is a block diagram of a display device including a dynamic contrast adjustment module of the present invention; Figure 3 is a block diagram of the dynamic contrast adjustment module of the present invention shown in Figure 2; Figure 4 is a diagram of the first histogram; Figure 5 is a diagram of the second histogram; Figure 6 is a diagram of the forward contrast parameter curve; Figure 7 is a diagram of a forward contrast parameter curve and a reverse contrast parameter curve; and FIG. 8 is a diagram showing the forward contrast parameter curve and the reverse contrast parameter curve expressed in the form of line segment coordinates.
121:動態對比度調整模塊 121:Dynamic contrast adjustment module
1211:直方圖生成單元 1211: Histogram generation unit
1212:閥值計算單元 1212: Threshold calculation unit
1213:裁剪單元 1213:Cutting unit
1214:累積分佈計算單元 1214: Cumulative distribution calculation unit
1215:參數計算單元 1215: Parameter calculation unit
1216:處理單元 1216:Processing unit
Claims (9)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW111147634A TWI822513B (en) | 2022-12-12 | 2022-12-12 | Dynamic contrast adjustment module, display driver chip, display device and information processing device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW111147634A TWI822513B (en) | 2022-12-12 | 2022-12-12 | Dynamic contrast adjustment module, display driver chip, display device and information processing device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| TWI822513B true TWI822513B (en) | 2023-11-11 |
| TW202425618A TW202425618A (en) | 2024-06-16 |
Family
ID=89722669
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| TW111147634A TWI822513B (en) | 2022-12-12 | 2022-12-12 | Dynamic contrast adjustment module, display driver chip, display device and information processing device |
Country Status (1)
| Country | Link |
|---|---|
| TW (1) | TWI822513B (en) |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20120139933A1 (en) * | 2010-12-03 | 2012-06-07 | Fujitsu Limited | Image display device and method, and image processing device |
| US20200365094A1 (en) * | 2019-05-16 | 2020-11-19 | Silicon Works Co., Ltd. | Display driving device and driving method of adjusting brightness of image based on ambient illumination |
-
2022
- 2022-12-12 TW TW111147634A patent/TWI822513B/en active
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20120139933A1 (en) * | 2010-12-03 | 2012-06-07 | Fujitsu Limited | Image display device and method, and image processing device |
| US20200365094A1 (en) * | 2019-05-16 | 2020-11-19 | Silicon Works Co., Ltd. | Display driving device and driving method of adjusting brightness of image based on ambient illumination |
Non-Patent Citations (1)
| Title |
|---|
| 專書 Rafael C. Gonzalez, Richard E. Woods, Digital Image Processing, ISBN 10: 1-292-22304-9 Pearson Education Limited, 2017-10-26, * |
Also Published As
| Publication number | Publication date |
|---|---|
| TW202425618A (en) | 2024-06-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN102063706B (en) | Rapid defogging method | |
| CN103165093B (en) | A kind of method and display device adjusting screen refresh rate | |
| CN103440630A (en) | Large-dynamic-range infrared image display and detail enhancement method based on guiding filter | |
| JP3506200B2 (en) | Positioning device | |
| Huang et al. | A new hardware-efficient algorithm and reconfigurable architecture for image contrast enhancement | |
| US11823352B2 (en) | Processing video frames via convolutional neural network using previous frame statistics | |
| CN116825039B (en) | Backlight brightness calculation method, display device and computer-readable storage medium | |
| WO2020259123A1 (en) | Method and device for adjusting image quality, and readable storage medium | |
| TW201308997A (en) | Method of improving image quality for display device | |
| US20090074317A1 (en) | System and method for reducing halo effect in image enhancement | |
| CN115661008A (en) | Image enhancement processing method, device, equipment and medium | |
| TWI822513B (en) | Dynamic contrast adjustment module, display driver chip, display device and information processing device | |
| CN114998163B (en) | Infrared digital image gray level mapping method | |
| TWI823711B (en) | Contrast adjustment module, display driver chip, display device and information processing device | |
| CN108109181B (en) | Circuit for reading image compressed data and anti-distortion circuit comprising same | |
| CN114429426A (en) | Low-illumination image quality improvement method based on Retinex model | |
| US10909669B2 (en) | Contrast adjustment system and contrast adjustment method | |
| CN114202517A (en) | Method and device for adjusting image contrast | |
| CN108564534A (en) | A kind of picture contrast method of adjustment based on retrieval | |
| JP3900972B2 (en) | Contrast enhancement method | |
| CN114862706B (en) | Tone mapping method for keeping gradient direction of image | |
| CN112785509B (en) | Image contrast enhancement methods, devices, equipment and media | |
| CN114519683A (en) | Image processing method and image processing device using same | |
| TWI879464B (en) | Regional backlight control method, backlight driver chip and information processing device | |
| CN116137019B (en) | A display screen processing method, apparatus, device, and storage medium |