TWM448754U - Image contrast enhancement system - Google Patents

Image contrast enhancement system Download PDF

Info

Publication number
TWM448754U
TWM448754U TW101220511U TW101220511U TWM448754U TW M448754 U TWM448754 U TW M448754U TW 101220511 U TW101220511 U TW 101220511U TW 101220511 U TW101220511 U TW 101220511U TW M448754 U TWM448754 U TW M448754U
Authority
TW
Taiwan
Prior art keywords
brightness
image
data
column
luminance
Prior art date
Application number
TW101220511U
Other languages
Chinese (zh)
Inventor
Cheng-Yi Yu
Hsueh-Yi Lin
Original Assignee
Nat Univ Chin Yi Technology
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 Nat Univ Chin Yi Technology filed Critical Nat Univ Chin Yi Technology
Priority to TW101220511U priority Critical patent/TWM448754U/en
Publication of TWM448754U publication Critical patent/TWM448754U/en

Links

Description

影像對比增強系統Image contrast enhancement system

本新型是有關於一種影像修正系統,且特別是有關於一種影像對比增強系統。The present invention relates to an image correction system, and more particularly to an image contrast enhancement system.

顯著的影像對比與感知是決定影像屬性的基礎。在日常生活裡我們常在不同的場景拍攝而獲取影像,依據其影像對比分佈可分為五種類型:過暗(dark)的影像、過亮(bright)的影像、背光(back-lighted)影像、低對比度(low contrast)的影像及高對比度(high contrast)的影像,其中過暗的影像、過亮的影像、背光影像、低對比度的影像被視為品質不佳的影像。也就是說,這些類型的影像在人類視覺系統中是不被接受的,而造成影像品質不佳的主要原因,多數是因為拍攝環境光源不足或過強所造成。Significant image contrast and perception are the basis for determining image attributes. In daily life, we often capture images in different scenes, and can be divided into five types according to their image contrast distribution: dark image, bright image, back-lighted image. Low contrast images and high contrast images, where overly dark images, overly bright images, backlit images, and low contrast images are considered to be poor quality images. That is to say, these types of images are unacceptable in the human visual system, and the main cause of poor image quality is mostly caused by insufficient or excessive light source in the shooting environment.

目前,一般習知是透過擷取並分析影像明視度,以進行影像亮度對比的調整,但其透過整體影像明視度的調整,並無法確實改善影像細節間對比程度不足的缺點,以往在改善影像的對比分佈過程中,容易導致影像不平滑失真、方塊效應、色差及細節失真等不自然的現象,且使得影像的品質反而變得更差。At present, it is common practice to capture and analyze the brightness of the image for the adjustment of the brightness of the image. However, the adjustment of the brightness of the overall image does not really improve the shortcomings of the contrast between the details of the image. In the process of improving the contrast distribution of images, it is easy to cause unnatural phenomena such as image unevenness distortion, block effect, chromatic aberration and detail distortion, and the image quality is worse.

因此,本新型之一態樣是在提供一種影像對比增強系統,其透過欲修正影像本身的明視度數值,產生一適應性 乘冪函數,進而修正影像的明視度。藉此可依照不同影像所具有的亮度問題進行修正,有效地提升影像品質。Therefore, one aspect of the present invention is to provide an image contrast enhancement system that produces an adaptability by correcting the brightness value of the image itself. The power function is used to correct the visibility of the image. Thereby, the brightness can be corrected according to the brightness problem of different images, thereby effectively improving the image quality.

