TWI758872B - Display overdrive compensation method and display device and handheld device using the same - Google Patents

Display overdrive compensation method and display device and handheld device using the same Download PDF

Info

Publication number
TWI758872B
TWI758872B TW109132507A TW109132507A TWI758872B TW I758872 B TWI758872 B TW I758872B TW 109132507 A TW109132507 A TW 109132507A TW 109132507 A TW109132507 A TW 109132507A TW I758872 B TWI758872 B TW I758872B
Authority
TW
Taiwan
Prior art keywords
line segment
image data
blocks
value
sub
Prior art date
Application number
TW109132507A
Other languages
Chinese (zh)
Other versions
TW202212933A (en
Inventor
王永剛
Original Assignee
大陸商北京集創北方科技股份有限公司
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 大陸商北京集創北方科技股份有限公司 filed Critical 大陸商北京集創北方科技股份有限公司
Priority to TW109132507A priority Critical patent/TWI758872B/en
Application granted granted Critical
Publication of TWI758872B publication Critical patent/TWI758872B/en
Publication of TW202212933A publication Critical patent/TW202212933A/en

Links

Images

Landscapes

  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

一種顯示器之過驅動補償方法,包括:對各幀輸入圖像資料均進行垂直方向之一分塊運算以得到N個分塊,其中N為大於或等於1的整數;對所述N個分塊各進行一線段檢測運算以分別得到一線段向量,各該線段向量均包含一長度數值及一亮度數值;將一當前幀之所述輸入圖像資料之各該分塊中之該些線段向量與前一幀之所述輸入圖像資料之各該分塊中之該些線段向量對應地各進行一亮度比較運算,並依該亮度比較運算的結果產生一過驅動補償指示旗標;以及在該過驅動補償指示旗標呈現作用狀態時,依該當前幀之所述輸入圖像資料與該前一幀之所述輸入圖像資料中之兩個對應的所述線段向量中的所述亮度數值的差異對該當前幀之所述輸入圖像資料中之對應圖像資料進行一過驅動補償運算以輸出一過驅動補償圖像資料。 An overdrive compensation method for a display, comprising: performing a block operation in the vertical direction on each frame of input image data to obtain N blocks, wherein N is an integer greater than or equal to 1; A line segment detection operation is performed for each to obtain a line segment vector, each of which includes a length value and a brightness value; the line segment vectors in each of the blocks of the input image data of a current frame are combined with performing a luminance comparison operation on the line segment vectors in each of the sub-blocks of the input image data of the previous frame correspondingly, and generating an overdrive compensation indication flag according to the result of the luminance comparison operation; and in the When the overdrive compensation indication flag is in an active state, according to the luminance value in the line segment vector corresponding to two of the input image data of the current frame and the input image data of the previous frame Perform an overdrive compensation operation on the corresponding image data in the input image data of the current frame to output an overdrive compensated image data.

Description

顯示器之過驅動補償方法及利用其之顯示裝置和手持裝置 Display overdrive compensation method and display device and handheld device using the same

本發明係有關於顯示裝置,特別是關於一種顯示器之過驅動補償方法及過驅動補償裝置。 The present invention relates to a display device, in particular to an overdrive compensation method and an overdrive compensation device for a display.

近年來,平板顯示器已逐步取代陰極射線管顯示器(CRT)而廣泛應用於各種行業,成為大多數電子設備(如手機、Pad、電視、電腦等)不可或缺的組成部件。 In recent years, flat panel displays have gradually replaced cathode ray tube displays (CRTs) and are widely used in various industries, becoming an indispensable component of most electronic devices (such as mobile phones, Pads, TVs, computers, etc.).

面板之回應時間係衡量各類面板之特性和品質的重要因素之一,當響應時間過長時,會導致畫面有運動拖影之現象,而在使用手機進行上下滑屏操作時,就能在條帶、文字、圖樣和GUI等內容之邊緣處觀察到。 The response time of the panel is one of the important factors to measure the characteristics and quality of various panels. When the response time is too long, it will cause the phenomenon of motion smear on the screen. Observed at the edges of content such as strips, text, graphics, and GUIs.

請一併參照圖1a至1d,其中,圖1a繪示運動拖影現象之示意圖;圖1b繪示一習知過驅動補償裝置之方塊圖;圖1c繪示使圖1b之習知過驅動補償裝置產生漏補償之一畫面變動情境示意圖;以及圖1d繪示使圖1b之習知過驅動補償裝置產生誤補償之一畫面變動情境示意圖。 Please refer to FIGS. 1a to 1d together, wherein FIG. 1a shows a schematic diagram of the motion smear phenomenon; FIG. 1b shows a block diagram of a conventional overdrive compensation device; FIG. 1c shows the conventional overdrive compensation of FIG. 1b A schematic diagram of a frame change situation in which the device generates leakage compensation; and FIG. 1d is a schematic diagram of a frame change situation in which the conventional overdrive compensation device of FIG. 1b generates miscompensation.

如圖1a所示,畫面資料位元寬是8bit(取值範圍0~255)之應用場合,背景之灰階值(Gray Level,GL)為64,畫面中有一灰色條帶(GL192)垂直向上滾動,條帶邊緣從前一幀之Line A行位置處移動到當前幀的Line B行位置處,若面板回應時間過長,Line A和Line B間之區域就會出現運動拖影現象。 As shown in Figure 1a, the image data bit width is 8 bits (value range 0~255), the background gray level (Gray Level, GL) is 64, and there is a gray strip (GL192) in the screen vertically upward When scrolling, the edge of the strip moves from the position of Line A in the previous frame to the position of Line B in the current frame. If the panel response time is too long, there will be motion smear in the area between Line A and Line B.

為了減輕或抑制這種現象,習知已有過驅動補償(Over-Drive Compensation)方法被提出,其係透過適當加強或減弱待顯示灰階所對應之驅動電壓,以縮短回應時間而達到理想的輸出效果。在圖1a中,在顯示當前幀時將Line A與Line B間各行之灰階值增大至208,再施加對應208灰階之驅動電壓於面板之像素即能改善拖影現象。 In order to alleviate or suppress this phenomenon, the conventional over-drive compensation (Over-Drive Compensation) method has been proposed, which is to appropriately strengthen or weaken the driving voltage corresponding to the gray scale to be displayed, so as to shorten the response time and achieve an ideal output. Effect. In FIG. 1a, when the current frame is displayed, the grayscale value of each line between Line A and Line B is increased to 208, and then the driving voltage corresponding to the grayscale of 208 is applied to the pixels of the panel to improve the smear phenomenon.

另外,如圖1b所示,一般的過驅動補償裝置會使用一過驅動查找表(Look-Up Table,LUT)10以獲得圖像資料之過驅動補償量(例如從GL64 到192變化之的過驅動補償量為16(208減掉192))。由於查表時需同時用到當前幀圖像資料和前一幀圖像資料,因此會事先將前一幀所有圖像資料存入一幀暫存器(Frame Buffer)20,在處理當前幀時再讀出與當前幀圖像資料進行對比和查表使用。然而,隨著顯示解析度之增大,需要之幀暫存器20之容量也隨之增大。 In addition, as shown in FIG. 1b, a general overdrive compensation device uses an overdrive look-up table (LUT) 10 to obtain the overdrive compensation amount of the image data (for example, from GL64 The overdrive compensation amount changed to 192 is 16 (208 minus 192)). Since the image data of the current frame and the image data of the previous frame need to be used at the same time when looking up the table, all the image data of the previous frame will be stored in a frame buffer (Frame Buffer) 20 in advance. When processing the current frame Then read it out for comparison with the current frame image data and look up the table for use. However, as the display resolution increases, the required capacity of the frame register 20 also increases.

為了減小幀暫存器之容量以及頻寬需求,需要對當前幀圖像資料先進行編碼壓縮後再儲存,相應地,還需要在過驅動補償端對前一幀之編碼進行解壓縮。編碼壓縮可採用離散餘弦變換(Discrete Cosine Transform,DCT),但其在硬體實現時較為複雜,且在壓縮比較高時,重建圖像會有較大的失真且壓縮後之資料量仍然相當大,因而限制了對電路規模、儲存容量、頻寬和功耗非常敏感之驅動晶片的應用層面。 In order to reduce the capacity and bandwidth requirements of the frame register, it is necessary to encode and compress the image data of the current frame before storing. Accordingly, it is also necessary to decompress the encoding of the previous frame at the overdrive compensation end. Discrete Cosine Transform (DCT) can be used for coding and compression, but it is more complicated in hardware implementation, and when the compression ratio is high, the reconstructed image will have large distortion and the amount of compressed data is still quite large. , thus limiting the application level of driver chips that are very sensitive to circuit scale, storage capacity, bandwidth and power consumption.

如圖1c所示,圖1b之過驅動補償裝置針對無法提供較多存儲容量之應用場合時,係以行(或塊)為單位用於計算圖像資料的平均值(Average Picture Level,APL)並儲存到暫存器,在對當前幀之圖像資料進行過驅動補償時,取出前一幀對應行(或塊)之的APL值與當前圖像資料進行比較並查表,獲得相應之補償量後疊加至當前圖像資料以完成過驅動補償。由於每行(或塊)只需儲存一個APL值,因此能以行暫存器(Line Buffer)取代面積較大之幀暫存器以減少硬體資源耗用,然而,因為整行圖像資料僅以一個APL值表示,故不可避免會發生錯誤補償現象。 As shown in FIG. 1c, the overdrive compensation device of FIG. 1b is used to calculate the average value (Average Picture Level, APL) of the image data in the unit of row (or block) when it cannot provide more storage capacity. And store it in the temporary register. When overdrive compensation is performed on the image data of the current frame, take out the APL value of the corresponding row (or block) of the previous frame and compare it with the current image data and look up the table to obtain the corresponding compensation. After the amount is added to the current image data to complete the overdrive compensation. Since each line (or block) only needs to store one APL value, the line buffer can be used to replace the larger frame register to reduce hardware resource consumption. However, because the entire line of image data It is only represented by one APL value, so it is inevitable that error compensation will occur.

如圖1c所示,畫面背景(GL64)上,Line A上有一根GL128且長度等於圖像寬度(W)的橫條Bar1,行B(Line B)上有一根GL192且長度等於一半圖像寬度(W/2)的橫條Bar2。在前一幀切換到當前幀時,橫條Bar1垂直向上移動並覆蓋橫條Bar2。而正確補償結果應為Line A左半側圖像資料192到128變化時進行向下補償運算,而右半側圖像資料64到128變化時進行向上補償運算。由於Line B在前一幀之行APL計算值為128,與橫條Bar1上所有圖像資料都相等,所以橫條Bar1移動到Line B時不會做過驅動處理,從而造成漏補償(missing compensation)現象。 As shown in Figure 1c, on the screen background (GL64), Line A has a GL128 horizontal bar Bar1 with a length equal to the image width (W), and Line B (Line B) has a GL192 with a length equal to half the image width (W/2) bar Bar2. When the previous frame switches to the current frame, the horizontal bar Bar1 moves vertically upward and covers the horizontal bar Bar2. The correct compensation result should be the downward compensation operation when the image data 192 to 128 on the left half of Line A change, and the upward compensation operation when the image data 64 to 128 on the right half change. Since the APL calculation value of Line B in the previous frame is 128, which is equal to all the image data on the horizontal bar Bar1, the driving processing will not be performed when the horizontal bar Bar1 moves to Line B, resulting in missing compensation (missing compensation). )Phenomenon.

