200917818 九、發明說明: 【發明所屬之技術領域】 本發明涉及一種數位攝像設備,尤其涉及一種具有白 平衡調整功能之數位攝像電子設備及白平衡調整方法。 【先前技術】 目前自動白平衡調整中,係根據現場光源亮度及光源 中紅、綠、藍成分之比重來進行白平衡模式之選擇。此類 方法存在一定誤判情況。如將室外傍晚或陰天等低色溫場 景誤判為室内,從而對照片進行藍色補償,造成無法還原 真實之室外場景,無法達到預想之效果。 【發明内容】 鑒於此,有必要提供一種白平衡調整系統及其白平衡 調整方法。 一種用於數碼攝像裝置之白平衡調整系統,該系統包 括:一個全球定位系統模塊、一個處理器及一個白平衡調 整模塊。所述全球定位系統模塊用於獲取衛星發出之載有 位置資訊及時間資訊之訊號,並輸出所述位置資訊、所述 時間資訊及當前位置之訊號強度;所述處理器内部預設有 一個訊號強度閾值,該處理器接收所述全球定位系統模塊 輸出之訊號強度並將該訊號強度與所述訊號強度閾值進行 比較,根據比較結果判斷當前環境係室内還是室外,所述 處理器還用於判斷全球定位系統之可用狀態;所述白平衡 調整模塊用於根據處理器之判斷結果,進行白平衡調整。 本發明還提供一種白平衡調整方法。 200917818 一種用於數碼攝像裝置之白平衡調整方法,該方法包括如 下步驟:首先判斷GPS是否可用;當全球定位系統可用時, 接收衛星發出之載有位置資訊及時間資訊之訊號,並輸出 所述位置資訊、所述時間資訊及當前位置之訊號強度;根 據GPS之訊號強度與預設之訊號強度閾值比較,判斷當前 環境係室内還是室外;最後根據判斷出之室内或室外結 果,進行白平衡調整。 上述白平衡調整系統及方法,可以通過GPS訊號之強 度及其輸出位置資訊與時間資訊來協助數碼攝像裝置判斷 拍照場景,可以彌補傳統白平衡室内外誤判之情形。 【實施方式】 請參閱圖1,其為一較佳實施方式之白平衡调整系统 之功能模块图。本實施方式中以數位相機為例進行說明。 所述處理器11,該處理器11内部預設有一個訊號強度 閾值,一個第一緯度閾值、一個第二緯度閾值,於本實施 例中,為提高處理速度,採用兩個緯度閾值,來劃分三個 緯度帶,即高、中、低三個緯度帶。如果需要,可以設置 更多個緯度閾值,劃分更細之緯度帶。於本實施例中,第 一緯度閾值係30度,第二緯度閾值係60度。高緯度係指 大於60度之緯度,中緯度係指大於等於30度且小於等於 60度之緯度,低緯度係指小於30度之緯度。 所述記憶體14用於保存一個内建表。該内建表列出 高、中、低緯度每段時間對應之白平衡補償值。 所述處理器11判斷GPS模塊12是否於可用狀態,即 200917818 是否可以接收到衛星發出之資料。各 收到衛星發出之資料時,則Gps ;二,塊12可以接 兵了寸才只J GPS模塊12處於可用狀 =果肥模塊12不能接收到衛星發出之資料時,則⑽ 模塊12不可用,此時,白平衡調整模塊13採用傳統白平 衡調整’即根據現場光源亮度及光源中紅、綠、藍成分之 比重來進行白平衡模式之選擇。 當GPS模塊12處於可用狀態時,處理器η根據從 GPS模塊12中接收之訊號強度與處理器η本身預設之訊 號強度閾值進行比較,判斷當前係於室内還是室外,當訊 號強度大於所述強度閾值時,則判斷當前環境為室外;當 訊號強度小於等於所述強度閾值時,則判斷當前環境為室 内。例如,一般於室内之訊號強度係小於等於-145dbm(毫 瓦分貝)’如果於此範圍内,就判斷當前環境為室内,而於 室外一般係大於-145dbm,於此範圍内,則判斷當前環境為 室外。 當所述處理器11判斷出當前處於室外環境時’處理器 11根據從GPS模塊12中接收之衛星之個數與處理器11本 身預設之衛星數目進行比較,判斷是否可以成功定位。例 如,如果衛星數目不小於四顆,則認為可以成功定位。因 為於室外不同緯度,承受可見光之輻射強度不同’而且室 外不同時間段,日光強度不同,所以於室外定位成功後’ 還需要瞭解室外當時之日照強度。 GPS模塊12可以輸出當前之經緯度及格林威治時間’ 所以可以利用GPS模塊12判斷當前位置之經緯度’處理 200917818 器11根據當前位置之經度,計算出當前位置與格林威治時 間之時差,得到當地時間。處理器11根據當前緯度之高低 及當時之時間於記憶體14中之内建表中查找與之相對應 之室外白平衡調整補償值,處理器11將白平衡補償值輸出 至白平衡調整模塊13,進行白平衡調整。例如,於室外白 天之情況下,正午時段處於低緯度之非洲,因為室外亮度 很高,可能輸出抑制亮度之白平衡補償值,但如果係同時 段之處於高緯度之極圈附近,就可以輸出提高亮度之白平 衡補償值。 當GPS模塊12無法定位時。例如,當拍攝者於峽谷 一線天,或係位於高樓林立處,由於有遮蔽,雖然訊號很 強,但仅能接收到數量較少之衛星,不足以定位時,則採 用第一室外白平衡模式進行調整,該第一室外白平衡模式 調整係白平衡調整模塊13内部預設之一種室外白平衡模 式調整方式。 請參閱圖2,其為一較佳實施方式之白平衡調整方法 之流程圖。 一種白平衡調整方法,包括如下步驟: 步驟S101,處理器11判斷GPS模塊12是否於可用狀 厶匕 · m - 步驟S201,當GPS模塊12於不可用狀態,利用白平 衡調整模塊13根據現場光源亮度及光源中紅、綠、藍成分 之比重來進行白平衡模式之選擇,即採用傳統之白平衡調 200917818 步驟S102,當步驟S101判斷出GPS模塊12於可用狀 態時,將GPS模塊12輸出之訊號強度與處理器11内預設 之訊號強度閾值進行比較,判斷是否超過該閾值,本實施 例中,所述閾值為-145dbm ; 步驟S103,當GPS模塊12輸出之訊號強度超過處理 器11内預設之訊號強度之閾值時,則認為攝像裝置所處環 境為室外,根據從GPS模塊12中接收之衛星數目是否超 過處理器11預設之數目,判斷是否可以成功定位,本實施 例中,所述閾值為-145dbm,預設之數目為四顆; 步驟S104,當定位成功後,根據GPS模塊12輸出資 料中之緯度與處理器11内預設之緯度閾值進行比較,判斷 當前所處緯度之高低,且處理器11根據GPS模塊12輸出 資料中之經度及格林威治時間,計算出當地時間,讀取記 憶體14中之内建表,確定當前緯度、當前時間之白平衡補 償值,根據白平衡補償值進行第二室外白平衡調整,所述 第二室外白平衡調整係白平衡調整模塊13根據内建表中 之白平衡補償值,直接對攝取之圖像進行白平衡調整。本 實施例中,所述第一緯度閾值為30度,第二緯度閾值為 60度; 步驟S301,當步驟S102中GPS模塊12之訊號強度小 於等於強度之閾值時,則認為攝像裝置所處環境為室内, 白平衡調整模塊13利用室内白平衡模式進行白平衡調 整,本實施例中,所述閾值為-145dbm ; 步驟S401,當步驟S103中判斷無法定位時,白平衡 11 200917818 調整模塊13進行第一室外白平衡模式調整,該第一室外白 平衡模式調整係白平衡調整模塊13内部預設之一種室外 白平衡模式調整方式。 利用本發明可根據GPS訊號強度,其輸出之位置參數 及時間參數協助數碼攝像裝置判斷拍照所處環境係室内還 是室外,進而彌補傳統白平衡室内外誤判之情形。 綜上所述,本發明符合發明專利要件,爰依法提出專 利申請。惟,以上所述者僅為本發明之較佳實施方式,本 發明之範圍並不以上述實施方式為限,舉凡熟悉本案技藝 之人士援依本發明之精神所作之等效修飾或變化,皆應涵 蓋於以下申請專利範圍内。 【圖式簡單說明】 圖1為一較佳實施方式之一種白平衡調整系統之功能模塊圖; 圖2為一較佳實施方式之一種白平衡調整方法之流程圖。 【主要元件符號說明】 處理器 11 GPS模塊 12 白平衡模塊 13存儲器 14 12BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a digital imaging apparatus, and more particularly to a digital imaging electronic device having a white balance adjustment function and a white balance adjustment method. [Prior Art] At present, in the automatic white balance adjustment, the white balance mode is selected according to the brightness of the spot light source and the proportion of the red, green, and blue components in the light source. There are certain misjudgments in such methods. For example, if the low color temperature scene such as outdoor evening or cloudy is mistakenly judged as indoor, the blue compensation of the photos will result in the inability to restore the real outdoor scene, and the expected effect cannot be achieved. SUMMARY OF THE INVENTION In view of the above, it is necessary to provide a white balance adjustment system and a white balance adjustment method thereof. A white balance adjustment system for a digital camera device, the system comprising: a global positioning system module, a processor and a white balance adjustment module. The global positioning system module is configured to acquire a signal sent by the satellite and carry the location information and the time information, and output the location information, the time information, and the signal strength of the current location; the processor is internally provided with a signal The intensity threshold, the processor receives the signal strength output by the global positioning system module and compares the signal strength with the signal strength threshold, and determines whether the current environment is indoor or outdoor according to the comparison result, and the processor is further used for determining The available state of the global positioning system; the white balance adjustment module is configured to perform white balance adjustment according to the judgment result of the processor. The invention also provides a white balance adjustment method. 200917818 A white balance adjustment method for a digital camera device, the method comprising the steps of: first determining whether GPS is available; when the global positioning system is available, receiving a signal from a satellite carrying location information and time information, and outputting the The location information, the time information, and the signal strength of the current location; whether the current environment is indoor or outdoor based on the GPS signal strength and the preset signal strength threshold; and finally, the white balance adjustment is performed according to the determined indoor or outdoor result. . The above white balance adjustment system and method can assist the digital camera device in judging the photographing scene by the strength of the GPS signal and its output position information and time information, and can compensate for the misjudgment of the indoor white balance indoors and outdoors. [Embodiment] Please refer to FIG. 1, which is a functional block diagram of a white balance adjustment system according to a preferred embodiment. In the present embodiment, a digital camera will be described as an example. The processor 11 is internally provided with a signal strength threshold, a first latitude threshold, and a second latitude threshold. In this embodiment, to improve the processing speed, two latitude thresholds are used to divide Three latitude bands, namely three high, medium and low latitude bands. If needed, you can set more latitude thresholds to divide the finer latitude bands. In this embodiment, the first latitude threshold is 30 degrees and the second latitude threshold is 60 degrees. High latitude refers to latitude greater than 60 degrees, mid latitude refers to latitude greater than or equal to 30 degrees and less than or equal to 60 degrees, and low latitude refers to latitude less than 30 degrees. The memory 14 is used to store a built-in table. The built-in table lists the white balance compensation values for each of the high, medium, and low latitudes. The processor 11 determines whether the GPS module 12 is in an available state, that is, whether the data sent by the satellite can be received in 200917818. When receiving the information sent by the satellite, then Gps; Second, block 12 can be taken in. Only the GPS module 12 is available. If the fruit fertilizer module 12 cannot receive the data from the satellite, then (10) Module 12 is not available. At this time, the white balance adjustment module 13 adopts the traditional white balance adjustment, that is, the white balance mode is selected according to the brightness of the field light source and the proportion of the red, green and blue components in the light source. When the GPS module 12 is in the available state, the processor η compares the signal strength received from the GPS module 12 with the signal strength threshold preset by the processor η itself, and determines whether the current system is indoors or outdoors, when the signal strength is greater than the When the intensity threshold is used, it is determined that the current environment is outdoor; when the signal strength is less than or equal to the intensity threshold, it is determined that the current environment is indoor. For example, the signal intensity in the room is generally -145dbm (milliwatts decibel). If it is within this range, it is judged that the current environment is indoor, and the outdoor environment is generally greater than -145dbm. In this range, the current environment is judged. For outdoor. When the processor 11 determines that it is currently in the outdoor environment, the processor 11 compares the number of satellites received from the GPS module 12 with the number of satellites preset by the processor 11 itself, and determines whether the positioning can be successfully performed. For example, if the number of satellites is not less than four, it is considered that the positioning can be successful. Because the radiant intensity of visible light is different at different latitudes outdoors, and the sunlight intensity is different at different time periods outside the room, it is necessary to understand the outdoor sunshine intensity at the time of outdoor positioning. The GPS module 12 can output the current latitude and longitude and the Greenwich time "so the GPS module 12 can be used to determine the latitude and longitude of the current position. The processing 200917818 calculates the time difference between the current position and the Greenwich time according to the longitude of the current position, and obtains the local time. The processor 11 searches for the outdoor white balance adjustment compensation value corresponding to the built-in table in the memory 14 according to the current latitude and the current time, and the processor 11 outputs the white balance compensation value to the white balance adjustment module 13 . , white balance adjustment. For example, in the case of outdoor daytime, in the low latitude Africa at noon, because the outdoor brightness is very high, it may output a white balance compensation value that suppresses the brightness, but if the simultaneous segment is near the high latitude pole, the output can be increased. White balance compensation value for brightness. When the GPS module 12 is unable to locate. For example, when the photographer is in the canyon for a long time, or is located in a high-rise building, because of the shielding, although the signal is very strong, but only a small number of satellites can be received, when not enough to locate, the first outdoor white balance is adopted. The mode is adjusted, and the first outdoor white balance mode adjustment is an outdoor white balance mode adjustment mode preset by the white balance adjustment module 13 . Please refer to FIG. 2, which is a flow chart of a white balance adjustment method according to a preferred embodiment. A white balance adjustment method includes the following steps: Step S101: The processor 11 determines whether the GPS module 12 is in the available state m·m - step S201, and when the GPS module 12 is in an unavailable state, uses the white balance adjustment module 13 according to the live light source The brightness and the proportion of the red, green and blue components in the light source are used to select the white balance mode, that is, the conventional white balance is adjusted to 200917818, step S102, and when the step S101 determines that the GPS module 12 is in the available state, the GPS module 12 is output. The signal strength is compared with the preset signal strength threshold in the processor 11 to determine whether the threshold is exceeded. In this embodiment, the threshold is -145dbm. In step S103, the signal strength output by the GPS module 12 exceeds the processor 11. In the embodiment, the threshold of the preset signal strength is considered to be an outdoor environment, and whether the number of satellites received from the GPS module 12 exceeds the preset number of the processor 11 determines whether the positioning can be successfully performed. In this embodiment, The threshold is -145dbm, and the preset number is four. Step S104, after the positioning is successful, according to the latitude in the output data of the GPS module 12. Comparing with the preset latitude threshold in the processor 11, determining the current latitude, and the processor 11 calculates the local time according to the longitude and the Greenwich time in the output data of the GPS module 12, and reads the memory 14 In the built-in table, the white balance compensation value of the current latitude and current time is determined, and the second outdoor white balance adjustment is performed according to the white balance compensation value, and the second outdoor white balance adjustment system white balance adjustment module 13 is according to the built-in table. The white balance compensation value directly adjusts the white balance of the taken image. In this embodiment, the first latitude threshold is 30 degrees, and the second latitude threshold is 60 degrees. In step S301, when the signal strength of the GPS module 12 is less than or equal to the intensity threshold in step S102, the environment of the camera device is considered to be For the indoor, the white balance adjustment module 13 performs the white balance adjustment by using the indoor white balance mode. In this embodiment, the threshold is -145dbm. In step S401, when it is determined that the positioning cannot be performed in step S103, the white balance 11 200917818 adjustment module 13 performs The first outdoor white balance mode is adjusted, and the first outdoor white balance mode adjustment is an outdoor white balance mode adjustment mode preset by the white balance adjustment module 13 . According to the invention, the positional parameter and the time parameter of the output of the GPS signal can be used to assist the digital camera device to determine whether the environment in which the camera is located is indoor or outdoor, thereby making up for the misjudgment of the traditional white balance indoors and outdoors. In summary, the present invention complies with the requirements of the invention patent and submits a patent application according to law. However, the above description is only the preferred embodiment of the present invention, and the scope of the present invention is not limited to the above-described embodiments, and equivalent modifications or variations made by those skilled in the art in light of the spirit of the present invention are It should be covered by the following patent application. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a functional block diagram of a white balance adjustment system according to a preferred embodiment; FIG. 2 is a flow chart of a white balance adjustment method according to a preferred embodiment. [Main component symbol description] Processor 11 GPS module 12 White balance module 13 Memory 14 12