依據本新型一實施方式,提供一種影像對比增強系統,係與一攝像裝置連接,其包含一輸入模組、一亮度分析模組、一亮度修正模組以及一輸出模組。輸入模組自攝像裝置取得一輸入影像。亮度分析模組與輸入模組連接,用以自輸入影像中取出一原始亮度資料r ,原始亮度資料包含複數個灰階值,其中亮度分析模組包含區域劃分單元,其用以將灰階值劃分為M 列,且自原始亮度資料之灰階值中取N 列以形成一亮度區域矩陣,其中N 為複數且為奇數。亮度修正模組與亮度分析模組連接,用以由原始亮度資料產生一適應性亮度資料修正輸入影像,以產生一輸出影像,其中亮度修正模組包含一平均值計算單元、一參數設定單元以及一函數執行單元。平均值計算單元用以根據亮度區域矩陣之灰階值分別計算出一平均值mean (r N ),其中N 代表亮度區域矩陣之列數,r N 代表亮度區域矩陣。參數設定單元與平均值計算單元連接,用以設定一適應性乘冪參數γ ,其中當mean (r N )<r A 時,,而當mean (r N )>r A 時,γ =3.5×mean (r N ),r A 為原始亮度資料中灰階值範圍之一中間值。函數執行單元與參數設定單元連接,用以依序由原始亮度資料之一第1列灰階值至一第M 列灰階值進行設定一適應性乘冪函數S 以修正亮度區域矩 陣之第列灰階值,以產生一適應性亮度資料,其中S =(r L ) γ L 代表亮度區域矩陣之第列灰階值。輸出模組與亮度修正模組連接,用以輸出輸出影像。According to an embodiment of the present invention, an image contrast enhancement system is provided, which is coupled to a camera device and includes an input module, a brightness analysis module, a brightness correction module, and an output module. The input module obtains an input image from the camera. The brightness analysis module is connected to the input module for extracting an original brightness data r from the input image, and the original brightness data includes a plurality of gray level values, wherein the brightness analysis module includes a region dividing unit for using the gray level value Divided into M columns, and takes N columns from the gray scale values of the original luminance data to form a matrix of luminance regions, where N is a complex number and is an odd number. The brightness correction module is coupled to the brightness analysis module for generating an adaptive brightness data to correct an input image from the original brightness data to generate an output image, wherein the brightness correction module includes an average value calculation unit, a parameter setting unit, and A function execution unit. The average calculation unit is configured to respectively calculate an average value mean ( r N ) according to the gray scale value of the luminance region matrix, where N represents the number of columns of the luminance region matrix, and r N represents the luminance region matrix. The parameter setting unit is connected to the average value calculating unit for setting an adaptive power parameter γ , wherein when mean ( r N )< r A , And when mean ( r N )> r A , γ = 3.5 × mean ( r N ), r A is the middle value of one of the gray scale value ranges in the original luminance data. The function execution unit is connected to the parameter setting unit for sequentially setting an adaptive power function S from the first column gray scale value to the first M column gray scale value of the original luminance data to correct the brightness region matrix. Column grayscale values to produce an adaptive luminance data, where S = ( r L ) γ , L represents the matrix of the luminance region matrix Column grayscale value. The output module is connected to the brightness correction module for outputting an output image.

依據上述之影像對比增強系統,其中亮度分析模組更包含影像轉換單元,其與區域劃分單元連接,用以將輸入影像之三原色資料格式(RGB)轉換為具有明視度成份的色彩空間資料格式,其中具有明視度成份的色彩空間資料格式為HSI、HSV或YCrCb。影像對比增強系統中,亮度修正模組可更包含一資料取代單元,與函數執行單元連接,用以將適應性亮度資料取代原始亮度資料,以產生輸出影像。再者,前述之灰階值可設定於0到1之間,而前述灰階值之平均值r A 可為0.5。另外,前述之函數執行單元可利用適應性乘冪函數S 依序由一第1列灰階值至一第M 列灰階值進行修正,以產生適應性亮度資料,且所利用亮度區域矩陣係以各列灰階值為基準分別朝各列之兩側取列,再加上各列本身而成為N 列之亮度區域矩陣,其中當其中一側不足取列時,不足的列數由另一側來多取補足,以產生適應性亮度資料。According to the image contrast enhancement system described above, the brightness analysis module further includes an image conversion unit connected to the area dividing unit for converting the three primary color data formats (RGB) of the input image into a color space data format having a clearness component. The color space data format with the apparent component is HSI, HSV or YCrCb. In the image contrast enhancement system, the brightness correction module may further comprise a data replacement unit coupled to the function execution unit for replacing the original brightness data with the adaptive brightness data to generate an output image. Furthermore, the aforementioned gray scale value may be set between 0 and 1, and the average value r A of the aforementioned gray scale values may be 0.5. In addition, the function execution unit may use the adaptive power function S to sequentially correct from a first column grayscale value to an Mth column grayscale value to generate adaptive luminance data, and the luminance region matrix system utilized. Take the grayscale values of each column as the reference to the sides of each column Column, plus each column itself, becomes a matrix of luminance regions of N columns, where one side is not sufficient When the column is listed, the number of insufficient columns is complemented by the other side to produce adaptive brightness data.