如圖1d所示,Line A和Line B的左側都有長度為W/2且灰階為192的橫條(Bar1和Bar3),當Line A處的橫條Bar1移至Line B處覆蓋橫條Bar3時,由於Line B在前一幀的APL值為128,導致本來不需要做過驅動處理的Bar1上的像素進行192到128的向下補償運算,而Bar2上的像素則進行64到128的向上補償運算,從而造成誤補償(false compensation)現象。同理,當一行內出現文字或圖樣等常見內容時,也可能因為誤補償而出現噪點失真等問題。 As shown in Figure 1d, there are horizontal bars (Bar1 and Bar3) with a length of W/2 and a grayscale of 192 on the left side of Line A and Line B. When the horizontal bar at Line A is moved to Line B, the bar is covered by the horizontal bar. At Bar3, since the APL value of Line B in the previous frame is 128, the pixels on Bar1, which do not need to be driven, perform a downward compensation operation of 192 to 128, while the pixels on Bar2 perform a downward compensation operation of 64 to 128. Compensation operation upwards, resulting in the phenomenon of false compensation. Similarly, when common content such as text or patterns appear in a line, problems such as noise and distortion may also occur due to incorrect compensation.

綜上所述,該習知過驅動補償方法無法同時解決減少儲存容量以及避免過驅動補償效果不佳之問題。 To sum up, the conventional overdrive compensation method cannot solve the problem of reducing the storage capacity and avoiding the poor effect of the overdrive compensation at the same time.

為解決上述的問題,本領域亟需一新穎的顯示器之過驅動補償方法。 In order to solve the above problems, a novel overdrive compensation method for a display is urgently needed in the art.

本發明之一目的在於揭露一種顯示器之過驅動補償方法,其能解決習知技術的漏補償和誤補償之問題,用以達到過驅動補償正確性之目的。 One objective of the present invention is to disclose an overdrive compensation method for a display, which can solve the problems of leakage compensation and false compensation in the prior art, so as to achieve the purpose of correctness of overdrive compensation.

本發明之另一目的在於揭露一種顯示器之過驅動補償方法,能同時解決減少儲存容量以及過驅動補償正確性之目的。 Another object of the present invention is to disclose an overdrive compensation method for a display, which can simultaneously solve the goals of reducing storage capacity and correctness of overdrive compensation.

本發明之另一目的在於揭露一種顯示器之過驅動補償方法,能藉由正確過驅動補償性,改善該顯示器之顯示屏之拖影現象,達到提升視覺效果的目的。 Another object of the present invention is to disclose an overdrive compensation method for a display, which can improve the smear phenomenon of the display screen of the display by correcting the overdrive compensation, so as to achieve the purpose of improving the visual effect.

為達前述目的,一種顯示器之過驅動補償方法乃被提出,用以改善該顯示器之一顯示屏之拖影現象,其係由一控制電路實現,該方法包括:利用一分塊單元對各幀輸入圖像資料均進行垂直方向之一分塊運算以得到N個分塊,其中N為大於或等於1的整數;利用一線段檢測單元對所述N個分塊各進行一線段檢測運算以分別得到一線段向量,各該線段向量均包含一長度數值及一亮度數值,並將該些線段向量存入一儲存單元;利用一判斷單元將一當前幀之所述輸入圖像資料之各該分塊中之該些線段向量與前一幀之所述輸入圖像資料之各該分塊中之該些線段向量對應地各進行一亮度比較運算,並依該亮度比較運算的結果產生一過驅動補償指示旗標,其中,當該當前幀之所述輸入圖像 資料與該前一幀之所述輸入圖像資料中之兩個對應的所述線段向量中的所述亮度數值的差異大於一閾值時,該過驅動補償指示旗標會呈現一作用狀態;以及利用一補償單元在該過驅動補償指示旗標呈現該作用狀態時,依該當前幀之所述輸入圖像資料與該前一幀之所述輸入圖像資料中之兩個對應的所述線段向量中的所述亮度數值的差異對該當前幀之所述輸入圖像資料中之對應圖像資料進行一過驅動補償運算以輸出一過驅動補償圖像資料。此外,本發明亦揭示利用其之顯示裝置和手持裝置。 In order to achieve the aforementioned object, an overdrive compensation method of a display is proposed to improve the smear phenomenon of a display screen of the display. The input image data is subjected to a vertical block operation to obtain N blocks, where N is an integer greater than or equal to 1; a line segment detection unit is used to perform a line segment detection operation on each of the N blocks to respectively Obtain line segment vectors, each of which includes a length value and a brightness value, and store the line segment vectors in a storage unit; use a judgment unit to store each segment of the input image data of a current frame The line segment vectors in the block and the line segment vectors in each of the sub-blocks of the input image data of the previous frame are correspondingly performed a luminance comparison operation, and an overdrive is generated according to the result of the luminance comparison operation compensation indicating flag, wherein when the input image of the current frame When the difference between the luminance values in the line segment vectors corresponding to the data and the two corresponding input image data of the previous frame is greater than a threshold, the overdrive compensation indicating flag will exhibit an active state; and When the overdrive compensation indication flag is in the active state, a compensation unit is used, according to the line segments corresponding to two of the input image data of the current frame and the input image data of the previous frame The difference of the luminance values in the vector performs an overdrive compensation operation on the corresponding image data in the input image data of the current frame to output an overdrive compensated image data. In addition, the present invention also discloses a display device and a handheld device utilizing the same.

在一實施例中,各所述分塊之大小為相等或不相等。 In one embodiment, the size of each of the partitions is equal or unequal.

在一實施例中,該圖像資料為該圖像位置處像素之一灰階值。 In one embodiment, the image data is a grayscale value of a pixel at the image location.

在一實施例中,其進一步包括一預處理步驟,用於在線段檢測運算之前先以一垂直方向或一水平方向對該圖像資料進行一雜訊濾波運算。 In one embodiment, it further includes a preprocessing step for performing a noise filtering operation on the image data in a vertical direction or a horizontal direction before the line segment detection operation.

在一實施例中,所述線段檢測運算包括:步驟一、決定一檢測最大線段數M及將各分塊進行水平方向之一分塊運算以得到M個子塊,所述各子塊均包含n行及m列像素,其中M、n及m均為大於或等於1的自然數;步驟二、計算所述各子塊各列之像素平均值A;步驟三、初始化所述各子塊之一線段向量,各所述線段向量均包含一亮度值GL及一長度數值LEN,記錄所述各子塊之各起始列之一亮度平均值gl且設定一線段長度計數器len為1及一列計數器i為所述各子塊之列數加1;步驟四、計算所述各子塊各列之一像素平均值與相鄰前一列之像素平均值之一差值絕對值,若所述差值絕對值小於一第一預設閾值時,將該線段長度計數器len加1;步驟五、若該線段長度計數器len大於該長度數值LEN時,更新該線段向量為;GL=gl,LEN=len;步驟六、重設該亮度平均值gl為該列之像素平均值A及該線段長度計數器為1,將該列計數器i加1;步驟七、判斷該列計數器i是否大於或等於該列數值m,若是,儲存所述線段向量,若否,回到步驟四;步驟八、將一塊計數器k加1,回到步驟二,直至該塊計數器k等於子塊數M。 In one embodiment, the line segment detection operation includes: step 1, determining a maximum number of line segments M for detection and performing a horizontal block division operation on each sub-block to obtain M sub-blocks, and each sub-block includes n Row and m columns of pixels, where M, n and m are all natural numbers greater than or equal to 1; step 2, calculate the pixel average value A of each column of each sub-block; step 3, initialize a line of each sub-block Segment vector, each of the line segment vectors includes a luminance value GL and a length value LEN, record a luminance average value gl of each starting column of each sub-block, and set a line segment length counter len to 1 and a column counter i Add 1 to the number of columns of the sub-blocks; step 4, calculate the absolute value of the difference between the pixel average value of each column of the sub-block and the pixel average value of the adjacent previous column, if the difference value is absolute When the value is less than a first preset threshold, add 1 to the line segment length counter len; Step 5, if the line segment length counter len is greater than the length value LEN, update the line segment vector as; GL=gl, LEN=len; Step 6. Reset the average value gl of the brightness to the pixel average value A of the column and the length counter of the line segment to 1, and add 1 to the counter i of the column; Step 7. Determine whether the counter i of the column is greater than or equal to the value m of the column, If yes, store the line segment vector, if no, go back to step 4; step 8, increment the block counter k by 1, and go back to step 2 until the block counter k is equal to the number M of sub-blocks.

