TW200931342A - Image correcting method, image correcting unit and image capture apparatus using the same - Google Patents

Image correcting method, image correcting unit and image capture apparatus using the same Download PDF

Info

Publication number
TW200931342A
TW200931342A TW97101354A TW97101354A TW200931342A TW 200931342 A TW200931342 A TW 200931342A TW 97101354 A TW97101354 A TW 97101354A TW 97101354 A TW97101354 A TW 97101354A TW 200931342 A TW200931342 A TW 200931342A
Authority
TW
Taiwan
Prior art keywords
image
brightness
correction
color
coefficient
Prior art date
Application number
TW97101354A
Other languages
Chinese (zh)
Other versions
TWI405144B (en
Inventor
Chi-Hao Tsai
Po-Hao Chang
Ju-Wei Chen
Original Assignee
Magic Pixel Inc
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 Magic Pixel Inc filed Critical Magic Pixel Inc
Priority to TW97101354A priority Critical patent/TWI405144B/en
Publication of TW200931342A publication Critical patent/TW200931342A/en
Application granted granted Critical
Publication of TWI405144B publication Critical patent/TWI405144B/en

Links

Landscapes

  • Image Processing (AREA)

Abstract

An image correcting method, an image correcting unit and an image capture apparatus using the same are provided. The image correcting method is used for correcting the brightness of a target image according to a first image, a second image and a third image. The target image has plenty of pixels to be adjusted. The first image is composed of a plurality of first pixels. The second image is composed of a plurality of second pixels. The third image is composed of a plurality of third pixels. The coefficients used to correct the image brightness are derived from one of the first pixels, one of the second pixels and one of the third pixels. The image correcting method includes the following steps. First, a pre-determined brightness value is set. Then, several representative basic correcting coefficients are obtained according to a portion of the first pixels and the pre-determined brightness value. Each representative basic correcting coefficient is corresponding to a portion of the first pixels. Next, several representative optimum correcting coefficients are derived from the representative basic correcting coefficients and the second pixels. Then, a plurality of pixel-optimum correcting coefficients are derived based on an operation and the representative optimum correcting coefficients. Each pixel to be adjusted corresponds to one of pixel-optimum correcting coefficients. Then, the color correcting coefficients are obtained from the pixel-optimum correcting coefficients and a third image. Finally, the brightness of each pixel to be adjusted is corrected according to each pixel-optimum correcting coefficient and the corresponding color correcting coefficient.

Description

200931342 .ΥΥΟΟΟΟΓΛ 九、發明說明: 【發明所屬之技術領域】 種可餘,,、 體容量之影像校正方法、影像校正單 熵記 取裝置。 及應用其之影像 本發明是有關於—種影像校正方法、影像校 應用其之影像擷取裝置,且特別是有關於—種及 憶 #1 Ο ❾ 【先前技術】 隨著科技的進步,消費者對影像擷取裝置之 提高,因此業界係不斷致力於影像處理技術,^目對 裝置之成像品質。其中,影像擷取裝像 像係由數個晝素所組成,此些晝素係以 =取之影 ^而四周部分較暗㈣題,使得 =份 如何將影像的亮度-致化,係為業界致力之方;^此, 性,八w之:像校正方法係根據鏡頭及光感測元件的特 巧傍二,5十算並儲存對應於多個畫素的增益值。之後影像 個查丄取|置所練之#彡像藉由此些增益值分別調整各 二:' 由於影像的陰影多為擴圓形,故增益值需错存於 恢體介°己_體中’因此傳統之影像校正方法需要大量之記 二間。如此一來,便提高影像影像擷取裝置之成本。 因此’如何提出一種影像校正方法、影像校正單元及 7 200931342 w jojor^. =::擷取裝置,以解決上述問題,實為目前研發 【發明内容] 有鑑於此,本發明係有關於— 校正單元及制其之影像擷取^種:像校正方法、影像 〇 〇 分晝素獲得多個代表基礎亮度校=據第—影像之部 之晝素將每個代表基礎亮度校I ’再根據第二影像 度校正係數。藉由此此枝矣4 *數謂整為代表優化亮 各個待調整晝 本發明之影像校正方法、影像校進:校正’使 數」及「有效地將影像4=需要之亮度校正係 根據本發明之—方面:^整為一致化」之優點。 用一第一影像及-第二種影像校正方法’係利 影像具有多個待調—目標影像之亮度。目標 第二影像具有多個第=素第2像具有多個第一晝素, 係由對應之此些第—書+之待調整晝素之校正資料 得。影像校正方法包括此些第二晝素之一獲 值;其次,根據部分之此::驟查:先,設定-預定亮度 個代表基礎亮度校正倾素及預定亮度值獲得多 些代表基礎真师接者’根據此些第二晝素將此 係數;然後多個代繼亮度校正 #式及此些代表優化党度校正係數 200931342 亮度校正二據每個晝素優化 根據本發明之另—方面,提出二二… 括-第-儲存單元、一第二儲一 #象权正單元,包 -第二運算單元。第—儲存‘二二運算單元及 晝素具有-色彩值。第二 堵存多個晝素,每個 ❹ 〇 权正係數’每個代表亮度校=儲存多個代表亮度 素。第一運算單元用 ’、、糸對應於部份之此些晝 應於每個畫素之一晝素多=代表亮度校正係數運算為對 每個晝素之色彩值及每個數。第二運算單元根據 素之一校正色彩值。 〃 杈正係數獲得每個晝 根據本發明之再—方面 一 括一影像感测單元、一与 出一種影像擷取裝置,包 空間轉換單元。;;像以二=補插… 像係以-貝爾圖樣配置並 用以擷取-影像。影 τ。影像校正單元用:校:::♦每個晝素具有-一弟-儲存單元、 t素之色彩值並包括 第二運算單元。第-:存=::-第-運算單元及-存早70用以館存多個代表哀戶枯绪存此些晝素。第二儲 正係數係對應於部份之::、正係數,每個代表亮度校 個代表亮度校正係數運算^靡。第一運算單元用以將每 度校正係數。第二為f應Γ每個畫素之一畫素亮 晝素亮度校正係數獲;個晝素之色彩值及每個 I之〜校正色彩值。色彩補 200931342 插單元用以將每個單一晝素色彩值補插為一三色值。色彩 空間轉換單元可用以將每個晝素三色值轉換出一對應的 亮度值。 為讓本發明之上述内容能更明顯易懂,下文特舉一較 佳實加例’並配合所附圖式,作詳細說明如下: 【實施方式】 〇 〇 第一實 睛同時參照第1、第2A、第2B及第3圖,第1圖繪 不依照本發明第一實施例之影像擷取裝置的主要功能方 塊圖,第2A圖繪示第一影像其部分第一晝素的示意圖, 第2B圖繪示第一影像之部分代表基礎亮度校正係數的示 意圖’第3圖㈣依照本發明第—實施例之影像校正方法 的流程圖。 〜於本實施例中,影像榻取裝置刚係根據一第一影像 及-預定亮度值^獲得多個代表基礎亮度校正係 ^獲^據此些絲麵亮度校正錄及—第二影像之亮 以=表優化亮度校正係數,再根據此些代表優化 校正一目標影像之亮度。如第1圖所示,影 至少包括一影像感測單元ιι〇、一職 ⑽::色彩補插單元130及一色彩空嶋 儲存單料丨21、—第二 干兀122、-第-運异旱元123及 124。影像擷取裝置100 4系為具,像㈣旦^一運异早70 ,、如像擷取影像功能之電子 200931342 裝置’例如是具照相功能之行動通訊裝置或影像數位擷取 裝置。 ❷ © 影像感測單元110用以擷取一晝面,並輸出以貝爾圖 樣(Bayer pattern)配置之第一影像)。第一影像具 有多個第一晝素,部分之第一晝素如、☆〇〜、 ‘1»及户和⑽心+和係繪示於第2A圖中。以貝爾圖樣配置 之第一影像%_中,每個第一晝素具有一像素值,例如是 紅色、綠色或藍色。為了獲得精確之亮度,第一影像較佳 地為一白色影像。白色影像例如是以影像感測單元ΐι〇於 正常的照明下,拍攝-白紙或—白色平面物而得。影像校 正單7L 12G 以儲存校正影像感測單元11G輸出之影像所 需之校正係數。在此為了要獲得第_影像之亮度,因此第 一影像係直接輸出至色彩補差單元13〇。 色彩補插單元130將以貝爾圖樣配置之第一影像 &gt; =差為具’ R G B *像資料之第一影像‘ ’其中每個 i一田旦素同時具有紅色、綠色及藍色。色彩空間轉換單元 具有職影像資料之第一影像‘轉換成具有 ㈣之第1像其中每個第一晝素具有一亮 算出代表基礎亮度红錢μ值之後,便可計 係數儲存至影像校正單 、將此組絲基礎免度校正 代表基礎亮度校正係數 二第二儲存單元122。每個 之後,再藉由應於#份之第—晝素。 ‘衫像C5t〇w,其中第二影像&lt;^_具 出以貝爾圖樣配置^第感測單元U〇擷取另一晝面,並輸 200931342 i yyjo^om 影像擷取裝置1〇〇 畫素具有-像素值。為了使 佳地為-彩色影像,、: 成之誤差。 早白色影像校正而造 影像校正單元120之第—儲存單 存第二影像t之第二畫+。第一U用以依序地儲 存於第二儲存單元122 二用以將儲 應於每個第二書♦之金去^基礎冗度权正係數運算為對 元m根據儲存亮度校正係數。第二運算單 及對應之晝素基礎亮度校:::=之像素值 樣配置之第二影像(〆㈣獲传权正後之以貝爾圖 13〇更=^彳_;^彡像^之後’色彩補差單元 一旦 、第一衫像°細〜補差為具有RGB影像資料之第 ,空間轉換單元14〇更用以將具有_影 ❹ 、厂 一衫像c〖Ge轉換成具有YUV影像資料之第一旦; ==於獲得校正亮度後之第二影像之後,、便J二 =礎免度校正係數調整為代表優化亮度校正係數,並 ' t組代表優化亮度校正係數儲存至影像校正單元120之 第一餘存單元122。 之後’影像感測單元110更用以摘取另一晝面,並輸 =5圖樣(Bayer pattern)配置之目標影像、至影 有二I:第單元121’其中目標影 一 m :旦素且每個待調整晝素具有一像素值。第 具單元123更用以將儲存於第二儲存單元122之代表 12 200931342 TW3838PA 優化亮度校正係數運算為對應於每個待難μ之金素 ,亮=正係數。第二運算單元124根據儲存於;一儲 存早疋m的待調整晝素之像素值及對應 校正係數,獲得校正後之以貝_樣配置之:;標=像 配η彩補差單元m更用以將校正後之以貝爾 〜豕補差為具有RGB影像資料之目 ’以 正目標影像之亮度。至於本實施例 e ο 正方法之主要步驟係以第3圖說明如下,同時並 搭配第2A及第2B圖之元件標號為例作說明。 本實施例之影像校正方法例如是利 =取行第3圖中之各個步驟,但並不以此 為限。此技倘域+具㈣常知識 法之可依據實際應用狀況進行 下主二首:,本實施例之影像校正方法至少包括以 要v驟。首先,如步驟(a)所示,設定 所示,根據第二佥^基礎党度校正係數。接著,如步驟(c) 多個代表優化將此些代表基礎亮度校正係數調整為 :係數。然後,如步驟⑷所示,根 優化亮度^正^代表優化亮度校正係數獲得多個晝素 化亮係數。二每個:調整晝素對應於每個晝素優 優化亮度校正係數#? r驟(e)所示,根據每個晝素 個步驟的實施方法係詳細說明如下儿度其中各 13 200931342 規格Mx#之第一影像包括多個區塊’使每個區塊對應 於部分之第一晝素及部分之待調整畫素。於本實施例中, 第一影像係以包括區塊、化w•及A.+U+1,且每個區 塊的大小係為wxw為例做說明,如第2A圖所示。請參照第 4圖,其繪示第3圖之步驟(b)的詳細流程圖。步驟(1})之 獲得多個代表基礎亮度校正係數之方法包括步驟(bl)及 (b2) °首先’如步驟(bl)所示,分別自第一影像之每個區 〇 塊中選擇一個第一晝素。接著,如步驟(b2)所示,分別根 據預定亮度值3^及選擇之第一晝素之亮度值獲得各個代 表基礎亮度校正係數。於本實施例中,區塊.之代表基礎 免度校正係數G«V係以等式(1)獲得: / 心 .................................等式(1 ) • 其中,〜·•㈣係為自區塊,y中所選擇之第一晝素 之 度值,、广 w &lt;; #、。。〈州、且卜)、ww、 Mβ及6為正整數。 〇 於本實施例中,係分別自區塊化、式,州、5i+w及足.+1,/+1 選擇第一個第一晝素戽^、%_、尸_,’及^ 以獲得代表基礎亮度校正係數^、G, Μ、及Gi〜+1,即a=〇 且b=0,如第2A圖所示。於本實施例中,較佳地自第一晝 素中選擇最大亮度值作為預定亮度值^。 於上述步驟(bl)及(b2)之後,便可獲得每個代表基礎 焭度校正係數,並實施步驟(c)。接著,請參照第5圖, 其緣不第3圖之步驟(c)的詳細流程圖。步驟(c)之獲得多 個代表優化亮度校正係數之方法包括步驟(cl)〜(c3)。 200931342200931342 . 九 九 发明 发明 发明 发明 发明 发明 发明 发明 发明 发明 发明 发明 发明 发明 发明 发明 发明 发明 发明 发明 发明 发明 发明 发明 发明 发明 发明 发明 发明 发明 发明 发明 发明 发明 发明 发明 发明 发明BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image capturing method and an image capturing device for image processing, and particularly relates to a species and a memory #1 Ο ❾ [Prior Art] With the advancement of technology, consumption The improvement of the image capture device, the industry is constantly working on image processing technology, and the imaging quality of the device. Among them, the image capturing image system is composed of a number of elements, such as the image of the ^ and the darker part of the four (four) questions, so that = how to convert the brightness of the image, The industry is committed to; ^ this, sex, eight w: The correction method is based on the lens and the light sensing component's special tricks, and calculates and stores the gain values corresponding to multiple pixels. After that, the image is searched and placed. The #彡像 uses the gain values to adjust each of the two: 'Because the shadow of the image is mostly rounded, the gain value needs to be lost in the recovery body. Medium's traditional image correction method requires a lot of notes. As a result, the cost of the image capturing device is increased. Therefore, 'how to propose an image correction method, image correction unit and 7:31:31 jojor^. =:: capture device to solve the above problems, it is currently research and development [invention content] In view of this, the present invention is related to - correction The unit and the image of the system are selected: like the correction method, the image is divided into two parts to obtain the basic brightness of the school. According to the first part of the image, the unit will be based on the basic brightness of each unit. Two image degree correction coefficients. By means of the branch 4* number, the image correction method and image alignment of the present invention are optimized for each bright image to be adjusted: correcting the 'number of numbers' and "effectively correcting the image 4 = required brightness according to the present The aspect of the invention: the advantages of "consistent". Using a first image and a second image correction method, the image has a plurality of to-be-tuned-the brightness of the target image. The second image has a plurality of singular images, and the second image has a plurality of first pixels, which are obtained from correction data corresponding to the first book + the pixels to be adjusted. The image correction method includes obtaining the values of one of the second elements; secondly, according to the part:: a preliminary check: first, the set-predetermined brightness represents the basic brightness correction and the predetermined brightness value to obtain more representative basic teachers. The receiver's this coefficient according to the second elements; then a plurality of successive brightness corrections and these representative optimization degree correction coefficients 200931342 brightness correction data according to another aspect of the present invention, A second-two storage unit, a second storage unit, and a packet-second operation unit are proposed. The first-storage ‘two-two arithmetic unit and the morpheme have a-color value. The second block is to store a plurality of pixels, and each of the ❹ 权 positive coefficients 'each represents a brightness calibration = storing a plurality of representative luminances. The first arithmetic unit uses ‘, 糸 corresponds to the portion of the 昼 昼 = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = The second arithmetic unit corrects the color value according to one of the primes.杈 杈 系数 获得 获得 获得 昼 昼 昼 昼 昼 昼 昼 昼 昼 昼 昼 昼 昼 昼 昼 昼 昼 昼 昼 昼 昼 昼 昼 昼 昼 昼 昼 昼 昼 昼 昼 昼 昼;; like two = patching... The image is configured in a Bell pattern and used to capture - images. Shadow τ. For the image correction unit: School:::♦ Each element has a -one-storage unit, a color value of t and includes a second operation unit. The first:: save =::- the first - arithmetic unit and - save the early 70 for the library to store a number of representatives of the mourning households to save these sorrows. The second positive coefficient corresponds to a part of::, a positive coefficient, and each of the representative luminances represents a brightness correction coefficient operation. The first arithmetic unit is used to correct the coefficient per degree. The second is f, which is one of the pixels of each pixel, and the luminance correction coefficient is obtained; the color value of each pixel and the corrected color value of each I. Color Complement The 200931342 plug-in unit is used to interpolate each single-color color value into a tri-color value. The color space conversion unit can be used to convert each of the pixel three color values out of a corresponding brightness value. In order to make the above-mentioned contents of the present invention more comprehensible, the following is a detailed description of the present invention and is described in detail below with reference to the accompanying drawings: [Embodiment] 2A, 2B, and 3, FIG. 1 is a block diagram showing the main functions of the image capturing device according to the first embodiment of the present invention, and FIG. 2A is a schematic diagram showing a portion of the first pixel of the first image. FIG. 2B is a schematic diagram showing a portion of the first image representing a basic brightness correction coefficient. FIG. 3 is a flowchart of an image correction method according to the first embodiment of the present invention. In the embodiment, the image reclining device obtains a plurality of representative basic brightness correction systems based on a first image and a predetermined brightness value, and obtains the brightness correction records of the silk surface and the brightness of the second image. The brightness correction coefficient is optimized by the = table, and the brightness of a target image is corrected according to the representative representations. As shown in FIG. 1 , the image includes at least one image sensing unit ιι〇, a job (10):: color interpolation unit 130, and a color space storage unit 、 21, a second cognac 122, and a Heterogenous elements 123 and 124. The image capturing device 100 4 is a device, such as (four), and an electronic device, such as an image-capturing electronic device. The 200931342 device is, for example, a camera-enabled mobile communication device or an image digital capturing device. ❷ © The image sensing unit 110 is configured to capture a face and output a first image configured in a Bayer pattern. The first image has a plurality of first pixels, and some of the first elements such as ☆ 〇 、, ‘1» and hu and (10) hearts + and are shown in Figure 2A. In the first image %_ configured in the Bell pattern, each of the first pixels has a pixel value, such as red, green or blue. In order to obtain accurate brightness, the first image is preferably a white image. The white image is obtained, for example, by image sensing unit ΐι under normal illumination, photographing - white paper or - white plane. The image correction sheet 7L 12G stores the correction coefficient required for correcting the image output from the image sensing unit 11G. Here, in order to obtain the brightness of the _th image, the first image is directly output to the color compensating unit 13A. The color interpolation unit 130 sets the first image &gt; = difference configured in the Bell pattern to the first image ' ‘ having the image of the R G B * image, wherein each of the i-denams has red, green, and blue at the same time. The color space conversion unit has the first image of the job image data converted into the first image having (4), wherein each of the first pixels has a bright calculation representative of the basic brightness red money μ value, and then the coefficient is stored to the image correction list. The set of silk foundation exemption corrections represents the basic brightness correction coefficient two second storage unit 122. After each, then by the #份之第昼素. 'The shirt is like C5t〇w, in which the second image &lt;^_ has the Bell pattern configuration ^ The sensing unit U draws another side, and loses 200931342 i yyjo^om Image capturing device 1〇〇 The prime has a - pixel value. In order to make the best image - color image, :: into the error. The first image of the second image t is stored in the first image storage unit 120. The first U is stored in the second storage unit 122 in order to calculate the gold-based basis weighting coefficient stored in each second book as the element m according to the stored brightness correction coefficient. The second operation list and the corresponding pixel base brightness:::= the second image of the pixel value sample configuration (〆(四) is transmitted to the right after the Bell Figure 13〇=^彳_;^彡^^ 'The color compensation unit once, the first shirt image is fine ~ the complement is the first with RGB image data, the space conversion unit 14 is used to convert the image with the _ shadow, the factory shirt image c to have YUV image data. Once; == after obtaining the second image after correcting the brightness, the J 2 = the base correction coefficient is adjusted to represent the optimized brightness correction coefficient, and the set of the representative brightness correction coefficient is stored to the image correcting unit 120 The first remaining unit 122. The image sensing unit 110 is further used to extract another side surface, and input the target image of the Bayer pattern configuration, and the image has two I: the first unit 121' The target image is one m: and each pixel to be adjusted has a pixel value. The unit 123 is further configured to calculate the representative brightness correction coefficient stored in the second storage unit 122 to correspond to each of the to-be-received 12 200931342 TW3838PA Difficult to μ gold, bright = positive coefficient. Second luck The unit 124 is configured according to the pixel value of the to-be-adjusted pixel and the corresponding correction coefficient stored in the storage unit, and is configured to be corrected in the shape of the pixel: the standard=image matching η color complementing unit m is used for correcting In the latter case, the brightness of the RGB image data is the brightness of the positive target image. As for the present embodiment, the main steps of the positive method are as follows in the third figure, and together with the 2A and 2B pictures. The component labeling method is described as an example. The image correcting method in this embodiment is, for example, the following steps in the figure 3, but is not limited thereto. This technique can be based on the domain + (4) common knowledge method. The actual application status is as follows: The image correction method of this embodiment includes at least a step. First, as shown in step (a), the setting is shown, and the coefficient is corrected according to the second base degree. , as in step (c), the plurality of representative optimizations adjust the representative basic brightness correction coefficients to: coefficients. Then, as shown in step (4), the root optimization brightness ^ positive^ represents the optimized brightness correction coefficient to obtain a plurality of elementary brightness coefficients. Two each: adjustment Corresponding to each of the prime quality optimization brightness correction coefficients #? r (e), according to the implementation method of each element step, the following image is detailed: each of the 13 200931342 specifications Mx# first image includes The plurality of blocks 'make each block correspond to a portion of the first pixel and a portion of the pixel to be adjusted. In this embodiment, the first image system includes a block, a w+, and an A.+U+ 1, and the size of each block is wxw as an example, as shown in Figure 2A. Please refer to Figure 4, which shows the detailed flow chart of step (b) of Figure 3. Step (1) The method for obtaining a plurality of representative base brightness correction coefficients includes steps (bl) and (b2) ° first, as shown in step (bl), respectively selecting a first element from each block of the first image. . Next, as shown in the step (b2), the respective representative base luminance correction coefficients are obtained based on the predetermined luminance values 3^ and the luminance values of the selected first pixels, respectively. In the present embodiment, the representative base exemption correction coefficient G«V of the block is obtained by the equation (1): / heart.................... .............equation (1) • Where, ~·•(4) is the self-block, the value of the first element selected in y, and wide w &lt;;#,. . <State, and Bu), ww, Mβ, and 6 are positive integers. In the present embodiment, the first first 昼 戽 ^, % _, 尸 _, ' and ^ are selected from the block, the state, the state, the 5i+w and the foot. +1, / +1 respectively. The representative base luminance correction coefficients ^, G, Μ, and Gi +1 are obtained, that is, a = 〇 and b = 0, as shown in FIG. 2A. In the present embodiment, the maximum brightness value is preferably selected from the first element as the predetermined brightness value. After the above steps (b1) and (b2), each representative base temperature correction coefficient is obtained, and step (c) is carried out. Next, please refer to Fig. 5, which is not the detailed flowchart of step (c) of Fig. 3. The method of obtaining a plurality of representative optimization brightness correction coefficients in the step (c) includes the steps (cl) to (c3). 200931342

i WJ8J8t*A 首1 ’如步驟(Gl)所示’以雙線性内插法⑽i酿 ⑽聊㈤⑽)自部狀絲基礎亮奸 :晝素基礎f校正係數。由於第二儲存單 由母個區塊中選擇之第—晝素所獲得之代表基礎亮度校 正係數,如代表基礎亮度校正係數心、G、 , ❹ ❹ 第—晝素的晝素基礎*度:心數,:藉 由雙線性内插法計算而得。未被選擇之第—晝素例如為第 2B圖:所繪示之第—晝素“”。以下係以雙線性内差 法計异出第-晝素之畫素基礎亮度校正係數 公做說明。 如第2A及第2B圖所示,區塊5 之代表基礎亮度校; / 5叫及化_ 食去ρ 、ρ仅正係數^心、丨、G〜及%,y+1分別由第一 旦’、//«’; m 丨 m’(7+1)、、户(i+Ι» 及 P(W)*w,㈤獲得。第一晝素 ^^位於第一晝素U及第一晝素心之邊上旦,’、 ^二,之晝素基礎亮度校正係數〜係由等 式(2)獲得: 义'〜+21*6 ........................等式(2) 一食^ P卜第晝素户㈣·—〆系位於第—晝素户㈣·及第 、、, 之·邊上第旦素之晝素基礎亮肩 校正係數知係由等式(3)獲得: 尸m+y = —s}L^n , y ..... .. % *Gi+i.+_#Gi+1J+1 ...................等式(3) 於獲得第一晝素之晝素基礎亮度校正係數 尽,m,/ m+y及第晝素户㈣之晝素基礎亮度校正係數 如》”後,係可根據等式(4 )獲得第一晝素~之 200931342 &gt; i*/w+jc,/*m+少·i WJ8J8t*A first 1 ' as shown in step (Gl) 'by bilinear interpolation (10) i brewed (10) chat (five) (10)) from the genital silk foundation eclipse: 昼 基础 basic f correction coefficient. Since the second storage list is obtained by the first element selected from the parent block, the representative basic brightness correction coefficient, such as the base brightness correction coefficient heart, G, , ❹ ❹ 昼 - 昼 昼 : : : :: Number of hearts, calculated by bilinear interpolation. The unselected first element is, for example, Figure 2B: the first element shown in the figure. The following is a description of the pixel-based luminance correction coefficient of the first-halogen element by the bilinear internal difference method. As shown in Figures 2A and 2B, block 5 represents the base luminance; / 5 calls and _ 食 ρ, ρ only positive coefficients ^ heart, 丨, G~ and %, y+1 are respectively Dan ', / / « '; m 丨 m ' (7 + 1), household (i + Ι » and P (W) * w, (five) obtained. The first element ^ ^ is located in the first element U and On the edge of a heart, the ', ^ two, the basic brightness correction coefficient of the element is obtained by the equation (2): meaning '~+21*6 ............ ............equipment (2) One food ^ P Bu Di Yu Su household (four) · - 〆 is located in the first - 昼素 household (four) · and the first, the, the side of the first The prime base correction coefficient is obtained by equation (3): corpse m+y = —s}L^n , y ..... .. % *Gi+i.+_#Gi+ 1J+1 ................... Equation (3) is obtained by obtaining the first pixel's base luminance correction coefficient, m, / m+y and After the prime base brightness correction coefficient of Susiehu (4) is "", the first element can be obtained according to equation (4)~200931342 &gt; i*/w+jc, /*m+ less

