TWI507044B - Method of generating a gain of an image frame - Google Patents

Method of generating a gain of an image frame Download PDF

Info

Publication number
TWI507044B
TWI507044B TW097136616A TW97136616A TWI507044B TW I507044 B TWI507044 B TW I507044B TW 097136616 A TW097136616 A TW 097136616A TW 97136616 A TW97136616 A TW 97136616A TW I507044 B TWI507044 B TW I507044B
Authority
TW
Taiwan
Prior art keywords
image
image frame
gain
columns
corresponding gain
Prior art date
Application number
TW097136616A
Other languages
Chinese (zh)
Other versions
TW201014368A (en
Inventor
Yuan Che Lee
Jhy Jyi Sze
Chiao Fu Chang
Tsung Chien Wu
Original Assignee
United Microelectronics Corp
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 United Microelectronics Corp filed Critical United Microelectronics Corp
Priority to TW097136616A priority Critical patent/TWI507044B/en
Publication of TW201014368A publication Critical patent/TW201014368A/en
Application granted granted Critical
Publication of TWI507044B publication Critical patent/TWI507044B/en

Links

Landscapes

  • Image Processing (AREA)

Description

產生一影像畫面增益的方法Method of generating an image picture gain

本發明係關於一種產生一影像畫面增益的方法,尤指一種可以根據人眼對光線之敏感度,產生該影像畫面增益的方法。The present invention relates to a method for generating an image picture gain, and more particularly to a method for generating a gain of the image according to the sensitivity of the human eye to light.

一般而言,當人類的視覺系統在觀看一事物時,係同時在進行兩種分辨----色彩的分辨以及照度(luminance)的分辨。然而此二種分辨的能力,又容易受到周圍環境照度的影響。例如當處於一很亮(照度很高)的環境下,人類的視覺系統對色彩的敏感度會提高,亦即人類的視覺系統在照度很高的環境下,更容易察覺出色彩彼此之間的微細差異;但是對照度的敏感度會降低,亦即人類的視覺系統在照度很高的環境下,不太容易察覺出明暗之間的差異。反之,當處於一很暗(照度很低)的環境下,人類的視覺系統對色彩的敏感度會減弱,亦即人類的視覺系統在照度很低的環境下,不容易察覺出色彩彼此之間的差異;但是對照度的敏感度會提高,亦即人類的視覺系統在照度很低的環境下,較容易察覺出明暗之間的微細變化。請參看第1圖。第1圖係為三條不同的人眼對一影像畫面的照度之感測曲線。第1圖的縱軸代表實際影像畫面之照度(單位:燭光/平方公尺),橫軸代表人眼所感受到的灰階值(最小有效位,Least Significant Bit, LSB)。在實際影像畫面之照度由0變化為50燭光/平方公尺時,此三條曲線所代表之人眼所感受到的灰階值變化約介於110(第一條曲線:1至111)至150(第三條曲 線:1至151)之間,而在實際影像畫面之照度由150變化為200燭光/平方公尺時,此三條曲線所代表之人眼所感受到的灰階值變化只約介於20(第三條曲線:221至241)至30(第一條曲線:201至231)之間。因此,由第1圖中任意一條曲線的變化均可看出:當人眼在影像畫面照度低的時候,對照度很敏感;在影像畫面照度高的時候,對照度較不敏感。In general, when a human visual system is watching a thing, it is simultaneously performing two kinds of resolution---color discrimination and luminance resolution. However, these two kinds of resolution capabilities are easily affected by the ambient illumination. For example, when in a very bright (high illumination) environment, the human visual system is more sensitive to color, that is, the human visual system is more likely to detect colors between each other in a highly illuminating environment. The slight difference; however, the sensitivity of the contrast is reduced, that is, the human visual system is less likely to detect the difference between light and dark in an environment with high illumination. Conversely, when in a very dark (illuminated low) environment, the human visual system is less sensitive to color, that is, the human visual system is less likely to detect colors between each other in an environment with low illumination. The difference is sensitive; however, the sensitivity of the contrast is improved, that is, the human visual system is more likely to detect subtle changes between light and dark in an environment with low illumination. Please refer to Figure 1. Figure 1 is a sensing curve of the illumination of an image taken by three different human eyes. The vertical axis of Fig. 1 represents the illuminance of the actual image (unit: candle/m2), and the horizontal axis represents the grayscale value (Least Significant Bit, LSB) perceived by the human eye. When the illuminance of the actual image changes from 0 to 50 candelas per square meter, the grayscale value perceived by the human eye represented by the three curves is about 110 (first curve: 1 to 111) to 150 ( Third song Line: between 1 and 151), and when the illumination of the actual image changes from 150 to 200 candelas per square meter, the grayscale value perceived by the human eye represented by the three curves is only about 20 (the first) Three curves: 221 to 241) to 30 (first curve: 201 to 231). Therefore, it can be seen from the change of any curve in Fig. 1 that when the human eye is low in illumination of the image, the contrast is very sensitive; when the illumination of the image is high, the contrast is less sensitive.