在一實施例中,所述線段檢測運算包括:步驟一、決定一檢測最大線段數M及將各分塊進行水平方向之一分塊運算以得到M個子塊,所述各 子塊均包含n行及m列像素,其中M、n及m均為大於或等於1的自然數;步驟二、計算所述各子塊各列之像素平均值A;步驟三、初始化所述各子塊之一線段向量,各所述線段向量均包含一亮度值GL及一長度數值LEN,記錄所述各子塊之各起始列之一亮度平均值gl且設定一線段長度計數器len為1及一列計數器i為所述各子塊之列數加1;步驟四、計算所述各子塊各列之一像素平均值與相鄰前一列之像素平均值之一差值絕對值,若所述差值絕對值小於一預設閾值,將該線段長度計數器len加1;步驟五、若該線段長度計數器len大於或等於一第二預設閾值時,更新該線段向量;步驟六、重設該亮度平均值gl為該列之像素平均值A及該線段長度計數器為1,將該列計數器i加1;步驟七、判斷該列計數器i是否大於或等於該列數值m,若是,儲存所述線段向量,若否,回到步驟四;步驟八、將一塊計數器k加1,回到步驟二,直至該塊計數器k等於子塊數M。 In one embodiment, the line segment detection operation includes: step 1, determining a maximum number of line segments M for detection and performing a horizontal block division operation on each sub-block to obtain M sub-blocks. Each sub-block includes n rows and m columns of pixels, wherein M, n and m are all natural numbers greater than or equal to 1; step 2, calculate the pixel average value A of each column of each sub-block; step 3, initialize the A line segment vector of each sub-block, each of the line segment vectors includes a luminance value GL and a length value LEN, record a luminance average value gl of each starting column of each sub-block, and set a line segment length counter len to be 1 and a column counter i add 1 to the number of columns of the sub-blocks; step 4, calculate the absolute value of the difference between the pixel average value of each column of the sub-block and the pixel average value of the adjacent previous column, if If the absolute value of the difference is less than a preset threshold, add 1 to the line segment length counter len; step 5, if the line segment length counter len is greater than or equal to a second preset threshold value, update the line segment vector; step 6, repeat Set the average value of brightness gl to be the pixel average value A of the row and the line segment length counter to be 1, and add 1 to the row counter i; Step 7, determine whether the row counter i is greater than or equal to the row value m, and if so, store For the line segment vector, if not, go back to step 4; step 8, increment the block counter k by 1, and return to step 2 until the block counter k is equal to the number M of sub-blocks.

另外,本發明亦提出一種顯示裝置,其具有如所述之顯示器及控制電路,其中該顯示器係由一LCD顯示器、一LED顯示器、一電子紙顯示器和一OLED顯示器所組成的群組所選擇的一種顯示器。 In addition, the present invention also provides a display device having the display and control circuit as described above, wherein the display is selected from the group consisting of an LCD display, an LED display, an electronic paper display and an OLED display a display.

另外,本發明亦提出一種手持裝置,其具有如所述之顯示裝置,且該手持裝置係一智慧型手機或一可攜式電腦。 In addition, the present invention also provides a handheld device, which has the above-mentioned display device, and the handheld device is a smart phone or a portable computer.

為使 貴審查委員能進一步瞭解本發明之結構、特徵及其目的,茲附以圖式及較佳具體實施例之詳細說明後。 In order to enable your examiners to further understand the structure, features and purposes of the present invention, drawings and detailed descriptions of preferred embodiments are attached.

10:過驅動查找表 10: Overdrive Lookup Table

20:幀暫存器 20: Frame register

100:顯示裝置 100: Display device

110:顯示器 110: Display

120:控制電路 120: Control circuit

200:手持裝置 200: Handheld

210:中央處理單元 210: Central Processing Unit

220:顯示裝置 220: Display device

步驟a1:利用一分塊單元對各幀輸入圖像資料均進行垂直方向之一分塊運算以得到N個分塊,其中N為大於或等於1的整數 Step a1: utilize a block unit to perform a block operation in the vertical direction on each frame of input image data to obtain N blocks, wherein N is an integer greater than or equal to 1

步驟a2:利用一線段檢測單元對所述N個分塊各進行一線段檢測運算以分別得到一線段向量,各該線段向量均包含一長度數值及一亮度數值,並將該些線段向量存入一儲存單元 Step a2: utilize a line segment detection unit to carry out a line segment detection operation to each of the N sub-blocks to obtain a line segment vector, each of which includes a length value and a brightness value, and these line segment vectors are stored in a storage unit

步驟a3:利用一判斷單元將一當前幀之所述輸入圖像資料之各該分塊中之該些線段向量與前一幀之所述輸入圖像資料之各該分塊中之該些線段向量對應地各進行一亮度比較運算,並依該亮度比較運算的結果產生一過驅動補償指示旗標,其中,當該當前幀之所述輸入圖像資料與該前一幀之所述輸入圖像資料中之兩個對應的所述線段向量中的所述亮度數值的差異大於一閾值時,該過驅動補償指示旗標會呈現一作用狀態 Step a3: Using a judging unit to compare the line segment vectors in each of the blocks of the input image data of a current frame with the line segments in each of the blocks of the input image data of the previous frame A luminance comparison operation is performed on each of the vectors correspondingly, and an overdrive compensation indication flag is generated according to the result of the luminance comparison operation, wherein, when the input image data of the current frame and the input image of the previous frame are When the difference between the luminance values in the two corresponding line segment vectors in the data is greater than a threshold, the overdrive compensation indication flag will show an active state

步驟a4:利用一補償單元在該過驅動補償指示旗標呈現該作用狀態時,依該當前幀之所述輸入圖像資料與該前一幀之所述輸入圖像資料中之兩個對應的所述線段向量中的所述亮度數值的差異對該當前幀之所述輸入圖像資料中之對應圖像資料進行一過驅動補償運算以輸出一過驅動補償圖像資料 Step a4: Using a compensation unit when the overdrive compensation indication flag presents the active state, according to the input image data of the current frame and the input image data of the previous frame corresponding to two The difference of the luminance values in the line segment vector performs an overdrive compensation operation on the corresponding image data in the input image data of the current frame to output an overdrive compensation image data

步驟b1:決定一檢測最大線段數M及將各分塊進行水平方向之一分塊運算以得到M個子塊,所述各子塊均包含n行及m列像素,其中M、n及m均為大於或等於1的自然數 Step b1: Determine a maximum number of line segments M for detection and perform a horizontal block operation on each sub-block to obtain M sub-blocks, and each sub-block includes n rows and m columns of pixels, wherein M, n and m are all is a natural number greater than or equal to 1

步驟b2:計算所述各子塊各列之像素平均值A Step b2: Calculate the pixel average value A of each row of the sub-blocks

步驟b3:初始化所述各子塊之一線段向量,各所述線段向量均包含一亮度值GL及一長度數值LEN,記錄所述各子塊之各起始列之一亮度平均值gl且設定一線段長度計數器len為1及一列計數器i為所述各子塊之列數加1 Step b3: Initialize a line segment vector of each sub-block, each of the line segment vectors includes a luminance value GL and a length value LEN, record a luminance average value gl of each starting column of each sub-block and set A segment length counter len is 1 and a column counter i is the number of columns of the sub-blocks plus 1

步驟b4:計算所述各子塊各列之一像素平均值與相鄰前一列之像素平均值之一差值絕對值,若所述差值絕對值小於一第一預設閾值時,將該線段長度計數器len加1 Step b4: Calculate the absolute value of the difference between the pixel average value of each row of the sub-blocks and the pixel average value of the adjacent previous row. If the absolute value of the difference value is less than a first preset threshold, the The line segment length counter len is incremented by 1

步驟b5:若該線段長度計數器len大於該長度數值LEN時,更新該線段向量為;GL=gl,LEN=len Step b5: If the line segment length counter len is greater than the length value LEN, update the line segment vector to be; GL=gl, LEN=len

步驟b6:重設該亮度平均值gl為該列之像素平均值A及該線段長度計數器為1,將該列計數器i加1 Step b6: reset the luminance average value gl to the pixel average value A of the row and the line segment length counter to 1, and add 1 to the row counter i

步驟b7:判斷該列計數器i是否大於或等於該列數值m,若是,儲存所述線段向量,若否,回到步驟b4 Step b7: Determine whether the column counter i is greater than or equal to the column value m, if so, store the line segment vector, if not, go back to step b4

步驟b8:將一塊計數器k加1,回到步驟b2,直至該塊計數器k等於子塊數M Step b8: Increase the block counter k by 1, and return to step b2 until the block counter k is equal to the number of sub-blocks M

步驟c1:決定一檢測最大線段數M及將各分塊進行水平方向之一分塊運算以得到M個子塊,所述各子塊均包含n行及m列像素,其中M、n及m均為大於或等於1的自然數 Step c1: determine a detection maximum line segment number M and perform a horizontal block operation on each sub-block to obtain M sub-blocks, each of which includes n rows and m columns of pixels, wherein M, n and m are all is a natural number greater than or equal to 1

步驟c2:計算所述各子塊各列之像素平均值A Step c2: Calculate the pixel average value A of each row of the sub-blocks

步驟c3:初始化所述各子塊之一線段向量,各所述線段向量均包含一亮度值GL及一長度數值LEN,記錄所述各子塊之各起始列之一亮度平均值gl且設定一線段長度計數器len為1及一列計數器i為所述各子塊之列數加1 Step c3: Initialize a line segment vector of each of the sub-blocks, each of the line-segment vectors includes a luminance value GL and a length value LEN, record a luminance average value gl of each starting column of the sub-blocks and set A segment length counter len is 1 and a column counter i is the number of columns of the sub-blocks plus 1

步驟c4:計算所述各子塊各列之一像素平均值與相鄰前一列之像素平均值之一差值絕對值,若所述差值絕對值小於一第一預設閾值,將該線段長度計數器len加1 Step c4: Calculate the absolute value of the difference between the pixel average value of each row of the sub-blocks and the pixel average value of the adjacent previous row. If the absolute value of the difference value is less than a first preset threshold, the line segment is The length counter len is incremented by 1

步驟c5:若該線段長度計數器len大於或等於一第二預設閾值時,更新該線段向量 Step c5: If the line segment length counter len is greater than or equal to a second preset threshold, update the line segment vector

步驟c6:重設該亮度平均值gl為該列之像素平均值A及該線段長度計數器為1,將該列計數器i加1 Step c6: reset the luminance average value gl to the pixel average value A of the row and the line segment length counter to 1, and add 1 to the row counter i

步驟c7:判斷該列計數器i是否大於或等於該列數值m,若是,儲存所述線段向量,若否,回到步驟c4 Step c7: Determine whether the column counter i is greater than or equal to the column value m, if so, store the line segment vector, if not, return to step c4

步驟c8:將一塊計數器k加1,回到步驟c2,直至該塊計數器k等於子塊數M Step c8: increase the block counter k by 1, and return to step c2 until the block counter k is equal to the number of sub-blocks M

圖1a繪示運動拖影現象之示意圖。 FIG. 1a is a schematic diagram illustrating a motion smear phenomenon.