藉此,上述實施方式之影像對比增強系統,可依照輸入影像本身存在的亮度對比問題進行修正,凸顯影像的細 節,產生清晰的輸出影像且避免了失真的現象,更符合人類視覺的感知。Thereby, the image contrast enhancement system of the above embodiment can be corrected according to the brightness contrast problem existing in the input image itself, and the image is highlighted. Section, produces a clear output image and avoids the phenomenon of distortion, more in line with the perception of human vision.

請參照第1圖,其繪示依照本新型一實施方式的一種影像對比增強系統之示意圖。影像對比增強系統200係與一攝像裝置100連接,使攝像裝置100在拍攝影像後,可立即對影像做修正,優化影像對比度。當然,本新型之影像對比增強系統200亦可儲存於一電腦可讀取記錄媒體中,使電腦讀取此記錄媒體後可執行影像對比增強的處理系統。電腦可讀取記錄媒體可為唯讀記憶體、快閃記憶體、軟碟、硬碟、光碟、隨身碟、磁帶、可由網路存取之資料庫或熟悉此技藝者可輕易思及具有相同功能之電腦可讀取記錄媒體。Please refer to FIG. 1 , which is a schematic diagram of an image contrast enhancement system according to an embodiment of the present invention. The image contrast enhancement system 200 is connected to an imaging device 100, so that the imaging device 100 can immediately correct the image after the image is captured, thereby optimizing the image contrast. Of course, the image contrast enhancement system 200 of the present invention can also be stored in a computer readable recording medium, so that the computer can read the recording medium and perform an image contrast enhancement processing system. Computer-readable recording media can be read-only memory, flash memory, floppy disk, hard disk, optical disk, flash drive, tape, network accessible database or familiar with the art can easily think of the same The function of the computer can read the recording medium.

由第1圖可知,影像對比增強系統200包含輸入模組210、亮度分析模組220、亮度修正模組230以及輸出模組240。輸入模組210係自攝像裝置100取得一輸入影像。亮度分析模組220與輸入模組210連接,亮度修正模組230與亮度分析模組220連接,用以接收前述輸入影像並進行分析及修正,以產生一輸出影像。輸出模組240與亮度修正模組230連接,用以輸出輸出影像。As can be seen from FIG. 1 , the image contrast enhancement system 200 includes an input module 210 , a brightness analysis module 220 , a brightness correction module 230 , and an output module 240 . The input module 210 acquires an input image from the imaging device 100. The brightness analysis module 220 is connected to the input module 210. The brightness correction module 230 is connected to the brightness analysis module 220 for receiving the input image and performing analysis and correction to generate an output image. The output module 240 is connected to the brightness correction module 230 for outputting an output image.

詳細來說,亮度分析模組220用以自輸入影像中取出原始亮度資料r ,其中原始亮度資料包含複數個灰階值,而灰階值設定於0到1之間,其中0表示黑(即暗),1表示白(即亮)。亮度分析模組220包含影像轉換單元221以及區 域劃分單元222。影像轉換單元221與區域劃分單元222連接,用以將輸入影像之三原色資料格式(RGB)轉換為具有明視度成份的色彩空間資料格式,其中具有明視度成份的色彩空間資料格式為HSI、HSV或YCrCb。區域劃分單元222用以將灰階值劃分為M 列,且自原始亮度資料之灰階值中取N 列以形成一亮度區域矩陣,其中N 為複數且為奇數。由於拍攝影像時的外在光源,通常由上而下或由下而上分佈(或者,有左至右或由右至左),因此透過列(或行)為單位的形式將影像的灰階值分區,此種分區方式較可符合影像本身的亮度分佈以準確地以不同區域的亮度需求做適當的修正。In detail, the brightness analysis module 220 is configured to extract the original brightness data r from the input image, wherein the original brightness data includes a plurality of gray level values, and the gray level value is set between 0 and 1, wherein 0 represents black (ie, Dark), 1 means white (ie bright). The brightness analysis module 220 includes an image conversion unit 221 and an area dividing unit 222. The image conversion unit 221 is connected to the area dividing unit 222 for converting the three primary color data formats (RGB) of the input image into a color space data format having a clear visual component, wherein the color spatial data format having the clear visual component is HSI, HSV or YCrCb. The area dividing unit 222 is configured to divide the grayscale value into M columns, and take N columns from the grayscale values of the original luminance data to form a matrix of luminance regions, where N is a complex number and is an odd number. Since the external light source when shooting an image is usually distributed from top to bottom or from bottom to top (or left to right or right to left), the gray scale of the image is transmitted in units of columns (or rows). Value partitioning, this partitioning method can conform to the brightness distribution of the image itself to accurately correct the brightness requirements of different areas.