:〇-. X i*mJ*m+y * S(i+\)*mj*m+y * * * · · · 利用上述方法,即可獲得每個第—晝素之晝 正係數。 柱古v ^(C2)所示’根據第二晝素及此些晝素基 礎壳又校正係數設定亮度加權係數,。於此步驟中,亮度 加權錄,之設定方法係說明如下。首先,將以貝爾圖樣 配置之弟—影像、之每個第二畫素的色彩值,一 一乘以 晝素基礎亮度校正係數’以獲得校正亮度後之以貝 爾圖樣配置之第二影像。之後,將校正亮度後之以貝 爾圖樣配置之第二影像I輸出至色彩補插單幻3〇,以 獲得,有RGB影像資料之第二影像‘。接著,將具有職 影像貧料之第二影像‘輸出至色彩空間轉換單元14〇,以 獲得具有YUV影像資料之第=影像‘。於獲得具有谓 ❹ 晝素基礎亮度校正係數反 ……等式(4) 素基礎亮度校 影像資2之第二影像‘後,便可依據整張第二影像心所 呈現之壳度,設定亮度加權係數/。 然後如步驟(c3)所示,根據亮度加權係數/將代表 基礎党度%c正係數調整為代表優化亮度校正係冑,例如將 第2\圖巾所㈣之代表基礎亮度校正係數%_難為代表 優化受度杈正係數G,·&quot;.。於本實施例中,代表基礎亮度校正 係數調整為代表優化亮度校正係數^^係以等式(5 *:〇-. X i*mJ*m+y * S(i+\)*mj*m+y * * * · · · Using the above method, the positive coefficient of each 第-昼 can be obtained. The column ancient v ^ (C2) shows the brightness weighting coefficient according to the second element and the basis of the halogen element. In this step, the brightness weighting recording method is described as follows. First, the color value of each of the second pixels in the Bell pattern configuration, the color value of each of the second pixels, is multiplied by the pixel base luminance correction coefficient' to obtain a second image in a Bayer pattern after correcting the luminance. Then, the second image I in the Bayer pattern after the correction of the brightness is output to the color patching single illusion 3〇 to obtain the second image ‘with the RGB image data. Next, the second image having the job image poor material is output to the color space conversion unit 14A to obtain the first image having the YUV image data. After obtaining the second image of the basic brightness correction coefficient of the equation (4), the brightness can be set according to the shell degree of the entire second image heart. Weighting factor /. Then, as shown in step (c3), according to the brightness weighting coefficient/the representative base party degree %c positive coefficient is adjusted to represent the optimized brightness correction system, for example, the representative base brightness correction coefficient %_ of the 2nd towel (4) is difficult to be Represents the optimization of the degree of positive coefficient G, ·&quot;. In this embodiment, the representative base brightness correction coefficient is adjusted to represent the optimized brightness correction coefficient ^^ by the equation (5 *

G = /U) + 1........................等式(5) 每個代表基礎亮度校正餘冑可_齡方法調整為代 200931342 表優^度校正係數,並儲存於第二儲存單幻22令。 亮度校正之後’便可獲得每個代表優化 中,係以雔㈣ ⑷。於本實施例之步驟⑷ 得此也書it =自部份之代錢化亮度校正係數獲 之步驟(⑴,因'糸數。其操作原理係類似於上迷 ;因此不再加以贅述。 ❹ ❹ 數,ΓΐίΓ驟⑷之後’便可獲得晝素優化亮度校正係 步驟(e)。於本實施例之步驟( 正,調彩值及對應之畫素優化亮度校 標影像I。更進-步來說,校正亮度後之K象t之目 獲得方法,係將以貝爾圖樣配置之目 ;^象:的 《獲得校正亮度後之以貝爾圏樣配=;,係 更則 义正冗度後之以貝爾圖樣配置之* 之目“像I,以完成校正目標影像之亮度。貝科 此外,如第1圖所示,影像擷取 括一第三儲存單元125及 2較么地更包 ⑶。當待調整晝素依序地儲存取控制器(職) 直接記憶體存取控彻126將第—運算單, 份代表優化亮度校正係數由第 〜 斤品之部 儲存單元125。藉此,第一運存=122傳送至第三 元125館存之代表優化 =3翁第三儲存單 係數,以將代表優化亮度 200931342 i 校正係數運算為書 例中,第一錯存單91免度校正係數。再者,於本實施 first out,FIFO)^六車父佳地為先進先* (first in 為了節省儲存:器,以依序地儲存待調整晝素。 e ❹ 間,於本實施例中二之:二1存單元122之空 二維等距之間_ _、/ =資料之第—影像^以 中選擇一個第一全I 、,、、、固區塊,再分別自每個區塊 算出代表此區塊據選擇之第—畫素之亮度值計 亮度校正係數係錯=礎=?正係數。此些代表基礎 f亮度校正係數係為校辛且之每::表基 校正係數。未_擇之—畫素之党度值的 數,係可依摅i Α 旦素之晝素基礎亮度校正係 亮度校lit鄰狀Β個被轉n素之代表基礎 -影像邊界上“雙Ϊ:内算而得。此外’位於第 晝素之問,m弟旦素 此不位於四個被選擇之第一 之第—佥去此需要額外少數個校正係數以計算位於邊界 基礎亮度以_。以域 則不需儲力 衫像為例,右以大小為之區塊劃分, ㈣/料個校正係數,而只需错存(鄭仏+ 1)〜 單元個校正係數H,大小可視第二儲存 低儲存校正係:之容量大小而定。如此-來,玎大幅地降 正係數所需之記憶體空間。 本實施例之影像校正方法、影像校正單元及應用其之 200931342 影像擷取裝置與前述依照本發明第一實施例不同之處在 於,本實施例更依攄晝素優化亮度校正係數及一第二严 之色彩,校正每個待調整晝素之色散。其餘相同之處= 再加以資述。 由於影像感測單元中,鏡頭之曲面所產生光線折射 致感測元件陣列受光不平均,使感測元件陣列對於紅色 光、綠色光及藍色光具有不同的感光效果。因此,於本 ❹施例中較佳地再藉由第三影像校正目標影像之色散)以^ 目標影像具有較佳之色彩。 凊參照第6及第7圖,第β圖緣示依照本發明第_银 施例之影像擷取裝置的主要功能方塊圖,第7圖繪示仗= 本發明第二實施例之影像校正方法的流程圖。影像掏 置200與第一實施例之影像擷取裝置1〇〇的不同之處在t 於’影像擷取裝置200更包括一第四儲存單元227 &amp;一多 =器228及一第三運算單元229。於第一實施例所述之「ς 〇 得代表優化亮度校正係數並儲存至影像校正單元之第二又 儲存單元」之後,本實施例之影像感測單元210更用以擷 取另晝面,並輸出以貝爾圖樣配置之第三影像c〗至影 ,扠正單元22〇。第三影像較隹地為—彩色影像,且第 三影像較佳地不同於第二影像第三 弟二至素,且每個第三晝素具有一色彩值。 接著,校正影像單元220之第一儲存單元221更用以 序地儲存第三影像心之第三晝素。第-運算單元223 用以將儲存於第二儲存單元222之代表優化亮度校正係 200931342G = /U) + 1........................ Equation (5) Each representative base brightness correction emancy can be adjusted to Generation 200931342 table optimization degree correction coefficient, and stored in the second storage single magic 22 orders. After the brightness correction, you can get each representative optimization, which is 雔 (4) (4). In the step (4) of this embodiment, the book is also the step of obtaining the brightness correction coefficient from the part ((1), because of the 'number of turns. The operating principle is similar to the above; therefore, it will not be described again. ❹ ❹ Γΐ , , , , , , , , , , , , , , ' 优化 ' ' ' ' ' 优化 优化 优化 优化 优化 优化 优化 优化 优化 优化 优化 优化 优化 优化 优化 优化 优化 优化 优化 优化 优化 优化 优化 优化 优化 优化 优化 优化 优化 优化 优化 优化 优化 优化 优化 优化 优化 优化In other words, the method of obtaining the K image t after correcting the brightness is to be configured in the shape of the Bell pattern; the image of the image is obtained after the correction brightness is obtained. In the case of the Bell pattern, the image "I" is used to correct the brightness of the target image. Beco In addition, as shown in Fig. 1, the image capture includes a third storage unit 125 and 2 (3) When the parameter to be adjusted is stored in the controller, the direct memory access control 126 will be the first operation unit, and the portion represents the optimized brightness correction coefficient from the storage unit 125 of the first product. The first shipment = 122 transmission to the third element 125 library representative optimization = 3 Weng third storage Coefficient, in order to calculate the optimized brightness 200931342 i correction coefficient as the first example, the first error list 91 exemption correction coefficient. Again, in this implementation first out, FIFO) ^ six car father is the advanced first * (first in In order to save the storage device, the pixels to be adjusted are sequentially stored. e ❹, in the second embodiment of the present embodiment: the empty two-dimensional equidistant between the two storage units 122 _ _, / = the first of the data - The image ^ selects a first all-I, ,,, and solid block, and then calculates the brightness value of the first-order pixel based on the selected block from each block, and the brightness correction coefficient is wrong = base = Positive coefficient. These represent the basic f brightness correction coefficient is the school symplectic and each:: table correction coefficient. The number of the party value of the _ _ _ _ _ _ _ _ _ _ _ _ _ _ The basic brightness correction system is the basis of the brightness of the lit-right 邻 被 被 被 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - The first of the choices - this requires an additional few correction factors to calculate the brightness at the boundary base with _. The domain does not need the storage shirt image as an example, the right is divided by the size of the block, (4) / material correction coefficient, but only the wrong (Zheng Zheng + 1) ~ unit correction coefficient H, the size can be seen as the second storage The low storage calibration system is determined by the size of the memory. In this way, the image correction method, the image correction unit, and the 200931342 image capturing device using the same are provided. According to the first embodiment of the present invention, the difference is that the luminance correction coefficient and the second strict color are optimized according to the pixel, and the dispersion of each pixel to be adjusted is corrected. In the image sensing unit, the light refracting caused by the curved surface of the lens causes the sensing element array to receive light unevenly, so that the sensing element array has different sensitizing effects for red light, green light and blue light. Therefore, in the embodiment, the dispersion of the target image is preferably further corrected by the third image to have a better color. Referring to FIGS. 6 and 7, the figure β shows the main function block diagram of the image capturing device according to the first embodiment of the present invention, and FIG. 7 shows the image correction method according to the second embodiment of the present invention. Flow chart. The image capturing device 200 differs from the image capturing device 1 of the first embodiment in that the image capturing device 200 further includes a fourth storage unit 227 &amp; a multi-device 228 and a third operation. Unit 229. The image sensing unit 210 of the present embodiment is further configured to capture another surface after the second embodiment of the present invention is used to represent the optimized brightness correction coefficient and is stored in the second storage unit of the image correcting unit. And outputting the third image c 〗 in the Bell pattern to the shadow, the fork unit 22 〇. The third image is a color image, and the third image is preferably different from the second image, and each third pixel has a color value. Then, the first storage unit 221 of the corrected image unit 220 is further configured to sequentially store the third element of the third image center. The first operation unit 223 is configured to optimize the brightness correction system stored in the second storage unit 222.

1 Wj838 尸A 應!^個第三晝素之晝素優化亮度校正係 的第三晝素之像素值及對應之晝素優化真产H早凡22! 得校正亮度後之以貝爾圖樣配置之 =&amp;係數,獲 c2於獲得校正亮度後之以制圖樣像 之後’色杉補差單元23〇更用以將第三 , .為^腳影像資料之第三影像仏。之後,,便可=撼補差 二影像‘所呈現之色彩,分職定、據第 ^加權係數尸及-藍加權係〜,並儲存於第四儲ς、單一元 ❹ 之後㈣倾mb權係數广 以輸出以貝爾圖樣解元_ 、之每個待調整晝素依序地= 象至 =並將目標影像 第一儲存單元22卜第—運算單正早70 220之 二儲存單元222之代表優化真奸更用以將儲存於第 個待調整晝素之晝素優化亮:二算,應於每 及對應之晝素優化亮素值 爾圖樣配置之目標影像^。 &amp;于枚正冗度後之以貝 之待ίί書用―以根據儲存於第一儲存單元221 數,Λ、綠加權係數::或存單元227選取紅加權係 用以根據第二運算單元;'24=^。第三運算單元229 224计算出之校正亮度後之以貝爾 20 2009313421 Wj838 尸尸A!^ The third pixel of the element is optimized for the brightness of the third pixel of the brightness correction system and the corresponding elemental optimization of the real product H is earlier 22! After adjusting the brightness, the Bell pattern is configured. The =&amp; coefficient, obtained by c2 after obtaining the corrected brightness, is used to make the image image, and then the third color image is the third image of the image data. After that, the color that can be represented by the 撼 撼 二 影像 影像 , , , , , , , 、 、 据 据 据 据 据 据 据 据 色彩 色彩 色彩 色彩 色彩 色彩 色彩 色彩 色彩 色彩 色彩 色彩 色彩 色彩 色彩 色彩 色彩 色彩 色彩 色彩 色彩 色彩 色彩The output of the storage unit in the Bell pattern is _, each of the pixels to be adjusted sequentially = image to = and the target image first storage unit 22 is the first operation unit 270 is the representative of the storage unit 222 The sinister is used to optimize the element stored in the first element to be adjusted: the second calculation, the target image of the illuminant value pattern should be optimized for each and every corresponding element. &amp; After the continuation of the sufficiency, the book is used to select the red weighting system according to the number of the first storage unit 221, Λ, green weighting coefficient: or storage unit 227 for the second computing unit. ;'24=^. The third operation unit 229 224 calculates the corrected brightness after the Bell 20 200931342

TW3838PA 圖樣配置之目標影像U的待調整晝素,及多工器228所 選取之紅加㈣數广綠加權係數/G或藍加權係數广,獲 得校正色彩後之以關圖樣配置之目標影像。接著,色彩 補插單元230更用以將校正色彩後之以貝爾圖樣配置之目 標影像’補差為具有腳影像#料之目標影像^,以完 成校正目標影像之色散。本實施例之影像校正方法之主要 步驟係以第7圖說明如下。 Ο ❹ 如第7圖所示,本實施例之影像校正方法至少包括以 :主要步驟。本實施例之影像校正方法例如是利用第6圖 中之影像擷取|置·來執行第7圖中之各個步驟,但並 f正太ί限半此技術領域中具有通常知識者應可明瞭影像 Li 驟及順序亦可依據實際應用狀況進行修飾 首先,如步驟(a)所示’設定預 如步驟⑹所示,根據部分之第—晝素值;;人, 獲得多個代表基礎亮度校正係數技1 儿又赚一 =第二晝素將此些代表基礎亮度二:;)=, 代表優化亮度校正係數。然 係數膽為夕個 度$正係數。之^母個待調整晝素對應於每個晝素優化亮 其卢和正仙::如步驟(f)所示’依據每個晝素優化 權°二=及第三晝素’分別設定紅加權係好、綠加 “儿又杧正係數权正每個待調整晝素的亮 200931342 i. wj〇j〇r/v 1蚩接著,如步驟(g)所示,依據校正亮度後之每個待調 I旦2及紅加權係數产、綠加權係數尸或藍加權係數产, 校正每個待調整畫素之色散。 本實施例之步驟(a)〜(d)及步驟(e)係與第一實施例 之步驟(a)〜(d)及步驟(e)相同,因此不再加以贅述。接 著’將步驟(f)及步驟(g)的實施方法詳細說明如下。 請參照第8圖,其繪示第7圖之步驟(f)的詳細流程 ❹ 圖。步驟(f)之設定紅加權係數/Λ、綠加權係數尸及藍加 權係數广之方法包括步驟(Π)及(f2)。首先,如步驟(fl) 所不,依據每個第三畫素之色彩值及每個晝素優化亮 度校正係數,獲得校正亮度後之第三影像。也就是說&quot;, 將以貝爾圖樣配置之第三影像(:〗_之每個第三晝素的色彩 • 值,一—乘以對應之晝素優化亮度校正係數,以獲得校正 ,度後之以貝爾圖樣配置之第三影像〇〗。_。之後,將校正 免度後之以貝爾圖樣配置之第三影像^輸出至色彩補 ❹ 插單元230,以獲得具有RGB影像資料之第三影像c^。 μ〜接著,如步驟(f2)所示,依據校正亮度後之第三影像 设定紅加權係數产、綠加權係數尸及藍加權係數广。設定 紅加權係數、綠加權係數尸及藍加權係數广之判斷依 據,例如是根據整張第三影像所呈現之色彩而設定。 於上述设疋紅加權係數产、綠加權係數尸及藍加權係 數r之步驟⑴)及(f2)後,便實施步驟(e),根據每個畫 素優化亮度校正係數校正每個待調整晝素的亮度。之後, 便實施步驟(g)。請參照第9圖,其緣示第7圖之步驟(g) 22 200931342The TW3838PA pattern configuration target image U to be adjusted, and the multiplexer 228 selects the red plus (four) number wide green weighting coefficient / G or blue weighting coefficient is wide, and obtains the target image of the closed pattern configuration after correcting the color. Then, the color interpolation unit 230 is further configured to compensate the target image of the Bell pattern after the correction color to the target image having the image of the foot image to complete the dispersion of the corrected target image. The main steps of the image correction method of this embodiment are explained below with reference to Fig. 7. ❹ ❹ As shown in FIG. 7, the image correction method of this embodiment includes at least: a main step. The image correction method of this embodiment performs the steps in FIG. 7 by using image capture in FIG. 6, for example, but f is too limited to half the technical person in the technical field should be able to understand the image. Li sequence and sequence can also be modified according to the actual application. First, as shown in step (a), the setting is as shown in step (6), according to the part of the first-------- Technique 1 earns another = second element, which represents the basic brightness two: ;) =, represents the optimized brightness correction factor. However, the coefficient is biliary for a positive value of $. The mother's parent to be adjusted corresponds to each elemental optimization brightening and sacred:: as shown in step (f), 'based on each element optimization right °== and the third element' respectively set the red weight Fasten, green plus "children's positive coefficient right now every bright to be adjusted 200931342 i. wj〇j〇r/v 1蚩 Next, as shown in step (g), according to the corrected brightness To adjust the I-density 2 and red weighting coefficient production, green weighting coefficient corpse or blue weighting coefficient production, correct the dispersion of each pixel to be adjusted. Steps (a) ~ (d) and step (e) of this embodiment Steps (a) to (d) and step (e) of the first embodiment are the same, and therefore will not be described again. Next, the method of implementing steps (f) and (g) will be described in detail below. Please refer to Fig. 8. , which shows the detailed flow chart of step (f) of Fig. 7. The method of setting the red weighting coefficient / Λ, green weighting coefficient corpse and blue weighting coefficient in step (f) includes steps (Π) and (f2) First, if step (fl) does not, according to the color value of each third pixel and each pixel optimized brightness correction coefficient, the corrected brightness is obtained. The third image, that is, &quot;, will be the third image configured in the Bell pattern (: _ _ the color of each third element • value, one - multiplied by the corresponding pixel optimized brightness correction coefficient to obtain After the correction, the third image of the Bell pattern is set to _. After that, the corrected third image of the Bell pattern is output to the color interpolation unit 230 to obtain the RGB image data. The third image c^. μ~ Next, as shown in step (f2), the red weighting coefficient is generated according to the corrected third image, and the green weighting coefficient is wide and the blue weighting coefficient is wide. Setting the red weighting coefficient, green The basis for judging the weighting coefficient corpse and the blue weighting coefficient is, for example, set according to the color presented by the entire third image. Step (1) of setting the blush weighting coefficient, the green weighting coefficient corpse and the blue weighting coefficient r After (f2), step (e) is carried out, and the brightness of each pixel to be adjusted is corrected according to each pixel optimized brightness correction coefficient. Thereafter, step (g) is carried out. Please refer to Fig. 9, the Step 7 of the figure (g) 22 200 931342

TW3838PA 的詳細流程圖。步驟(§)之校正每 方法包括步驟(gl)〜U4)。 '凋素之色彩之 晝素之色彩。其中,若待調避素=目標影像之待調整 步驟⑽;若待調整晝素 ^ 為紅色,則實施 (g3);若待調整晝素之=、、表色’則實施步驟 於步驟⑽中,根據校正亮度後== ⑷。 權係數广獲得校正色彩後之待調匕:,素及紅加 ❹ ❹ 校正色彩後之待調整晝辛。於jf、4加權係數/°,獲得 後之待調整晝素及藍加權係數;正:據校正亮度 整晝素。之後,將校正色彩後之以^杈正色彩後之待調 像輸出至色彩補插單元23(), _配置之目標影 之該目標影像。於上述步驟之後二1Γ影像資料 之色散。 你可元成校正目標影像 揭露之影像對於本實施例所 裝置’更具有校正目標影像之二 =,明較佳實施例之影像校正方法 影像校正單 η應用C裝置,至少包括以= 係數,其度校正 正係數,如此-來,可有效地節度权 23 200931342 校可應用科同之影像擷取裝置」。本發明之影像 „ 去係可根據各個影像擷取裝置獲得適用於此感測 2代表亮度校正係數,藉此以應用於不同之影像梅取裝 第第=「有效t輕亮度」。目標影像餘縣—影像及 一衫以杈正壳度,並依據每個晝素的位置分別給 5之增益值。因此,可有效地調整亮度。 生確之校正資料」。藉由第—影像及第二影像產 又貝料’可避免僅由單—影像進行校正可 差’因此「本發明之影像校正方法可獲得精確之校正資料。 事傻Λ 4改善色散問題」。根據第三影像之晝素校正目標 ^。色散,使目標影像之各個待調整晝素具有較佳之色 〇 上,二1’雖然本發明已以兩例較佳實施例揭露如 有通常^者用本發明。本發日績屬技術領域中具 知财,衫崎本發明之 各種之更動與潤飾。因此,太恭日…和軌圍β田了作 申請專利侧所界定=準本發明之保護_當視後附之 24 200931342 TW3838PA 【圖式簡單說明】 貫施例之影像#貞取装置^ 第1 的主要功能方塊圖 第2A圖繪示第-影像其部分第—晝素的示意圖 正係數 第2B圖繪示第一影像之部分代表基礎亮度校 的示意圖;Detailed flow chart of TW3838PA. The calibration of step (§) includes each step (gl)~U4). 'The color of the color of the prime. Wherein, if the to-beaze = target image to be adjusted step (10); if the element to be adjusted is red, then (g3); if the pixel is to be adjusted, and the color is 'step', the step is performed in step (10) , according to the corrected brightness == (4). The weight coefficient is widely obtained after the correction of the color: 素 and red plus ❹ ❹ The color to be adjusted after correction of the color. After jf, 4 weighting coefficient / °, obtain the pixel and blue weighting coefficient to be adjusted; positive: according to the corrected brightness. After that, the image to be modulated after the color correction is output to the color interpolation unit 23(), and the target image of the target image is configured. The dispersion of the image data after the above steps. You can correct the image of the target image to be corrected. For the device of the embodiment, the image correction method of the preferred embodiment is the same as the image correction method of the preferred embodiment. The image correction method η applies the C device, at least including the = coefficient. Correct the positive coefficient, so that it can effectively adjust the power of the 23rd 200931342 school can be applied to the same image capture device. The image of the present invention „ can be obtained according to each image capturing device and is suitable for this sensing. 2 represents a brightness correction coefficient, so as to be applied to different image pickups, the first = "effective t light brightness". The target image is Yuxian—the image and the one-shirt are squared, and the gain value of each is given according to the position of each element. Therefore, the brightness can be effectively adjusted. Raw correction data." By using the first image and the second image to produce a material, it is possible to avoid correction by only the single image. Therefore, "the image correction method of the present invention can obtain accurate correction data. Stupidity 4 improves the dispersion problem". The target is corrected according to the pixel of the third image. The dispersion causes the individual pixels of the target image to have a better color, and the present invention has been disclosed in the preferred embodiment of the present invention. This is a technical achievement in the field of technology, and the various changes and retouchings of the invention. Therefore, too Gongri... and the rail circumference of the beta field as defined by the patent side = the protection of the invention _ when attached to the 24th 200931342 TW3838PA [simple description of the diagram] the image of the implementation of the example # extraction device ^ The main function block diagram of Fig. 2A is a schematic diagram showing a part of the first image of the first image. The positive coefficient of the second image shows a schematic diagram of the portion of the first image representing the basic brightness;

