200950533 * 九、發明說明: 【發明所屬之技術領域】 本發明係有關於一種影像色溫調控技術,更詳而一 · '二方^1於—種高動態範圍合成影像色溫調控系統及其二 【先前技術】 _所谓動態範圍(Dynamic Range)係指影像中最暗與最 壳的對比值。一般而言,電腦在顯示數位影像時是以8b = ©區分影像的明暗度’但若要達到複雜度如自然環境之真實 明暗對比,通常會因無法同時兼顧對比過暗區域(曝光不 足)與對比過亮區域(曝光過度),因而使得部份影像無法 顯示出來。 一 對此,尚動態範圍(High Dynamic Range, HDR)影像合 成技術則是針對以上缺點,利用複數張影像曝光程度不同 的數位影像資料’疊合出具有明暗範圍較廣之合成影像, ❹以增加影像顯示範圍的影像處理技術。 在高動態範圍影像合成的方法上,習知技術係利用一 張自動曝光的影像與一張擁有前一張影像遺失的動態範 圍影像,再將影像資訊轉換到HSV色彩空間,以利用直方 圖對應兩張影像與梯度運算找出第一張影像遺失資訊的 區域’進而合成出一高動態範圍影像。 雖然’上述高動態範圍影像合成技術能將部份遺失的 影像透過複數張影像加以還原,但是經過該合成技術處理 後的影像,常出現合成影像與原始影像色溫不同之失真現 110761 5 200950533 象,進而導致合成影像失去原有的環境光源或產 影像之問題。 … 因此,如何提供-種高動態範圍合成影像色溫調控系 :.統及其調控方法,使其避免高動態範圍影像合成技術中, 合成高動態範圍影像後,卻發生失去原有的環境光源或產 生不自然影像之問題,實為本技術領域亟待解決的議題。 【發明内容】 馨於上述習知技術之缺點,本發明之主要目的在於揭 ❹露一種高動態範圍合成影像色溫調控系統及其調控方法。 本發明的高動態·合成影像色溫調㈣統包含:明 度調整模組、影像合成模纽與色溫調控模組。 f中,明度調整模組係用以於接收複數組低動態範圍 影像育料後’將彩色的影像資料轉換成灰階影像並利用200950533 * IX, invention description: [Technical field of invention] The present invention relates to an image color temperature control technology, and more detailed, 'two-party ^1'--high dynamic range synthetic image color temperature control system and its two Prior Art _ The so-called Dynamic Range refers to the contrast between the darkest and the most shell in the image. Generally speaking, when a computer displays a digital image, it uses 8b = © to distinguish the brightness of the image. However, if you want to achieve the complex contrast between the natural and the natural environment, it is usually impossible to simultaneously compare the dark areas (underexposed) with Contrast bright areas (overexposure), so some images cannot be displayed. In this regard, the High Dynamic Range (HDR) image synthesis technology is aimed at the above shortcomings, and uses a plurality of digital image data with different exposure degrees to superimpose a composite image having a wide range of light and dark, so as to increase Image processing technology for image display range. In the method of high dynamic range image synthesis, the conventional technique utilizes an auto-exposure image and a dynamic range image having the previous image missing, and then converts the image information into the HSV color space to utilize the histogram corresponding Two images and a gradient operation are used to find the area where the first image is missing information, and a high dynamic range image is synthesized. Although the above-mentioned high dynamic range image synthesis technology can restore a part of the lost image through a plurality of images, the image processed by the synthesis technique often exhibits a distortion of the color temperature of the synthesized image and the original image, 110761 5 200950533, This in turn causes the synthetic image to lose its original ambient light source or image. ... Therefore, how to provide a high dynamic range synthetic image color temperature control system: the system and its control method, so as to avoid high dynamic range image synthesis technology, after the synthesis of high dynamic range image, but the loss of the original ambient light source or The problem of producing unnatural images is an urgent issue to be solved in the technical field. SUMMARY OF THE INVENTION In view of the above disadvantages of the prior art, the main object of the present invention is to disclose a high dynamic range synthetic image color temperature control system and a control method thereof. The high dynamic and synthetic image color temperature adjustment (four) system of the invention comprises: a brightness adjustment module, an image synthesis module and a color temperature control module. In f, the brightness adjustment module is used to receive the complex array of low dynamic range image after breeding, and convert the color image data into gray scale image and utilize
Sobel遮罩對其進行邊緣偵測,以判斷出影像中因曝光不 足或曝光過度而喪失影像細節的影像,再使s〇bei遮罩進 行數值計算ώ各低動態範^影像資料巾各像素的明度值 _以及Sobel遮罩計算值。 而明度調整模組亦用以對該s〇bel遮罩計算值為〇 的影像區域明度值求取平均值以作為明度值調整的依 據,又對曝光過度的影像捨去高於平均值的影像明度,以 及對曝光不足的影像捨去低於平均值的影像明度,進而將 影像明度值在U100之預設範圍内重新調整影像明度以 擴大其動態範圍。 再者’影像合成模組係用以分割各明度調整影像資料 110761 6 200950533 並產生相對應之影像區塊,再分析出各特定影像區塊的權 重比值,最後則依據權重比值疊合複數組明度調整影像資 料的影像區塊進而產生高動態範圍影像。 .. 最後,色溫調控模組係用以建立不同光源下所呈現的 L、a、b色度座標,以計算出6、(]、^1、丫、¥五個參考色 點於不同光源下色溫改變的移動執跡,再計算出影像像素 與該五條移動執跡之最短距離,進而估計出原始影像色 溫,最後再依原始影像色溫對高動態範圍影像中的特定影 0像區塊進行色溫模擬調控。 本發明的高動態範圍合成影像色溫調控系統復包 含:影像收集模組與影像儲存模組。 其中,影像收集模組係用以收集複數組同景物不同光 源下的低動態範圍影像資料,並提供該複數組低動態範圍 影像資料給明度調整模組。又影像儲存模組係用以儲存影 像收集模組所收集的複數組低動態範圍影像資料,亦用以 提供複數組低動態範圍影像資料至明度調整模組。 ® 本發明的高動態範圍合成影像色温調控方法,首先, 係對複數組低動態範圍影像資料進行明度調整,以擴大其 動態範圍,進而產生複數組明度調整影像資料;其次,再 對各該明度調整影像資料進行分割,以於各該明度調整影 像資料中產生相對應之影像區塊;接著,分析各該明度調 整影像資料中特定影像區塊的權重比值,再依據各該權重 比值對該複數組明度調整影像資料疊合該特定影像區 塊,進而產生高動態範圍影像;最後,則採用G、C、Μ、 7 110761 200950533 y、w,五個參考色點估計出該特定影縣塊的原始影像色 溫’亚依據該原始影像色溫對該高動態範圍影像中對應特 定影像區塊之影像進行色溫模擬調控。 此外,本發明的高動態範圍合成影像色溫調控方法於 ^行步驟前,復包含:先擷取複數組於同一場景不同光源 環境下的低動態範圍影像資料,再提供複數組低動態範圍 影=資料。特需強調的是’於掏取複數組該低動態範圍影 像:料後,亦可使該複數組低動態範圍影像資料儲存為影 〇像:料庫X可令像㈣庫提供該複數組低動態範圍影 而本發明的高動態範圍合成影像色溫調控方法中,復 包含:先將彩色的影像資料轉換成灰階影冑,再利用 S: b e 1遮罩進行邊緣偵測,以判斷出影像中因曝光不足或 = 失影像細節的影像;接著,計算出各該低動 U圍4資财各像素㈣度值以及遮 Ο =:T〇bel遮罩計算值為0的影像區域明度值求取; 對曝光過度的影像捨去高於平均值的影像明 擴大;幻G G之預設範圍内4新調整,以初步 擴大原始影像之動態範圍。 包含mm態範圍合成影像色溫調控方法中,復 ==、w五個參考色點於不同光源下色溫改 又的移動_,再計算出㈣料與以 110761 8 200950533 短距離,進而定義出原始影像的估計色溫。 ^ ^上可知,本發明之高動態範圍合成影像色溫調控系 、,、Ί控方法’係先令明度調整模低 ··—=,態範圍,再令影像合成模組產生相對二 :·】:二,權重比值使複數組影像資料以影像區:: 仃宜σ,以產生兩動態範圍影像,最後令杵 模組採用G、C、Μ、Υ、WΑ 〇周控The Sobel mask performs edge detection to determine the image in the image that has lost image detail due to underexposure or overexposure, and then makes the s〇bei mask to perform numerical calculation, and the pixels of each low dynamic image image data towel The brightness value _ and the Sobel mask calculated value. The brightness adjustment module is also used to average the brightness value of the image area whose calculated value is 〇 as the basis for the brightness value adjustment, and to discard the image above the average value for the overexposed image. Brightness, as well as the image brightness below the average for the underexposed image, and then re-adjust the brightness of the image within the preset range of U100 to expand its dynamic range. Furthermore, the image synthesis module is used to segment each brightness adjustment image data 110761 6 200950533 and generate corresponding image blocks, and then analyze the weight ratio of each specific image block, and finally superimpose the complex array brightness according to the weight ratio. Adjust the image block of the image data to produce a high dynamic range image. Finally, the color temperature control module is used to establish the L, a, b chromaticity coordinates presented by different light sources to calculate the five reference color points of 6, (1), ^1, 丫, and ¥ under different light sources. The color temperature changes the movement, and then calculates the shortest distance between the image pixel and the five moving traces, and then estimates the original image color temperature, and finally performs color temperature on the specific shadow 0 image block in the high dynamic range image according to the original image color temperature. The high dynamic range synthetic image color temperature control system of the present invention comprises: an image collection module and an image storage module. The image collection module is configured to collect low dynamic range image data under different light sources of a complex array and a scene. And providing the complex array of low dynamic range image data to the brightness adjustment module. The image storage module is used to store the complex array of low dynamic range image data collected by the image collection module, and is also used to provide a complex array with low dynamic range. Image data to brightness adjustment module. The high dynamic range synthetic image color temperature control method of the present invention, firstly, the complex array low dynamic range image The brightness adjustment is performed to expand the dynamic range, thereby generating a complex array brightness adjustment image data; secondly, each brightness adjustment image data is segmented to generate corresponding image blocks in each brightness adjustment image data; Then, analyzing the weight ratio of the specific image block in each of the brightness-adjusted image data, and then adjusting the image data of the complex array brightness to overlap the specific image block according to the weight ratio, thereby generating a high dynamic range image; and finally, Using G, C, Μ, 7 110761 200950533 y, w, five reference color points to estimate the original image color temperature of the particular shadow block, based on the original image color temperature, corresponding to the specific image block in the high dynamic range image. The image is subjected to color temperature simulation control. In addition, the high dynamic range synthetic image color temperature control method of the present invention is preceded by a step of: capturing a low dynamic range image data of a complex array in different light source environments in the same scene, and then providing a plurality of images. Group low dynamic range shadow = data. The special need to emphasize is 'to capture the complex array of the low dynamic range shadow After the material is processed, the complex array low dynamic range image data can also be stored as a shadow image: the library X can make the image (4) library provide the complex array low dynamic range shadow and the high dynamic range synthetic image color temperature control method of the invention , the complex includes: first converting the color image data into gray scale shadow, and then using the S: be 1 mask for edge detection to determine the image in the image due to insufficient exposure or = image loss; then, calculate Each of the low-motion U-four funds (four) degrees and the concealer =: T〇bel mask calculated value of 0 image area brightness value; for over-exposed images, the image above the average value is discarded Expanded; 4 new adjustments within the preset range of the Magic GG to initially expand the dynamic range of the original image. In the color temperature control method of the synthetic image including the mm state range, the complex reference color points of the ==, w five color points are changed under different light sources. The movement _, then calculate the (four) material and the short distance of 110761 8 200950533, and then define the estimated color temperature of the original image. ^ ^ It can be seen that the high dynamic range synthetic image color temperature control system of the present invention, the control method of the syllabic brightness adjustment mode low ··-=, the state range, and then the image synthesis module produces a relative two: : Second, the weight ratio makes the complex array image data into the image area:: 仃 σ, to generate two dynamic range images, and finally the 杵 module adopts G, C, Μ, Υ, WΑ 〇 weekly control
μι 五個參考色點估計出特定影像P 塊的原始影像色溫,再依外 ?“象& ❹定影像區塊之影像進行色;模擬n圍影像中對應特 色杈极调控。如此,自能改善習 = 成技術中,合成高動態範圍‘ ^的每境光源或產生不自然影像之缺憾。 L只施方式】 以下係藉由特定的具體實例說明本發明之實 瞭解本發明之本說明書所揭示之内容輕易地 的==與功效。本發明亦可藉由其他不同 ❹美二 行或制,本說明書中的各項細節亦可 修飾與變更。 纟不_本發明之精神下進行各種 非以L下之貫施例係進一步詳細說明本發明之觀點,但並 非以任何觀點限制本發明之範疇。 請參閱第1圖,„ 溫調控系統之架構示音圖本tr高動態範圍合成影像色 圍合成影像色溫調控;:::,本發明之高動態範 H k丄 糸、、先10係包含:明度調整模組11、 衫像合成模組12與色溫調控模組13。 110761 9 200950533 其中’明度調整模組u係用以於接收複數組低動態 範圍影像資料後,將彩色的影像資料轉換成灰階影像,並 利用Sobel遮罩對灰階影像進行邊緣備測,以判斷出影像 中因曝光不足或曝光過度而喪失影像細節的影像。此外, :·亦可用以使Sobel遮罩進行數值計算,以計算出各低動態 範圍影像資料中各像素的明度值以及S〇bel遮罩計算值。 μ此外,明度調整模!且u復能用以針對咖61遮罩計 =值為0的景彡像區域明度值求取平均值,再捨去影像明度 ©焉於平均值㈣光過度影像與對影像明度低於平均值的 =光不足影像,最後再將影像明度值以…00的預設範 内^新調整影像明度,進而擴大原始影像的動態範圍。 ❹ 影像合成模組12係用以分割各明度調整影像資料並 生相對應之影像區塊,並分析各特定影像區塊的權重比 此外β像合成模組!2復能用以依據權重比值疊合 圍影^度㈣影像f料的影像區塊進而產生高動態範 的τ色'皿凋控拉組13主要是用以建立不同光源下所呈現 點以古b色度座標’再採用G、C、M、Y、W五個參考色 軌跡::麥考色點於不同光源下色溫改變的移動 離。、多、、w而计算出影像像素與該五條移動軌跡之最短距 離—羞Γ調控拉組13復可用以依照像素與色溫點最短距 態範112料像之估計色溫,進而依該估計色溫對高動 控模組^3 ,中。的特定影像區塊進行色溫模擬調控。色溫調 亦可用以使各影像區域經色溫調控模擬出之合 110761 10 200950533 成影像結合,進而產生出一張完整的高動態範圍色溫調控 合成影像。 請參閱第2a圖,其係用以顯示本發明之高動態範圍 -合成影像色溫調控方法之主要流程圖。如圖所示,本發明 ..的高動態範圍合成影像色溫調控方法包含以下步驟。 於步驟S1中,係對複數組低動態範圍影像資料進行 明度調整,以擴大其動態範圍,進而產生複數組明度調整 影像資料。接著進至步驟S2。 ❹ 於步驟S2中,係對各該明度調整影像資料進行分 割,以於各該明度調整影像資料中產生相對應之影像區 塊。接著進至步驟S3。 於步驟S3中,係分析各該明度調整影像資料中特定 影像區塊的權重比值,並依據其決定影像資料中各該特定 影像區塊之疊合比例,再依該疊合比例進行影像疊合以產 生高動態範圍影像。接著進至步驟S4。 於步驟S4中,係採用G、C、Μ、Y、W五個參考色點 估計出該特定影像區塊的原始影像色溫,並依據該原始影 像色溫,對該高動態範圍影像中對應特定影像區塊之影像 進行色溫模擬調控。 再請參閱第2b圖,其係用以顯示本發明之高動態範 圍合成影像色溫調控方法較具體之流程圖,如圖所示,本 發明的高動態範圍合成影像色溫調控方法於執行步驟S1 前復包含步驟S01。 於步驟S01中,係擷取並提供複數組於同一場景不同 π 110761 200950533 光源環境下的低動態 驟si。 範圍影像資料。接著再進至前述之步 •入成旦:傻Γ第2c圖’其係用以顯示本發明之高動態範固 •口: I溫調控方法較具體之流程圖, :S(H復可包含步驟_與_。 ^步驟 資料::::,,令擷取的複數組低動態範圍的影像 、十储存為衫像賢料庫。接著進至步驟5〇丨2。 ❹圍影料庫提供複數組低動態範 貝了寸接者再進至前述之步驟S1。 圍人閱第2d圖’其係用以顯示本發明之高動態範 ^ 口成讀色溫馳方法較具體之流程圖,如圖所示 明的向動態範圍合成影像色溫調控 可包含步驟川、512與如。 ”…复 於步驟S11中,令該複數組低動態 資料,再利一遮罩對其進行換 ❹斷出衫像中因曝光不足或曝光過度而喪失影像細節 的衫像。接著進至步驟S12。 於步驟S12中,計异出各該低動態範圍影像資料中各 f素的明度值以及s〇bel遮罩計算值,再對%㈤遮罩計 鼻值為0的影像區域明度值求取平均值。接著進至步驟 S13。 ^於步驟S13中’對曝光過度的影像捨去高於平均值的 衫像明度’並對曝光不足的影像捨去低於平均值的影像明 度再將影像明度值在1至100之預設範圍内重新調整, 110761 12 200950533 進而產生該複數組明度調整影像資料。 請參閱第2e圖,:i:传用 — 人么 八知用以嘁不本發明之高動態範園 合成影像色溫調控方法較且舻 孚乂八體之奴轾圖,如圖本發 ·.-明的高動態範圍合成影像色 ΰ所不界; 包含步驟S4US42色^周控方法中,步驟以復< 於步驟S41中,先違古τ门l、E .^ r4a 无建立不同先源下所呈現的L、a、b 色度座標,以計算,屮η、r ,. , # ^ -p ^ ^ 、M、Y、W五個參考色點於不同 光源下色〉JBL改變的務叙勒时 ,^ 又㈣勳軌跡。接著進至步驟S42。 © 於步驟S42中,再計曾屮旦彳择你主冰 .^ ^ ^出衫像像素與該五條移動軌跡 之取紐距離,進而估計出原始影像色溫。 請參閱第2f圖,:i:传用弓 入#與# a、w ^ ^ 八’、用^顯不本發明之高動態範圍 口 ^像色^控方法較具體之流程圖,如 明的尚動態範圍合成影像色溫調控方 復包含步驟S5。 ^^驟34後 ❹ 進而中’結合各經色溫馳合成之影像區域, 張完整的高動態範圍色溫調控合成影像。 步驟S4之操作,俜採用G Γ Μ色血调控模組13以及 不同… Mm個參考色點在 不同先源所L、a、b色度座標中,色、、β ,,^ ,, 00 r巴/皿改變的移動軌跡取 代傳、先早-黑體移動執跡作為色溫評估之依據。 於本實施例中,其作法為,首先使用下述兩公式, 尤=<Σκ. U=. Ϋ 7 t V D ,=。 ; ^ " c·' z^kXKA/zci 9 /*〇 ’ 80 ΟΛ 以及 (公式1) 110761 13 100 200950533 80 Έρ〇/ yc,t k (公式2) ,計算出五個參考色點的頻譜分布,進而獲得五個參考色 ,點的二刺激值孓、K、忑。1中々 .^ ^ 八中e係用以作為正規化,尺,, :為物肢的頻譜反射率或頻譜透鼾f P„ 佈(日”明心曰、 率為照明光的頻譜分 灸考、色月、U’為配色函數’ C代表不同的 r\ .表國際照明委員會(C0ffimission n ernatlonal d’ Eclairage,簡稱 cie)所提供之配色 ©函數81個離散點。 ^欠,湘條件等色之原理,藉由下述^ 四次多項式, 及=以 +Cc2(1 0 80· 計算出一個可能的物體頻譜反射率尽,其中, ❹ / = ο·..8〇,係數ce,。〜為曲線的控制點。又假設心盥1 再帶入公式1中可得: /、’馬 xc I z„ C( Cc c C,1 ,其中,c同樣為五個參考色點,Q。與Q 4 為〇’从触採用D65光源以及CIE配色函數所得求出之 465.7061 620.2930 496.8568' 41736671 710.4383 629.5997 61.2737 327.0732 883.5642 MDt 於此,當求出參考色頻 譜反射率後,再利用上述公式1與公式2,便能對參考色 進行置換光源的計算,進而求出新的L、a、b色戶值。 110761 14 200950533 接著,利用Sobe 1遮罩處理不同曝光程度原始影像資 料中的資訊範圍,以將含有影像資訊的像素點換算為L、 a、b值,而無影像資訊的像素點則將像素強度調為0。 ;. 再根據最短距離運算方法,將前述五條色溫軌跡進行 . 最短距離運算,以比對出與執跡最接近的像素點,進而定 義出各色溫執跡中與該影像像素點最接近的色溫點為原 始影像的估計色溫。 之後,參考CIE色溫換算照明光能量公式,將求出的 ❹估計色溫代入CIE色溫換算照明光能量公式中,以求原始 低動態範圍影像中特定區域之照明光能量,並利用相同公 式計算出高動態範圍合成影像中該特定區域之照明光能 量,再使用上述影像公式進行光源置換,即可求得該特定 區域之新三刺激值。 接著利用該新三刺激值模擬出該特定區域之經色溫 調控合成影像,最後將各影像區域經色溫調控模擬出之合 π成影像結合後,即可產生出一張完整的高動態範圍色溫調 〇 控合成影像。 綜上可知,本發明之高動態範圍合成影像色溫調控系 統及其調控方法,係先令明度調整模組擴大低動態範圍影 像資料之動態範圍,再令影像合成模組產生相對應之影像 區塊,並依據各權重比值使複數組影像資料以影像區塊為 單位進行疊合,以產生高動態範圍影像,又令色溫調控模 組採用G、C、Μ、Y、W五個參考色點估計出特定影像區塊 的原始影像色溫,再依其對該高動態範圍影像中對應特定 15 110761 200950533 影像區塊之影像進行色溫模擬調控,最後將各影像區域經 色溫調控模擬出之合成影像結合後,即可產生出一張完整 的高動態範圍色溫調控合成影像。 > 如此,自能改善習知高動態範圍影像合成技術中,合 . 成高動態範圍影像後,卻發生失去原有的環境光源或產生 不自然影像之缺憾。 上述實施例僅例示性說明本發明之原理及其功效,而 非用於限制本發明。任何熟習此項技藝之人士均可在不違 ❹背本發明之精神及範疇下,對上述實施例進行修飾與改 變。因此,本發明之權利保護範圍,應如後述之申請專利 範圍所列。 【圖式簡單說明】 第1圖為本發明之高動態範圍合成影像色溫調控系 統之架構示意·圖;以及 第2a圖為本發明之高動態範圍合成影像色溫調控方 法之主要流程圖, 第2b圖之本發明之高動態範圍合成影像色溫調控方 法較具體之流程圖; 第2c圖之本發明之高動態範圍合成影像色温調控方 法較具體之流程圖; 第2d圖之本發明之高動態範圍合成影像色溫調控方 法較具體之流程圖; 第2e圖之本發明之高動態範圍合成影像色溫調控方 法較具體之流程圖;以及 16 110761 200950533 第2f圖之本發明之高動態範圍合成影像色溫調控方 法較具體之流程圖。 【主要元件符號說明】 ;10 高動態範圍合成影像色溫調控系統 • 11 明度調整模組 12 影像合成模組 13 色溫調控模組 S1-S4 步驟 ❹S01 步驟 S01卜S012步驟 S11〜S13 步驟 S41〜S42 步驟 17 110761Μι The five reference color points estimate the original image color temperature of the P block of the specific image, and then perform the color according to the image of the image block; the corresponding characteristic bungee control in the simulated n surrounding image. Thus, self-energy In the improvement of the technique, the high dynamic range of the '^ is generated by the ambient light source or the defect of producing an unnatural image. L. The following is a specific example to explain the present invention. The content of the disclosure is easily == and the effect. The invention can also be modified or changed in various details by using the other two different lines or systems. The present invention is further described in detail with reference to the embodiments of the present invention, but does not limit the scope of the present invention in any way. Please refer to Fig. 1, „structure control diagram of the temperature control system, tr high dynamic range synthetic image color The color dynamic temperature control of the synthetic image;:::, the high dynamic range H k丄糸, the first 10 series of the present invention comprises: a brightness adjustment module 11, a shirt image synthesis module 12 and a color temperature control module 13. 110761 9 200950533 The 'brightness adjustment module u is used to receive the complex array of low dynamic range image data, convert the color image data into grayscale image, and use the Sobel mask to perform edge preparation on the grayscale image. An image in which the image details are lost due to underexposure or overexposure in the image. In addition, : · can also be used to make the Sobel mask numerical calculation to calculate the brightness value of each pixel in each low dynamic range image data and the S〇bel mask calculation value. μ In addition, the brightness adjustment mode! and u complex energy can be used to average the brightness value of the image area of the image of the coffee mask 61 = 0, and then the image brightness is reduced by the average value (4) light over-image and For images with insufficient lightness below the average value, the image brightness value is adjusted to the brightness of the image with a preset brightness of ...00, thereby expanding the dynamic range of the original image.影像 The image synthesis module 12 is used to segment each brightness adjustment image data and corresponding image blocks, and analyze the weight ratio of each specific image block. Further β image synthesis module! 2 complex energy is used to superimpose the image of the image according to the weight ratio (4) image f material, and then generate a high dynamic range of τ color 'dish control group 13 is mainly used to establish the point under the different light source to the ancient b The chromaticity coordinates 're-use the five reference color trajectories of G, C, M, Y, and W:: The movement of the color temperature changes under different light sources. , multi, w, and calculate the shortest distance between the image pixel and the five moving trajectories - the shy control pull group 13 can be used to calculate the color temperature according to the pixel and the color temperature point shortest distance state 112, and then according to the estimated color temperature High dynamic control module ^3, medium. The specific image block performs color temperature simulation control. The color temperature adjustment can also be used to make the image area combined by the color temperature control simulation 110761 10 200950533 to generate a complete high dynamic range color temperature control synthesis image. Please refer to Fig. 2a for showing the main flow chart of the high dynamic range-synthetic image color temperature control method of the present invention. As shown in the figure, the high dynamic range synthetic image color temperature control method of the present invention comprises the following steps. In step S1, brightness adjustment is performed on the complex array low dynamic range image data to expand the dynamic range, thereby generating complex array brightness adjustment image data. Then it proceeds to step S2.步骤 In step S2, each of the brightness-adjusted image data is divided to generate a corresponding image block in each of the brightness-adjusted image data. Then it proceeds to step S3. In step S3, the weight ratio of the specific image block in each of the brightness-adjusted image data is analyzed, and the overlapping ratio of each of the specific image blocks in the image data is determined according to the method, and the image folding is performed according to the overlapping ratio. To produce high dynamic range images. Then it proceeds to step S4. In step S4, the original image color temperature of the specific image block is estimated by using five reference color points of G, C, Μ, Y, and W, and corresponding to the specific image in the high dynamic range image according to the original image color temperature. The image of the block is subjected to color temperature simulation control. Please refer to FIG. 2b, which is a flowchart for displaying the high dynamic range synthetic image color temperature control method of the present invention. As shown in the figure, the high dynamic range synthetic image color temperature control method of the present invention is performed before step S1. Step S01 is included. In step S01, the system selects and provides a low dynamic sequence si in the light source environment of the same scene different π 110761 200950533. Range image data. Then proceed to the previous step. • Into the Dan: Stupid 2c Figure' is used to display the high dynamic Fangu port of the present invention: I temperature control method is more specific flow chart, :S (H complex can contain Step _ and _. ^Step data::::,, so that the captured complex array of low dynamic range images, ten stored as a shirt like a syllabus. Then proceed to step 5 〇丨 2. ❹ 影 影 影 提供The complex array low dynamic fan is connected to the foregoing step S1. The second figure is used to display the high dynamic range of the present invention into a color reading method, such as a specific flow chart, such as The color temperature adjustment to the dynamic range synthetic image shown in the figure may include steps 512, 512, and the like. "... Repeating in step S11, the complex array is made of low dynamic data, and then the mask is replaced with a mask. If the image of the image is lost due to insufficient exposure or overexposure, the process proceeds to step S12. In step S12, the brightness value of each element in the low dynamic range image data and the s〇bel mask are calculated. Calculate the value, and then average the image area brightness value of the % (five) mask with a nose value of 0. Then, the process proceeds to step S13. In step S13, 'the image of the over-exposed image is rounded off to the average value, and the image of the under-exposed image is rounded off and the image brightness value is set to 1 Re-adjust to the preset range of 100, 110761 12 200950533 and then generate the complex array brightness adjustment image data. Please refer to Figure 2e, :i: pass-through-------------------------------- Synthetic image color temperature control method is better than the 舻 乂 乂 之 之 , , , , , , , , , , , , , , , , , , , , 高 高 高 高 高 高 高 高 高 高 高 高 高 高 高 高 高 高 高 高 高 高 高< In step S41, the L, a, b chromaticity coordinates presented by different precursors are not established for the first time, and 屮η, r, . , # ^ -p ^ ^ , M, Y, W five reference color points under different light sources > JBL changed the syllabus, ^ (4) honour track. Then proceed to step S42. © In step S42, re-calculate Your main ice. ^ ^ ^ The ratio of the pixel to the pixel and the five moving trajectories, and then estimate the original Image color temperature. Please refer to Figure 2f, :i: Passing the bow in ############################################################################## For example, the dynamic range of the synthetic image color temperature control method further includes the step S5. ^^Step 34 ❹ and then the 'image area combined with each color temperature synthesis, the complete high dynamic range color temperature control synthesis image. Step S4 operation , 俜 Use G Γ Μ color blood regulation module 13 and different... Mm reference color points in different ancestors L, a, b chromaticity coordinates, color, β, ^, ^, 00 r bar / dish change The moving track replaces the transmission, the early early-black body movement as the basis for the color temperature evaluation. In the present embodiment, the first two formulas are used first, especially = < Σκ. U=. Ϋ 7 t V D ,=. ; ^ " c·' z^kXKA/zci 9 /*〇' 80 ΟΛ and (Formula 1) 110761 13 100 200950533 80 Έρ〇/ yc,tk (Equation 2), calculate the spectral distribution of the five reference color points , and then obtain five reference colors, the diacceptive values of the points 孓, K, 忑. 1中々.^ ^ The eight-e-series is used as a regularization, ruler, and: for the spectral reflectance or spectrum of the limbs, f P„布(日”明心曰, the rate of illumination light spectrum moxibustion test , color month, U' is the color matching function 'C stands for different r\. Table International Lighting Commission (C0ffimission n ernatlonal d' Eclairage, referred to as cie) provides color matching © function 81 discrete points. The principle, by the following ^ fourth-order polynomial, and = +Cc2 (1 0 80 · calculate a possible object spectral reflectivity, where ❹ / = ο·..8〇, coefficient ce,. It is the control point of the curve. It is also assumed that the heart 盥 1 is brought into the formula 1 and can be obtained: /, 'horse xc I z„ C( Cc c C,1 , where c is also five reference color points, Q. Q 4 is 465 'from the touch using D65 light source and CIE color matching function to obtain the 46.70661 620.2930 496.8568 ' 41736671 710.4383 629.5997 61.2737 327.0732 883.5642 MDt Here, after determining the reference color spectrum reflectivity, then use the above formula 1 and formula 2 , the calculation of the replacement light source can be performed on the reference color, and then the new L, a can be obtained. b color household value. 110761 14 200950533 Next, use Sobe 1 mask to process the information range in the original image data of different exposure levels, to convert the pixel points containing image information into L, a, b values, and pixels without image information The point is to adjust the pixel intensity to 0. ;. According to the shortest distance calculation method, the above five color temperature trajectories are performed. The shortest distance operation is performed to compare the pixel points closest to the trajectory, thereby defining the color temperature trajectories. The color temperature point closest to the image pixel is the estimated color temperature of the original image. After that, the illumination light energy formula is converted according to the CIE color temperature, and the obtained ❹ estimated color temperature is substituted into the CIE color temperature conversion illumination light energy formula to obtain the original low dynamic. The illumination light energy of a specific area in the range image is calculated, and the illumination light energy of the specific area in the high dynamic range synthetic image is calculated by the same formula, and then the light source replacement is performed by using the above image formula, and the new three stimulation of the specific area can be obtained. The new tristimulus value is then used to simulate the color temperature-controlled synthetic image of the specific region, and finally the images are After the image is combined with the π-forming image of the color temperature control simulation, a complete high dynamic range color temperature 〇 control synthesis image can be generated. In summary, the high dynamic range synthetic image color temperature control system of the present invention and The control method is to enable the brightness adjustment module to expand the dynamic range of the low dynamic range image data, and then cause the image synthesis module to generate corresponding image blocks, and make the complex array image data in image blocks according to the weight ratios. The superimposition is performed to generate a high dynamic range image, and the color temperature control module uses the five reference color points of G, C, Μ, Y, and W to estimate the original image color temperature of the specific image block, and then according to the high dynamic In the range image, the color temperature is controlled by the image corresponding to the specific 15 110761 200950533 image block. Finally, the composite image combined with the color temperature control image is combined to generate a complete high dynamic range color temperature control synthetic image. > Thus, in the improvement of the conventional high dynamic range image synthesis technology, the high dynamic range image is lost, but the original environmental light source or the unnatural image is lost. The above-described embodiments are merely illustrative of the principles of the invention and its effects, and are not intended to limit the invention. Modifications and alterations to the above-described embodiments can be made by those skilled in the art without departing from the spirit and scope of the invention. Therefore, the scope of protection of the present invention should be as set forth in the scope of the patent application to be described later. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a schematic diagram of the structure of a high dynamic range synthetic image color temperature control system of the present invention; and Fig. 2a is a main flow chart of a high dynamic range synthetic image color temperature control method of the present invention, 2b FIG. 2 is a flow chart of the high dynamic range synthetic image color temperature control method of the present invention; FIG. 2c is a flow chart of the high dynamic range synthetic image color temperature control method of the present invention; A specific flow chart of a synthetic image color temperature control method; a specific flow chart of a high dynamic range synthetic image color temperature control method of the present invention in FIG. 2e; and a high dynamic range synthetic image color temperature control of the present invention in 16 110761 200950533 2f The method is more specific to the flow chart. [Main component symbol description]; 10 High dynamic range synthetic image color temperature control system • 11 Brightness adjustment module 12 Image synthesis module 13 Color temperature control module S1-S4 Step ❹S01 Step S01 Bu S012 Step S11~S13 Steps S41~S42 17 110761