亮度修正模組230用以由原始亮度資料r 產生一適應性亮度資料修正輸入影像,以產生一輸出影像。亮度修正模組230包含平均值計算單元231、參數設定單元232、函數執行單元233以及資料取代單元234。平均值計算單元231用以根據亮度區域矩陣之灰階值分別計算出一平均值mean (r N ),其中N代表亮度區域矩陣之列數,r N 代表亮度區域矩陣。藉由計算出各列灰階值的平均值,可明確取得各列亮度的分佈。參數設定單元232與平均值計算單元連接,用以設定適應性乘冪參數γ ,其中當mean (r N )<r A 時,,而當mean (r N )>r A 時,γ =3.5×mean (r N ),r A 為原始亮度資料中灰階值範圍之一中間值。由於灰階值之範圍設定在0至1間,因此,亦可直接將r A 設定為0.5, 即灰階值範圍之中間值,使亮度修正具有一較為客觀的標準。函數執行單元233與參數設定單元連接,用以依序由原始亮度資料之一第1列灰階值至一第M 列灰階值進行設定一適應性乘冪函數S 以修正亮度區域矩陣之第列灰階值,以產生一適應性亮度資料,其中S =(r L ) γ L 代表亮度區域矩陣之第列灰階值。藉此,根據各列的平均灰階值界定各列適用的適應性乘冪函數S ,可較貼近各列的修正需求。再者,以列分區來做亮度分析及適應性乘冪參數的設定並以適應性乘冪函數修正,有助於實現影像明視度的調整,使影像對比增強,改善拍攝影像時光源不足或光源過量的明視度問題。資料取代單元234與函數執行單元連接,用以將適應性亮度資料取代原始亮度資料,以產生輸出影像。The brightness correction module 230 is configured to generate an adaptive brightness data correction original image from the original brightness data r to generate an output image. The brightness correction module 230 includes an average value calculation unit 231, a parameter setting unit 232, a function execution unit 233, and a data replacement unit 234. The average value calculating unit 231 is configured to respectively calculate an average value mean ( r N ) according to the gray scale values of the luminance region matrix, where N represents the number of columns of the luminance region matrix, and r N represents the luminance region matrix. By calculating the average value of the gray scale values of each column, the distribution of the brightness of each column can be clearly obtained. The parameter setting unit 232 is connected to the average value calculating unit for setting an adaptive power parameter γ , wherein when mean ( r N )< r A , And when mean ( r N )> r A , γ = 3.5 × mean ( r N ), r A is the middle value of one of the gray scale value ranges in the original luminance data. Since the range of the gray scale value is set between 0 and 1, it is also possible to directly set r A to 0.5, that is, the middle value of the gray scale value range, so that the brightness correction has a more objective standard. The function execution unit 233 is connected to the parameter setting unit for sequentially setting an adaptive power function S from the first column gray scale value to the first M column gray scale value of the original luminance data to correct the brightness region matrix. Column grayscale values to produce an adaptive luminance data, where S = ( r L ) γ , L represents the matrix of the luminance region matrix Column grayscale value. Thereby, the adaptive power function S applicable to each column is defined according to the average gray scale value of each column, which can be closer to the correction requirement of each column. Furthermore, the brightness analysis and the adaptive power parameter are set by column partitioning and corrected by the adaptive power function, which helps to adjust the brightness of the image, enhance the contrast of the image, and improve the light source when shooting the image. Excessive brightness of the light source. The data replacement unit 234 is coupled to the function execution unit for replacing the original luminance data with the adaptive luminance data to generate an output image.