第3圖繪示依照本發明第一實施例之影像校正方法 的流程圖; 第4圖繪示第3圖之步驟(b)的細部步驟流程圖; 第5圖繪示第3圖之步驟(c)的細部步驟流程圖; 第6圖繪不依照本發明第二實施例之影像擷取裝置 的主要功能方塊圖; 第7圖繪示依照本發明第二實施例之影像校正方法 的流程圖; 第8圖繪示第7圖之步驟⑴的詳細流程圖;以及 第9圖繪示第7圖之步驟(g)的詳細流程圖。 【主要元件符號說明】 100、200 :影像擷取裝置 110、210 :影像感測單元 120、 220 :影像校正單元 121、 221 :第,儲存單元 122、 222 :第二儲存單元 123、 223 :第,運算單元 25 2009313423 is a flow chart showing a method for correcting an image according to a first embodiment of the present invention; FIG. 4 is a flow chart showing a detailed step of step (b) of FIG. 3; and FIG. 5 is a view showing the steps of FIG. FIG. 6 is a block diagram showing the main function of the image capturing device according to the second embodiment of the present invention; FIG. 7 is a flow chart showing the image correcting method according to the second embodiment of the present invention; 8 is a detailed flowchart of the step (1) of FIG. 7; and FIG. 9 is a detailed flowchart of the step (g) of FIG. 7. [Description of main component symbols] 100, 200: image capturing device 110, 210: image sensing unit 120, 220: image correcting unit 121, 221: first, storage unit 122, 222: second storage unit 123, 223: , arithmetic unit 25 200931342