圖1b繪示一習知過驅動補償裝置之方塊圖。 FIG. 1b shows a block diagram of a conventional overdrive compensation device.

圖1c繪示使圖1b之習知過驅動補償裝置產生漏補償之一畫面變動情境示意圖。 FIG. 1c is a schematic diagram illustrating a situation of a frame change in which leakage compensation is generated by the conventional overdrive compensation device of FIG. 1b.

圖1d繪示使圖1b之習知過驅動補償裝置產生誤補償之一畫面變動情境示意圖。 FIG. 1d is a schematic diagram illustrating a situation of a screen change causing the conventional overdrive compensation device of FIG. 1b to generate erroneous compensation.

圖2繪示本發明之顯示器之過驅動補償方法之一實施例流程圖。 FIG. 2 is a flowchart illustrating an embodiment of an overdrive compensation method for a display of the present invention.

圖3a繪示本發明之顯示器之過驅動補償方法之線段檢測運算之一實施例流程 圖。 FIG. 3a shows the flow of an embodiment of the line segment detection operation of the display overdrive compensation method of the present invention. picture.

圖3b為圖3a之子塊0之線段檢測運算一實施例示意圖。 FIG. 3b is a schematic diagram of an embodiment of the line segment detection operation of the sub-block 0 of FIG. 3a.

圖4a繪示本發明之顯示器之過驅動補償方法之線段檢測運算之另一實施例流程圖。 4a is a flowchart illustrating another embodiment of the line segment detection operation of the overdrive compensation method of the present invention.

圖4b繪示圖4a之子塊0之線段檢測運算一實施例示意圖。 FIG. 4b is a schematic diagram illustrating an embodiment of the line segment detection operation of the sub-block 0 of FIG. 4a.

圖5繪示圖4a之過驅動補償方法之實施例示意圖。 FIG. 5 is a schematic diagram illustrating an embodiment of the overdrive compensation method of FIG. 4a.

圖6繪示本發明之顯示裝置之一實施例方塊圖。 FIG. 6 is a block diagram illustrating an embodiment of the display device of the present invention.

圖7繪示本發明之手持裝置之一實施例方塊圖。 FIG. 7 is a block diagram illustrating an embodiment of the handheld device of the present invention.

請參照圖2,其繪示本發明之顯示器之過驅動補償方法之一實施例流程圖,該方法係由一控制電路實現且係用以改善該顯示器之一顯示屏之拖影現象。 Please refer to FIG. 2 , which shows a flow chart of an embodiment of a display overdrive compensation method of the present invention. The method is implemented by a control circuit and used to improve the smear phenomenon of a display screen of the display.

如圖2所示,本發明之顯示器之過驅動補償方法包括: As shown in FIG. 2, the overdrive compensation method of the display of the present invention includes:

步驟a1:利用一分塊單元對各幀輸入圖像資料均進行垂直方向之一分塊運算以得到N個分塊,其中N為大於或等於1的整數; Step a1: use a block unit to perform a block operation in the vertical direction on each frame of input image data to obtain N blocks, where N is an integer greater than or equal to 1;

步驟a2:利用一線段檢測單元對所述N個分塊各進行一線段檢測運算以分別得到一線段向量,各該線段向量均包含一長度數值及一亮度數值,並將該些線段向量存入一儲存單元; Step a2: Use a line segment detection unit to perform a line segment detection operation on each of the N sub-blocks to obtain a line segment vector, each of which includes a length value and a brightness value, and store these line segment vectors in a storage unit;

步驟a3:利用一判斷單元將一當前幀之所述輸入圖像資料之各該分塊中之該些線段向量與前一幀之所述輸入圖像資料之各該分塊中之該些線段向量對應地各進行一亮度比較運算,並依該亮度比較運算的結果產生一過驅動補償指示旗標,其中,當該當前幀之所述輸入圖像資料與該前一幀之所述輸入圖像資料中之兩個對應的所述線段向量中的所述亮度數值的差異大於一閾值時,該過驅動補償指示旗標會呈現一作用狀態;以及 Step a3: Using a judgment unit to compare the line segment vectors in each of the blocks of the input image data of a current frame with the line segments in each of the blocks of the input image data of the previous frame A luminance comparison operation is performed on each of the vectors correspondingly, and an overdrive compensation indication flag is generated according to the result of the luminance comparison operation, wherein, when the input image data of the current frame and the input image of the previous frame are When the difference between the luminance values in the two corresponding line segment vectors in the data is greater than a threshold, the overdrive compensation indicator flag will exhibit an active state; and

步驟a4:利用一補償單元在該過驅動補償指示旗標呈現該作用狀態時,依該當前幀之所述輸入圖像資料與該前一幀之所述輸入圖像資料中之 兩個對應的所述線段向量中的所述亮度數值的差異對該當前幀之所述輸入圖像資料中之對應圖像資料進行一過驅動補償運算以輸出一過驅動補償圖像資料。 Step a4: When the overdrive compensation indication flag is in the active state, use a compensation unit according to the difference between the input image data of the current frame and the input image data of the previous frame. The difference between the luminance values in the two corresponding line segment vectors performs an overdrive compensation operation on the corresponding image data in the input image data of the current frame to output an overdrive compensation image data.

另外,在步驟a1中,各所述分塊之大小可為相等或不相等,且各該幀輸入圖像資料均代表一幀圖像之像素灰階值。 In addition, in step a1, the size of each of the blocks may be equal or unequal, and each frame of input image data represents the pixel grayscale value of one frame of image.

另外,在步驟a2中,其可進一步包括一預處理步驟,用於在線段檢測運算之前先以一垂直方向或一水平方向對該圖像資料進行一雜訊濾波運算。 In addition, in step a2, it may further include a preprocessing step for performing a noise filtering operation on the image data in a vertical direction or a horizontal direction before the line segment detection operation.

請一併參照圖3a至3b,其中,圖3a繪示本發明之顯示器之過驅動補償方法之線段檢測運算之一實施例流程圖;以及圖3b繪示圖3a之子塊0之線段檢測運算一實施例示意圖。 Please refer to FIGS. 3a to 3b together, wherein FIG. 3a shows a flowchart of an embodiment of the line segment detection operation of the display overdrive compensation method of the present invention; and FIG. 3b shows the line segment detection operation 1 of the sub-block 0 of FIG. 3a Schematic diagram of the embodiment.

如圖3a所示,本發明之顯示器之過驅動補償方法之線段檢測運算包括: As shown in FIG. 3a, the line segment detection operation of the display overdrive compensation method of the present invention includes:

步驟b1:決定一檢測最大線段數M及將各分塊進行水平方向之一分塊運算以得到M個子塊,所述各子塊均包含n行及m列像素,其中M、n及m均為大於或等於1的自然數; Step b1: Determine a maximum number of line segments M for detection and perform a horizontal block operation on each sub-block to obtain M sub-blocks, each of which includes n rows and m columns of pixels, wherein M, n and m are all is a natural number greater than or equal to 1;

步驟b2:計算所述各子塊各列之像素平均值A,如方程式(1)所示,P(i,j)為座標(i,j)處的圖像資料; Step b2: Calculate the pixel average value A of each row of the sub-blocks, as shown in equation (1), where P ( i,j ) is the image data at the coordinate ( i,j );

Figure 109132507-A0101-12-0007-1
Figure 109132507-A0101-12-0007-1

步驟b3:初始化所述各子塊之一線段向量,各所述線段向量均包含一亮度值GL及一長度數值LEN,記錄所述各子塊之各起始列之一亮度平均值gl且設定一線段長度計數器len為1及一列計數器i為所述各子塊之列數加1; Step b3: Initialize a line segment vector of each sub-block, each of the line segment vectors includes a luminance value GL and a length value LEN, record a luminance average value gl of each starting column of each sub-block and set A segment length counter len is 1 and a column counter i is incremented by 1 for the number of columns of the sub-blocks;

步驟b4:計算所述各子塊各列之一像素平均值與相鄰前一列之像素平均值之一差值絕對值,若所述差值絕對值小於一第一預設閾值T d 時,將該線段長度計數器len加1,如方程式(2)所示; Step b4: Calculate the absolute value of the difference between the pixel average value of each row of the sub-blocks and the pixel average value of the adjacent previous row. If the absolute value of the difference value is less than a first preset threshold T d , Increase the line segment length counter len by 1, as shown in equation (2);

B i =|A i -A i-1| len=len+1 if B i <T d (2) B i =| A i - A i -1 | len = len +1 if B i < T d (2)

步驟b5:若該線段長度計數器len大於該長度數值LEN時,更新該線段向量為;GL=gl,LEN=len; Step b5: If the line segment length counter len is greater than the length value LEN, update the line segment vector as; GL=gl, LEN=len;

步驟b6:重設該亮度平均值gl為該列之像素平均值A及該線段長度計數器為1,將該列計數器i加1; Step b6: reset the luminance average value gl to the pixel average value A of the row and the line segment length counter to 1, and increment the row counter i by 1;

步驟b7:判斷該列計數器i是否大於或等於該列數值m,若是,儲存所述線段向量,若否,回到步驟b4; Step b7: determine whether the row counter i is greater than or equal to the row value m, if so, store the line segment vector, if not, return to step b4;

步驟b8:將一塊計數器k加1,回到步驟b2,直至該塊計數器k等於子塊數M。 Step b8: Increase the block counter k by 1, and return to step b2 until the block counter k is equal to the number M of sub-blocks.

假設N=H/n,n=2(即圖像資料在垂直方向被分割成H/2個分塊),M=4(即每個分塊在水平方向被分割成4個子塊),假設每個子塊包含2行18列像素(即m=18及n=2)。如圖3b所示,子塊0(即k=0)的線段檢測運算。圖中第一行i表示各像素之列座標,第二行P(i,j)表示各像素之亮度值(以8bit資料位元示出)。步驟二,逐列計算上下兩行像素之亮度平均值A i ,i=0,...,17(圖中第三行);步驟三,初始化子塊0的線段參數LS 0={GL 0=0,LEN 0=0},記錄其起始列的亮度平均值gl=A 0=1,並令長度計數器len=1,列計數器i=1;步驟四4,計算相鄰平均值的絕對差B i (圖中第四行),並判斷該絕對差值是否小於第一預設閾值T d ,以決定長度計數器len是否累加1(圖中第五行),第一預設閾值閾值以T d =10為例。開始的四列位置處檢測出一條長度為4的線段,但執行到列位置i=5處時,由於B i >T d ,這條線段中斷,步驟五,更新線段參數LS 0={GL 0=1,LEN 0=4},步驟六至七,重設gl=A 4=37及len=1,然後繼續運算下一個列位置(i=5)。反復運算至列位置i=16處,檢測到另一條線段(gl=166,len=6),由於這條線段比第一條線段長,所以更新線段參數LS 0={GL 0=166,LEN 0=6}。當運算子塊0中的所有列後,可最終獲得該子塊的最長線段參數為LS 0={GL 0=166,LEN 0=6}。 Assuming N=H/n, n=2 (that is, the image data is divided into H/2 blocks in the vertical direction), M=4 (that is, each block is divided into 4 sub-blocks in the horizontal direction), suppose Each sub-block includes 2 rows and 18 columns of pixels (ie, m =18 and n =2). As shown in Figure 3b, the line segment detection operation of sub-block 0 (ie, k = 0). In the figure, the first row i represents the column coordinates of each pixel, and the second row P ( i,j ) represents the luminance value of each pixel (shown in 8-bit data bits). Step 2, calculate the luminance average value A i of the upper and lower rows of pixels column by column , i =0,...,17 (the third row in the figure); Step 3, initialize the line segment parameters of sub-block 0 LS 0 ={ GL 0 =0, LEN 0 =0}, record the brightness average value of the starting column gl = A 0 =1, and set the length counter len =1, the column counter i =1; Step 4 4, calculate the absolute value of adjacent average values difference B i (the fourth row in the figure), and determine whether the absolute difference is less than the first preset threshold T d to determine whether the length counter len is accumulated by 1 (the fifth row in the figure), and the first preset threshold threshold is T d = 10 for example. A line segment of length 4 is detected at the first four column positions, but when the execution reaches the column position i = 5, the line segment is interrupted because B i > T d , step 5, update the line segment parameter LS 0 ={ GL 0 =1, LEN 0 =4}, Steps 6 to 7, reset gl = A 4 =37 and len =1, then proceed to the next column position ( i =5). Repeat the operation to the column position i = 16, and detect another line segment ( gl =166 , len =6), since this line segment is longer than the first line segment, update the line segment parameters LS 0 ={ GL 0 =166, LEN 0 =6}. After computing all the columns in sub-block 0, the longest line segment parameter of the sub-block can be finally obtained as LS 0 ={ GL 0 =166, LEN 0 =6}.

請一併參照圖4a至4b,其中,圖4a繪示本發明之顯示器之過驅動補償方法之線段檢測運算之一另實施例流程圖;以及圖4b繪示圖4a之子塊0之線段檢 測運算一實施例示意圖。 Please refer to FIGS. 4a to 4b together, wherein FIG. 4a shows a flowchart of another embodiment of the line segment detection operation of the display overdrive compensation method of the present invention; and FIG. 4b shows the line segment detection of the sub-block 0 of FIG. 4a A schematic diagram of an embodiment of the measurement operation.

如圖4a所示,本發明之顯示器之過驅動補償方法之線段檢測運算包括: As shown in FIG. 4a, the line segment detection operation of the display overdrive compensation method of the present invention includes:

步驟c1:決定一檢測最大線段數M及將各分塊進行水平方向之一分塊運算以得到M個子塊,所述各子塊均包含n行及m列像素,其中M、n及m均為大於或等於1的自然數; Step c1: Determine a maximum number of line segments M for detection and perform a horizontal block operation on each sub-block to obtain M sub-blocks, each of which includes n rows and m columns of pixels, wherein M, n, and m are all is a natural number greater than or equal to 1;

步驟c2:計算所述各子塊各列之像素平均值A,如方程式(1)所示,P(i,j)為座標(i,j)處的圖像資料; Step c2: Calculate the pixel average value A of each row of the sub-blocks, as shown in equation (1), where P ( i,j ) is the image data at the coordinate ( i,j );

Figure 109132507-A0101-12-0009-2
Figure 109132507-A0101-12-0009-2

步驟c3:初始化所述各子塊之一線段向量,各所述線段向量均包含一亮度值GL及一長度數值LEN,記錄所述各子塊之各起始列之一亮度平均值gl且設定一線段長度計數器len為1及一列計數器i為所述各子塊之列數加1,如方程式(2)所示; Step c3: Initialize a line segment vector of each sub-block, each of the line segment vectors includes a luminance value GL and a length value LEN, record a luminance average value gl of each starting column of each sub-block and set A segment length counter len is 1 and a column counter i is incremented by 1 for the number of columns of the sub-blocks, as shown in equation (2);

B i =|A i -A i-1| len=len+1 if B i <T d (2) B i =| A i - A i -1 | len = len +1 if B i < T d (2)

步驟c4:計算所述各子塊各列之一像素平均值與相鄰前一列之像素平均值之一差值絕對值,若所述差值絕對值小於一第一預設閾值T d ,將該線段長度計數器len加1; Step c4: Calculate the absolute value of the difference between the pixel average value of each column of each sub-block and the pixel average value of the adjacent previous column. If the absolute value of the difference value is less than a first preset threshold T d , set The line segment length counter len is incremented by 1;

步驟c5:若該線段長度計數器len大於或等於一第二預設閾值時T l ,更新該線段向量,如方程式(3)所示; Step c5: if the line segment length counter len is greater than or equal to a second preset threshold T1 , update the line segment vector, as shown in equation (3);

Figure 109132507-A0101-12-0009-3
Figure 109132507-A0101-12-0009-3

步驟c6:重設該亮度平均值gl為該列之像素平均值A及該線段長度計數器為1,將該列計數器i加1; Step c6: reset the luminance average value gl to the pixel average value A of the row and the line segment length counter to 1, and increment the row counter i by 1;

步驟c7:判斷該列計數器i是否大於或等於該列數值m,若是,儲存所述線段向量,若否,回到步驟c4; Step c7: determine whether the row counter i is greater than or equal to the row value m, if so, store the line segment vector, if not, return to step c4;

步驟c8:將一塊計數器k加1,回到步驟c2,直至該塊計數器k等於子塊數M。 Step c8: Increase the block counter k by 1, and return to step c2 until the block counter k is equal to the number M of sub-blocks.

在一實施例中,各所述分塊之大小為相等或不相等。 In one embodiment, the size of each of the partitions is equal or unequal.

圖4a的線段檢測運算使用第二預設閾值T l 對檢測出之線段長度進行限定,因此在每個分塊中,圖3a的線段檢測運算總能檢測到固定M條線段,圖4a的線段檢測運算檢測得出的線段數目可能小於M。 The line segment detection operation of FIG. 4a uses the second preset threshold T1 to limit the length of the detected line segment, so in each block, the line segment detection operation of FIG. 3a can always detect fixed M line segments, and the line segment of FIG. 4a The number of line segments detected by the detection operation may be less than M.

假設N=H/n,n=2(即圖像資料在垂直方向被分割成H/2個分塊),M=4(即每個分塊在水平方向被分割成4個子塊),假設每個子塊包含2行18列像素(即m=18及n=2)。如圖4b所示,子塊0(即k=0)的線段檢測運算。圖中第一行i表示各像素之列座標,第二行P(i,j)表示各像素之亮度值(以8bit資料位元示出)。步驟二,逐列計算上下兩行像素之亮度平均值A i ,i=0,...,17(圖中第三行);步驟三,初始化子塊0的線段參數LS 0={GL 0=0,LEN 0=0},記錄其起始列的亮度平均值gl=A 0=1,並令長度計數器len=1,列計數器i=1;步驟四4,計算相鄰平均值的絕對差B i (圖中第四行),並判斷該絕對差值是否小於第一預設閾值T d ,以決定長度計數器len是否累加1(圖中第五行),第一預設閾值閾值以T d =10為例。在列位置i=16處檢測到新的線段後,步驟五將新的線段向量{166,6}與之前的線段向量{1,4}進行混合,獲得最終的線段參數LS 0={100,10},此即子塊0最終的線段參數。 Assuming N=H/n, n=2 (that is, the image data is divided into H/2 blocks in the vertical direction), M=4 (that is, each block is divided into 4 sub-blocks in the horizontal direction), suppose Each sub-block includes 2 rows and 18 columns of pixels (ie, m =18 and n =2). As shown in Figure 4b, the line segment detection operation of sub-block 0 (ie, k = 0). In the figure, the first row i represents the column coordinates of each pixel, and the second row P ( i,j ) represents the luminance value of each pixel (shown in 8-bit data bits). Step 2, calculate the luminance average value A i of the upper and lower rows of pixels column by column , i =0,...,17 (the third row in the figure); Step 3, initialize the line segment parameters of sub-block 0 LS 0 ={ GL 0 =0, LEN 0 =0}, record the brightness average value of the starting column gl = A 0 =1, and set the length counter len =1, the column counter i =1; Step 4 4, calculate the absolute value of adjacent average values difference B i (the fourth row in the figure), and determine whether the absolute difference is less than the first preset threshold T d to determine whether the length counter len is accumulated by 1 (the fifth row in the figure), and the first preset threshold threshold is T d = 10 for example. After the new line segment is detected at column position i = 16, step 5 mixes the new line segment vector {166,6} with the previous line segment vector {1,4} to obtain the final line segment parameter LS 0 ={100, 10}, this is the final line segment parameter of sub-block 0.

請參照圖5,其繪示圖4a之過驅動補償方法之實施例示意圖。 Please refer to FIG. 5 , which is a schematic diagram of an embodiment of the overdrive compensation method of FIG. 4 a .

假設圖像寬度為720個像素,在前一幀時刻Line B中間是一段灰條Bar5(長度480,亮度160),兩側則是背景(亮度為64),而Line A則由三段長度相同(均為240)但亮度不同(分別為32、128和224)的灰條Bar1至Bar3所組成。在當前幀時刻,Line A上三段灰條移動到Line B,計算得知Line A和Line B之行APL值均為128,此時習知技術之基於APL之過驅動補償方法會造成Bar2部分無法被補償,而Bar1和Bar3部分則會被錯誤補償。本發明之圖4a之過驅動補償方法之處理過程如下(假設M=6): Assuming the image width is 720 pixels, at the previous frame moment Line B is a gray bar Bar5 (length 480, brightness 160) in the middle, and the two sides are the background (brightness 64), while Line A consists of three segments of the same length (both 240) but with different brightness (32, 128 and 224, respectively) gray bars Bar1 to Bar3. At the current frame moment, the three gray bars on Line A move to Line B, and it is calculated that the APL values of Line A and Line B are both 128. At this time, the conventional APL-based overdrive compensation method will cause the Bar2 part Can not be compensated, and the Bar1 and Bar3 parts will be wrongly compensated. The processing procedure of the overdrive compensation method of FIG. 4a of the present invention is as follows (assuming M=6):