進一步來說,函數執行單元233更可利用適應性乘冪函數S 依序由第1列灰階值至第M 列灰階值進行修正,以產生適應性亮度資料。或者,函數執行單元233可利用亮度區域矩陣係以各列灰階值為基準分別朝各列之兩側取列,再加上各列本身而成為N 列之亮度區域矩陣,其中當其中一側不足取列時,不足的列數由另一側來多取補足,以產生適應性亮度資料。Further, the function execution unit 233 can further correct the first column grayscale value to the Mth column grayscale value by using the adaptive power function S to generate adaptive luminance data. Alternatively, the function execution unit 233 may use the luminance region matrix system to respectively take the two sides of each column on the basis of the gray scale values of the columns. Column, plus each column itself, becomes a matrix of luminance regions of N columns, where one side is not sufficient When the column is listed, the number of insufficient columns is complemented by the other side to produce adaptive brightness data.

當前述灰階值被劃分的列數越多(即N 值越大),代表灰階值分區的越細,輸入影像即可被修正的越細緻,影像對比程度相對提升。When the number of columns in which the gray scale value is divided is larger (that is, the value of N is larger), the finer the partition representing the gray scale value, the finer the input image can be corrected, and the degree of image contrast is relatively improved.

藉由依照各列灰階值存在的亮度問題進行修正,可有效凸顯影像的細節,產生清晰的輸出影像且避免了失真的現象,更符合人類視覺的感知。By correcting the brightness problem according to the gray scale values of each column, the details of the image can be effectively highlighted, a clear output image is generated and distortion is avoided, and the perception of human vision is more suitable.

請配合參照附件1,其中(a)為原始影像,(b)為原始影像透過Power Function修正處理後之影像,但其修正方式為整體修正,而並未將原始影像劃分為行或列進行修正。(c)為透過上述影像對比增強系統,將原始影像劃分為17行並進行修正後,所產生的輸出影像。(d)為透過上述影像對比增強系統,將原始影像劃分為33行並進行修正後,所產生的輸出影像。Please refer to Annex 1, where (a) is the original image, and (b) is the original image corrected by Power Function, but the correction is the overall correction, but the original image is not divided into rows or columns for correction. . (c) The output image produced by dividing the original image into 17 lines and correcting it by the above-described image contrast enhancement system. (d) The output image produced by dividing the original image into 33 lines and correcting it by the above-described image contrast enhancement system.

由附件1可知,相較於(c)及(d),(b)的影像並未明顯改善背光、過亮或過暗的影像。而在修正過程中,將原始影像劃分為33行修正後的結果(d),又較將原始影像劃分為17行修正後的結果(c)更為細緻,更能凸顯影像的細節,且影像較為清晰也未產生失真的現象,更符合人類視覺的感知。As can be seen from Annex 1, images compared to (c) and (d), (b) do not significantly improve the backlight, over-bright or too dark images. In the correction process, the original image is divided into 33 lines of corrected results (d), and the original image is divided into 17 lines of corrected results (c) more detailed, more prominent image details, and images It is clearer and has no distortion, which is more in line with the perception of human vision.

再參照附件2至附件6,為本新型影像對比增強系統作為一電腦程式並於電腦上執行的影像。附件2為電腦程式開啟的畫面。附件3為載入一輸入影像(Original Image),且影像右方會顯示輸入影像(Original Image)的亮度直方圖統計圖(Histogram of Image),其中X軸為亮度值,Y軸為像素數量。且在類型(Type)的欄位可供使用者選擇將輸入影 像以列(Row)分區或以行(Column)分區。由附件4可知,使用者可選擇輸入所欲劃分的行數,在此包括9、17、25、33、41供使用者依需求選擇。當然,所選的行數越多,影像修正的細緻度越高。繼續參照附件5,使用者選擇了以列(Row)分區並將輸入影像劃分為9列,可得到左方修正後的輸出影像(9 Row-base by Power Function),並可進一步得到輸出影像的亮度直方圖統計圖(Histogram of Row-base),其中X軸為亮度值,Y軸為像素數量。Referring again to Annex 2 to Annex 6, the image contrast enhancement system of the present invention is used as a computer program and executed on a computer. Attachment 2 is the screen that the computer program opens. Attachment 3 is to load an input image (Original Image), and the right side of the image will display the Histogram of Image of the input image (Original Image), where the X axis is the brightness value and the Y axis is the number of pixels. And in the type field, the user can choose to input the image. Like partitioning in a row or partitioning in a row. As can be seen from Annex 4, the user can select the number of lines to be divided, including 9, 17, 25, 33, 41 for the user to select according to requirements. Of course, the more rows you select, the higher the detail of the image correction. Continuing with reference to Annex 5, the user selects the Row partition and divides the input image into 9 columns to obtain the left-side corrected output image (9 Row-base by Power Function), and further obtains the output image. Histogram of Row-base, where the X-axis is the luminance value and the Y-axis is the number of pixels.