TW3838PA 124、 224 :第二運算單元 125、 225 :第三儲存單元 126、 226 :直接記憶體存取控制器 130、230 :色彩補插單元 140、240 :色彩空間轉換單元 227 :第四儲存單元 228 :多工器 ❹ 229 :第三運算單元 Α,/、Aj+i、尽·+υ.、尽+W+i .區塊TW3838PA 124, 224: second arithmetic unit 125, 225: third storage unit 126, 226: direct memory access controller 130, 230: color interpolation unit 140, 240: color space conversion unit 227: fourth storage unit 228: multiplexer 229 229: third arithmetic unit Α, /, Aj+i, ··+υ., ++W+i.

Pi*m ,(y+i)*' Pi*m+x,j*m+y .弟一晝 G, G, ij+l 、σωί+1 ••代表基礎亮度校正係數 /+1,/+1Pi*m , (y+i)*' Pi*m+x, j*m+y . Brother G, G, ij+l, σωί+1 •• represents the basic brightness correction factor / +1, /+ 1

2626

Claims (1)

200931342 申清專利範圍 1. 里nit像校正方法’係利用—第—影像及一第一 衫像杈正一目標影像之 弟一 整晝素,該第-影=;度J目標影像具有複數個待調 有複數個第二書素,晝素’該第二影像具 之該也第-βΐ—ΐ相整晝素之校正龍係由對應 正方純括Γ、—及該些第二畫素之—獲得,該影像校200931342 Shen Qing patent scope 1. The nit image correction method 'utilizes the first-image and a first shirt like a brother of a target image, the first shadow =; the degree J target image has a plurality of A plurality of second pixels are to be tuned, and the second image of the second image has a correction factor of the -βΐ-ΐ相昼素, which corresponds to the square of the square, and the second pixels - get, the image school (a) 設定一預定亮度值; (b) 根據部分之該此 數個代表基礎亮度校正;^ 1纽該敎亮度值獲得複 係對應於部分之該m素各錢表基礎亮度校正係數 (C)根據該些第二畫素將該4b代表_ 調整為複數個代轉化亮純正^表減^校正係數 複數表⑽度校正係數獲得 各該畫素優化亮數以:各該待調整晝素對應於 書素據各該晝素優化亮度校正係數校正各該待調整 Φ夂 '如申請專利範圍第1項所述之影像校正方法,其 晝素具有—亮度值,該步驟(a)係根據該些第 畫素之最大該亮度值作為該預定亮度值。 3.如申請專利範圍第!項所述之影像校正方法,宜 I各該第-晝素具有-亮度值,該第―影像包括複數個區 鬼’各該崎對應於部分之該些第―晝素與部分之該些待 27 200931342 調整晝素,其中該步驟(b)包括: ~畫素中選擇該 (bl)分別自各該區塊對應之該些 些第一晝素之一;以及 ⑽分難義狀亮度值及選擇之各 的該免度值獲得各該代表基礎亮度校正 x 旦素 對應於各該代表基礎亮度校正係數。錄’使各該區塊 o ❹ 4.如申請專利範圍第3項所述之影像校正方法’並 中該第-影像之大小係為㈣,各該區仏之大小係為 ”選擇之各該第-晝素之該亮度值、各該代表基礎亮 度校正係數及該預定亮度值之關係如下: 其中,iW為該預定亮度值、為選擇之該第一 之該亮度值,且Gw.為區塊~之代表基礎亮度 枝正係數,〜〈从、、〇“,、且卜7·、所、”、 从、《及6為正整數。 5·如申請專利範圍第4項所述之影像校正方法,其 中該些代表基礎亮度校正係數之數量實質上係為 (从/所 + 1)*(#/讲 + 1)〜(从/历 + 2)*(#//?2 + 2)個。 6.如申請專利範圍第1項所述之影像校正方法,其 中該步驟(C)包括: (cl)以一雙線性内差法(Bmnear Interpolation) 28 200931342 1 自該些代表基礎亮度校 校正係數; 正係數獲得複數個晝素基礎亮度 數机根,該些第二晝素及該些晝素基礎亮度校正係 數汉疋―凴度加權係數;以及 τ 係數磁礎亮度校正 ❹ 中_:::==^^ 及該亮度加權係數之關係如^該代表優化受度校正係數 G'ij= Ί) + 1 ; 其中’ /為該亮度加權係數、G; 度校正係數為該代表優化亮度校正係數。土冗 φ兮I &gt;申请專利範圍第6項所述之影像校正方法,1 ^第,影像係以-貝爾圖樣(β_γ_ :、 該步驟(c2)包括: 直 ⑽)分別根齡該第二晝素之色彩值及各二金 2對應之麟鮮4素_晝錄礎亮 ;ς 校正亮度後之該第二影像;以及 (c22)根據校正亮廣接 &gt; 兮结__旦,, 亮度加權係數。後之該第一像的亮度,設定該 9.如申請專利範圍第8項所述之影像校正方法,盆 中权正贵度後之該第二影像的亮度’係將各該第二晝素^之 色祕,一乘U各該4素基礎亮度校正係數所獲得之校 正亮度後之以貝_圖案配置之該第二影像,經色彩補差後 29 200931342 為具有影像資料之該第二影像,並將 Β ^該第二影像轉換成具有爾影像資料之該第二=像= 中二圍第1項所述之影像校正方法,-中該步驟(d)係以-雙線性内差法自部 1其 亮餘正係數獲得該些晝素優化亮度校正係數優化 ❹ Ο 中該目J1:專利㈣第1項所述之影像校正方法,装 中該目“影像係以-貝爾圖樣配置 无其 據各該待調整晝素之色彩值及各該金;別根 數獲得校正亮度後之該目標影像/素優化贵度权正係 12.如申請專利範圍第丨丨項 其中校正亮度後之該:〜象杈方法, 彩值,一—乘以像:係將各該待調整晝素之色 亮度後之、曰 Ml素優化亮度校正係數所獲得之护τ 儿又之以貝爾圖案配置之該目俨夢又正 影像資料之該目標影像而得。〜’補差為具有RGB 中該利範圍第1項所述之影像校正方法,发 ㈣第一影像係為一白色影像。 忐,其 山u.如申請專利範圍第!項 中該第二影像係為-彩色影像貝财之如像权正方法,其 利用忌圍第1項所述之影像校正方法,更 乐一心像奴正該目標影 足 複數個第三晝素, y -第二衫像具有 該些第三書素;:待:整晝素之校正資料係由,應之 獲該影像校正方法更包括: x該第三晝素及各該晝素優化亮度校正係 200931342 綠加權係數及一藍加權係 數,分別設定一紅加權係數、 數;以及 |根據&amp;I亮度後之各該待輕4素及該紅加權係 加權係、數或該藍加權係數,校正各該待調整晝素 之色衫。 ❹ ❹ 如申請專利範圍第Η項所述之影像校正方法, ^ ^三影像係以-貝爾圖樣(_ π m 其中該步驟(f)包括: 度校Π)Γ據各該第三晝素之色彩值及各該4素優化亮 又糸數,獲得校正亮度後之該第三影像;以及 (f 2)根據校正亮度德之马_笛__旦,# +々 加權係數、料…f 色彩,設定該紅 '、數忒、、亲加推係數及該藍加權係數。 並中^ ^請專利範圍第16項所述之影像校正方法, 之色二值冗該第三影像之色彩,係將各該第三晝素 校正各該畫素優化亮度校正係數所獲得之 π度後之以貝爾圖案配置之該第三影 職影像資料之該第三影像而得^ 補插I、有 該目請專·㈣15項所述之影像校正方法, «I: ^ 杈正冗度後之該各該待調整晝素之色彩值及該歧 :力’係數、該綠加權係數或該藍加權係數得;: 夯後之該目標影像。 于仅正色 其中二二=範圍第18項所述之影像校正方法, 200931342 TW3838FA (gl)擷取各該待調整晝素之色彩; 調整晝素為紅色’㈣校正亮度後之該待 素及攸色加權係數,獲得校正色彩後之該待調整 調整^素㈣色’根據校正亮度後之該待 權係數,獲得校正色彩後之該待調整 ❹ ❹ (g4)若該待調整晝 調整晝素及該該色加趨/為色’根據校正亮度後之該待 畫素。 皿色㈣係數,獲得校正色彩後之該待調整 其中校正色^後^固第19項所述之影像校正方法, 圖案配置之节=標影像,係將校正色彩後之以貝爾 正色彩後之其中若該待調整畫素為紅色,校 色彩值乘以該紅色加度後之各該待調整畫素之 正色彩後之該晝素係為於若該待調整畫素為綠色,校 色彩值乘以該綠色加權:寺調整晝素之 正色彩後之該圭辛似二數:右待调整晝素為藍色,校 色彩值乘以該:色加權::亮f後之各該待調整畫素之 RGB影像資f4 γ ia6 '、,隨後,利用色彩補差為具有 貝料之該目標影像而得。 其中:第^Γ範圍第15項所述之影像校正方法, 〜衫像係為一彩色影傻。 2_2.〜種影像校正單元,包括: 儲存單元肖以儲存複數個晝素,各該畫素具 32 200931342 TW3838PA 有一色彩值; 數 一第二儲存單元,用 ,各該代表亮度校正係—轉魏純表亮度校正係 -第-運算單元,用以於部!之該些晝素; 為對應於各該晝素一 :各該代表亮度校正係數運算 一第二運算單元亮度校正係數;以及 素亮度校正係數獲得各該ft該晝素^該色彩值及各該晝 Ο ❹ 23. 如申請專利範权正受度後之該色彩值。 Γ該些代表亮度校正係數之數】: 24. 如申請專利範囹铉 其中該第-儲存單1頁所述之影像校正單元, -,觸)暫存器係為〜先進先出(細lnfirst 其中1 =請專利範圍第22項所述之影像校正單元, 之該色彩^。、㈣些色彩值係依序地校正為校正亮度後 其中:第第22項所述之影像校正單元, 連异早凡係為一雙線性内差運算單元。 更包括.中%專利範圍第22項所述之影像校正單元, 分兮此存單元,心儲存該第—運算單摘需之部 刀該域表優化亮度校正他;以及 (direct mefflory access *MA) 將該弟—運算單元所需之部份該些代表優化 33 200931342 TW3838PA 受度校正係數,自今银一 元;μ第二儲存單元傳送至該第三儲存單 其中’該第一運篡置_ 些代表優化亮度校正* ^取該紅館存單元,以將該 係數。 校正係數運算為該些晝素優化亮度校正 ❹ ❹ 更包括8:如申明專利範圍第22項所述之影像校正單元, 一第四儲存單亓 係數及-藍校正係數.以儲存一紅权正係數、一綠校正 數、存取該紅校正係 一第三運算單元,根棱 取之該紅校正係數、兮 以旦”之色$及該多工器擷 各該晝素之校正色散後之該色彩值。Μ係數,獲得 29.種影像擷取裴置, 一影像感測單元,用. 爾圖樣配置並具有複數個書素,:;:辛::像係以-貝 -影像校正單元,用;^各該晝素具有一色彩值; 影像校正單元包括: 校正各該晝素之該色彩值,該 一^ _儲存單元’用以儲存該些晝素; 度校正係數,各該代早用以儲存複數個代表優化亮 晝素; 4表係數剌應於部份之該些 一第一運算單元,用以將各該代表亮度校正係 34 200931342 TW3838PA 數運算為㈣於各該晝素之一晝素亮度校正係數;及 久讀金第二運算單元,根據各該晝素之該色彩值及 色素亮度校正係數獲得各該晝素之校正亮度後之該 、/ 色衫補插單元(⑶101* interpolation unit),用 f杈正冗度後之該色彩值,以獲得校正亮度後之該影 1冢,以及 ❹ .色彩空間轉換單元(color space transform unit ,用以獲得校正亮度後之該影像之亮 3 0 ▲ •如申睛專利範圍第29項所述之影像擷取裝置, 其中5亥些代表亮度校正係數之數量係小於該些畫素之數 - 量。 Q Ί 如申請專利範圍第29項所述之影像擷取裝置, 其中該第—儲存單元係為一先進先出(first in first 〇的,FIFO)暫存器。 ❹ _32.如申請專利範圍第29頊所述之影像擷取裝置, 其中該些晝素之該些色彩值係依序地校正為校正亮度後 之遠色彩值。 33.如申請專利範圍第29頊所述之影像擷取裝置, 其中該第一運算單元係為一雙線性内差運算單元。 如申請專利範圍第29頊所述之影像擷取襞置, 其中該影像校正單元更包括: -第三儲存單元,用以儲存該第—運算單元所需之 分該些代表亮度校正係數;以及 35 200931342 TW3838PA -直接記憶體存取控制器將 需之部份該4b代砉古疮&amp; 運异早兀所 至該第三儲度奴正係數,自該第二儲存單元傳送 ,中,該第—運算單 儲 些代表亮度校正孫赵&amp; 丁平兀Μ將該 仅正係數運算為該些晝素亮度校正係數。 35.如申請專利範圍第烈項所述之影 其中該影像校正單元更包括: 取裝置, ❹ ❹ 綠校正 / 第四儲存單元,用以儲存—紅校正係數、 係數及一藍校正係數; 夕工器,根據各該晝素之色彩分別存取該紅校 數H校正係數或該藍校正係數;錢 一第三運算單元,根據各該晝素之色彩及該多工 取之該紅%CJL係數、該綠校正係數或該藍校正係數二 各該晝素之校正色散後之該色彩值; 又伸 /其中,該色彩補插單元更用以補插各該晝素之枚 散後之該色#&gt;值’以獲得該校正色散後之該影像。 36(a) setting a predetermined brightness value; (b) correcting the base brightness according to the portion of the portion; (1) obtaining the brightness value of the m-value table corresponding to the part of the m-value brightness correction coefficient (C) According to the second pixels, the 4b representative _ is adjusted to a plurality of generations of converted bright and pure ^ table minus ^ correction coefficient complex table (10) degree correction coefficient to obtain each of the pixel optimized bright numbers: each of the pixels to be adjusted corresponds to The image correction method according to claim 1, wherein the pixel has a brightness value, and the step (a) is based on the image correction method according to the first aspect of the patent application. The maximum luminance value of the first pixels is taken as the predetermined luminance value. 3. If you apply for a patent scope! In the method of image correction according to the above aspect, each of the first-order elements has a - brightness value, and the first image includes a plurality of area ghosts, each of which corresponds to the portion of the first element and the part of the 27 200931342 Adjusting the morpheme, wherein the step (b) comprises: ~ selecting a pixel from the pixel corresponding to each of the first pixels; and (10) dividing the brightness value and selecting Each of the exempt values obtains each of the representative base luminance corrections x corresponding to each of the representative base luminance correction coefficients. Record 'to make each block o ❹ 4. According to the image correction method described in item 3 of the patent application', and the size of the first image is (4), the size of each of the areas is "select each The relationship between the luminance value of the first pixel, the representative base luminance correction coefficient, and the predetermined luminance value is as follows: where iW is the predetermined luminance value, the first luminance value is selected, and Gw. is a region. The block ~ represents the base brightness positive coefficient, ~ <from, 〇 ", and, and 7, ",", ", and "6 are positive integers. 5. The image as described in claim 4 The correction method, wherein the number of the representative basic brightness correction coefficients is substantially (from / to + 1) * (# / speak + 1) ~ (from / calendar + 2) * (# / / 2 + 2) 6. The image correction method according to claim 1, wherein the step (C) comprises: (cl) a bilinear internal difference method (Bmnear Interpolation) 28 200931342 1 from the representative basic brightness Correction coefficient; the positive coefficient obtains a plurality of bases of the base elements of the halogen, and the second elements and the bases of the elements are bright Degree correction coefficient 疋 凴 凴 加权 加权 ; 以及 以及 以及 以及 以及 ; _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ + 1 ; where ' / is the brightness weighting coefficient, G; the degree correction coefficient is the representative optimized brightness correction coefficient. Soil redundancy φ 兮 I &gt; Patent application range 6 according to the image correction method, 1 ^, image The pattern is -Belle pattern (β_γ_:, the step (c2) includes: straight (10)) the color value of the second element of the root age and the corresponding two colors of the two gold 2 _ 昼 础 亮 亮; ς corrected brightness And the second image; and (c22) according to the correction light illuminating &gt; 兮 _ _ _,, the brightness weighting coefficient. The brightness of the first image is set to 9. According to the eighth item of the patent application scope In the image correction method, the brightness of the second image after the positive weight in the basin is the color of each of the second elements, and the corrected brightness obtained by multiplying the four basic brightness correction coefficients The second image, which is configured by the pattern of the shell, is color-compensated after 29 200931342 The second image of the image data, and converting the second image into an image correction method according to the second item of the image data of the second image of the image data, wherein the step (d) is The bi-linear internal difference method is used to obtain the optimization parameters of the brightness optimization coefficients of the 昼 优化 优化 优化 优化 优化 Ο Ο 该 该 该 该 该 该 该 该 该 该 该 该 该 该 该 该 该 该 该 该 该 该 该 该 该 该 该 该 该 该 影像 影像 影像The image is configured in a -Belle pattern without any color value and each of the gold to be adjusted; the target image/prime optimization is obtained after the corrected brightness is obtained. In the item where the brightness is corrected: ~ symbol method, color value, one-multiply image: the τ of the brightness correction coefficient obtained by optimizing the brightness of each color of the element to be adjusted In addition, the eye shadow of the Bell pattern configuration and the target image of the positive image data are obtained. ~' Replenishment is the image correction method described in item 1 of the RGB range, and the first image system is a white image. Hey, its mountain u. The second image in the item is a method of color image-like imagery, which utilizes the image correction method described in Item 1 of the taboo, and is more like a slave. The target is a plurality of third elements. , y - the second shirt image has the third gramme;: to be: the calibrated data of the whole genus, the image correction method further includes: x the third temperament and each of the quinones to optimize brightness Correction system 200931342 Green weighting coefficient and a blue weighting coefficient, respectively, setting a red weighting coefficient, a number; and | according to the &amp;I brightness, each of the to-be-lighted elements and the red weighting system weighting system, the number or the blue weighting coefficient , correcting each of the color shirts to be adjusted. ❹ ❹ For example, the image correction method described in the third paragraph of the patent application, ^ ^ three images are in the -Ball pattern (_ π m where the step (f) includes: degree calibration) according to each of the third elements The color value and each of the four elements are optimized to be bright and round, to obtain the third image after correcting the brightness; and (f 2) according to the corrected brightness, the horse, the flute, the weight coefficient, the material, the f color Set the red ', number 忒, and pro-push coefficients and the blue weighting factor. And the image correction method described in Item 16 of the patent scope, the color binary value is redundant to the color of the third image, and each of the third pixels is corrected for each pixel to obtain the π obtained by the brightness correction coefficient. After the degree, the third image of the third video image data configured by the Bell pattern is obtained by the interpolation image I, and the image correction method described in the item (4) 15 items, «I: ^ 杈正正度Then, the color value of the respective pixels to be adjusted and the difference: the force 'coefficient, the green weighting coefficient or the blue weighting coefficient are obtained;: the target image after the image. In the image correcting method described in item 18 of only the true color, the second embodiment is the color correction method, the 200931342 TW3838FA (gl) captures the color of each of the pixels to be adjusted; and adjusts the color to the red '(4) to correct the brightness and the 待Color weighting coefficient, the adjusted adjustment after obtaining the corrected color (four) color 'based on the corrected weight, the to-be-weighted coefficient, the corrected color after obtaining the corrected color g g (g4), if the to-be-adjusted, adjusts the element and The color is added to the color 'based on the pixel after the brightness is corrected. The color of the dish (four), after the correction color is obtained, the image correction method described in item 19 is corrected, and the pattern configuration is the standard image, which is corrected after the color is corrected by the Bell color. If the pixel to be adjusted is red, the color value of the school to be adjusted is multiplied by the positive color of the pixel to be adjusted after the red addition, if the pixel to be adjusted is green, the color value is corrected. Multiply by the green weight: after the temple adjusts the positive color of the element, the geixin is like two: the right to adjust the element is blue, the school color value is multiplied by: color weight:: after the f is adjusted The RGB image of the pixel is f4 γ ia6 ', and then, the color complement is used to obtain the target image with the material. Among them: the image correction method described in item 15 of the Γ Γ range, the shirt image is a color shadow silly. 2_2. ~ image correction unit, comprising: a storage unit to store a plurality of elements, each of the elements 32 200931342 TW3838PA has a color value; a second storage unit, each of which represents a brightness correction system - transfer Wei pure table Brightness correction system - the first - arithmetic unit, used in the Ministry! And corresponding to each of the pixels: each of the representative brightness correction coefficients to calculate a second operation unit brightness correction coefficient; and the prime brightness correction coefficient obtains each of the pixels and the color value昼Ο ❹ 23. If the patent is pending, the color value is being accepted. Γ These represent the number of brightness correction factors]: 24. As in the patent specification, the image correction unit described in the first page of the first-storage list, -, touch) register is ~ first in first out (fine lnfirst) 1 = the image correction unit described in item 22 of the patent scope, the color ^., (4) the color values are sequentially corrected to the corrected brightness, wherein: the image correcting unit described in item 22, the different As long as the system is a linear differential operation unit, it also includes the image correction unit described in item 22 of the patent scope of the patent, which is divided into the storage unit, and the heart stores the knives of the first operation unit. The table optimizes the brightness correction; and (direct mefflory access *MA) optimizes the representation of the part of the operation unit. 33 200931342 TW3838PA degree of correction coefficient, from the current silver unit; μ second storage unit is transferred to the The third storage list wherein 'the first operation set _ some represents the optimized brightness correction* ^ takes the red library storage unit to the coefficient. The correction coefficient is calculated as the enthalpy optimized brightness correction ❹ ❹ further includes 8: Affirmation of patent scope 22 The image correcting unit described in the item, a fourth storage unit coefficient and a blue correction coefficient, for storing a red weight positive coefficient, a green correction number, accessing the red correction system and a third arithmetic unit, The red correction coefficient, the color of the $ ” ” and the color value of the multiplexer after the correction of the chromatic dispersion of the element. The Μ coefficient, obtaining 29. image capturing device, an image sensing unit, Arranged with a pattern and having a plurality of morphemes, :;: symplectic:: the image is used in the -be-image correction unit, and each of the pixels has a color value; the image correction unit includes: correcting each of the pixels The color value, the storage unit' is used to store the pixels; the degree correction coefficient, each generation is used to store a plurality of representatives to optimize the brightness; 4 table coefficients should be part of the a first computing unit, configured to calculate each of the representative brightness correction systems 34 200931342 TW3838PA as (four) a pixel luminance correction coefficient for each of the pixels; and a long reading gold second operation unit, according to each of the pixels The color value and the color brightness correction coefficient are obtained for each of the defects After correcting the brightness, the color matching unit ((3)101* interpolation unit) uses f 杈 the color value after the redundancy to obtain the shadow after correcting the brightness, and ❹. color space conversion unit (color space transform unit, for obtaining the brightness of the image after correction of brightness 3 0 ▲ • The image capturing device according to claim 29, wherein the number of brightness correction coefficients is less than The number of pixels - the amount. Q 。 The image capture device of claim 29, wherein the first storage unit is a first in first 〇 (FIFO) register. The image capturing device of claim 29, wherein the color values of the pixels are sequentially corrected to a far color value after the brightness is corrected. 33. The image capture device of claim 29, wherein the first computing unit is a bilinear internal difference computing unit. The image capture unit of claim 29, wherein the image correction unit further comprises: - a third storage unit for storing the representative brightness correction coefficients required by the first operation unit; 35 200931342 TW3838PA - The direct memory access controller will need part of the 4b generation of acne &amp; 运 兀 兀 至 该 该 该 该 该 该 该 该 该 该 该 该 该 该 该 该 该 该 该 该 该 该The first operation table stores some representative brightness corrections. Sun Zhao &amp; Ding Pingyi calculates the positive coefficient only for the pixel brightness correction coefficients. 35. The image correction unit further includes: a pickup device, a green correction/fourth storage unit for storing a red correction coefficient, a coefficient, and a blue correction coefficient; The tool respectively accesses the red school number H correction coefficient or the blue correction coefficient according to the color of each element; the money-third third operation unit, according to the color of each element and the multi-work, the red %CJL a coefficient, the green correction coefficient, or the blue correction coefficient, the color value of each of the pixels after the correction dispersion; and the color interpolation unit is further used to supplement the dispersion of each of the pixels The color #&gt;value' is obtained to obtain the image after the correction of the dispersion. 36
TW97101354A 2008-01-14 2008-01-14 Image correcting method, image correcting unit and image capture apparatus using the same TWI405144B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW97101354A TWI405144B (en) 2008-01-14 2008-01-14 Image correcting method, image correcting unit and image capture apparatus using the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW97101354A TWI405144B (en) 2008-01-14 2008-01-14 Image correcting method, image correcting unit and image capture apparatus using the same

Publications (2)

Publication Number Publication Date
TW200931342A true TW200931342A (en) 2009-07-16
TWI405144B TWI405144B (en) 2013-08-11

Family

ID=44865276

Family Applications (1)

Application Number Title Priority Date Filing Date
TW97101354A TWI405144B (en) 2008-01-14 2008-01-14 Image correcting method, image correcting unit and image capture apparatus using the same

Country Status (1)

Country Link
TW (1) TWI405144B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI510051B (en) * 2012-10-25 2015-11-21 Foxlink Image Tech Co Ltd Image correction method

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI566206B (en) * 2015-09-09 2017-01-11 瑞昱半導體股份有限公司 Wide dynamic rage imaging method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002071761A1 (en) * 2001-03-05 2002-09-12 Nikon Corporation Image processing device and image processing program
WO2004034702A1 (en) * 2002-10-11 2004-04-22 Koninklijke Philips Electronics N.V. A unit for and method of image conversion
JP4196782B2 (en) * 2003-08-26 2008-12-17 セイコーエプソン株式会社 Image processing apparatus and image processing program causing computer to execute image processing
TWI288897B (en) * 2005-04-12 2007-10-21 Realtek Semiconductor Corp Method and apparatus of false color suppression

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI510051B (en) * 2012-10-25 2015-11-21 Foxlink Image Tech Co Ltd Image correction method

Also Published As

Publication number Publication date
TWI405144B (en) 2013-08-11

Similar Documents

Publication Publication Date Title
CN102693538B (en) Generate the global alignment method and apparatus of high dynamic range images
TW200926839A (en) Image sensor apparatus and method for color correction with an illuminant-dependent color correction matrix
US7834925B2 (en) Lens shading correction device and method in image sensor
JP6288816B2 (en) Image processing apparatus, image processing method, and program
US8923652B2 (en) Methods and apparatus for registering and warping image stacks
TWI322622B (en) Image processing apparatus and method of the same
US20100238324A1 (en) Image processing apparatus, imaging apparatus, image processing method and storage medium storing image processing program
JP4924114B2 (en) Image processing program and image processing method
CN105409211A (en) Automatic white balancing with skin tone correction for image processing
TW200835302A (en) Producing low resolution images
TW200824425A (en) Information processing system, information processing device, information processing method, and program
US9997133B2 (en) Image processing apparatus, image processing method, and computer-readable recording medium
TW200917833A (en) Image sensor having checkerboard pattern
TW200824424A (en) Adjusting apparatus for enhancing the contrast of image and method thereof
CN112750086A (en) Image processing method and device, electronic equipment and storage medium
TW200931342A (en) Image correcting method, image correcting unit and image capture apparatus using the same
TW200924512A (en) Image processing device and image processing method
TW560178B (en) Interpolation compensation method for single-chip color photosensor
TW201234866A (en) Pixel interpolation circuit, pixel interpolation method, and recording medium
TW201123886A (en) Look up table update method.
WO2007097125A1 (en) Image processing device for correcting image massive feeling, image processing program, image processing method, and electronic camera
TWI471848B (en) Method for correcting colors and image processing device
TWI323134B (en) Image processing apparatus and method of the same
WO2020107651A1 (en) Image processing method
TWI374716B (en) Digital photo frame and image enhanced method thereof

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees