TW200824469A - White balance method and image adjusting apparatus - Google Patents
White balance method and image adjusting apparatus Download PDFInfo
- Publication number
- TW200824469A TW200824469A TW96133492A TW96133492A TW200824469A TW 200824469 A TW200824469 A TW 200824469A TW 96133492 A TW96133492 A TW 96133492A TW 96133492 A TW96133492 A TW 96133492A TW 200824469 A TW200824469 A TW 200824469A
- Authority
- TW
- Taiwan
- Prior art keywords
- value
- standard
- color
- color value
- pixel
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 26
- 238000012545 processing Methods 0.000 claims description 35
- 239000003086 colorant Substances 0.000 claims description 4
- 239000000463 material Substances 0.000 claims description 3
- 241000519995 Stachys sylvatica Species 0.000 claims description 2
- 238000005286 illumination Methods 0.000 claims 2
- 238000004364 calculation method Methods 0.000 description 21
- 238000013461 design Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 230000005457 Black-body radiation Effects 0.000 description 3
- 238000009825 accumulation Methods 0.000 description 3
- 230000010354 integration Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 241000283690 Bos taurus Species 0.000 description 1
- 241000218645 Cedrus Species 0.000 description 1
- 230000003139 buffering effect Effects 0.000 description 1
- 230000000295 complement effect Effects 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 238000002474 experimental method Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 238000004898 kneading Methods 0.000 description 1
- 229910044991 metal oxide Inorganic materials 0.000 description 1
- 150000004706 metal oxides Chemical class 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Landscapes
- Processing Of Color Television Signals (AREA)
- Color Television Image Signal Generators (AREA)
Abstract
Description
200824469 TW325胺c • 九、發明說明: 【發明所屬之技術領域】 本發明是有關於一種白平衡方法及影像處理裝置,且 特別是有關於一種利用HSI色彩空間進行演算之白平衡方 法及影像處理裝置。 、 【先前技術】200824469 TW325amine c • Nine, invention description: [Technical Field] The present invention relates to a white balance method and an image processing apparatus, and more particularly to a white balance method and image processing using HSI color space for calculation Device. [Prior Art]
隨著數位影像技術不斷的進步,各式數位影像處理裝 置(例如是數位相機或數位攝錄影機)廣泛地應用於日^ 生活中。其中,在數位影像處理I置中,色偏的現象係為 數位影像處理中所遭遇的-大困難。根據黑體幅射原理, 同-個像素在不同壤境色溫下會呈現不同的顏色。舉例來 3兒,一張白紙在低%境色溫下(約1000〜28〇〇κ)會呈現 偏紅黃色的現象’而在高環境色溫下(約8刚〜12_κ) 會出現偏藍綠色的現象。因此’在數位影像處理裝置中,: 必須針對所擷取之影像進行—白平衡處理,以使白色像素 在任何色溫下,都健_自色。料帅色像素亦維持 於原來應該呈現_色,而不會有色偏的現象。 請參照第1圖,其綠示黑體輻射的特性曲線L之示意 圖。在進行自平衡時,首先要在—參考f彡料,尋找白點 像素。傳統上,白平衡的演算法均會_黑_射原理及 其特性曲線L來判斷白點像素。影像處理裝置擷取一影像 後,將賴取之影像的紅色H (.en) 彩值及藍色(Blue)彩值轉換成γ、α、α的色彩空間, 6With the continuous advancement of digital imaging technology, various digital image processing devices (such as digital cameras or digital video cameras) are widely used in daily life. Among them, in the digital image processing I, the phenomenon of color shift is a big difficulty encountered in digital image processing. According to the principle of black body radiation, the same pixel will have different colors at different color temperatures. For example, a piece of white paper will show a reddish yellow phenomenon at a low color temperature (about 1000~28〇〇κ), and a blue-green color will appear at a high ambient color temperature (about 8~12_κ). phenomenon. Therefore, in a digital image processing apparatus, white balance processing must be performed on the captured image so that the white pixels are healthy at any color temperature. The handsome pixels are also maintained in the original _ color, without the phenomenon of color cast. Please refer to Fig. 1, which shows a schematic diagram of the characteristic curve L of blackbody radiation. When performing self-balancing, first look for the white point pixels in the reference f. Traditionally, the white balance algorithm uses the black_shoot principle and its characteristic curve L to determine white point pixels. After the image processing device captures an image, the red H (.en) color value and the blue color value of the captured image are converted into a color space of γ, α, and α, 6
200824469 rW3253PA-C 並據以產生亮度信號Y(luminancesig 。 橫座標為色差信號仏縱座標為色差錢生中曲 線L之切線恰為横軸(色差信號β 則’原點為白色。影像上的白色像素根二向=200824469 rW3253PA-C and according to the brightness signal Y (luminancesig). The abscissa is the color difference signal. The ordinate of the color difference is the horizontal axis of the curve L. (The color difference signal β then the origin is white. The white on the image Pixel root two direction =
移Γ者特變其位置。若沿著特性曲線 往右下^ 是勒傾境色溫。m特性曲線L =了=,則是趨向高環境色溫。-般而言,係在特性 曲線L上進行白平衡校正較為理想。 像上的因==統的白平衡方法,首先必須先判斷影 素°然而’判斷的演算過程相當地複雜 f 號叫差信號η分別作積分處理。一般而= 一複雜的電路運算元件,並搭配高容i的記: 雜。因而大幅增加電路設計的成本及運算的時間。十刀妓 所U,如何提供—财效率的自平衡 ==種種存在已久的困難點,實為目二 【發明内容】 有鑑於此’本發明的目的就是在提供—種白 t影像處理裝置,其利用標準白點在HSI空間之色管 r彩度,及亮度標準來判斷白點像素,再進行白^ 处理。使付自平衡方法及影像處縣置至少具有「計算量 200824469W3253Pac 降低電路設計成本」以及「增加運 ^ 小且計算複雜度低」、 算速度」之優點。 根艨本發明之一目的 方法至+ 平衡方法。白平衡 主/匕括以下步驟:(a)擷取 具有複數個第-像♦,久魅#主弟^ 象弟—影像 值、一綠色彩值及7! 有一紅色彩 Λ , „ .. i色%值。(b)依據各個第—像素 符合:桿準及藍色彩值’判斷各個第-像素是否The shifter has changed its position. If you go along the characteristic curve to the lower right ^ is the color of the tilting color. When the m characteristic curve L = =, it tends to a high ambient color temperature. In general, it is preferable to perform white balance correction on the characteristic curve L. For the white balance method based on the == system, the image must first be judged. However, the calculation process of the judgment is quite complicated. The f signal is called the difference signal η for the integral processing. General = a complex circuit operation component, and with a high capacity i note: Miscellaneous. Therefore, the cost of the circuit design and the calculation time are greatly increased. How to provide the self-balancing of financial efficiency == all kinds of difficult points that have existed for a long time, it is the second thing [invention] In view of this, the purpose of the present invention is to provide a white t image processing device It uses the standard white point in the HSI space color tube r chroma, and the brightness standard to determine the white point pixel, and then white ^ processing. The self-balancing method and the image-based county have at least the advantages of "calculation of the amount of calculation of the 200824469W3253Pac reduction circuit design cost" and "increased operation and small size and low computational complexity". According to one of the methods of the present invention, the method is to the + balance method. White Balance Master / 匕 以下 以下 : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : Color % value. (b) According to each of the first pixel matching: the rod standard and the blue color value 'determine whether each of the first pixels
像素之=:調Uue)標準。(c)依據各個第- A值、綠色職及藍色彩值,判斷各個第-像 素是否符合標準白點,分⑴弟像 據各個第-俊音夕Γί )標準。⑷依 各個第一傻= 值、綠色彩值及藍色彩值,判斷 弟「,素疋否符合標準白點之亮度(Inte 斷 標準之各個第-像^ 1_準、彩度標準及亮度 對絲兮此f/ 像素°⑴將該些白點像素 累i及=值、該些藍色彩值及該些綠色彩值進行 '、6、,’以5周整一第二影像之數個第二像素。 ,據本發明另—目的,提出—種影 處理裝置包括一影像罝-+ 衣罝衫像 元。_取單衝;及训 :象具有數個第一像素,各:第色 二象:!色彩值及一藍色彩值。畫面緩衝器用以儲存ί ”⑽-像處理早兀包括-色調判斷單元、一彩 二㈣L、―受度判斷單元及—調整單元。色調判斷單 兀係依據各個第一像素之紅色彩值、綠色彩值及藍色Γ 8 200824469rW3253PA c 7 =觸各㈣—像素是否符合—縣白點之 &準。彩度判斷單^係依據各個第—像素之 () 色彩值及藍色彩值,判斷 3、〜知值、、、、彔 之奪声+·、 弟像素疋否付合標準白點 -像ΐ之红色u:〇n)標準。亮度判斷單元係依據各個第 #去9、、杉值、綠色彩值及藍色彩值,判斷各個第一 =像,付合標準白點之色調標準、彩度標準及亮度 白’則定義此第一像素為一白點像素 ^值進仃累加及演算,據以調整—第二影像之數個第= 懂,的,、、㈣職更明顯易 如下: 、 亚配合所附圖式,作詳細說明 【實施方式】 -種弟2圖,其綠示依照本發明較佳實施例之 少==ΐ的流程圖。在本實施例中,白平衡方法至 -影像“在5驟(a)巾’擷取-第-影像Ε1 (第 第-像♦ 於第3圖中)’第—影$E1具有複數個 ;值?Γ 第一像素分別具有-紅色彩值〜、-綠色 :弟色料:。然後’在步驟⑴中,依據各個 此第一像素彔色彩值。及藍色彩值',判斷 疋付δ標準白點之色調(Hue)標準。接 9Pixel =: Uue) standard. (c) According to each of the first-A value, the green position and the blue color value, it is judged whether each of the first-pixels conforms to the standard white point, and the (1) brother image is based on each of the first-junctions. (4) According to each of the first silly value, green color value and blue color value, judge the younger brother, "Is it not conforming to the brightness of the standard white point (Inte breaks the standard - the image - 1 1 standard, chroma standard and brightness pair兮 兮 f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f According to another aspect of the present invention, a shadow processing device includes an image 罝-+ 罝 像 像 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Image:! Color value and a blue color value. The picture buffer is used to store ί"(10)-image processing as early as including - tone judgment unit, one color two (four) L, "receiving degree judgment unit" and - adjustment unit. According to the red color value, green color value and blue color of each first pixel 8 200824469rW3253PA c 7 = touch each (four) - whether the pixel meets - county white point & quasi-color judgment unit ^ according to each pixel - () Color value and blue color value, judge 3, ~ know value,,,, 彔 夺 + + ·, 弟 疋Whether to pay the standard white point - like the red u: 〇 n) standard. The brightness judging unit determines each of the first=images according to the respective ##9, the cedar value, the green color value, and the blue color value, and the color standard, the chroma standard, and the brightness white of the standard white point are defined. One pixel is a white point pixel ^ value accumulation and calculation, according to the adjustment - the number of the second image = the understanding, the,, (4) job is more obvious as follows:, the sub-match with the drawing, for details Description [Embodiment] - Figure 2, green diagram showing a flow chart of less ==ΐ in accordance with a preferred embodiment of the present invention. In the present embodiment, the white balance method to the image "in the 5th (a) towel" capture - the first image Ε 1 (the first - image ♦ in the third figure) 'the first shadow $E1 has a plurality of; Value? Γ The first pixel has - red color value ~, - green: color color material: then 'in step (1), according to each of the first pixel 彔 color value. and blue color value', determine the δ δ standard Hue standard for white dots.
200824469^ ;W3253PA-C 著,在步驟(c)中,依據各個第一像素之紅色彩值&、綠 色彩值A及藍色彩值L判斷此第一像素是否符合標準白 點之彩度(Saturation)標準。接著,在步驟(d)中, 依據各個第-像素之紅色彩值&、綠色彩值巧及該色 L判斷此第—像素是否符合標準白點之亮度(恤㈣ 步驟⑷’定義符合標準白點之色調 ^準^度#準及免度標準之各個第—像素為一白點像 素。虽弟-影像之所有第一像素均判斷完成時,再 驟⑴,將該些白點像素對應的該些紅色彩值、該此% =及_、綠㈣值進㈣加及演算,據以職;j 像(弟一影像E2係標示於第3圖中)之複數個第 白平衡方法係採用咖色彩空間作為^ 準,、ff,複雜的積分運算即可判斷白點像素,Γ Γ地 減少计异量及運算的複雜度。 μ ^ 上述步驟(b)、步驟(另半 非僅限制於第2 \ 之執行順序並 先執行步驟⑴,接;:樣:本發明之白平衡方法亦可 :先::賴…再執行步驟 上,步驟(b)、步驟(c)及牛 )貝際 執行順序,或者是同步進行,Y = t列組合成六種 定本發明之技術範圍。 *可的執打順序並非用以限 此外帛像素需要通過步驟 步驟(d)之判斷後,才可〜 )(c> ^ 若-第-像辛不通二義此第一像素為白點像素。 像素不通過其中—個判斷步驟時,則此第一像Ί 200824469圆祖 w 可直接定義為非白點像素,而省略其他的判斷步驟。舉例 來說,若一第一像素經步驟(b)判定為不符合該標準白 點之色調標準時,則此第一像素可直接省略步驟(c)及 步驟(d)而定義此第一像素為非白點像素。 請參照第3圖,其繪示依照本發明之較佳實施例之影 像擷取裝置100的示意圖。影像處理裝置100例如是一數 位相機、一數位攝錄影機或是一具有照相鏡頭之手機的必 要裝置。影像處理裝置100包括一影像擷取單元110、一 • 晝面缓衝器120及一處理單元130。 影像擷取單元110用以擷取第一影像E1及第二影像 E2。影像擷取單元110例如是一電子耦合影像感測器(CCD. Image Sensor)或一互補金屬氧化半導體影像感測(CMOS Image Sensor)0 晝面缓衝器120用以儲存第一影像El及第二影像 E2。晝面缓衝器120係為一快閃記憶體、一記憶卡或一硬 碟。 ® 處理單元130包括一色調判斷單元131、一彩度判斷 單元132、——亮度判斷單元133及一調整單元134。處理 單元130係為一内建控制電路之晶片或内建韌體或軟體, 電腦可讀取程式儲存媒體。 色調判斷單元131、彩度判斷單元132、亮度判斷單· 元133及調整單元134各自具有其功能。色調判斷單元131 係依據各個第一像素之紅色彩值&、綠色彩值&及藍色彩 值A,判斷各個第一像素是否符合標準白點之色調(Hue)200824469^;W3253PA-C, in step (c), according to the red color value & green color value A and blue color value L of each first pixel, it is determined whether the first pixel meets the standard white point chroma ( Saturation) standard. Next, in step (d), determining whether the first pixel conforms to the brightness of the standard white point according to the red color value & green color value and the color L of each of the first pixels (the shirt (4) step (4)' defines the standard. The color of the white point ^ quasi ^ degree # quasi-and the degree of freedom of the standard - the pixel is a white dot pixel. Although all the first pixels of the image - the image is judged to be completed, then (1), the white point pixel corresponding The red color value, the %= and _, the green (four) value into (four) plus the calculation, according to the job; j like (the brother one image E2 is shown in Figure 3) of the multiple white balance method Using the coffee color space as the standard, ff, complex integral operation can determine the white point pixel, and reduce the complexity of the calculation and the complexity of the operation. μ ^ The above steps (b), steps (the other half is not limited only In the execution sequence of the second \ \ and the first step (1), the following:: The white balance method of the present invention can also be: first:: Lai... then step, step (b), step (c) and cattle) The order of execution is either synchronous, and the Y = t columns are combined into six technical areas of the invention. The order of the executables is not limited to the fact that the pixels need to pass the judgment of step (d) before they can be ~) (c> ^ if - the first image is not white, the first pixel is a white pixel. When the determination step is not passed, the first image Ί 200824469 can be directly defined as a non-white pixel, and other judgment steps are omitted. For example, if a first pixel is determined by step (b) In order to not meet the standard hue standard of the white point, the first pixel may directly omit the steps (c) and (d) and define the first pixel as a non-white pixel. Please refer to FIG. 3, which is A schematic diagram of an image capture device 100 in accordance with a preferred embodiment of the present invention. The image processing device 100 is, for example, a digital camera, a digital video camera, or a necessary device for a mobile phone having a camera lens. The image processing device 100 includes a The image capturing unit 110, the image buffering unit 120, and the processing unit 130. The image capturing unit 110 is configured to capture the first image E1 and the second image E2. The image capturing unit 110 is, for example, an electronically coupled image. Sensor (CCD. The image sensor or a complementary metal oxide semiconductor image sensing (CMOS Image Sensor) 0 buffer buffer 120 is used to store the first image E1 and the second image E2. The kneading buffer 120 is a flash memory. The processing unit 130 includes a tone determining unit 131, a chroma determining unit 132, a brightness determining unit 133, and an adjusting unit 134. The processing unit 130 is a built-in control circuit. The chip or the built-in firmware or software, the computer readable program storage medium. The hue judging unit 131, the chroma determining unit 132, the brightness judging unit 133, and the adjusting unit 134 each have a function. The color tone judging unit 131 determines whether each of the first pixels conforms to the standard white point hue (Hue) according to the red color value & green color value & and blue color value A of each of the first pixels.
200824469rW3253PA-C " 標準。彩度判斷單元132係依據各個第一像素之紅色彩值 '、綠色彩值&及藍色彩值4,判斷各個第一像素是否符 合標準白點之彩度(Saturation)標準。亮度判斷單元133 係依據各個第一像素之紅色彩值'、綠色彩值&及藍色彩 值A,判斷各個第一像素是否符合標準白點之亮度 (Intensity)標準。若某一第一像素符合標準白點之色 調標準、彩度標準及亮度標準,則定義此第一像素為一白 點像素。調整單元134係將該些白點像素之紅色彩值&、 ⑩ 綠色彩值&、藍色彩值&進行累加及演算,據以調整第二 影像E2之數個第二像素。本實施例之影像處理裝置100 具有上述之結構特徵,並採用HSI色彩空間作為判斷標 準,而不需透過複雜的積分運算即可判斷白點像素。資料 在影像處理裝置100内的計算量大幅減少,並且處理單元 130的電路、韌體/軟體設計的複雜度均大幅降低。 以下係進一步詳細說明上述各個步驟及各個元件之 較佳的實施方式。 • 在第2圖之步驟(b)中,係利用標準白點之色調標 準作為一判斷基準。在本實施例中,各個像素之紅色彩值 '、綠色彩值&及藍色彩值&之間的兩兩關係係定義為: \叫,m=4 <Gq>BqJ H2 = 2200824469rW3253PA-C " Standard. The chroma determination unit 132 determines whether each of the first pixels conforms to the standard white point saturation criterion according to the red color value ', the green color value & and the blue color value 4 of each of the first pixels. The brightness determination unit 133 determines whether each of the first pixels conforms to the standard white point intensity (Intensity) standard based on the red color value ', the green color value & and the blue color value A of each of the first pixels. If a first pixel meets the standard white point color standard, chroma standard, and brightness standard, then the first pixel is defined as a white pixel. The adjusting unit 134 accumulates and calculates the red color value & 10 green color value & blue color value & and adjusts the plurality of second pixels of the second image E2. The image processing apparatus 100 of the present embodiment has the above-described structural features and uses the HSI color space as a criterion for judging, and the white point pixels can be judged without performing complicated integration operations. The amount of calculation in the image processing apparatus 100 is greatly reduced, and the complexity of the circuit and firmware/software design of the processing unit 130 is greatly reduced. The above various steps and preferred embodiments of the various elements are described in further detail below. • In step (b) of Figure 2, the standard white point tone standard is used as a criterion for judgment. In this embodiment, the relationship between the red color value ', the green color value & and the blue color value & is defined as: \call, m=4 <Gq> BqJ H2 = 2
Bq>Rv H3=l 則紅色彩值&、綠色彩值A及藍色彩值&係依據上述 之兩兩關係並配合遞移律,可排列組合成下列六種組合關 係式,此六種組合分別對應於六個色調值乂 =1~6。色調值 12Bq> Rv H3=l The red color value & green color value A and blue color value & according to the above two two relations and the transfer law, can be arranged into the following six combination relations, the six The combinations correspond to six tone values 乂=1~6, respectively. Tone value 12
W3253PA-C 200824469 Η 對應於弟-色調區’色調值% 依此類推,色調值'=6對 /應於弟二色調區。 义,心二、弟,、色調區。W3253PA-C 200824469 对应 Corresponds to the tone-tone area's tone value % and so on, the tone value '=6 pairs / should be in the second tone area. Righteousness, heart two, younger brother, and tonal area.
Bq>Rq>Gq, ^ =i/l + /f3 = 5 Rq>Bq>Gq, Hq^m Gq>Bq>Rq9 + WBq,=2 [WRq,=l ▲請^^第4圖,其緣示第一色調區(a ^ 调區(「)之示意圖。第4圖中 弟六色 料色㈤,.R)、綠色(Green;G)、^=六個角分別 -。第-區域;;:為 以二之關係式,且色調… 、綠色G之間的區域,係對應於 二>5)糸為广色R到黃色γ之間的輯’係對應於 q q ?之關係式,且色調值乂=6。 基本上,一標準白點在不同環境色溫下,係呈現不同 的顏色。也就是說,在不同色溫環境下,標準白點的紅色 彩值\、綠色彩值S及藍色彩值'之關係也會有所不同。 一般而言,在低色溫(約1000〜2800K)下,標準白點會 呈現之偏紅黃色的現象,而落入色調值之第 六區域。在高色溫(約8000〜12000K)下,白點會呈現 之偏藍綠色的現象,而落入色調值巧=1之第一區 域0 13 20082446aw3253PAc • ^ ’請參照W圖’其纷示一標準白點在不同環 兄色恤之色调區域的實驗數據表。如第5A圖所示,經實 2得知;標準白點在環境色溫為_Κ及65⑽K時,落於 f色㈣(9 )。標準白點在環境色溫S42G0KB寺, =第五色 (^=5)°標準白點在環境色溫為_〇【 才落於第八色调區(? 6)。標準白點在環境色溫為2_κ 時,落於第二色調區斤2)。因此,標準白點在各種環 • 巧溫6了’會分佈於第一色調區(%=1)至第六色調區 若標準白點在不同色溫下會分佈於不同之色調區 ,,較不方便判斷標準白點。藉此,標準白點紅色彩值&及 監色衫值叉係可分別透過兩組適當的比例調整,即可使標 準,點$的色調值均落入第一色調區(巧,或第六色調區 (:)。明參照弟5Β圖,其繪示第5Α圖之標準白點經 過第一比例Ρ1及第二比例Ρ2調整後之色調區域對照表。 齡不論環境色溫為何,將標準白點之紅色彩值\及藍色彩值 g分別乘上第一比例Ρ1 (在本實施例中係以丨· 66為例作 說明)及第二比例P2 (在本實施例中係以〇· 73為例作說 明)後,乘上第一比例P1之紅色彩值\大於綠色彩值q, 且綠色彩值巧大於乘上第二比例P2之藍色彩值a,即落於 第六色調區(乂 = 6)。 、 請參照第5C圖,其繪示第5A圖之標準白點經過第三 比例P3及第四比例P4調整後之色調區域對照表。不論環 境色溫為何,將標準白點之紅色彩值&及藍色彩值义分別Bq>Rq>Gq, ^ =i/l + /f3 = 5 Rq>Bq>Gq, Hq^m Gq>Bq>Rq9 + WBq,=2 [WRq,=l ▲Please ^^第4图,缘缘Show the first tonal area (a ^ map of the modulation area ("). In the fourth picture, the six colors (5), .R), green (Green; G), ^ = six corners respectively - the first region; ;: is the relationship between the two, and the color tone..., the area between the green G, corresponds to the second > 5), the relationship between the wide color R and the yellow γ corresponds to qq ? And the tone value 乂=6. Basically, a standard white point shows different colors under different ambient color temperatures. That is to say, in different color temperature environments, the standard white point red color value, the green color value S and The relationship of blue color value will be different. Generally speaking, at low color temperature (about 1000~2800K), the standard white point will appear reddish yellow and fall into the sixth area of the tonal value. At high color temperature (about 8000~12000K), the white point will show a blue-green phenomenon, and fall into the first area where the tone value is =1. 0 13 20082446aw3253PAc • ^ 'Please refer to the figure W for its standard white Point no The experimental data table of the hue area of the ring brother color. As shown in Fig. 5A, it is known by the actual 2; the standard white point falls on the f color (4) (9) when the ambient color temperature is _Κ and 65 (10) K. Standard white point In the ambient color temperature S42G0KB temple, = the fifth color (^=5) ° standard white point in the ambient color temperature is _ 〇 [ only in the eighth tonal area (? 6). The standard white point in the ambient color temperature is 2_κ, falls on The second hue area is 2). Therefore, the standard white point is distributed in the first hue area (%=1) to the sixth hue area in various rings. The standard white point is distributed at different color temperatures. Different tonal areas, it is more convenient to judge the standard white point. By this, the standard white point red color value & and the color shirt value can be adjusted by two sets of appropriate ratios, which can make the standard, point $ The tonal values fall into the first tonal region (intelligence, or the sixth tonal region (:). The reference to the fifth image is shown in FIG. 5, which shows that the standard white point of the fifth image is adjusted by the first ratio Ρ1 and the second ratio Ρ2. Tone area comparison table. Regardless of the ambient color temperature, multiply the standard white point red color value and the blue color value g by the first ratio. Ρ1 (in the present embodiment, 丨·66 is taken as an example for explanation) and the second ratio P2 (in the present embodiment, 〇·73 is taken as an example), multiplied by the red color value of the first ratio P1 \ is greater than the green color value q, and the green color value is greater than the blue color value a multiplied by the second ratio P2, that is, falls in the sixth tone region (乂 = 6). Please refer to Figure 5C, which shows the 5A The standard white point of the figure is adjusted by the third ratio P3 and the fourth ratio P4. Regardless of the color temperature of the environment, the red color value of the standard white point &
,W3253PA-C 200824469 乘上第三比例P3 (在本實施例中係以〇· 53為例作說明) 及第四比例P4(在本實施例中係以1· 83為例作說明)後, 乘上第二比例P3之紅色彩值A小於綠色彩值q,且綠色彩 值A小於乘上第四比例P4之藍色彩值',即落於第一色調 區()。 ° 藉此,不論環境色溫為何,乘上第一比例P1之紅色 彩值&大於綠色彩值q,且綠色彩值a大於乘上第二比例 P2之藍色彩值\且乘上第三比例p3之紅色彩值&小於綠 色彩值7 ’且綠色彩值S小於乘上第四比例P4之藍色彩值 A時,則可判定此像素符合標準白點的色調標準。 其中,上述之第一比例P1、第二比例p2、第三比例 P3及第四比例P4係依據不同的影像擷取單元ιι〇而有所 不同。,計者係可依據所操作之影像擷取單元來量測出所 對應之第一比例P卜第二比例p2、第三比例兕及第四比 明同日守麥照第3圖及第6圖,第β圖繪示第2圖之步 驟(b)的祥細流程圖。如第3圖所示, 第-判斷器1311及一第二判斷器㈣ f 6圖之步驟(bl)巾,第一判斷器1311係接收各個第 像素之、.、彔色彩值、紅色彩值&及藍色彩值^,並判斷 =個像素之乘上第一比例?1之紅色彩值&是否大於 彔色I值9 ,且綠色彩值&是否大於乘上二比薛 色彩值A。 狐 接著,在第6圖之步驟(b2)中,此第-像素之綠色 15 200824469, —- ^V3253PA*C 彩值〃、紅色彩值A及藍色彩值&傳送至第 判斷器 131/,亚判斷各個第—像素之乘上第三比例P3之紅色彩 值?疋否小於綠色彩值q,且綠色彩值G?是否小於乘上 四比例P4之藍色彩值叉。 、然後,在第6圖之判斷結果(b3)中,若此第一像 白通過第-判斷器1311及第二判斷器1312之判斷,則第 像素係符合標準白點之色調標準。 在^圖之判斷結果(⑷巾,絲第—像素未通過 判斷盗1311或第二判斷器1312之任一判斷,則第一 象素係不符合標準白點之色調標準。 在第6圖之流程圖中,雖然係以先執行步驟(Μ)再 =步驟⑽為例作說明。然而步驟(Μ)及步驟㈤) =行順序係可調換,或者同時進行,亦可達到本發明之 準作a第2圖之》1^⑷巾,係利用標準白點之彩度標 基r彩度又稱為飽和度,彩度係可由各個 、在:、綠色彩值%及藍色彩值'計算而得。 彩度值的計算式為 :255 關係二f照第7圖’麟示標準白點之彩度與環境色溫之 产=線圖。由於影像絲單元11()的特性,在高、低環 端,彩度將呈現上升的趨勢。在某個高、低環境 、=Μ ’標準白點之錢依實麵環境照明狀況,必然 仏以下三《係之-··小於第—彩度門餘 16, W3253PA-C 200824469 is multiplied by the third ratio P3 (in the present embodiment, 〇·53 is taken as an example) and the fourth ratio P4 (in the present embodiment, exemplified by 1.83) The red color value A multiplied by the second ratio P3 is smaller than the green color value q, and the green color value A is smaller than the blue color value ' of the fourth ratio P4, that is, falls on the first color tone region (). ° Thereby, regardless of the ambient color temperature, multiply the red color value & of the first ratio P1 by more than the green color value q, and the green color value a is greater than the blue color value of the second ratio P2 and multiplied by the third ratio When the red color value of p3 & is smaller than the green color value 7 ' and the green color value S is smaller than the blue color value A of the fourth ratio P4, it can be determined that the pixel conforms to the standard white point color standard. The first ratio P1, the second ratio p2, the third ratio P3, and the fourth ratio P4 are different according to different image capturing units. According to the image capturing unit operated, the metering unit can measure the corresponding first ratio P, the second ratio p2, the third ratio 兕, and the fourth ratio, the same day, the same day, the third and sixth pictures, Figure β shows a detailed flow chart of step (b) of Figure 2. As shown in FIG. 3, the first determiner 1311 and the second determiner (4) f 6 map step (bl), the first determiner 1311 receives the respective pixels, ., 彔 color value, red color value & and blue color value ^, and judge = multiply the pixel by the first ratio? Whether the red color value & 1 is greater than the I color I value of 9, and the green color value & is greater than the multiplied by the second color value A. Fox then, in step (b2) of Fig. 6, the green color of the first pixel 15 200824469, —^V3253PA*C color value 〃, red color value A and blue color value & are transmitted to the determiner 131/ , Asian judge each pixel - multiply the red color value of the third ratio P3?疋No is less than the green color value q, and the green color value G? is less than the blue color value fork multiplied by the fourth ratio P4. Then, in the judgment result (b3) of Fig. 6, if the first image is judged by the first-determiner 1311 and the second determiner 1312, the first pixel conforms to the standard white point hue standard. In the judgment result of the map ((4) towel, silk-pixel does not pass any judgment of the judge 1311 or the second determiner 1312, the first pixel does not conform to the standard white point color standard. In the sixth figure In the flow chart, the first step (执行) and then the step (10) are taken as an example. However, the steps (Μ) and (5)) = the row order can be changed, or simultaneously, and the invention can also be achieved. aFig. 2 1 (4) towel, using the standard white point of the chroma base r saturation is also called saturation, the chroma can be calculated by: each, in: green color value % and blue color value ' Got it. The calculation formula of the chroma value is: 255. The relationship between the color and the color temperature of the standard white point is shown in Fig. 7. Due to the characteristics of the image silk unit 11(), the chroma will tend to rise at the high and low end. In a certain high and low environment, = Μ ‘ standard white point of money according to the actual environment lighting conditions, inevitably 仏 the following three "---- less than the first - chroma door remaining 16
200824469W3253PA.C 第二彩度H檻“、或介於第—彩度門檻值&及第二彩度 門,值之間心之間。透過實驗,即可取得標準白點所對應 之第-,度門權值心及第二彩度門插值^。若某一像素之 ^度值Μ足所缺以上三雜件之—,躲減像素符 a標準白點之彩度標準。 心’上述之第—彩度服仏及第二彩度門檻值心 係依據不同的影像擷取單元110而有所不同。然設計者係 鲁可依據所操作之影像擷取單元110來量測出對應之第一彩 度門檻值心及第二彩度門檻值心。 ^ 請同時參照第3圖及第8圖,第_會示第2圖之步驟 (C)。的細部流程圖。如第3圖所示,彩度判斷單元132包 括一衫度計算器1321及一第三判斷器1322。首先, 圖之步驟(cl)中,彩度計算器1321係接收各個第一像素 之紅色彩值'、綠色彩值,及藍,彩值',並計算彩度值 其中,彩度值為 x255 接著,在第8圖之步驟(c2)中,第三判斷 接收彩度值^後,並判斷彩度值k否滿 ^的以^ 三種條件之一。 ㈢疋的以上 然後,在第8圖之判斷結果(c3)中,若 過弟三判斷器⑽之騎(即步驟(⑵成立)^ 像素係符合標準白點之彩度標準。 、 在第8圖之判斷結果(c4)中,若第—像 二判斷器1322之判斷(即步驟(c2)不成立),、則^^ 素係不符合標準白點之彩度標準。 、 象 17200824469W3253PA.C The second chroma H槛“, or between the first – chroma threshold and the second chroma door, between the values. Through the experiment, you can get the standard white point corresponding to the first - , the degree of the weight of the door and the second chroma door interpolation ^. If the value of a pixel of the ^ Μ Μ 所 所 所 所 以上 , , , , , , , , , , , , , 躲 躲 躲 躲 躲 躲 躲 躲 躲 躲 躲 躲The color-shadow service and the second chroma threshold value are different according to different image capturing units 110. However, the designer can measure the corresponding image according to the operated image capturing unit 110. The first chroma threshold value and the second chroma threshold value. ^ Please refer to Fig. 3 and Fig. 8 at the same time, the _ will show the step (C) of Fig. 2. The detailed flow chart. As shown, the chroma determination unit 132 includes a shirt degree calculator 1321 and a third determiner 1322. First, in the step (cl) of the figure, the chroma calculator 1321 receives the red color value of each of the first pixels, Green color value, and blue, color value ', and calculate the chroma value, where the chroma value is x255. Then, in step (c2) of the eighth figure, the third After judging the received chroma value ^, and determining whether the chroma value k is full ^ is one of the three conditions. (3) The above and then, in the judgment result (c3) of Fig. 8, if the third brother (10) The riding (ie, the step ((2) is established) ^ the pixel is in accordance with the standard white point chroma standard. In the judgment result (c4) of Fig. 8, if the first-image two-determiner 1322 is judged (ie, step (c2) Not established), then ^^ is not in accordance with the standard white point chroma standard.
200824469rW3253PA-C ‘ 在第2圖之步驟(d)中,係利用標準白點之亮度標準 作為一判斷基準。影像擷取單元no具有有限的動態範圍 (Dynamic Range)的特性。在動態範圍内,影像擷取單 元110係可敏銳的呈現景物的亮度。而當環境照度太高或 太低,以致於超過影像擷取單元11〇的有限動態範圍時, 則無法據實呈現景物之亮度。 請參照第9圖,其繪示標準白點之亮度與照度之關係 曲線圖。在第9圖中,橫軸為照度,縱軸為亮度。a、B點 ❿ 之間的曲線大致呈線性,A、β點以外之曲線則呈非線性。 在A、Β點之間的曲線具有亮度參考價值,在a、β點以外之 曲線並不具有亮度參考價值。隨著影像擷取單元11〇的不 同,此關係曲線會有所不同。依據上述之A、Β兩點,係可 .設定第一亮度門檻值Α及第二亮度門檻值/2。在本實施例 中,第一亮度門檻值A係為2〇〇,第二亮度門檻值&係為1〇。 若某一像素之亮度值介於第一亮度門檻值Α及第二亮度門 檻值/2之間’則此像素即具有亮度判斷價值,即符合標準 白點應有的亮度標準。反之,若此像素並不介於第一亮度 門檻值^及第二亮度門檻值/2之間,則此像素並不具有亮度 判斷價值,即不符合標準白點應有的亮度標準。 請同時參照第3圖及第10圖,第1〇圖繪示第2圖之步驟 (d)之細部流程圖。如第3圖所示,亮度判斷單元包 括一亮度計算器1331及一第四判斷器1332。首先,在第1〇 圖之步驟(dl)中,亮度計算器1331係接收各個第一像素 之紅色彩值八、綠色彩值q及藍色彩值%,並計算亮度值々。 18200824469rW3253PA-C ‘ In step (d) of Figure 2, the standard white point brightness standard is used as a criterion. The image capture unit no has a limited dynamic range. In the dynamic range, the image capturing unit 110 can sharply present the brightness of the scene. When the ambient illuminance is too high or too low to exceed the limited dynamic range of the image capturing unit 11 ,, the brightness of the scene cannot be realistically presented. Please refer to Figure 9, which shows the relationship between the brightness of the standard white point and the illuminance. In Fig. 9, the horizontal axis represents illuminance and the vertical axis represents luminance. The curve between a and B points is roughly linear, and the curves other than the points A and β are nonlinear. The curve between A and Β has a brightness reference value, and the curve outside the a and β points does not have a brightness reference value. This relationship curve will vary depending on the image capturing unit 11〇. According to the above two points, the first brightness threshold value Α and the second brightness threshold value /2 are set. In the present embodiment, the first luminance threshold A is 2 〇〇, and the second luminance threshold & is 1 〇. If the brightness value of a pixel is between the first brightness threshold Α and the second brightness threshold /2, then the pixel has a brightness judgment value, that is, a brightness standard that meets the standard white point. On the other hand, if the pixel is not between the first brightness threshold value and the second brightness threshold value/2, the pixel does not have a brightness judgment value, that is, does not meet the brightness standard that the standard white point should have. Please refer to Fig. 3 and Fig. 10 at the same time. Fig. 1 is a detailed flow chart showing the step (d) of Fig. 2. As shown in Fig. 3, the brightness judging unit includes a brightness calculator 1331 and a fourth judging unit 1332. First, in the step (d1) of the first graph, the luminance calculator 1331 receives the red color value eight, the green color value q, and the blue color value % of the respective first pixels, and calculates the luminance value 々. 18
200824469 :W3253PA-C .其中亮度值/?=^^+s+Wx255。 接著,在第10圖之步驟(d2)中,第 係接收亮度值4,並判斷亮度值是否介於—第―為1332 檻值々及一第二亮度門檻值/2之間。 、弟—壳度門 然後,在第10圖之判斷結果(d3)中,若 通過第四_器1332之判斷,則此第—像 人像素 點之亮度鮮。 «•合標準白 在第10圖之判斷結果(d4)巾,若此第 第四判斷㈣32之騎,贱第—像素料符合桿 之亮度標準。 丁口知早白點 透過上述的判斷程序,若此第一像素符合標準白 、彩度標準及亮度標準,則定義此第— 白點像素。並且重複上叙麟程序 第一像素均·完成。 &像之所有 ”接著,在第2圖之步驟⑴t,並透過累加器及 :分?將該些白點像素之紅色彩值'、綠色彩值、藍Γ :值,仃累加及鮮,以進行調整第二影細之 素之程序。 ^ …請同時參照第3圖及第11圖,第11_示第2圖之㈣ j )之細部流程圖。如第3圖所示,調整單元134包括一 第一累加器1341、一第二累加器1342、一第三累加器 1343、-第—計异|| 1344、_第二計算器1挪及三200824469 : W3253PA-C . The brightness value /?=^^+s+Wx255. Next, in the step (d2) of Fig. 10, the system receives the luminance value of 4, and determines whether the luminance value is between - the first value is 1332 々 value 々 and a second luminance threshold value /2. Then, the brother-shell door is then, in the judgment result (d3) of Fig. 10, if the judgment of the fourth_device 1332 is passed, the brightness of the first pixel is fresh. «•合标准白 In the judgment result of the 10th figure (d4) towel, if the fourth judgment (4) 32 rides, the first-pixel material meets the brightness standard of the rod. Dingkou knows early white point Through the above judgment procedure, if the first pixel meets the standard white, chroma standard and brightness standard, the first white point pixel is defined. And repeat the above-mentioned sequence of the first pixel. & like all" Then, in step (1)t of Figure 2, and through the accumulator and: the red color value of the white pixels, the green color value, the blue color: value, 仃 add and fresh, For the procedure of adjusting the second shadow. ^ ...Please refer to the flowcharts of Fig. 3 and Fig. 11 and Fig. 11_(Fig. 2(b)) for details. As shown in Fig. 3, the adjustment unit 134 includes a first accumulator 1341, a second accumulator 1342, a third accumulator 1343, - a first-counter || 1344, a second calculator 1 and three
算器 1346。 —°T 首先’在第11圖之步驟(fl)中,第一累加器 19Calculator 1346. - °T first 'in step (fl) of Fig. 11, the first accumulator 19
200824469w.2rpAC200824469w.2rpAC
-*W^j25jPA C 接收該些白點像素之該些紅色彩值',並累加該些紅色彩 值&為 一紅色累加值h。 該些白點像素 接著,在第11圖之步驟(f2)中,第二累加器1342 接收該些白點亮度之該些綠色彩值&,並累加該些綠色彩 值A為 一綠色累加值。 該些白點像素 然後,在第11圖之步驟(f3)中,第三累加器1343 ® 接收該些白點亮度之該些藍色彩值',並累加該些藍色彩 值'為 一藍色累加值。 該些白點像素 接著,在第11圖之步驟(f4)中,第一計算器1344 接收 紅色累加值 IX及綠色累加值 ΣΧ,並計算紅色累加值 該些白點像素 該些白點像素 Σ\及綠色累加值 Σ%之比值為紅色增益值為 該些白點像素 該些白點像素 • η =該些白點像素 一一 該些白點像素 〇 然後,在第11圖之步驟(f5)中,第二計算器1345 接收 藍色累加值及綠色累加值,並計算藍色累加值 該些白點像素該些白點像素 Σ&及綠色累加值ΣΑ之比值為藍色增益值為 該些白點像素 該些白點像素 R 一該些白點像素 〇 該些白點像素 接著,在第11圖之步驟(f6)中,第三計算器1346 20 200824469-*W^j25jPA C receives the red color values ' of the white point pixels, and accumulates the red color values & a red accumulated value h. The white dot pixels are next, in step (f2) of FIG. 11, the second accumulator 1342 receives the green color values & the brightness of the white points, and accumulates the green color values A as a green accumulation. value. The white dot pixels are then, in step (f3) of FIG. 11, the third accumulator 1343 ® receives the blue color values 'the brightness of the white spots', and accumulates the blue color values 'as a blue Accumulated value. The white point pixels are next. In step (f4) of FIG. 11, the first calculator 1344 receives the red accumulated value IX and the green accumulated value ΣΧ, and calculates a red accumulated value of the white point pixels. \ and the ratio of the green accumulated value Σ% is the red gain value of the white point pixels of the white point pixels • η = the white point pixels one by one of the white point pixels 〇 Then, in the step of Figure 11 (f5 In the second calculator 1345, the blue accumulating value and the green accumulating value are received, and the blue accumulating value is calculated, and the ratio of the white point pixels Σ& and the green accumulating value ΣΑ is the blue gain value. Some white point pixels, the white point pixels R, the white point pixels, and the white point pixels. Next, in step (f6) of FIG. 11, the third calculator 1346 20 200824469
一™ · /W3253PA-C 係接收紅色增益值I"、藍色增益值5_及第二影像E2之該 些第二像素。而將第二影像E2内所有第二像素的紅色彩值 &均乘上紅色增益值,並將第二影像E2内所有第二像素 的藍色彩值&均乘上藍色增益值。 在第11圖之流程中,雖然係以先執行步驟(Π)、 (f2),再執行步驟(f3)為例。然而步驟(fl)、(f2) 及步驟(f3)之執行順序係可調換,或者同時進行,亦可 達到本發明之目的。 * 同理,步驟(f4)及步驟(f5)之執行順序係可調換, 或者同時進行,亦可達到本發明之目的。 其中,步驟(fl)〜(ί3)之累加步驟係可在步驟(e) 判斷完所有的第一像素後再進行。或者可在每一次步驟 (e)定義出一個新的白點像素時,立即馬上進行累加之 程序。 藉此,即完成了第二影像E2之白平衡處理。當然,鬆 像處理裝置100亦可依據第一影像E1之白色像素繼續調整 後續擷取影像。並且影像處理裝置100也可在一預定週期 時間或預定週期次數内,循環地重複上述之白平衡方法。 本發明上述實施例所揭露之白平衡方法及影像處理 裝置係利用標準白點在HSI空間之色調標準、彩度標準及 亮度標準來判斷白點像素,再進行白平衡處理。使得白平 衡方法及影像處理裝置至少具有以下優點: 第一、「計算量小且計算複雜度低」:在判斷各個第一 像素是否為白點像素的演算過程中,僅需透過大小的比 21 200824469rW3253PA-c ^ 對,而不需進行任何積分演算。大幅地降低計算量及計算 的複雜度。 第二、「降低電路設計成本」:以大小比對的演算方式 中,其電路設計係可採用簡單的邏輯運算器即可達成白平 衡演算的目的。大幅地降低電路設計的複雜度及成本。 第三、「增加運算速度」:如上所述,計算量及計算複 雜度降低後,整體運算速度可大幅地降低。甚至可加快白 平衡演算的週期,使得所有呈現的晝面更貼近於真實的色 • 彩。 綜上所述,雖然本發明已以一較佳實施例揭露如上, 然其並非用以限定本發明。本發明所屬技術領域中具有通 常知識者,在不脫離本發明之精神和範圍内,當可作各種 之更動與潤飾。因此,本發明之保護範圍當視後附之申請 專利範圍所界定者為準。A TM · /W3253PA-C receives the second pixel of the red gain value I", the blue gain value 5_, and the second image E2. The red color value & of all the second pixels in the second image E2 is multiplied by the red gain value, and the blue color values & all the second pixels in the second image E2 are multiplied by the blue gain value. In the flow of Fig. 11, although the steps (Π), (f2) are performed first, and then the step (f3) is executed as an example. However, the order of execution of steps (fl), (f2) and step (f3) may be interchanged or performed simultaneously, and the object of the present invention may also be achieved. * Similarly, the execution sequence of step (f4) and step (f5) can be changed, or simultaneously, and the object of the present invention can be achieved. The step of accumulating steps (fl) to (ί3) may be performed after all the first pixels are determined in step (e). Or, when a new white point pixel is defined in each step (e), the accumulation process is performed immediately. Thereby, the white balance processing of the second image E2 is completed. Of course, the image processing apparatus 100 can further adjust the subsequent captured image according to the white pixels of the first image E1. Further, the image processing apparatus 100 may cyclically repeat the above-described white balance method for a predetermined period of time or a predetermined number of cycles. The white balance method and the image processing apparatus disclosed in the above embodiments of the present invention determine the white point pixels by using the standard white point in the HSI space color standard, the chroma standard, and the brightness standard, and then perform white balance processing. The white balance method and the image processing apparatus have at least the following advantages: First, "the calculation amount is small and the calculation complexity is low": in the calculation process of determining whether each of the first pixels is a white point pixel, only the size ratio 21 is required. 200824469rW3253PA-c ^ Yes, without any integration calculus. Significantly reduce the amount of calculation and the complexity of the calculation. Second, "reducing the cost of circuit design": In the calculation method of size comparison, the circuit design can achieve the purpose of white balance calculation by simple logic operator. Significantly reduce the complexity and cost of circuit design. Third, "increasing the operation speed": As described above, the calculation amount and the calculation complexity are reduced, and the overall calculation speed can be greatly reduced. It can even speed up the cycle of white balance calculations, making all the presented faces closer to the true color. In view of the above, the present invention has been disclosed in a preferred embodiment, and is not intended to limit the present invention. It will be apparent to those skilled in the art that various changes and modifications can be made without departing from the spirit and scope of the invention. Therefore, the scope of the invention is defined by the scope of the appended claims.
22twenty two
W3253PA-C 200824469 【圖式簡單說明】 第1圖繪示黑體輻射的特性曲線之示意圖; 第2圖繪示依照本發明較佳實施例之一種白平衡方法 的流程圖; 第3圖繪示依照本發明之較佳實施例之影像擷取裝置 的不意圖, 第4圖繪示第一色調區至第六色調區之示意圖; 第5A圖繪示一標準白點在不同環境色溫之色調區域 ® 的實驗數據表; 第5B圖繪示第5A圖之標準白點經過第一比例及第二 比例調整後之色調區域對照表; 第5C圖繪示第5A圖之標準白點經過第三比例及第四 比例調整後之色調區域對照表; 第6圖繪示第2圖之步驟(b)的詳細流程圖; 第7圖繪示標準白點之彩度與環境色溫之關係曲線 第8圖繪示第2圖之步驟(c)的細部流程圖; 第9圖繪示標準白點之亮度與照度之關係曲線圖; 第10圖繪示第2圖之步驟(d)之細部流程圖;以及 第11圖繪示第2圖之步驟(f)之細部流程圖。 23 200824469 W3253pa-c 【主要元件符號說明】W3253PA-C 200824469 [Simplified Schematic] FIG. 1 is a schematic diagram showing a characteristic curve of black body radiation; FIG. 2 is a flow chart showing a white balance method according to a preferred embodiment of the present invention; The image capturing device of the preferred embodiment of the present invention is not intended, and FIG. 4 is a schematic view showing a first to sixth color tone region; FIG. 5A is a color white region of a standard white color at different ambient color temperatures. The experimental data table; Figure 5B shows the standard white point of Figure 5A after the first ratio and the second ratio adjusted to the hue area comparison table; Figure 5C shows the standard white point of Figure 5A after the third ratio and The fourth ratio adjusted tone area comparison table; the sixth figure shows the detailed flow chart of the step (b) of the second figure; the seventh figure shows the relationship between the standard white point chroma and the ambient color temperature. A detailed flow chart of step (c) of FIG. 2; a graph of brightness versus illuminance of a standard white point; and a flow chart of step (d) of FIG. 2; Figure 11 is a flow chart showing the details of step (f) of Figure 2. 23 200824469 W3253pa-c [Key component symbol description]
L :特性曲線 E1 :第 一影像 E2 :第 二影像 100 :影像處理裝置 110 :影像擷取單元 120 :晝面緩衝器 130 :處理單元 131 : 1 色調判斷單元 1311 : 第一判斷器 1312 : 第二判斷器 132 :彩度判斷單元 1321 : 彩度計算器 1322 : 第三判斷器 133 ·· 亮度判斷單元 1331 : 亮度計算器 1332 : 第四判斷器 134 : 調整單元 1341 第一累加器 1342 第二累加器 1343 第三累加器 1344 第一計算器 1345 第二計算器 1346 :第三計算器L: characteristic curve E1: first image E2: second image 100: image processing device 110: image capturing unit 120: face buffer 130: processing unit 131: 1 tone determining unit 1311: first determining unit 1312: Second judging unit 132: chroma determining unit 1321: chroma calculator 1322: third judging unit 133 · · brightness judging unit 1331: brightness calculator 1332: fourth judging unit 134: adjusting unit 1341 first accumulator 1342 second Accumulator 1343 Third Accumulator 1344 First Calculator 1345 Second Calculator 1346: Third Calculator
TW3253PA-C 200824469 —v/y u B ··藍色 C :青綠色 G :綠色 Y :黃色 R :紅色TW3253PA-C 200824469 —v/y u B ··Blue C : Cyan G : Green Y : Yellow R : Red
M :洋紅色 P1 ·· 第一比例 P2 : 第二比例 P3 : 第三比例 P4 : 第四比例 Rq : 紅色彩值 Gq ·· 綠色彩值 藍色彩值 Sq : 彩度值 色調值 ^Tl 第一彩度門檻值 St2 第二彩度門檻值 h : 第一亮度門檻值 h : 第二亮度門捏值 Rgain :紅色增益值 Bgain :藍色增益值 :紅色累加值 該些白點像素 :綠色累加值 該些白點像素 Σ A :藍色累加值 該些白點像素 25M : magenta P1 ·· first ratio P2 : second ratio P3 : third ratio P4 : fourth ratio Rq : red color value Gq · · green color value blue color value Sq : chroma value tone value ^Tl first Chroma threshold value St2 Second chroma threshold value h: First brightness threshold value h: Second brightness threshold value Rgain: Red gain value Bgain: Blue gain value: Red accumulated value These white point pixels: Green accumulated value The white point pixels Σ A : blue accumulated value of the white point pixels 25
Claims (1)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW096133492A TWI349491B (en) | 2006-11-30 | 2007-09-07 | White balance method and image adjusting apparatus |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW95144530 | 2006-11-30 | ||
| TW096133492A TWI349491B (en) | 2006-11-30 | 2007-09-07 | White balance method and image adjusting apparatus |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| TW200824469A true TW200824469A (en) | 2008-06-01 |
| TWI349491B TWI349491B (en) | 2011-09-21 |
Family
ID=44771503
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| TW096133492A TWI349491B (en) | 2006-11-30 | 2007-09-07 | White balance method and image adjusting apparatus |
Country Status (1)
| Country | Link |
|---|---|
| TW (1) | TWI349491B (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111091789B (en) | 2018-10-23 | 2022-05-31 | 纬联电子科技(中山)有限公司 | Display device and color correction method thereof |
-
2007
- 2007-09-07 TW TW096133492A patent/TWI349491B/en not_active IP Right Cessation
Also Published As
| Publication number | Publication date |
|---|---|
| TWI349491B (en) | 2011-09-21 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN1994000B (en) | Automatic white balance method and apparatus | |
| JP2020184786A (en) | Apparatus for creating high dynamic range (hdr) pixel stream, computer program and method | |
| CN104796683B (en) | A kind of method and system of calibration image color | |
| US9398280B2 (en) | AWB using face detection | |
| US10325354B2 (en) | Depth assisted auto white balance | |
| US11463630B2 (en) | Systems and methods for generating a high-dynamic range (HDR) pixel stream | |
| CN113810641B (en) | Video processing method and device, electronic equipment and storage medium | |
| CN101529889A (en) | Automatic white balance statistics collection | |
| CN113810642B (en) | Video processing method and device, electronic equipment and storage medium | |
| CN113824914B (en) | Video processing method, apparatus, electronic device and storage medium | |
| CN102387372A (en) | Image processing apparatus, image processing method, and recording medium | |
| CN114449199B (en) | Video processing method and device, electronic equipment and storage medium | |
| EP4287604B1 (en) | Video processing method and apparatus, electronic device, and storage medium | |
| WO2025060610A1 (en) | Image fusion method and apparatus, electronic device, and storage medium | |
| Lam et al. | Automatic white balancing using standard deviation of RGB components | |
| US11501412B2 (en) | Image processing apparatus, imaging apparatus, image processing method, and image processing program | |
| TW200824469A (en) | White balance method and image adjusting apparatus | |
| KR101137611B1 (en) | System and method for effectively performing an image data conversion procedure | |
| CN101420528A (en) | Digital image processing device capable of displaying color distribution chart and method of operation thereof | |
| CN115706765B (en) | Video processing method, device, electronic equipment and storage medium | |
| WO2023016042A1 (en) | Video processing method and apparatus, electronic device, and storage medium | |
| WO2022032666A1 (en) | Image processing method and related apparatus | |
| CN115706766B (en) | Video processing method, device, electronic equipment and storage medium | |
| US10393992B1 (en) | Auto focus based auto white balance | |
| CN119450024A (en) | Image processing method, intelligent terminal and storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| MM4A | Annulment or lapse of patent due to non-payment of fees |