另外,附件6中,使用者選擇了以行(Column)分區並將輸入影像劃分為17列,可得到左方修正後的輸出影像(17Column-base by Power Function),並可進一步得到輸出影像的亮度直方圖統計圖(Histogram of Column-base),其中X軸為亮度值,Y軸為像素數量。In addition, in the attachment 6, the user selects the column partition and divides the input image into 17 columns, and the left corrected image (17Column-base by Power Function) can be obtained, and the output image can be further obtained. Histogram of Column-base, where the X-axis is the luminance value and the Y-axis is the number of pixels.

雖然本新型已以實施方式揭露如上,然其並非用以限定本新型,任何熟習此技藝者,在不脫離本新型之精神和範圍內,當可作各種之更動與潤飾,因此本新型之保護範圍當視後附之申請專利範圍所界定者為準。Although the present invention has been disclosed in the above embodiments, it is not intended to limit the present invention. Any one skilled in the art can make various changes and retouchings without departing from the spirit and scope of the present invention. The scope is subject to the definition of the scope of the patent application attached.

100‧‧‧攝像裝置100‧‧‧ camera

200‧‧‧影像對比增強系統200‧‧‧Image contrast enhancement system

210‧‧‧輸入模組210‧‧‧Input module

220‧‧‧亮度分析模組220‧‧‧Brightness Analysis Module

221‧‧‧影像轉換單元221‧‧‧Image Conversion Unit

222‧‧‧區域劃分單元222‧‧‧Divisional unit

230‧‧‧亮度修正模組230‧‧‧Brightness correction module

231‧‧‧平均值計算單元231‧‧‧Average calculation unit

232‧‧‧參數設定單元232‧‧‧ parameter setting unit

233‧‧‧函數執行單元233‧‧‧ function execution unit

234‧‧‧資料取代單元234‧‧‧data replacement unit

240‧‧‧輸出模組240‧‧‧Output module

為讓本新型之上述和其他目的、特徵、優點與實施例能更明顯易懂,所附圖式之說明如下:The above and other objects, features, advantages and embodiments of the present invention will become more apparent and understood.

第1圖繪示依照本新型一實施方式的一種影像對比增強系統之示意圖。FIG. 1 is a schematic diagram of an image contrast enhancement system according to an embodiment of the present invention.

100‧‧‧攝像裝置100‧‧‧ camera

200‧‧‧影像對比增強系統200‧‧‧Image contrast enhancement system

210‧‧‧輸入模組210‧‧‧Input module

220‧‧‧亮度分析模組220‧‧‧Brightness Analysis Module

221‧‧‧影像轉換單元221‧‧‧Image Conversion Unit

222‧‧‧區域劃分單元222‧‧‧Divisional unit

230‧‧‧亮度修正模組230‧‧‧Brightness correction module

231‧‧‧平均值計算單元231‧‧‧Average calculation unit

232‧‧‧參數設定單元232‧‧‧ parameter setting unit

233‧‧‧函數執行單元233‧‧‧ function execution unit

234‧‧‧資料取代單元234‧‧‧data replacement unit

240‧‧‧輸出模組240‧‧‧Output module

Claims (8)

一種影像對比增強系統,係與一攝像裝置連接,該影像對比增強系統包含:一輸入模組,係自該攝像裝置取得一輸入影像;一亮度分析模組,與該輸入模組連接,用以自該輸入影像中取出一原始亮度資料r ,該原始亮度資料包含複數個灰階值,其中該亮度分析模組包含:一區域劃分單元,用以將該些灰階值劃分為M列,且自該原始亮度資料之該些灰階值中取N 列以形成一亮度區域矩陣,其中N 為複數且為奇數;一亮度修正模組,與該亮度分析模組連接,用以由該原始亮度資料r 產生一適應性亮度資料修正該輸入影像,以產生一輸出影像,其中該亮度修正模組包含:一平均值計算單元,用以根據該亮度區域矩陣之該些灰階值分別計算出一平均值mean (r N ),其中N 代表該亮度區域矩陣之列數,r N 代表該亮度區域矩陣;一參數設定單元,與該平均值計算單元連接,用以設定一適應性乘冪參數γ ,其中當mean (r N )<r A 時,,而當mean (r N )>r A 時,γ =3.5×mean (r N ),r A 為該原始亮度資料中該些灰階值範圍之一中間值;以及一函數執行單元,與該參數設定單元連接,用以依序由該原始亮度資料之一第1列灰階值至一第M 列灰階值進行設定一適應性乘冪函數S 以修正該亮度區 域矩陣之第列灰階值,以產生一適應性亮度資料,其中S =(r L ) γ L 代表該亮度區域矩陣之第列灰階值;以及一輸出模組,與該亮度修正模組連接,用以輸出該輸出影像。An image contrast enhancement system is connected to a camera device. The image contrast enhancement system includes: an input module for acquiring an input image from the camera device; and a brightness analysis module coupled to the input module for An original luminance data r is obtained from the input image, the original luminance data includes a plurality of grayscale values, wherein the luminance analysis module includes: a region dividing unit, configured to divide the grayscale values into M columns, and Taking N columns from the grayscale values of the original luminance data to form a matrix of luminance regions, where N is a complex number and an odd number; a luminance correction module is coupled to the luminance analysis module for the original luminance The data r generates an adaptive brightness data to correct the input image to generate an output image, wherein the brightness correction module includes: an average value calculating unit configured to calculate one grayscale value according to the brightness region matrix average mean (r N), where N is the number of columns in the matrix area of the brightness, the brightness N represents R & lt matrix region; a parameter setting unit, connected to the average calculation unit For setting an adaptive parameter gamma] exponentiation, wherein when the mean (r N) <r A, the And when mean ( r N )> r A , γ = 3.5 × mean ( r N ), r A is an intermediate value of one of the gray scale value ranges in the original luminance data; and a function execution unit, and the The parameter setting unit is connected to sequentially set an adaptive power function S from the first column grayscale value to the first M column grayscale value of the original luminance data to correct the brightness region matrix. Column grayscale values to produce an adaptive luminance data, where S = ( r L ) γ , L represents the matrix of the luminance region matrix a gray scale value; and an output module coupled to the brightness correction module for outputting the output image. 如請求項1所述之影像對比增強系統,其中該亮度分析模組包含:一影像轉換單元,與該區域劃分單元連接,用以將該輸入影像之三原色資料格式(RGB)轉換為具有明視度成份的色彩空間資料格式。The image contrast enhancement system of claim 1, wherein the brightness analysis module comprises: an image conversion unit coupled to the area dividing unit for converting the three primary color data formats (RGB) of the input image to have a clear view The color space data format of the degree component. 如請求項2所述之影像對比增強系統,其中該具有明視度成份的色彩空間資料格式為HSI、HSV或YCrCb。The image contrast enhancement system of claim 2, wherein the color space data format having the visibility component is HSI, HSV or YCrCb. 如請求項1所述之影像對比增強系統,其中亮度修正模組包含:一資料取代單元,與該函數執行單元連接,用以將該適應性亮度資料取代該原始亮度資料,以產生該輸出影像。The image contrast enhancement system of claim 1, wherein the brightness correction module comprises: a data replacement unit coupled to the function execution unit for replacing the original brightness data with the adaptive brightness data to generate the output image . 如請求項1所述之影像對比增強系統,其中該些灰階值設定於0到1之間。The image contrast enhancement system of claim 1, wherein the grayscale values are set between 0 and 1. 如請求項1所述之影像對比增強系統,其中該些灰階值之平均值r A 為0.5。The image contrast enhancement system of claim 1, wherein the average value r A of the gray scale values is 0.5. 如請求項1所述之影像對比增強系統,其中該函數執行單元利用該適應性乘冪函數S依序由一第1列灰階值至一第M 列灰階值進行修正,以產生該適應性亮度資料。The image contrast enhancement system of claim 1, wherein the function execution unit uses the adaptive power function S to sequentially correct from a first column grayscale value to an Mth column grayscale value to generate the adaptation. Sexual brightness data. 如請求項1所述之影像對比增強系統,其中該函數執行單元利用該亮度區域矩陣係以各該列灰階值為基準分別朝各該列之兩側取列,再加上各該列本身而成為該N 列之該亮度區域矩陣,其中當其中一側不足取列時,不足的列數由另一側來多取補足,以產生該適應性亮度資料。The image contrast enhancement system of claim 1, wherein the function execution unit uses the luminance region matrix to respectively take each side of the column with the grayscale value of the column. a column, plus each of the columns themselves, becomes the matrix of the luminance regions of the N columns, wherein one of the sides is insufficient When the column is listed, the number of insufficient columns is complemented by the other side to generate the adaptive brightness data.
TW101220511U 2012-10-24 2012-10-24 Image contrast enhancement system TWM448754U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW101220511U TWM448754U (en) 2012-10-24 2012-10-24 Image contrast enhancement system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW101220511U TWM448754U (en) 2012-10-24 2012-10-24 Image contrast enhancement system

Publications (1)

Publication Number Publication Date
TWM448754U true TWM448754U (en) 2013-03-11

Family

ID=48472236

Family Applications (1)

Application Number Title Priority Date Filing Date
TW101220511U TWM448754U (en) 2012-10-24 2012-10-24 Image contrast enhancement system

Country Status (1)

Country Link
TW (1) TWM448754U (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104299204A (en) * 2013-07-17 2015-01-21 王垒 Histogram local image contrast enhancing method and histogram local image contrast enhancing device
TWI563473B (en) * 2013-07-08 2016-12-21 Lei Wang

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI563473B (en) * 2013-07-08 2016-12-21 Lei Wang
CN104299204A (en) * 2013-07-17 2015-01-21 王垒 Histogram local image contrast enhancing method and histogram local image contrast enhancing device

Similar Documents

Publication Publication Date Title
CN104217666B (en) Image quality adjustment device, image correction circuit and display panel
CN109979401B (en) Driving method, driving apparatus, display device, and computer readable medium
TWI455085B (en) Backlight control method for high dynamic range lcd
US9886882B2 (en) Grayscale compensation method
TWI419131B (en) System and method for modulating backlight
WO2018052570A1 (en) Color normalization for a multi-camera system
CN100542306C (en) Focusing performance of pick-up head detection system and method
TWI519151B (en) Image processing method and image processing apparatus
US9508281B2 (en) Apparatus and method for image analysis and image display
TWI443639B (en) Image display device and method of driving the same
CN102638639A (en) Image processing apparatus, imaging apparatus, and image processing method
JP2016118685A (en) Image display method and image display device
TW201903743A (en) Optical compensation apparatus applied to panel and operating method thereof
CN113724652A (en) Compensation method and device for Mura of OLED display panel and readable medium
CN111970432A (en) Image processing method and image processing device
CN111899690B (en) Method and device for improving low-brightness Mura
TWM448754U (en) Image contrast enhancement system
JP5293923B2 (en) Image processing method and apparatus, image display apparatus and program
JP6174032B2 (en) Image display device, control method for image display device, control program, and recording medium
JP5362753B2 (en) Image quality adjustment apparatus and image correction data generation program
TWI760934B (en) Mura compensation method for display panel, system, electronic device, and storage medium
JP6548516B2 (en) IMAGE DISPLAY DEVICE, IMAGE PROCESSING DEVICE, CONTROL METHOD OF IMAGE DISPLAY DEVICE, AND CONTROL METHOD OF IMAGE PROCESSING DEVICE
TW201417045A (en) Method and system for enhancing image contrast by adaptive power function
KR20160069452A (en) Image processing device, image processing method and program
US11889131B2 (en) Video processing device, video processing method, monitor apparatus, computer device, and medium

Legal Events

Date Code Title Description
MM4K Annulment or lapse of a utility model due to non-payment of fees