而目前在光學元件中所大量使用的互補式金氧半導體的影像感測器(CMOS image sensor),存在有固定模式噪音(fixed pattern noise, FPN)的問題,該固定模式噪音係由該光學元件中,各組件彼此之間的差異所造成。請參看第2圖。第2圖係為一具有2.41%的固定模式噪音的影像畫面圖。由第2圖中可看出,固定模式噪音所造成的電位差異會導致影像畫面各行列之間的照度差異,而不會造成色彩上的變化。At present, a complementary CMOS image sensor used in an optical component has a problem of fixed pattern noise (FPN), and the fixed mode noise is obtained by the optical component. In the middle, the differences between the components are caused by each other. Please refer to Figure 2. Figure 2 is an image view of a fixed mode noise with 2.41%. As can be seen from Fig. 2, the difference in potential caused by the fixed mode noise causes a difference in illuminance between rows and columns of the image frame without causing a change in color.

傳統的光學元件,例如一數位照相機,在欲拍攝之一影像畫面之前,須先進行測光及對焦的動作,有些照相機甚至另外具有一測光區,以測量欲拍攝之場景的照度,以決定該欲拍攝之影像畫面之增益。而影像播放元件,例如一液晶電視,通常要先播放一張影像畫面來測量影像畫面的照度,以決定接下來欲播放之主畫面之增益,接著隨後播放的主畫面即根據此增益做調整。無論是照相機或液晶電視,測光的作法上都必須先浪費一張影像畫面或一測光區,以達到測量影像畫面照度的目的,在效率上、資源上 都不是一個很經濟的作法,且被測光的影像畫面,並非實際欲拍攝或播放的影像畫面,因此此傳統做法也不能稱為真正的即時(real-time)且有效。Conventional optical components, such as a digital camera, must perform metering and focusing before one image is to be taken. Some cameras even have a metering area to measure the illumination of the scene to be shot to determine the desire. The gain of the captured image. A video playback component, such as a liquid crystal television, usually plays an image frame to measure the illuminance of the image frame to determine the gain of the main picture to be played next, and then the main picture that is subsequently played is adjusted according to the gain. Whether it is a camera or an LCD TV, metering must first waste an image or a metering area to achieve the purpose of measuring the illuminance of the image, in terms of efficiency and resources. It is not a very economical practice, and the image of the measured light is not the actual image to be shot or played, so this traditional practice cannot be called real-time and effective.

測光之後,根據所測得之該影像畫面的照度,透過一查表,選取一增益值,調整接下來要拍攝或播放的主畫面。在傳統作法中,該查表係相對應於光學元件中的一拍攝模式,基於一平均方法所建立的。然而,這些查表中,並沒有將人眼對光線的敏感度的因子列入考慮,以至於在強光或很暗的環境下,並不能配合環境的照度,提供最佳的增益值操作。After the photometry, according to the measured illuminance of the image, through a look-up table, a gain value is selected to adjust the main picture to be shot or played next. In conventional practice, the look-up table is based on a shooting mode in the optical component, based on an averaging method. However, in these look-up tables, the factors of the sensitivity of the human eye to light are not taken into consideration, so that in a strong light or a very dark environment, the illumination of the environment cannot be matched to provide an optimum gain value operation.

本發明之實施例係揭露一種產生一影像畫面增益的方法,包含將一影像畫面之增益設為1;掃描該影像畫面之前複數列之影像;平均該前複數列之影像,以求得該前複數列之影像之平均值;根據該平均值,產生一相對應的增益;及根據該相對應的增益及該影像畫面剩餘列之資訊,產生該影像畫面剩餘列之影像。Embodiments of the present invention disclose a method for generating an image picture gain, including setting a gain of an image frame to 1; scanning a plurality of images before the image frame; and averaging the images of the front plurality of columns to obtain the front An average of the images of the plurality of columns; a corresponding gain is generated based on the average; and an image of the remaining columns of the image frame is generated based on the corresponding gain and information of the remaining columns of the image frame.

本發明之另一實施例係揭露一種產生一影像畫面增益的方法,包含掃描一影像畫面之前複數列之影像;平均該前複數列之影像,以求得該前複數列之影像之平均值;根據該平均值及該影像畫面之一增益,產生一相對應的增益;及根據該相對應的增益及該影像畫面剩餘列之資訊,產生該影像畫面剩餘列之影像。Another embodiment of the present invention discloses a method for generating an image picture gain, comprising: scanning an image of a plurality of columns before an image frame; and averaging the images of the front plurality of columns to obtain an average of the images of the front plurality of columns; Generating a corresponding gain according to the average value and a gain of the image frame; and generating an image of the remaining columns of the image frame according to the corresponding gain and the information of the remaining columns of the image frame.

針對傳統作法的缺點,本發明提出了一個利用目前的影像畫面的虛列(dummy row)來進行測光,而不需要另外使用一張影像畫面或一測光區,且查表的建立則考慮人眼對光線的敏感度,以求得一較佳之增益值的作法,來改善傳統作法的缺點。In view of the shortcomings of the conventional method, the present invention proposes to use a dummy row of the current image frame for photometry without using an additional image frame or a light metering area, and the establishment of the look-up table considers the human eye. Sensitivity to light, in order to obtain a better gain value, to improve the shortcomings of traditional practices.