Line A中檢測到如下三條線段: The following three line segments are detected in Line A:

Figure 109132507-A0101-12-0011-4
Figure 109132507-A0101-12-0011-4

Line B中檢測到如下三條線段: The following three line segments are detected in Line B:

Figure 109132507-A0101-12-0011-5
Figure 109132507-A0101-12-0011-5

對位於區間0~119內的像素會做64至32變化時的向下補償,對位於區間120~239內的像素會做160至32變化時的向下補償,對位於區間240~479區間內的像素會做160至128變化時的向下補償,對位於區間480~599區間內的像素會做160至224變化時的向上補償,對位於區間600~719區間內的像素會做64至224變化時的向下補償。Line B內所有灰條上的像素都會被正確補償。 For the pixels located in the interval 0~119, the downward compensation will be performed when the change is from 64 to 32, and the pixels located in the interval 120~239 will be compensated downward when the change is from 160 to 32. The pixels located in the interval 240~479 will be compensated downward. The pixels in the range of 160 to 128 will be compensated downward, the pixels in the range of 480 to 599 will be compensated upward from 160 to 224, and the pixels in the range of 600 to 719 will be compensated upward from 64 to 224. Downward compensation when changing. Pixels on all gray bars within Line B are properly compensated.

Figure 109132507-A0101-12-0011-6
Figure 109132507-A0101-12-0011-6

由上述的說明可知,線段參數LEN除了可用以在檢測時通過一長度比較程序找出最長線段之外,還可用以計算後續補償量的權重,其中該權重代表一線段在一子塊中佔據的比例,其值越大表示該線段的亮度值越能代表該子塊的整體亮度。 It can be seen from the above description that the line segment parameter LEN can be used not only to find the longest line segment through a length comparison program during detection, but also to calculate the weight of the subsequent compensation amount, where the weight represents the amount of the line segment occupied in a sub-block. The larger the value is, the more the brightness value of the line segment can represent the overall brightness of the sub-block.

另外,如果略去後續補償量計算模組中的增益計算步驟的話,那麼在將線段參數存入緩存時,就不須存入LEN或W的資訊,而只須在每行存入M個亮度值GL即可,此時,存儲空間會更為縮減。 In addition, if the gain calculation step in the subsequent compensation amount calculation module is omitted, then when the line segment parameters are stored in the buffer, the information of LEN or W does not need to be stored, but only M brightness values are stored in each line The value GL can be used, in this case, the storage space will be further reduced.

請參照圖6,其繪示本發明之顯示裝置之一實施例方塊圖。 Please refer to FIG. 6 , which shows a block diagram of an embodiment of the display device of the present invention.

如圖6所示,一顯示裝置100具有一顯示器110及一控制電路120。 As shown in FIG. 6 , a display device 100 has a display 110 and a control circuit 120 .

該控制電路120係用以實現所述過驅動補償方法。 The control circuit 120 is used to implement the overdrive compensation method.

在可能的實施例中,該顯示器110可為一LCD顯示器、一LED顯示器、一電子紙顯示器或一OLED顯示器。 In possible embodiments, the display 110 may be an LCD display, an LED display, an electronic paper display or an OLED display.

請參照圖7,其繪示本發明之手持裝置之一實施例方塊圖。 Please refer to FIG. 7 , which shows a block diagram of an embodiment of the handheld device of the present invention.

如圖7所示,該手持裝置200具有一中央處理單元210及一顯示裝置220。 As shown in FIG. 7 , the handheld device 200 has a central processing unit 210 and a display device 220 .

顯示裝置220係由顯示裝置100實現且其具有一顯示器110及一控制電路120,控制電路120係用以實現所述過驅動補償方法,且中央處理單元210係用以與控制電路120通信。 The display device 220 is implemented by the display device 100 and has a display 110 and a control circuit 120 , the control circuit 120 is used to implement the overdrive compensation method, and the central processing unit 210 is used to communicate with the control circuit 120 .

在可能的實施例中,手持裝置200可為一智慧型手機或一可攜式電腦。 In a possible embodiment, the handheld device 200 may be a smart phone or a portable computer.

藉由前述所揭露的設計,本發明乃具有以下的優點: By the design disclosed above, the present invention has the following advantages:

1.本發明之顯示器之過驅動補償方法,能解決習知技術的漏補償和誤補償之問題,用以達到過驅動補償正確性之目的。 1. The overdrive compensation method of the present invention can solve the problems of leakage compensation and false compensation in the prior art, so as to achieve the purpose of correctness of the overdrive compensation.

2.本發明之顯示器之過驅動補償方法,能同時解決減少儲存容量以及過驅動補償正確性之目的。 2. The overdrive compensation method of the display of the present invention can simultaneously solve the purpose of reducing storage capacity and correctness of overdrive compensation.

3.本發明之顯示器之過驅動補償方法,其藉由正確過驅動補償性,改善該顯示器之顯示屏之拖影現象,達到提升視覺效果的目的。 3. The overdrive compensation method of the display of the present invention improves the smear phenomenon of the display screen of the display by correcting the overdrive compensation, so as to achieve the purpose of improving the visual effect.

本案所揭示者,乃較佳實施例,舉凡局部之變更或修飾而源於本案之技術思想而為熟習該項技藝之人所易於推知者,俱不脫本案之專利權範疇。 What is disclosed in this case is a preferred embodiment, and any partial changes or modifications that originate from the technical ideas of this case and are easily inferred by those who are familiar with the art are within the scope of the patent right of this case.

綜上所陳,本案無論目的、手段與功效,皆顯示其迥異於習知技術,且其首先發明合於實用,確實符合發明之專利要件,懇請貴審查委員明察,並早日賜予專利俾嘉惠社會,是為至禱。 To sum up, regardless of the purpose, means and effect of this case, it shows that it is completely different from the conventional technology, and its first invention is suitable for practical use, and indeed meets the patent requirements of the invention. Society is to pray for the best.

步驟a1:利用一分塊單元對各幀輸入圖像資料均進行垂直方向之一分塊運算以得到N個分塊,其中N為大於或等於1的整數 Step a1: utilize a block unit to perform a block operation in the vertical direction on each frame of input image data to obtain N blocks, wherein N is an integer greater than or equal to 1

步驟a2:利用一線段檢測單元對所述N個分塊各進行一線段檢測運算以分別得到一線段向量,各該線段向量均包含一長度數值及一亮度數值,並將該些線段向量存入一儲存單元 Step a2: utilize a line segment detection unit to carry out a line segment detection operation to each of the N sub-blocks to obtain a line segment vector, each of which includes a length value and a brightness value, and these line segment vectors are stored in a storage unit

步驟a3:利用一判斷單元將一當前幀之所述輸入圖像資料之各該分塊中之該些線段向量與前一幀之所述輸入圖像資料之各該分塊中之該些線段向量對應地各進行一亮度比較運算,並依該亮度比較運算的結果產生一過驅動補償指示旗標,其中,當該當前幀之所述輸入圖像資料與該前一幀之所述輸入圖像資料中之兩個對應的所述線段向量中的所述亮度數值的差異大於一閾值時,該過驅動補償指示旗標會呈現一作用狀態 Step a3: Using a judging unit to compare the line segment vectors in each of the blocks of the input image data of a current frame with the line segments in each of the blocks of the input image data of the previous frame A luminance comparison operation is performed on each of the vectors correspondingly, and an overdrive compensation indication flag is generated according to the result of the luminance comparison operation, wherein, when the input image data of the current frame and the input image of the previous frame are When the difference between the luminance values in the two corresponding line segment vectors in the data is greater than a threshold, the overdrive compensation indication flag will show an active state

步驟a4:利用一補償單元在該過驅動補償指示旗標呈現該作用狀態時,依該當前幀之所述輸入圖像資料與該前一幀之所述輸入圖像資料中之兩個對應的所述線段向量中的所述亮度數值的差異對該當前幀之所述輸入圖像資料中之對應圖像資料進行一過驅動補償運算以輸出一過驅動補償圖像資料 Step a4: Using a compensation unit when the overdrive compensation indication flag presents the active state, according to the input image data of the current frame and the input image data of the previous frame corresponding to two The difference of the luminance values in the line segment vector performs an overdrive compensation operation on the corresponding image data in the input image data of the current frame to output an overdrive compensation image data

Claims (11)

一種顯示器之過驅動補償方法,用以改善該顯示器之一顯示屏之拖影現象,係由一控制電路實現,該方法包括:利用一分塊單元對各幀輸入圖像資料均進行垂直方向之一分塊運算以得到N個分塊,其中N為大於或等於1的整數;利用一線段檢測單元對所述N個分塊各進行一線段檢測運算以分別得到一線段向量,各該線段向量均包含一長度數值及一亮度數值,並將該些線段向量存入一儲存單元;利用一判斷單元將一當前幀之所述輸入圖像資料之各該分塊中之該些線段向量與前一幀之所述輸入圖像資料之各該分塊中之該些線段向量對應地各進行一亮度比較運算,並依該亮度比較運算的結果產生一過驅動補償指示旗標,其中,當該當前幀之所述輸入圖像資料與該前一幀之所述輸入圖像資料中之兩個對應的所述線段向量中的所述亮度數值的差異大於一閾值時,該過驅動補償指示旗標會呈現一作用狀態;以及利用一補償單元在該過驅動補償指示旗標呈現該作用狀態時,依該當前幀之所述輸入圖像資料與該前一幀之所述輸入圖像資料中之兩個對應的所述線段向量中的所述亮度數值的差異對該當前幀之所述輸入圖像資料中之對應圖像資料進行一過驅動補償運算以輸出一過驅動補償圖像資料;其中,所述線段檢測運算包括:步驟一、決定一檢測最大線段數M及將各分塊進行水平方向之一分塊運算以得到M個子塊,各所述子塊均包含n行及m列像素,其中M、n及m均為大於或等於1的自然數;步驟二、計算各所述子塊各列之像素平均值A;步驟三、初始化各所述子塊之一線段向量,各所述線段向量均包含一亮度值GL及一長度數值LEN,記錄各所述子塊之各起始列之一亮度平均值gl且設定一線段長度計數器len為1及一列計數器i為各所述子塊之列數加1;步驟四、計算各所述子塊各列之一像素平均值與相鄰前一列之像素平均值 之一差值絕對值,若所述差值絕對值小於一第一預設閾值時,將該線段長度計數器len加1;步驟五、若該線段長度計數器len大於該長度數值LEN時,更新該線段向量為;GL=gl,LEN=len;步驟六、重設該亮度平均值gl為該列之像素平均值A及該線段長度計數器為1,將該列計數器i加1;步驟七、判斷該列計數器i是否大於或等於該列數值m,若是,儲存所述線段向量,若否,回到步驟四;步驟八、將一塊計數器k加1,回到步驟二,直至該塊計數器k等於分塊數M。 An overdrive compensation method for a display, for improving the smear phenomenon of a display screen of the display, is realized by a control circuit, the method comprises: using a block unit to perform vertical direction correction on each frame of input image data A block operation is performed to obtain N blocks, where N is an integer greater than or equal to 1; a line segment detection operation is performed on each of the N blocks by a line segment detection unit to obtain a line segment vector, and each line segment vector Both contain a length value and a brightness value, and store the line segment vectors in a storage unit; use a judgment unit to compare the line segment vectors in each of the blocks of the input image data of a current frame with the previous ones. The line segment vectors in each of the sub-blocks of the input image data of a frame respectively perform a luminance comparison operation, and generate an overdrive compensation indication flag according to the result of the luminance comparison operation. When the difference between the luminance values in the line segment vectors corresponding to the input image data of the current frame and the input image data of the previous frame is greater than a threshold, the overdrive compensation indication flag The flag will show an active state; and when the overdrive compensation indication flag is in the active state, a compensation unit is used according to the difference between the input image data of the current frame and the input image data of the previous frame performing an overdrive compensation operation on the corresponding image data in the input image data of the current frame to output an overdrive compensation image data based on the difference of the luminance values in the two corresponding line segment vectors; Wherein, the line segment detection operation includes: step 1, determining a maximum number of line segments M for detection and performing a horizontal block division operation on each sub-block to obtain M sub-blocks, each of which includes n rows and m columns pixel, wherein M, n and m are all natural numbers greater than or equal to 1; step 2, calculate the pixel average value A of each column of each of the sub-blocks; step 3, initialize a line segment vector of each of the sub-blocks, each The line segment vectors all include a luminance value GL and a length value LEN, record a luminance average value gl of each starting column of each of the sub-blocks, and set a line segment length counter len to 1 and a column counter i to each of the Add 1 to the number of columns in the sub-block; Step 4: Calculate the pixel average value of each column of each sub-block and the pixel average value of the adjacent previous column an absolute value of the difference, if the absolute value of the difference is less than a first preset threshold, add 1 to the line segment length counter len; step 5, if the line segment length counter len is greater than the length value LEN, update the The line segment vector is; GL=gl, LEN=len; Step 6, reset the luminance average value gl to the pixel average value A of the column and the line segment length counter to 1, add 1 to the column counter i; Step 7, determine Whether the column counter i is greater than or equal to the column value m, if so, store the line segment vector, if not, go back to step 4; step 8, increment the block counter k by 1, and go back to step 2 until the block counter k is equal to The number of blocks is M. 如申請專利範圍第1項所述之顯示器之過驅動補償方法,其中各所述分塊之大小為相等或不相等。 The overdrive compensation method for a display according to item 1 of the claimed scope, wherein the size of each of the sub-blocks is equal or unequal. 如申請專利範圍第1項所述之顯示器之過驅動補償方法,其中該圖像資料為該圖像位置處像素之一灰階值。 The overdrive compensation method for a display as described in claim 1, wherein the image data is a grayscale value of a pixel at the image position. 如申請專利範圍第1項所述之顯示器之過驅動補償方法,其進一步包括一預處理步驟,用於在線段檢測運算之前先以一垂直方向或一水平方向對該圖像資料進行一雜訊濾波運算。 The overdrive compensation method for a display according to claim 1, further comprising a preprocessing step for performing a noise on the image data in a vertical direction or a horizontal direction before the line segment detection operation filter operation. 一種顯示器之過驅動補償方法,用以改善該顯示器之一顯示屏之拖影現象,係由一控制電路實現,該方法包括:利用一分塊單元對各幀輸入圖像資料均進行垂直方向之一分塊運算以得到N個分塊,其中N為大於或等於1的整數;利用一線段檢測單元對所述N個分塊各進行一線段檢測運算以分別得到一線段向量,各該線段向量均包含一長度數值及一亮度數值,並將該些線段向量存入一儲存單元;利用一判斷單元將一當前幀之所述輸入圖像資料之各該分塊中之該些線段向量與前一幀之所述輸入圖像資料之各該分塊中之該些線段向量對應地各進行一亮度比較運算,並依該亮度比較運算的結果產生一過驅動補償指示旗標,其 中,當該當前幀之所述輸入圖像資料與該前一幀之所述輸入圖像資料中之兩個對應的所述線段向量中的所述亮度數值的差異大於一閾值時,該過驅動補償指示旗標會呈現一作用狀態;以及利用一補償單元在該過驅動補償指示旗標呈現該作用狀態時,依該當前幀之所述輸入圖像資料與該前一幀之所述輸入圖像資料中之兩個對應的所述線段向量中的所述亮度數值的差異對該當前幀之所述輸入圖像資料中之對應圖像資料進行一過驅動補償運算以輸出一過驅動補償圖像資料;其中,所述線段檢測運算包括:步驟一、決定一檢測最大線段數M及將各分塊進行水平方向之一分塊運算以得到M個子塊,各所述子塊均包含n行及m列像素,其中M、n及m均為大於或等於1的自然數;步驟二、計算各所述子塊各列之像素平均值A;步驟三、初始化各所述子塊之一線段向量,各所述線段向量均包含一亮度值GL及一長度數值LEN,記錄各所述子塊之各起始列之一亮度平均值gl且設定一線段長度計數器len為1及一列計數器i為各所述子塊之列數加1;步驟四、計算各所述子塊各列之一像素平均值與相鄰前一列之像素平均值之一差值絕對值,若所述差值絕對值小於一第一預設閾值,將該線段長度計數器len加1;步驟五、若該線段長度計數器len大於或等於一第二預設閾值時,更新該線段向量;步驟六、重設該亮度平均值gl為該列之像素平均值A及該線段長度計數器為1,將該列計數器i加1;步驟七、判斷該列計數器i是否大於或等於該列數值m,若是,儲存所述線段向量,若否,回到步驟四;步驟八、將一塊計數器k加1,回到步驟二,直至該塊計數器k等於子塊數M。 An overdrive compensation method for a display, for improving the smear phenomenon of a display screen of the display, is realized by a control circuit, the method comprises: using a block unit to perform vertical direction correction on each frame of input image data A block operation is performed to obtain N blocks, where N is an integer greater than or equal to 1; a line segment detection operation is performed on each of the N blocks by a line segment detection unit to obtain a line segment vector, and each line segment vector Both contain a length value and a brightness value, and store the line segment vectors in a storage unit; use a judgment unit to compare the line segment vectors in each of the blocks of the input image data of a current frame with the previous ones. The line segment vectors in each of the blocks of the input image data of a frame are respectively subjected to a luminance comparison operation, and an overdrive compensation indication flag is generated according to the result of the luminance comparison operation. , when the difference between the luminance values in the line segment vectors corresponding to two of the input image data of the current frame and the input image data of the previous frame is greater than a threshold, the process The drive compensation indicator flag will show an active state; and when the overdrive compensation indicator flag is in the active state, a compensation unit is used according to the input image data of the current frame and the input of the previous frame The difference between the luminance values in the two corresponding line segment vectors in the image data performs an overdrive compensation operation on the corresponding image data in the input image data of the current frame to output an overdrive compensation Image data; wherein, the line segment detection operation includes: step 1, determining a maximum number of line segments M for detection and performing a horizontal block division operation on each sub-block to obtain M sub-blocks, and each of the sub-blocks includes n Row and m columns of pixels, wherein M, n and m are all natural numbers greater than or equal to 1; Step 2, calculate the pixel average value A of each column of each of the sub-blocks; Step 3. Initialize a line of each of the sub-blocks Segment vector, each of the line segment vectors includes a luminance value GL and a length value LEN, record a luminance average value gl of each starting column of each of the sub-blocks, and set a line segment length counter len to 1 and a column counter i Add 1 to the number of columns of each of the sub-blocks; Step 4: Calculate the absolute value of the difference between the average value of pixels in each column of each of the sub-blocks and the average value of pixels in the adjacent previous column, if the absolute value of the difference is absolute If the value is less than a first preset threshold, add 1 to the line segment length counter len; step 5, if the line segment length counter len is greater than or equal to a second preset threshold, update the line segment vector; step 6, reset the brightness The average value gl is the pixel average value A of the row and the line segment length counter is 1, and the row counter i is incremented by 1; Step 7, determine whether the row counter i is greater than or equal to the row value m, and if so, store the line segment vector, if not, go back to step 4; step 8, increment the block counter k by 1, and go back to step 2 until the block counter k is equal to the number M of sub-blocks. 如申請專利範圍第1或5項所述之顯示器之過驅動補償方法 ,其中各所述分塊之大小為相等或不相等。 The overdrive compensation method of the display according to the claim 1 or 5 of the scope of application , wherein the sizes of the blocks are equal or unequal. 如申請專利範圍第1項所述之顯示器之過驅動補償方法,用以改善該顯示器之一顯示屏之拖影現象,係由一控制電路實現,該方法包括:利用一分塊單元對各幀輸入圖像資料均進行垂直方向之一分塊運算以得到N個分塊,其中N為大於或等於1的整數;利用一線段檢測單元對所述N個分塊各進行一線段檢測運算以分別得到一線段向量,各該線段向量均包含一長度數值及一亮度數值,並將該些線段向量存入一儲存單元;利用一判斷單元將一當前幀之所述輸入圖像資料之各該分塊中之該些線段向量與前一幀之所述輸入圖像資料之各該分塊中之該些線段向量對應地各進行一亮度比較運算,並依該亮度比較運算的結果產生一過驅動補償指示旗標,其中,當該當前幀之所述輸入圖像資料與該前一幀之所述輸入圖像資料中之兩個對應的所述線段向量中的所述亮度數值的差異大於一閾值時,該過驅動補償指示旗標會呈現一作用狀態;以及利用一補償單元在該過驅動補償指示旗標呈現該作用狀態時,依該當前幀之所述輸入圖像資料與該前一幀之所述輸入圖像資料中之兩個對應的所述線段向量中的所述亮度數值的差異對該當前幀之所述輸入圖像資料中之對應圖像資料進行一過驅動補償運算以輸出一過驅動補償圖像資料;其中,所述線段檢測運算包括:步驟一、各所述分塊均包含n行及m列像素,計算各所述分塊各列之像素平均值A及決定一檢測最大線段數M,其中n、m及M均為大於或等於1的自然數;步驟二、初始化各所述分塊之一線段向量,各所述線段向量均包含一亮度值GL、一長度數值LEN、一線段終點列座標值EP及一權重值W,記錄各所述分塊之各起始列之一亮度平均值gl且設定一線段計數器k為0、一線段長度計數器len為1及一列計數器i為各所述分塊之列數加1;步驟三、計算各所述分塊各列之一像素平均值與相鄰前一列之像素平均值 之一差值絕對值,若所述差值絕對值小於一第一預設閾值時,將該線段長度計數器len加1;步驟四、若該線段長度計數器len大於或等於一第二預設閾值時,更新該線段向量為;GL=gl,LEN=len,W=1,EP=i-1;步驟五、將一塊計數器k加1,初始化當前之一線段向量為0;步驟六、重設該亮度平均值gl為該列之像素平均值A及該線段長度計數器為1,將該列計數器加1;步驟七、判斷該列計數器是否大於或等於該列數值m,若否,回到步驟三;以及步驟八、判斷該塊計數器k是否大於或等於該檢測最大線段數M,若是,將所述各分塊之該線段向量依一約簡運算得出M個線段向量,若否則結束。 The overdrive compensation method for a display described in item 1 of the scope of the patent application is used to improve the smear phenomenon of a display screen of the display, which is realized by a control circuit. The input image data is subjected to a vertical block operation to obtain N blocks, where N is an integer greater than or equal to 1; a line segment detection unit is used to perform a line segment detection operation on each of the N blocks to respectively Obtain line segment vectors, each of which includes a length value and a brightness value, and store the line segment vectors in a storage unit; use a judgment unit to store each segment of the input image data of a current frame The line segment vectors in the block and the line segment vectors in each of the sub-blocks of the input image data of the previous frame are correspondingly performed a luminance comparison operation, and an overdrive is generated according to the result of the luminance comparison operation Compensation indication flag, wherein, when the difference between the luminance values in the line segment vectors corresponding to the input image data of the current frame and the input image data of the previous frame is greater than one When the overdrive compensation indication flag is at the threshold value, the overdrive compensation indication flag will show an active state; and when the overdrive compensation indication flag shows the active state, a compensation unit is used according to the input image data of the current frame and the previous The difference between the luminance values in the two corresponding line segment vectors in the input image data of the frame performs an overdrive compensation operation on the corresponding image data in the input image data of the current frame to obtain an overdrive compensation operation. Output an overdrive compensation image data; wherein, the line segment detection operation includes: step 1, each of the sub-blocks includes n rows and m columns of pixels, calculate the pixel average value A of each of the sub-blocks and each column, and determine 1. Detect the maximum number of line segments M, where n, m and M are all natural numbers greater than or equal to 1; Step 2, initialize a line segment vector of each of the blocks, each of the line segment vectors includes a brightness value GL, a A length value LEN, a line segment end point column coordinate value EP and a weight value W, record a luminance average value gl of each start column of each of the blocks, and set a line segment counter k to 0 and a line segment length counter len to 1 And a column counter i is the number of columns of each said block plus 1; Step 3, calculate the average value of pixels in each column of each said block and the pixel average value of the adjacent previous column an absolute difference value, if the absolute value of the difference value is less than a first preset threshold, add 1 to the line segment length counter len; step 4, if the line segment length counter len is greater than or equal to a second preset threshold value When , update the line segment vector as; GL=gl, LEN=len, W=1, EP=i-1; Step 5, add 1 to a counter k, and initialize a current line segment vector to 0; Step 6, reset The brightness average value gl is the pixel average value A of the column and the line segment length counter is 1, and the column counter is incremented by 1; Step 7, determine whether the column counter is greater than or equal to the column value m, if not, go back to step 3; and step 8, judging whether the block counter k is greater than or equal to the detected maximum number of line segments M, if so, perform a reduction operation on the line segment vectors of the blocks to obtain M line segment vectors, otherwise end. 如申請專利範圍第7項所述之顯示器之過驅動補償方法,其中,該約簡運算包括:將各所述分塊之各該線段向量由大到小的順序排列;以及選擇最大之M個線段向量並依其中具有之該線段終點列座標值EP由小到大的順序排列用以對所述M個線段向量重新排序。 The overdrive compensation method for a display as described in claim 7, wherein the reduction operation comprises: arranging the line segment vectors of each of the blocks in descending order; and selecting the largest M The line segment vectors are arranged in ascending order of the line segment end point column coordinate values EP contained therein, and are used to reorder the M line segment vectors. 如申請專利範圍第7項所述之顯示器之過驅動補償方法,其中,該約簡運算包括:對各所述分塊之該線段向量進行一當前線段與相鄰下一線段之合併因素運算以各求得一合併係數φ;將各合併係數φ之最大值所對應之兩條相鄰線段進行一合併運算以生成新的線段向量;重新整理各線段編號;以及將該塊計數器k減1,判斷該列塊計數器k是否等於M,若否,則重新進行該合併因素運算。 The overdrive compensation method for a display as described in claim 7, wherein the reduction operation comprises: performing a combining factor operation on the line segment vector of each of the sub-blocks with a current line segment and an adjacent next line segment to obtain a Obtain a merging coefficient φ for each; perform a merging operation on two adjacent line segments corresponding to the maximum value of each merging coefficient φ to generate a new line segment vector; rearrange the line segment numbers; and decrement the block counter k by 1, It is judged whether the column block counter k is equal to M, and if not, the merging factor operation is performed again. 一種顯示裝置,其具有一顯示器及一控制電路,該控制電路係用以執行如申請專利範圍第1、5、7項中任一項所述之顯示器之過驅動補償方 法,其中該顯示器係由一LCD顯示器、一LED顯示器、一電子紙顯示器和一OLED顯示器所組成的群組所選擇的一種顯示器。 A display device, which has a display and a control circuit, the control circuit is used for performing the overdrive compensation method of the display as described in any one of the claims 1, 5 and 7 of the scope of application method, wherein the display is a display selected from the group consisting of an LCD display, an LED display, an electronic paper display and an OLED display. 一種手持裝置,其具有如申請專利範圍第10項所述之顯示裝置,且該手持裝置係一智慧型手機或一可攜式電腦。 A handheld device is provided with the display device as described in item 10 of the application scope, and the handheld device is a smart phone or a portable computer.
TW109132507A 2020-09-17 2020-09-17 Display overdrive compensation method and display device and handheld device using the same TWI758872B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW109132507A TWI758872B (en) 2020-09-17 2020-09-17 Display overdrive compensation method and display device and handheld device using the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW109132507A TWI758872B (en) 2020-09-17 2020-09-17 Display overdrive compensation method and display device and handheld device using the same

Publications (2)

Publication Number Publication Date
TWI758872B true TWI758872B (en) 2022-03-21
TW202212933A TW202212933A (en) 2022-04-01

Family

ID=81710758

Family Applications (1)

Application Number Title Priority Date Filing Date
TW109132507A TWI758872B (en) 2020-09-17 2020-09-17 Display overdrive compensation method and display device and handheld device using the same

Country Status (1)

Country Link
TW (1) TWI758872B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW202016918A (en) * 2019-05-31 2020-05-01 大陸商昆山國顯光電有限公司 Image compensation method and display device
TW202027244A (en) * 2008-10-03 2020-07-16 日商半導體能源研究所股份有限公司 Display device
TW202029155A (en) * 2019-01-11 2020-08-01 美商蘋果公司 Electronic display with hybrid in-pixel and external compensation

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW202027244A (en) * 2008-10-03 2020-07-16 日商半導體能源研究所股份有限公司 Display device
TW202029155A (en) * 2019-01-11 2020-08-01 美商蘋果公司 Electronic display with hybrid in-pixel and external compensation
TW202016918A (en) * 2019-05-31 2020-05-01 大陸商昆山國顯光電有限公司 Image compensation method and display device

Also Published As

Publication number Publication date
TW202212933A (en) 2022-04-01

Similar Documents

Publication Publication Date Title
CN103943051B (en) It shows the method for image and performs the display device of this method
US10170063B2 (en) Mura compensation method for display panel and display panel
US8848004B2 (en) Method of calculating correction value and display device
KR100810401B1 (en) Display driver
US20090021499A1 (en) Display driving apparatus and method thereof
KR20190141735A (en) Display method of mura phenomenon compensation and display panel
TWI417851B (en) Driving apparatus and method of liquid crystal display
JP4757201B2 (en) Dynamic gamma for liquid crystal displays
US8497887B2 (en) Display driving unit and method for using the same
CN112927640A (en) Data compression method and storage device for locally compensating uneven brightness of display picture
JP4086035B2 (en) Automatic image correction circuit
KR102239895B1 (en) Method and data converter for upscailing of input display data
US20140063032A1 (en) Frame data shrinking method used in over-driving technology
TWI758872B (en) Display overdrive compensation method and display device and handheld device using the same
CN105100549B (en) Image compensation method and device
TWI715334B (en) Data compression method and storage device having compensation values generated by the same
US20190057493A1 (en) Display device and display method therefor
US20230343269A1 (en) Temperature-Based Pixel Drive Compensation
CN111899682B (en) Display driving method and device
TWI755066B (en) Display overdrive compensation method and display device and handheld device using the same
CN113870761B (en) Display device driving method and display device
CN112185295B (en) Display driving method and device
CN107767327B (en) Image rendering method and device, computing equipment and display equipment
JP5197152B2 (en) Liquid crystal drive device, liquid crystal display device, and drive method
TWI406220B (en) Driving device and driving method of liquid crystal display