若將前述之視覺理論應用到影像處理中,當一影像畫面的照度很高,便將此影像畫面整體的增益加大;相反地,如果一影像畫面的照度很低,則將此影像畫面整體的增益減少。該增益係透過一可程式化增益控制放大器(Programmable Gain Amplifier, PGA)來控制。當此影像畫面整體的增益被加大之後,影像畫面的照度增大,色彩對比增大,固定模式噪音也會被放大。但若此影像畫面的照度很高,雖然固定模式噪音被加大,人類的視覺系統並不容易察覺此固定模式噪音所造成的影像畫面各行列之間的照度差異,但卻可輕易地察覺色彩對比增大後的效果,而對此影像畫面產生一更加色彩續紛的錯覺。相反地,當一影像畫面的增益被減少之後,該影像畫面的照度會降低,色彩對比降低,固定模式噪音也會降低。但若此影像畫面的照度本來就很低,此時人類的視覺系統很容易察覺影像畫面照度的變化,因此固定模式噪音被降低,可減少人類視覺系統覺知固定模式噪音對該影像畫面所帶來的干擾。請參看第3圖。第3圖係為一可程式化增益控制放大器所控制之增益與固定模式噪音的關係柱狀圖。第3圖之縱軸為固定模式噪音之百分比,橫軸為一可程式化增益控制放大器之增益 值。第3圖中每一增益值對應有兩條長柱,一長柱代表所預測之固定模式噪音的百分比,另一長柱代表實際測試所得之固定模式噪音的百分比。由圖中可看出固定模式噪音與該可程式化增益控制放大器之增益係成正比。接下來請參看第4圖。第4圖係為一輸入電壓與一經過一增益調整後之輸出電壓之關係圖。該圖中之曲線上每一點之斜率係為一可程式化增益控制放大器之增益值。該增益值係根據人眼對光線之敏感度而產生。簡言之,畫面愈暗時,增益值越小;畫面愈亮時,增益值越大。此圖亦即本發明之一增益值查表所建立之基礎。If the aforementioned visual theory is applied to image processing, when the illuminance of an image is high, the overall gain of the image is increased; conversely, if the illuminance of an image is low, the overall image is The gain is reduced. The gain is controlled by a Programmable Gain Amplifier (PGA). When the overall gain of the image frame is increased, the illuminance of the image frame increases, the color contrast increases, and the fixed mode noise is amplified. However, if the illumination of the image is very high, although the fixed mode noise is increased, the human visual system is not easy to perceive the difference in illumination between the rows and columns of the image caused by the noise of the fixed mode, but the color can be easily perceived. Contrast the increased effect, and create an illusion of more color continuation on this image. Conversely, when the gain of an image frame is reduced, the illumination of the image frame is reduced, the color contrast is reduced, and the fixed mode noise is also reduced. However, if the illuminance of the image is originally low, the human visual system can easily detect the change of the illuminance of the image, so the fixed mode noise is reduced, and the human visual system can be reduced to recognize the fixed pattern noise. The interference. Please refer to Figure 3. Figure 3 is a histogram of the relationship between the gain controlled by a programmable gain control amplifier and the fixed mode noise. The vertical axis of Figure 3 is the percentage of fixed mode noise, and the horizontal axis is the gain of a programmable gain control amplifier. value. Each gain value in Figure 3 corresponds to two long columns, one long column representing the predicted percentage of fixed mode noise and the other long column representing the percentage of fixed mode noise actually obtained. It can be seen from the figure that the fixed mode noise is proportional to the gain of the programmable gain control amplifier. Next, please refer to Figure 4. Figure 4 is a graph of the relationship between an input voltage and a gain-adjusted output voltage. The slope of each point on the curve in the graph is the gain value of a programmable gain control amplifier. This gain value is generated based on the sensitivity of the human eye to light. In short, the darker the picture, the smaller the gain value; the brighter the picture, the larger the gain value. This figure is also the basis for the establishment of a gain value look-up table of the present invention.

請參看第5圖。第5圖係為本發明之第一實施例產生一影像畫面增益的方法的流程圖。第5圖中之步驟包含:步驟10:設定一可程式化增益控制放大器之增益值為1。Please refer to Figure 5. Fig. 5 is a flow chart showing a method of generating an image picture gain according to the first embodiment of the present invention. The steps in Figure 5 include: Step 10: Set a programmable gain control amplifier with a gain of one.

步驟12:開始逐列掃描一影像畫面。Step 12: Start scanning an image frame column by column.

步驟14:透過逐列掃描,獲得該影像畫面前18列虛列之影像。Step 14: Obtain an image of the first 18 columns of the virtual column of the image frame by column-by-column scanning.

步驟16:平均該前18列虛列之影像,產生一平均值。Step 16: Average the image of the first 18 columns of virtual columns to produce an average.

步驟18:根據該平均值,於一已建立之增益值查表中,尋找一相 對應的增益值。Step 18: According to the average value, look for a phase in an established gain value lookup table. Corresponding gain value.

步驟20:繼續該影像畫面剩餘列(即主畫面)之逐列掃描,並根據該相對應的增益值,調整逐列掃描所得之該主畫面之資訊,以產生該主畫面之影像。Step 20: Continue column-by-column scanning of the remaining columns of the image frame (ie, the main screen), and adjust information of the main screen obtained by column-by-column scanning according to the corresponding gain value to generate an image of the main screen.

在本第一實施例當中,首先在未掃描一影像畫面之前,先將可程式化增益控制放大器之增益值設為1,使得掃描所得之影像畫面之資訊與經過該增益值調整後的影像畫面之影像相同。接著開始逐列掃描一影像畫面,並獲得該影像畫面前18列虛列之影像。請注意:本實施例中所選取之前18列虛列,係為了舉例說明,並非用來限定本發明,虛列數目之選取,係根據該影像畫面之解析度等等情形而定。”虛列”係位於一影像畫面之邊緣,”虛列”所包含之影像資料,因為邊緣起始的種種效應,並無法當成主畫面使用,但若用於測量該影像畫面之照度,實為足夠。所選取之虛列數目越多,掃描所得之資訊越接近整個影像畫面,查表後所得之增益值越能將該影像畫面調整為一較佳之狀態,但是相對地,主畫面(該影像畫面剩餘列)之列數減少,解析度降低;反之,若所選取之虛列數目越少,掃描所得之資訊越不接近整個影像畫面,查表後所得之增益值越難以將該影像畫面調整為一較佳之狀態,但相對地,主畫面(該影像畫面剩餘列)之列數增加,解析度提高。因此,如何在虛列數目與解析度之間,求得一平衡,端賴設計者個人自行判斷。In the first embodiment, the gain value of the programmable gain control amplifier is set to 1 before the image image is scanned, so that the information of the scanned image frame and the image frame adjusted by the gain value are obtained. The images are the same. Then, an image frame is scanned column by column, and the image of the first 18 columns of the virtual column of the image frame is obtained. Please note that the first 18 columns of virtual columns selected in this embodiment are for illustrative purposes, and are not intended to limit the present invention. The selection of the number of imaginary columns depends on the resolution of the image frame and the like. "Virtual column" is located at the edge of an image frame. The image data contained in the "virtual column" cannot be used as the main screen because of the various effects of the edge. However, if it is used to measure the illumination of the image, it is actually enough. The more the number of imaginary columns selected, the closer the information obtained by scanning is to the entire image frame. The gain value obtained after the lookup table can adjust the image frame to a better state, but relatively, the main picture (the remaining image picture The number of columns is reduced, and the resolution is reduced. Conversely, if the number of selected virtual columns is smaller, the less the information obtained by scanning is closer to the entire image frame, the more difficult it is to adjust the image to the image. In a preferred state, the number of columns of the main picture (the remaining columns of the picture picture) increases, and the resolution increases. Therefore, how to find a balance between the number of virtual columns and the resolution depends on the designer's own judgment.

接著平均該前18列虛列之影像,產生一平均值,並根據該平均值,於一已建立之增益值查表中,尋找一相對應的增益值。請注意:本發明之查表係根據人眼對光線之敏感度所建立,透過平均的方法,例如加權平均等等,將不同的人眼對光線之敏感度的曲線最佳化所建立之查表,在較低之影像畫面照度時,對應至較 低之增益,較高之影像畫面照度時,對應至較高之增益。如前述,本查表中所得之影像畫面增益值,在影像畫面照度低時,會降低固定模式噪音對影像畫面之影響;在影像畫面照度高時,因人眼對光線之敏感度的關係,也不至於太強烈地感受到放大固定模式噪音對影像畫面之影響。本發明之光學系統中,查表可能具有複數張,每一張對應於該光學元件中不同的拍攝模式,例如:夜間拍攝模式、自動拍攝模式等等。接著再繼續逐列掃描該影像畫面剩餘列(即主畫面)之資訊,並根據查表中所選取之增益值,調整逐列掃描所得之該主畫面之資訊,以產生該主畫面之影像。請注意:本實施例中用來說明之步驟順序,只是一個例子,並非用來限定本發明,凡不偏離本發明之精神,能夠達到同樣目的之步驟順序,亦應屬於本發明所涵蓋之範疇。Then, the images of the first 18 columns of imaginary columns are averaged to generate an average value, and according to the average value, a corresponding gain value is found in an established gain value lookup table. Please note that the look-up table of the present invention is based on the sensitivity of the human eye to light, and the average human eye, such as a weighted average, is used to optimize the curve of sensitivity of different human eyes to light. Table, in the lower image illuminance, corresponding to Low gain, higher image illuminance, corresponding to higher gain. As described above, the gain value of the image frame obtained in the look-up table reduces the influence of the fixed mode noise on the image image when the illumination of the image image is low; and the sensitivity of the human eye to the light when the illumination of the image is high, It is not too strong to feel the effect of amplifying the fixed mode noise on the image. In the optical system of the present invention, the look-up table may have a plurality of sheets, each of which corresponds to a different shooting mode in the optical element, such as a night shooting mode, an automatic shooting mode, and the like. Then, the information of the remaining columns of the image frame (ie, the main screen) is further scanned column by column, and the information of the main screen obtained by the column scan is adjusted according to the gain value selected in the table to generate the image of the main screen. Please note that the sequence of steps used in the description of the present invention is only an example, and is not intended to limit the scope of the present invention, and the order of steps that can achieve the same purpose is also within the scope of the present invention. .

請參看第6圖。第6圖係為本發明實施例之線路示意圖。第6圖中包含一640*488(VGA解析度)的像素陣列(pixel array)100,垂直掃瞄器(vertical scanner)102、104,電容儲電模組(capacitor bank)106、108,水平掃瞄器(horizontal scanner)110、112(亦即移位暫存器,shift register),以及可程式化增益控制放大器114、116。垂直掃瞄器102由下往上掃描像素陣列100,先逐列掃描前18列虛列的資料,掃描第一列之資料後儲存於電容儲電模組106中,再透過水平掃瞄器110依照所輸入之時序,以序列之方式傳送出來,經過可程式化增益控制放大器114調整後輸出。第一列之資料全部輸出完畢後,垂直掃瞄器再進行第二列資料的掃描,直到 前18列虛列資料都掃描完畢。本發明之第一實施例當中,先將可程式化增益控制放大器之增益設為1,再進行掃描,故此掃描所得之前18列虛列之資料等於可程式化增益控制放大器輸出的影像。列資料在序列輸出後,外部線路即同步進行平均的動作,如第5圖中之步驟16,同步平均該前18列虛列之影像,產生一平均值,並根據該平均值,於一已建立之增益值查表中,尋找一相對應的增益值。找到該相對應的增益值後,垂直掃瞄器繼續由下往上逐列掃描主畫面(該影像畫面剩餘列)部份的資料,並依照同樣的流程,輸出至可程式化增益控制放大器,而可程式化增益控制放大器則依據該相對應的增益值,調整掃描所得主畫面的資料後輸出。Please refer to Figure 6. Figure 6 is a schematic diagram of a circuit according to an embodiment of the present invention. Figure 6 contains a 640*488 (VGA resolution) pixel array 100, vertical scanners 102, 104, capacitor storage banks 106, 108, horizontal sweep The horizontal scanners 110, 112 (i.e., shift registers), and the programmable gain control amplifiers 114, 116. The vertical scanner 102 scans the pixel array 100 from bottom to top, scans the data of the first 18 columns of virtual columns one by one, scans the data of the first column, stores them in the capacitor storage module 106, and then passes through the horizontal scanner 110. According to the input timing, it is transmitted in a sequence, and is output after being adjusted by the programmable gain control amplifier 114. After all the data in the first column is output, the vertical scanner scans the second column until The first 18 columns of virtual data are scanned. In the first embodiment of the present invention, the gain of the programmable gain control amplifier is set to 1 and then scanned, so that the data of the first 18 columns of the dummy columns obtained by the scan is equal to the image output by the programmable gain control amplifier. After the sequence data is output, the external line synchronizes the average action. For example, in step 16 of FIG. 5, the image of the first 18 columns of the virtual column is synchronously averaged to generate an average value, and according to the average value, In the established gain value lookup table, look for a corresponding gain value. After finding the corresponding gain value, the vertical scanner continues to scan the data of the main screen (the remaining columns of the image frame) from bottom to top, and outputs the data to the programmable gain control amplifier according to the same procedure. The programmable gain control amplifier adjusts the data of the main picture scanned and outputs according to the corresponding gain value.

若在未掃描一影像畫面之前,可程式化增益控制放大器之增益值並未被先設為1,則一旦開始逐列掃描之後,所獲得的該影像畫面前18列虛列之影像,經過平均得到一平均值之後,需再除以該可程式化增益控制放大器之增益值,以獲得原始之影像畫面前18列虛列之資料的平均值。獲得原始之影像畫面前18列虛列之資料的平均值之後,再經由查表,找出一相對應之增益值。接著根據該相對應的增益值,調整繼續逐列掃描所得之該主畫面(該影像畫面剩餘列)之資訊,以產生該主畫面之影像。請參考第7圖。第7圖係為本發明之第二實施例產生一影像畫面增益的方法的流程圖。第7圖中之步驟包含:步驟30:開始逐列掃描一影像畫面。If the gain value of the programmable gain control amplifier is not set to 1 before the image is scanned, the image of the first 18 columns of the virtual image obtained after the column-by-column scan is averaged. After obtaining an average value, the gain value of the programmable gain control amplifier is further divided to obtain an average value of the data of the first 18 columns of the original image frame. After obtaining the average of the data of the first 18 columns of the original image, and then looking up the table, find a corresponding gain value. Then, according to the corresponding gain value, the information of the main picture (the remaining columns of the image picture) obtained by the column-by-column scanning is adjusted to generate an image of the main picture. Please refer to Figure 7. Figure 7 is a flow chart showing a method of generating an image picture gain according to a second embodiment of the present invention. The steps in FIG. 7 include: Step 30: Start scanning a video image column by column.

步驟32:透過逐列掃描,獲得該影像畫面前18列虛列之影像。Step 32: Obtain an image of the first 18 columns of the virtual column of the image frame by column-by-column scanning.

步驟34:平均該前18列虛列之影像,產生一平均值。Step 34: Average the images of the first 18 columns of virtual columns to produce an average value.

步驟36:將該平均值除以一可程式化增益控制放大器之增益值,以獲得原始該影像畫面前18列虛列之資料的平均值。Step 36: Divide the average value by the gain value of a programmable gain control amplifier to obtain an average value of the data of the first 18 columns of the original column of the image frame.

步驟38:根據原始該影像畫面前18列虛列之資料的平均值,於一已建立之增益值查表中,尋找一相對應的增益值。Step 38: Find a corresponding gain value in an established gain value lookup table according to the average value of the data of the first 18 columns of the original image of the image frame.

步驟40:繼續該影像畫面剩餘列(即主畫面)之逐列掃描,並根據該相對應的增益值,調整逐列掃描所得之該主畫面之資訊,以產生該主畫面之影像。Step 40: Continue column-by-column scanning of the remaining columns of the image frame (ie, the main screen), and adjust information of the main screen obtained by column-by-column scanning according to the corresponding gain value to generate an image of the main screen.

請注意:本實施例中用來說明之步驟順序,只是一個例子,並非用來限定本發明,凡不偏離本發明之精神,能夠達到同樣目的之步驟順序,亦應屬於本發明所涵蓋之範疇。Please note that the sequence of steps used in the description of the present invention is only an example, and is not intended to limit the scope of the present invention, and the order of steps that can achieve the same purpose is also within the scope of the present invention. .

本發明中建立增益值查表時,除了須考慮人眼對光線之敏感度,亦須考慮液晶電視像素陣列上方之微透鏡(microlens)的擺放方式、以及製程的方式等等。不同的像素陣列上方之微透鏡的擺放方式,例如一個像素之上方擺放一個微透鏡、或四個像素之上方擺放一個微透鏡等等,以及不同之製程方式,例如零點一三製程、零點一八製程等等,都會影響本發明中查表的建立方法。In the present invention, when establishing the gain value look-up table, in addition to considering the sensitivity of the human eye to light, it is also necessary to consider the manner of placing microlens above the pixel array of the liquid crystal television, and the manner of the process. The arrangement of the microlenses above the different pixel arrays, for example, placing a microlens above one pixel, or placing a microlens above four pixels, and the like, and different process methods, such as zero point one three process , the zero point one eight process, etc., will affect the method of establishing the lookup table in the present invention.

總而言之,本發明係提供一利用一影像畫面之虛列進行掃描,求得該影像畫面之虛列的影像之一平均值,並根據該平均值, 從一根據人眼對光線之敏感度所建立之查表中,尋找一相對應之增益值,再根據該相對應之增益值,調整該影像畫面之主畫面的資料,以求得該主畫面的影像的方法。本發明不需要另外使用一影像畫面進行掃描,或另外建立一測光區,且逐列掃描所得之資料均為同一畫面,較具參考價值,而所根據之查表更能提供一適當之增益值,將主畫面調整為一較佳之狀態,以利後端進行影像處理,實為一有效又不浪費系統資源之方法。In summary, the present invention provides an average of one of the images of the imaginary column of the image frame by scanning with a virtual column of an image frame, and based on the average value, From a look-up table established according to the sensitivity of the human eye to light, finding a corresponding gain value, and then adjusting the data of the main picture of the image frame according to the corresponding gain value to obtain the main picture The method of imagery. The invention does not need to use another image frame for scanning, or separately establish a light metering area, and the data obtained by column-by-column scanning is the same picture, which is more valuable, and the table according to the table can provide an appropriate gain value. Adjusting the main screen to a better state to facilitate image processing on the back end is an effective method without wasting system resources.

以上所述僅為本發明之較佳實施例,凡依本發明申請專利範圍所做之均等變化與修飾,皆應屬本發明之涵蓋範圍。The above are only the preferred embodiments of the present invention, and all changes and modifications made to the scope of the present invention should be within the scope of the present invention.

100‧‧‧像素陣列100‧‧‧pixel array

102,104‧‧‧垂直掃瞄器102,104‧‧‧Vertical Scanner

106,108‧‧‧電容儲電模組106,108‧‧‧Capacitor storage module

110,112‧‧‧水平掃瞄器110,112‧‧‧ horizontal scanner

114,116‧‧‧可程式化增益控制放大器114,116‧‧‧Programmable Gain Control Amplifier

10,12,14,16,18,20,30,32,34,36,38,40‧‧‧步驟10,12,14,16,18,20,30,32,34,36,38,40‧‧

第1圖係為三條不同的人眼對一影像畫面的照度之感測曲線所構成之曲線圖。Figure 1 is a graph of the sensing curves of the illuminance of an image of three different human eyes.

第2圖係為一具有2.4%的固定模式噪音的影像畫面圖。Figure 2 is an image screen image with 2.4% fixed mode noise.

第3圖係為一可程式化增益控制放大器所控制之增益與固定模式噪音的關係柱狀圖。Figure 3 is a histogram of the relationship between the gain controlled by a programmable gain control amplifier and the fixed mode noise.

第4圖係為一輸入電壓與一經過一增益調整後之輸出電壓之關係圖。Figure 4 is a graph of the relationship between an input voltage and a gain-adjusted output voltage.

第5圖係為本發明之第一實施例方法的流程圖。Figure 5 is a flow chart of the method of the first embodiment of the present invention.

第6圖係為本發明之線路示意圖。Figure 6 is a schematic diagram of the circuit of the present invention.

第7圖係為本發明之第二實施例方法的流程圖。Figure 7 is a flow chart of the method of the second embodiment of the present invention.

10,12,14,16,18,20‧‧‧步驟10,12,14,16,18,20‧‧ steps

Claims (21)

一種產生一影像畫面增益的方法,包含:將一影像畫面之增益設為1;掃描該影像畫面之前複數列之影像;平均該前複數列之影像,以求得該前複數列之影像之平均值;根據該平均值,產生一相對應的增益;及根據該相對應的增益及該影像畫面剩餘列之資訊,產生該影像畫面剩餘列之影像。A method for generating an image picture gain, comprising: setting a gain of an image frame to 1; scanning an image of the plurality of columns before the image frame; and averaging the image of the front plurality of columns to obtain an average of the image of the front plurality of columns a value; generating a corresponding gain according to the average value; and generating an image of the remaining columns of the image frame according to the corresponding gain and the information of the remaining columns of the image frame. 如請求項1所述之方法,其中掃描該影像畫面之前複數列之影像係為掃描該影像畫面之前複數列之虛列之影像。The method of claim 1, wherein the image of the plurality of columns before scanning the image frame is an image of a virtual column of a plurality of columns before scanning the image frame. 如請求項1所述之方法,其中根據該平均值,產生該相對應的增益係為根據該平均值,以查表之方式產生該相對應的增益。The method of claim 1, wherein the corresponding gain is generated according to the average value, and the corresponding gain is generated in a table lookup manner according to the average value. 如請求項3所述之方法,其中該查表之方式所查之一查表係對應於該影像畫面所存在之一光學系統中之一預設之操作模式。The method of claim 3, wherein the lookup table of the lookup table corresponds to a preset operation mode in one of the optical systems in which the image frame exists. 如請求項4所述之方法,其中該查表係根據人眼對光線之敏感度所建立。The method of claim 4, wherein the look-up table is established based on sensitivity of the human eye to light. 如請求項1所述之方法,其中較低之平均值係對應至較低之增益。The method of claim 1, wherein the lower average corresponds to a lower gain. 如請求項1所述之方法,其中較高之平均值係對應至較高之增益。The method of claim 1, wherein the higher average corresponds to a higher gain. 如請求項1所述之方法,其中該影像畫面係為一液晶電視所播放之影像畫面。The method of claim 1, wherein the image frame is an image frame played by a liquid crystal television. 如請求項1所述之方法,其中該影像畫面係為一數位照相機之液晶面板所顯示之影像畫面。The method of claim 1, wherein the image frame is an image displayed by a liquid crystal panel of a digital camera. 如請求項1所述之方法,其中根據該相對應的增益及該影像畫面剩餘列之資訊,產生該影像畫面剩餘列之影像係根據該相對應的增益與該影像畫面剩餘列之各個畫素之資訊的乘積,產生該影像畫面剩餘列之影像。The method of claim 1, wherein the image of the remaining column of the image frame is generated according to the corresponding gain and the remaining pixels of the remaining columns of the image frame according to the corresponding gain and the information of the remaining columns of the image frame. The product of the information produces an image of the remaining columns of the image. 一種產生一影像畫面增益的方法,包含:掃描一影像畫面之前複數列之影像;平均該前複數列之影像,以求得該前複數列之影像之平均值;根據該平均值及該影像畫面之一增益,產生一相對應的增益;及根據該相對應的增益及該影像畫面剩餘列之資訊,產生該影像 畫面剩餘列之影像。A method for generating an image picture gain, comprising: scanning an image of a plurality of columns before an image frame; averaging the images of the plurality of previous plurality of columns to obtain an average value of the image of the front plurality of columns; and according to the average value and the image frame One gain, generating a corresponding gain; and generating the image based on the corresponding gain and information of the remaining columns of the image frame The image of the remaining columns of the screen. 如請求項11所述之方法,其中掃描該影像畫面之前複數列之影像係為掃描該影像畫面之前複數列之虛列之影像。The method of claim 11, wherein the image of the plurality of columns before scanning the image frame is an image of a virtual column of a plurality of columns before scanning the image frame. 如請求項11所述之方法,其中根據該平均值,產生該相對應的增益係為根據該平均值,以查表之方式產生該相對應的增益。The method of claim 11, wherein the corresponding gain is generated according to the average value, based on the average value, to generate the corresponding gain in a table lookup manner. 如請求項13所述之方法,其中該查表之方式所查之一查表係對應於該影像畫面所存在之一光學系統中之一預設之操作模式。The method of claim 13, wherein the lookup table of the lookup table corresponds to a preset operation mode of one of the optical systems in which the image frame exists. 如請求項14所述之方法,其中該查表係根據人眼對光線之敏感度所建立。The method of claim 14, wherein the look-up table is established based on sensitivity of the human eye to light. 如請求項11所述之方法,其中較低之平均值係對應至較低之增益。The method of claim 11, wherein the lower average corresponds to a lower gain. 如請求項11所述之方法,其中較高之平均值係對應至較高之增益。The method of claim 11, wherein the higher average corresponds to a higher gain. 如請求項11所述之方法,其中該影像畫面係為一液晶電視所播放之影像畫面。The method of claim 11, wherein the image frame is an image frame played by a liquid crystal television. 如請求項11所述之方法,其中該影像畫面係為一數位照相機之液晶面板所顯示之影像畫面。The method of claim 11, wherein the image frame is an image displayed by a liquid crystal panel of a digital camera. 如請求項11所述之方法,其中根據該相對應的增益及該影像畫面剩餘列之資訊,產生該影像畫面剩餘列之影像係根據該相對應的增益與該影像畫面剩餘列之各個畫素之資訊的乘積,產生該影像畫面剩餘列之影像。The method of claim 11, wherein the image of the remaining columns of the image frame is generated according to the corresponding gain and the pixels of the remaining columns of the image frame according to the corresponding gain and the remaining columns of the image frame. The product of the information produces an image of the remaining columns of the image. 如請求項11所述之方法,其中根據該平均值及該影像畫面之該增益,產生該相對應的增益係為將該平均值除以該影像畫面之該增益,以產生該相對應的增益。The method of claim 11, wherein the corresponding gain is generated by dividing the average value by the gain of the image frame to generate the corresponding gain according to the average value and the gain of the image frame. .
TW097136616A 2008-09-24 2008-09-24 Method of generating a gain of an image frame TWI507044B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW097136616A TWI507044B (en) 2008-09-24 2008-09-24 Method of generating a gain of an image frame

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW097136616A TWI507044B (en) 2008-09-24 2008-09-24 Method of generating a gain of an image frame

Publications (2)

Publication Number Publication Date
TW201014368A TW201014368A (en) 2010-04-01
TWI507044B true TWI507044B (en) 2015-11-01

Family

ID=44829617

Family Applications (1)

Application Number Title Priority Date Filing Date
TW097136616A TWI507044B (en) 2008-09-24 2008-09-24 Method of generating a gain of an image frame

Country Status (1)

Country Link
TW (1) TWI507044B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0315375B1 (en) * 1987-10-31 1995-05-31 Fujitsu Limited Multilayer resist material and pattern forming method using the same
TW200714052A (en) * 2005-09-22 2007-04-01 Univ Nat Kaohsiung 1St Univ Sc A light source balance processing technique of regional words or images
US20080063985A1 (en) * 2006-09-12 2008-03-13 Hynix Semiconductor Inc. Method for forming fine pattern of semiconductor device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0315375B1 (en) * 1987-10-31 1995-05-31 Fujitsu Limited Multilayer resist material and pattern forming method using the same
TW200714052A (en) * 2005-09-22 2007-04-01 Univ Nat Kaohsiung 1St Univ Sc A light source balance processing technique of regional words or images
US20080063985A1 (en) * 2006-09-12 2008-03-13 Hynix Semiconductor Inc. Method for forming fine pattern of semiconductor device

Also Published As

Publication number Publication date
TW201014368A (en) 2010-04-01

Similar Documents

Publication Publication Date Title
JP5772991B2 (en) Electronics
JP6717858B2 (en) Calibration of defective image sensor element
TWI540566B (en) Display and method and system for compensating brightness or color of display
US9460664B2 (en) Display apparatus with compensation for brightness-insufficient light source, and control method therefor
US20070242141A1 (en) Adjustable neutral density filter system for dynamic range compression from scene to imaging sensor
JP2009171008A (en) Color reproduction apparatus and color reproduction program
JP2003198891A (en) Image display controller, image display control method, and imaging apparatus
US9508281B2 (en) Apparatus and method for image analysis and image display
JP2009017306A (en) Image display device and imaging apparatus using the same
US9373158B2 (en) Method for reducing image artifacts produced by a CMOS camera
US8159557B2 (en) Method of generating a gain of an image frame
JP5440245B2 (en) Imaging device
TWI507044B (en) Method of generating a gain of an image frame
KR20160030352A (en) Image processing apparatus and image processing method
WO2018220757A1 (en) Unevenness-correction data generation device
JP4887935B2 (en) Imaging apparatus and exposure time control method
JP2009038412A (en) Image processing circuit, semiconductor device, and image processing unit
CN101686353B (en) Method for generating image picture gain
US20210218887A1 (en) Imaging apparatus
JP2000165752A (en) Signal processing method for solid-state image pickup device, and solid-state image pickup device
US20240135670A1 (en) Image processing apparatus and image processing method
KR101710627B1 (en) Photographing apparatus and photographing method
JP5094248B2 (en) Photoelectric conversion device driving method and imaging system
JP2010206661A (en) Apparatus and method for evaluating luminance unevenness
KR20100003877A (en) Method for implementing image effect in digital camera