TW201643777A - Image capture method and image capture apparatus - Google Patents

Image capture method and image capture apparatus Download PDF

Info

Publication number
TW201643777A
TW201643777A TW104119104A TW104119104A TW201643777A TW 201643777 A TW201643777 A TW 201643777A TW 104119104 A TW104119104 A TW 104119104A TW 104119104 A TW104119104 A TW 104119104A TW 201643777 A TW201643777 A TW 201643777A
Authority
TW
Taiwan
Prior art keywords
image
value
exposure
pixels
sub
Prior art date
Application number
TW104119104A
Other languages
Chinese (zh)
Inventor
張嘉凌
鄭珍如
Original Assignee
宏碁股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 宏碁股份有限公司 filed Critical 宏碁股份有限公司
Priority to TW104119104A priority Critical patent/TW201643777A/en
Publication of TW201643777A publication Critical patent/TW201643777A/en

Links

Landscapes

  • Studio Devices (AREA)

Abstract

A image capture method and a image capture apparatus using the same is provided. The method includes capturing a first image and a second image, and obtaining a sensing difference value corresponding to the first image and the second image; obtaining a pixel difference value corresponding to the first image and the second image according to the first image and the second image; determining whether to switch a capture mode of the image capture apparatus from a first mode to a second mode according to the pixel difference value, the sensing difference value, a white balance value and a first exposure value of the second image, and capturing a third image according to the second mode; and decreasing a plurality of exposure weight values corresponding to a predetermined area of the third image to compute a second exposure value corresponding to the third image.

Description

影像擷取方法與影像擷取裝置 Image capturing method and image capturing device

本發明是有關於一種影像擷取方法,且特別是有關於一種根據所擷取影像而切換特定模式,並改變原本的曝光補償方式來擷取影像的影像擷取方法與影像擷取裝置。 The present invention relates to an image capturing method, and more particularly to an image capturing method and an image capturing device for switching a specific mode according to a captured image and changing an original exposure compensation mode to capture an image.

自動曝光機制(Auto Exposure-AE)一直以來都是影像擷取裝置(例如,數位相機或行動裝置等等...)發展上很重要的一環。如何針對不同的場景,不論是在戶外亦或是室內,找出一組最適合的曝光補償值(Exposure Value-EV),是進行影像擷取的一個重要環節。一般來說,若要對於快速移動的物體進行拍攝,會先將拍攝模式自動(或手動)轉換至運動模式。然而,在運動模式中,一般會將快門速度設定較短,進而使得拍攝主體會較易因為曝光不佳而亮度不足。 The Auto Exposure-AE has always been an important part of the development of image capture devices (eg, digital cameras or mobile devices, etc.). How to find a set of the most suitable exposure compensation value (Exposure Value-EV) for different scenes, whether outdoors or indoors, is an important part of image capture. In general, to shoot a fast-moving object, the shooting mode is automatically (or manually) switched to the sport mode. However, in the sport mode, the shutter speed is generally set to be shorter, which makes it easier for the subject to be insufficiently exposed due to poor exposure.

不同的測光模式在同一個場景下,會出現極大的差異。假設目前以使用運動模式來進行曝光補償,當使用者拍攝一個全景的戶外照片(包含天空)時,若使用平均測光或中央權重平均 測光,由於會考量到整張影像的畫面。因此在曝光補償上,會因為將白天戶外的天空過亮的資訊納入計算,進而使拍攝主體過暗,曝光不足。若使用點測光,會因為主體快速移動,並不是固定在畫面中心而使真正要拍攝的主體曝光過暗或是過亮。此外,大部分的數位相機亦或是手機,大多在介面上開放讓使用者自行去選擇合適的測光模式,或是就直接固定一種測光模式,但在這樣的使用情境下,很容易讓使用者拍出過曝光或是畫面不夠亮的影像。 Different metering modes will vary greatly in the same scene. Assume that the current use of the motion mode for exposure compensation, when the user takes a panoramic outdoor photo (including the sky), if using average metering or central weight averaging Metering, because it will take into account the entire image. Therefore, in the exposure compensation, the information that is too bright in the sky during the daytime is included in the calculation, so that the subject is too dark and underexposed. If spot metering is used, it will move quickly because the subject is not fixed at the center of the screen, so that the subject to be photographed is too dark or too bright. In addition, most digital cameras or mobile phones are mostly open on the interface for users to select the appropriate metering mode, or to directly fix a metering mode, but in such a use situation, it is easy for users to Take an image that has been overexposed or that is not bright enough.

有鑑於此,本發明提供一種影像擷取方法與影像擷取裝置,其可根據所擷取的影像來判斷是否應切換至運動模式,並且調整曝光補償的方式,以計算在運動模式中所擷取的影像的曝光補償值。藉此,可在自動地切換至運動模式,並拍攝出主體曝光正確的影像。 In view of the above, the present invention provides an image capturing method and an image capturing device, which can determine whether to switch to a motion mode according to the captured image, and adjust the manner of exposure compensation to calculate the motion mode. The exposure compensation value of the captured image. Thereby, it is possible to automatically switch to the sport mode and take an image with the correct exposure of the subject.

本發明的一實施例提供一種影像擷取方法,適用於影像擷取裝置,所述影像擷取方法包括若所述影像擷取裝置的拍攝模式為第一模式,擷取第一影像與第二影像,並且獲得對應所述第一影像與所述第二影像的所述影像擷取裝置的感測差異值;根據所述第二影像,取得對應所述第二影像的白平衡補償值與第一曝光補償值;根據所述第一影像與所述第二影像來獲得對應所述第一影像與所述第二影像的像素差異值;根據所述像素差異值、所 述感測差異值、所述第二影像的所述白平衡補償值與所述第一曝光補償值來判斷所述第二影像是否滿足預定條件;若所述第二影像滿足所述預定條件,將所述影像擷取裝置的所述拍攝模式切換至第二模式,並且根據所述第二模式來擷取第三影像;以及降低對應所述第三影像的預定區域的多個曝光權重值,以計算對應所述第三影像的第二曝光補償值。 An embodiment of the present invention provides an image capture method, which is applicable to an image capture device. The image capture method includes: capturing a first image and a second image if the image capture mode of the image capture device is in a first mode Obtaining a sensing difference value of the image capturing device corresponding to the first image and the second image; obtaining a white balance compensation value corresponding to the second image according to the second image An exposure compensation value; obtaining, according to the first image and the second image, a pixel difference value corresponding to the first image and the second image; according to the pixel difference value, Determining whether the second image satisfies a predetermined condition, the sensing difference value, the white balance compensation value of the second image, and the first exposure compensation value; if the second image satisfies the predetermined condition, Switching the shooting mode of the image capturing device to a second mode, and capturing a third image according to the second mode; and reducing a plurality of exposure weight values corresponding to a predetermined region of the third image, And calculating a second exposure compensation value corresponding to the third image.

本發明的一實施例提供一種影像擷取裝置,其包括影像擷取單元、感測器、儲存單元與處理單元。所述影像擷取單元用以擷取多個影像,其中若所述影像擷取裝置的拍攝模式為第一模式,所述影像擷取單元擷取第一影像與第二影像。感測器用以獲得對應所述第一影像與所述第二影像的所述影像擷取裝置的感測差異值。儲存單元儲存多個模組。處理單元耦接於所述影像擷取單元、所述感測器以及所述儲存單元,以存取並執行所述儲存單元所儲存的此些模組。此些模組包括曝光補償模組、白平衡補償模組、像素差異辨識模組與拍攝模式切換模組。曝光補償模組取得對應所述第二影像的第一曝光補償值。白平衡補償模組取得對應所述第二影像的白平衡補償值。像素差異辨識模組根據所述第一影像與所述第二影像來獲得對應所述第一影像與所述第二影像的像素差異值。拍攝模式切換模組根據所述像素差異值、所述感測差異值、所述第二影像的所述白平衡補償值與所述第一曝光補償值來判斷所述第二影像是否滿足預定條件。若所述第二影像滿足所述預定條件,所述拍攝模式切換模組將所述影像擷取裝置的 所述拍攝模式切換至第二模式,影像擷取單元根據所述第二模式來擷取第三影像,並且所述曝光補償模組降低對應所述第三影像的預定區域的多個曝光權重值,以計算對應所述第三影像的第二曝光補償值。 An embodiment of the invention provides an image capturing device, which includes an image capturing unit, a sensor, a storage unit, and a processing unit. The image capturing unit is configured to capture a plurality of images, wherein the image capturing unit captures the first image and the second image if the image capturing mode of the image capturing device is the first mode. The sensor is configured to obtain a sensing difference value of the image capturing device corresponding to the first image and the second image. The storage unit stores a plurality of modules. The processing unit is coupled to the image capturing unit, the sensor, and the storage unit to access and execute the modules stored by the storage unit. The modules include an exposure compensation module, a white balance compensation module, a pixel difference recognition module, and a shooting mode switching module. The exposure compensation module obtains a first exposure compensation value corresponding to the second image. The white balance compensation module obtains a white balance compensation value corresponding to the second image. The pixel difference recognition module obtains pixel difference values corresponding to the first image and the second image according to the first image and the second image. The shooting mode switching module determines whether the second image satisfies a predetermined condition according to the pixel difference value, the sensing difference value, the white balance compensation value of the second image, and the first exposure compensation value. . If the second image satisfies the predetermined condition, the shooting mode switching module will be used by the image capturing device The shooting mode is switched to the second mode, the image capturing unit captures the third image according to the second mode, and the exposure compensation module reduces the plurality of exposure weight values corresponding to the predetermined region of the third image And calculating a second exposure compensation value corresponding to the third image.

基於上述,本發明的實施例所提供的影像擷取方法與影像擷取裝置,可自動地根據所擷取的第一影像與第二影像判定是否要切換至運動模式(亦稱,第二模式),以根據第二模式來擷取第三影像,並且降低對應所述第三影像的預定區域的多個曝光權重值,進而計算對應所述第三影像的第二曝光補償值。藉此,可使於第二模式中所擷取的第三影像有較佳的曝光補償並且獲得合適的亮度。 Based on the above, the image capturing method and the image capturing device provided by the embodiments of the present invention can automatically determine whether to switch to the motion mode according to the captured first image and the second image (also referred to as the second mode). And capturing a third image according to the second mode, and reducing a plurality of exposure weight values corresponding to the predetermined area of the third image, thereby calculating a second exposure compensation value corresponding to the third image. Thereby, the third image captured in the second mode can be better compensated and a suitable brightness can be obtained.

為讓本發明的上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。 The above described features and advantages of the invention will be apparent from the following description.

10‧‧‧影像擷取裝置 10‧‧‧Image capture device

110‧‧‧影像擷取單元 110‧‧‧Image capture unit

120‧‧‧處理單元 120‧‧‧Processing unit

130‧‧‧感測器 130‧‧‧Sensor

140‧‧‧儲存單元 140‧‧‧ storage unit

141‧‧‧曝光補償模組 141‧‧‧Exposure compensation module

142‧‧‧白平衡補償模組 142‧‧‧White Balance Compensation Module

143‧‧‧像素差異辨識模組 143‧‧‧Pixel Difference Identification Module

144‧‧‧拍攝模式切換模組 144‧‧‧ Shooting mode switching module

S201、S203、S205、S207、S209、S211、S301、S303、S305、S307‧‧‧步驟 Steps S201, S203, S205, S207, S209, S211, S301, S303, S305, S307‧‧

400、500‧‧‧影像 400, 500‧‧ images

410、510‧‧‧曝光權重表 410, 510‧‧‧ exposure weight table

400(0)~400(24)、500(0)~500(24)‧‧‧子區域 400(0)~400(24), 500(0)~500(24)‧‧‧ sub-area

410(0)~410(24)、510(0)~510(24)‧‧‧曝光權重值 410(0)~410(24), 510(0)~510(24)‧‧‧ exposure weight values

520‧‧‧預定區域 520‧‧‧Scheduled area

圖1是依照本發明一實施例所繪示的一種影像擷取裝置的方塊圖。 FIG. 1 is a block diagram of an image capture device according to an embodiment of the invention.

圖2是根據本發明的一實施例所繪示的影像擷取方法的流程圖。 2 is a flow chart of an image capture method according to an embodiment of the invention.

圖3是根據本發明的一實施例所繪示的判斷切換拍攝模式的流程圖。 FIG. 3 is a flow chart of determining a switching shooting mode according to an embodiment of the invention.

圖4A是根據本發明的一實施例所繪示的對應第二影像的影像亮度分布的示意圖。 FIG. 4A is a schematic diagram of image brightness distribution corresponding to a second image according to an embodiment of the invention.

圖4B是根據本發明的一實施例所繪示的第一模式所設定的曝光權重表。 FIG. 4B is an exposure weight table set in a first mode according to an embodiment of the invention.

圖5A是根據本發明的一實施例所繪示的對應第三影像的影像亮度分布的示意圖。 FIG. 5A is a schematic diagram of image brightness distribution corresponding to a third image according to an embodiment of the invention.

圖5B是根據本發明的一實施例所繪示的第二模式所設定的曝光權重表。 FIG. 5B is an exposure weight table set in a second mode according to an embodiment of the invention.

圖1是依照本發明一實施例所繪示的一種影像擷取裝置的方塊圖。影像擷取裝置10包括影像擷取單元110、處理單元120、感測器130以及儲存單元140。本實施例的影像擷取裝置10例如是數位相機、數位單眼(Digital Single Lens Reflex,DSLR)相機、數位攝影機(Digital Video Camcorder,DVC)等,或是其他具有影像/視頻擷取功能的智慧型手機或平板電腦等等,不限於上述。 FIG. 1 is a block diagram of an image capture device according to an embodiment of the invention. The image capturing device 10 includes an image capturing unit 110, a processing unit 120, a sensor 130, and a storage unit 140. The image capturing device 10 of the embodiment is, for example, a digital camera, a Digital Single Lens Reflex (DSLR) camera, a Digital Video Camcorder (DVC), or the like, or other intelligent image/video capture function. Mobile phones or tablets, etc., are not limited to the above.

影像擷取單元110可包括鏡頭、感光元件以及光圈等,用以擷取影像或視訊。鏡頭例如是標準鏡頭、廣角鏡頭及變焦鏡頭等。感光元件例如是電荷耦合元件(Charge Coupled Device,CCD)、互補性氧化金屬半導體(Complementary Metal-Oxide Semiconductor,CMOS)元件或其他元件,鏡頭與感光元件或其組 合在此皆不設限。當影像擷取單元110偵測到快門訊號時,影像擷取單元110將可擷取至少一個影像。 The image capturing unit 110 may include a lens, a photosensitive element, an aperture, and the like for capturing images or video. The lens is, for example, a standard lens, a wide-angle lens, and a zoom lens. The photosensitive element is, for example, a Charge Coupled Device (CCD), a Complementary Metal-Oxide Semiconductor (CMOS) element or other components, a lens and a photosensitive element or a group thereof. There is no limit to this. When the image capturing unit 110 detects the shutter signal, the image capturing unit 110 can capture at least one image.

詳細來說,當影像擷取單元110偵測到快門訊號時,影像擷取單元110會先根據目前的拍攝模式來決定如何擷取影像,以及所擷取的影像的數量。例如,在本實施例中,若影像擷取裝置10目前的拍攝模式為一般模式(例如,全自動模式、或智能模式等讓影像擷取裝置自行判斷拍攝環境/情境來進行影像擷取的拍攝模式),影像擷取單元110會先擷取2個影像(以下稱,第一影像與第二影像),並且影像擷取裝置10會根據所擷取的第一影像與第二影像的影像資訊來判斷目前的拍攝環境或是拍攝情境,以決定使用不同的預定的拍攝模式來擷取影像。爾後所擷取的影像(以下稱,第三影像)會根據判斷結果來進行影像補償。 In detail, when the image capturing unit 110 detects the shutter signal, the image capturing unit 110 first determines how to capture the image and the number of captured images according to the current shooting mode. For example, in the embodiment, if the current shooting mode of the image capturing device 10 is a normal mode (for example, a full-automatic mode, an intelligent mode, or the like, the image capturing device can determine the shooting environment/situation for image capturing. The image capturing unit 110 captures two images (hereinafter referred to as a first image and a second image), and the image capturing device 10 captures the image information of the first image and the second image captured. To determine the current shooting environment or shooting situation, to decide to use different predetermined shooting modes to capture images. The image captured later (hereinafter referred to as the third image) will be compensated based on the judgment result.

換言之,影像擷取裝置10會在背景預先擷取第一影像與第二影像以做判斷拍攝情境之用。較佳地,第一影像與第二影像的拍攝間隔不可太長。藉此,處理單元120可藉由判斷第一影像與第二影像的像素差異來判斷拍攝的主體是否正在進行移動。應注意的是,在本實施例中,會使用2個影像(即,第一影像與第二影像)來判斷拍攝情境與輔助判斷是否要切換拍攝模式,但本發明不限於此。例如,在其他實施例中,影像擷取裝置10會擷取更多數量的影像來實行此操作。 In other words, the image capturing device 10 pre-captures the first image and the second image in the background to determine the shooting situation. Preferably, the interval between the first image and the second image is not too long. Thereby, the processing unit 120 can determine whether the photographed subject is moving by determining the pixel difference between the first image and the second image. It should be noted that in the present embodiment, two images (ie, the first image and the second image) are used to determine the shooting situation and the auxiliary determination whether to switch the shooting mode, but the present invention is not limited thereto. For example, in other embodiments, image capture device 10 may capture a greater number of images to perform this operation.

儲存單元140例如是記憶體、硬碟或是其他任何可用於儲存資料的元件,而可用以儲存多個模組。所述多個模組包括曝 光補償模組121、白平衡補償模組122、焦距計算模組123以及測光模組124,其可以程式碼的型式儲存於儲存單元140中。 The storage unit 140 is, for example, a memory, a hard disk, or any other component that can be used to store data, and can be used to store a plurality of modules. The plurality of modules includes exposure The optical compensation module 121, the white balance compensation module 122, the focal length calculation module 123, and the photometry module 124 are stored in the storage unit 140 in a codeable manner.

處理單元120耦接於影像擷取單元110、感測器130以及儲存單元140,其可為具有一或多個處理核心的中央處理單元(Central Processing Unit,CPU),或是其他可程式化之一般用途或特殊用途的微處理器、數位訊號處理器(Digital Signal Processor,DSP)、可程式化控制器、特殊應用積體電路(Application Specific Integrated Circuits,ASIC)、可程式化邏輯裝置(Programmable Logic Device,PLD)或其他類似裝置或這些裝置的組合,而可用以存取並執行儲存單元140中儲存的曝光補償模組141、白平衡補償模組142、像素差異辨識模組143以及拍攝模式切換模組144,藉以實行本實施例所提供的影像擷取方法。 The processing unit 120 is coupled to the image capturing unit 110, the sensor 130, and the storage unit 140, which may be a central processing unit (CPU) having one or more processing cores, or other programmable General purpose or special purpose microprocessors, Digital Signal Processors (DSPs), programmable controllers, Application Specific Integrated Circuits (ASICs), Programmable Logic Devices (Programmable Logic) Device, PLD) or other similar device or a combination of these devices, and can be used to access and execute the exposure compensation module 141, the white balance compensation module 142, the pixel difference recognition module 143, and the shooting mode switching stored in the storage unit 140. The module 144 is used to implement the image capturing method provided in this embodiment.

感測器130可偵測與收集多個關於影像擷取裝置10本身的感測值。根據不同的功能需求,感測器130例如是加速度感測器(acceleration sensor或g-sensor)、陀螺儀感測器(gyro sensor)、磁強計(magnetometer)、壓力感測器(pressure sensor)及/或其他合適的感測器。 The sensor 130 can detect and collect a plurality of sensing values regarding the image capturing device 10 itself. According to different functional requirements, the sensor 130 is, for example, an acceleration sensor or a g-sensor, a gyro sensor, a magnetometer, a pressure sensor. And/or other suitable sensors.

圖2是根據本發明的一實施例所繪示的影像擷取方法的流程圖。以下會搭配圖1與圖2來說明在本發明的實施例中,影像擷取裝置10進行影像擷取操作(例如,使用者觸發影像擷取操作,或是影像擷取裝置接收到影像擷取指令)所使用的影像擷取方法。 2 is a flow chart of an image capture method according to an embodiment of the invention. In the embodiment of the present invention, the image capturing device 10 performs an image capturing operation (for example, the user triggers an image capturing operation, or the image capturing device receives the image capturing operation, as shown in FIG. 1 and FIG. 2 . The image capture method used by the instruction).

請同時參照圖1與圖2,在步驟S201中,若電子裝置的拍攝模式為第一模式,擷取第一影像與第二影像,並且獲得對應第一影像與第二影像的電子裝置的感測差異值。 Referring to FIG. 1 and FIG. 2 simultaneously, in step S201, if the shooting mode of the electronic device is the first mode, the first image and the second image are captured, and the senses of the electronic device corresponding to the first image and the second image are obtained. Measure the difference value.

舉例來說,所述第一模式可以是上述的智能模式或是全自動模式等合適的拍攝模式。當影像擷取單元110接收到快門訊號時,影像擷取單元110會根據目前影像擷取裝置10的拍攝模式(即,第一模式)來擷取第一影像與第二影像。在影像擷取單元擷取第一影像與第二影像的同時,處理單元120會經由感測器來獲得對應第一影像與第二影像的感測差異值。藉此,處理單元120會根據感測差異值是否大於感測差異門檻值來判斷影像擷取裝置10是否在擷取影像時發生振動。 For example, the first mode may be a suitable shooting mode such as the smart mode or the fully automatic mode described above. When the image capturing unit 110 receives the shutter signal, the image capturing unit 110 captures the first image and the second image according to the shooting mode of the current image capturing device 10 (ie, the first mode). While the image capturing unit captures the first image and the second image, the processing unit 120 obtains the sensing difference value corresponding to the first image and the second image via the sensor. Thereby, the processing unit 120 determines whether the image capturing device 10 vibrates when capturing the image according to whether the sensing difference value is greater than the sensing difference threshold value.

詳細來說,當影像擷取單元110擷取第一影像時,感測器130偵測影像擷取裝置10的第一感測值。當影像擷取單元110擷取第二影像時,感測器130偵測影像擷取裝置10的第二感測值。在本實施例中,感測器會將對第二感測值減去第一感測值所獲得的差值的絕對值作為對應第一影像與第二影像的影像擷取裝置的感測差異值,但本發明不限於此。例如,在其他實施例中,處理單元120亦用以根據經由感測器130所獲得的第一感測值與第二感測值來計算對應第一影像與第二影像的感測差異值。 In detail, when the image capturing unit 110 captures the first image, the sensor 130 detects the first sensing value of the image capturing device 10. When the image capturing unit 110 captures the second image, the sensor 130 detects the second sensing value of the image capturing device 10. In this embodiment, the sensor will use the absolute value of the difference obtained by subtracting the first sensing value from the second sensing value as the sensing difference of the image capturing device corresponding to the first image and the second image. Value, but the invention is not limited thereto. For example, in other embodiments, the processing unit 120 is further configured to calculate a sensing difference value corresponding to the first image and the second image according to the first sensing value and the second sensing value obtained through the sensor 130.

值得一提的是,本發明並不限定感測器的種類。對應不同種類的感測器130,感測器130會獲得對應的感測差異值。例如,在本實施例中,假設感測器130是加速度感測器,如上所述, 感測器130會偵測對應第一影像的影像擷取裝置10的第一加速度值與對應第二影像的影像擷取裝置10的第二加速度值。藉此,感測器130會計算出對應所擷取的第一影像與第二影像的加速度差異值。又例如,在另一實施例中,假設感測器130是陀螺儀感測器。感測器130會偵測對應第一影像的影像擷取裝置10的第一角度值與對應第二影像的影像擷取裝置10的第二角度值。藉此,感測器130會計算出對應所擷取的第一影像與第二影像的角度差異值。 It is worth mentioning that the invention does not limit the type of sensor. Corresponding to different kinds of sensors 130, the sensor 130 obtains corresponding sensing difference values. For example, in the present embodiment, it is assumed that the sensor 130 is an acceleration sensor, as described above, The sensor 130 detects the first acceleration value of the image capturing device 10 corresponding to the first image and the second acceleration value of the image capturing device 10 corresponding to the second image. Thereby, the sensor 130 calculates an acceleration difference value corresponding to the captured first image and the second image. For another example, in another embodiment, it is assumed that the sensor 130 is a gyro sensor. The sensor 130 detects a first angle value of the image capturing device 10 corresponding to the first image and a second angle value of the image capturing device 10 corresponding to the second image. Thereby, the sensor 130 calculates an angle difference value corresponding to the captured first image and the second image.

在步驟S203中,影像擷取裝置10的處理單元120會根據第二影像,取得對應第二影像的白平衡補償值與第一曝光補償值。舉例來說,在影像擷取單元110擷取第二影像後,白平衡補償模組142會取得對應第二影像的白平衡補償值。詳細來說,白平衡補償模組142會根據第二影像的影像資訊中的色溫資訊,來獲得對應第二影像的第一色溫,並且判斷第一色溫是否大於預設色溫。預設色溫例如是5000K,其對應於晴天戶外拍攝時的色溫,但本實施例不限制此色溫,即廠商可根據設計需求來設定預設色溫。若第一色溫大於預設色溫,則白平衡補償模組142會判斷目前拍攝環境可能是晴天等色溫較高的環境,並且將對應第二影像的白平衡補償值設定為預定白平衡補償值,以調整第二影像的色彩。 In step S203, the processing unit 120 of the image capturing device 10 acquires the white balance compensation value and the first exposure compensation value corresponding to the second image according to the second image. For example, after the image capturing unit 110 captures the second image, the white balance compensation module 142 obtains a white balance compensation value corresponding to the second image. In detail, the white balance compensation module 142 obtains the first color temperature corresponding to the second image according to the color temperature information in the image information of the second image, and determines whether the first color temperature is greater than the preset color temperature. The preset color temperature is, for example, 5000K, which corresponds to the color temperature when shooting outdoors on a sunny day, but this embodiment does not limit the color temperature, that is, the manufacturer can set the preset color temperature according to design requirements. If the first color temperature is greater than the preset color temperature, the white balance compensation module 142 determines that the current shooting environment may be a high color temperature environment such as a sunny day, and sets the white balance compensation value corresponding to the second image to a predetermined white balance compensation value. To adjust the color of the second image.

另一方面,在影像擷取單元110擷取第二影像後,曝光補償模組141會取得對應第二影像的曝光補償值。曝光補償模組 141會根據第二影像的影像資訊中的亮度資訊,來獲得對應第二影像的亮度值,並且根據對應第二影像的亮度值與預設的目標亮度值來計算對應第二影像的曝光補償值(亦稱,第一曝光補償值)。舉例來說,在本實施例中,假設曝光補償模組141是使用中央權重平均測光的方式來根據第二影像的每一像素的亮度值來計算對應第二影像的亮度值。接著,曝光補償模組141會計算預設的目標亮度值與對應第二影像的亮度值之間的差值,並且將此差值作為對應第二影像的曝光補償值。例如,假設目標亮度值為“120”,經由測光後所計算的第二影像的亮度值為“100”,則對應第二影像的曝光補償值為“20”(即,120-100)。處理單元120會跟據對應第二影像的曝光補償值,對第二影像的亮度進行調整。例如,處理單元120可將第二影像的所有像素的亮度值加上所獲得的為“20”的對應第二影像的曝光補償值,以進行第二影像的曝光補償,但本發明不限於此。例如,在其他實施例中,處理單元120可經由其他方式來應用曝光補償值,以調整第二影像的亮度。應注意的是,在其他實施例中,曝光補償模組141亦可使用其他測光方式(例如,平均測光方式或點測光方式等)來進行第二影像的亮度值的計算,進而獲得第二影像的曝光補償值。 On the other hand, after the image capturing unit 110 captures the second image, the exposure compensation module 141 obtains an exposure compensation value corresponding to the second image. Exposure compensation module 141, according to the brightness information in the image information of the second image, obtain a brightness value corresponding to the second image, and calculate an exposure compensation value corresponding to the second image according to the brightness value of the corresponding second image and the preset target brightness value. (Also known as the first exposure compensation value). For example, in the embodiment, it is assumed that the exposure compensation module 141 calculates the brightness value of the corresponding second image according to the brightness value of each pixel of the second image by using the central weight average metering. Then, the exposure compensation module 141 calculates a difference between the preset target brightness value and the brightness value of the corresponding second image, and uses the difference as the exposure compensation value corresponding to the second image. For example, assuming that the target luminance value is "120" and the luminance value of the second image calculated after the photometry is "100", the exposure compensation value corresponding to the second image is "20" (ie, 120-100). The processing unit 120 adjusts the brightness of the second image according to the exposure compensation value corresponding to the second image. For example, the processing unit 120 may add the brightness value of all pixels of the second image to the obtained exposure compensation value of the corresponding second image of “20” to perform exposure compensation of the second image, but the invention is not limited thereto. . For example, in other embodiments, the processing unit 120 may apply an exposure compensation value to adjust the brightness of the second image by other means. It should be noted that in other embodiments, the exposure compensation module 141 can also use other metering methods (for example, an average metering method or a spot metering method, etc.) to calculate the brightness value of the second image, thereby obtaining the second image. Exposure compensation value.

在步驟S205中,像素差異辨識模組143根據第一影像與第二影像來獲得對應第一影像與第二影像的像素差異值。具體來說,像素差異辨識模組143會根據第一影像與第二影像的影像資訊,辨識第一影像的多個像素的特徵值,並且辨識第二影像的多 個像素的特徵值。在本實施例中,第一或第二影像的像素的特徵值例如是像素的彩度資訊(例如,RGB值)。簡單來說,像素差異辨識模組143會根據第一影像與第二影像的像素的特徵值來辨識第一影像與第二影像的差異。舉例來說,在本實施例中,假設第一影像與第二影像的每一像素具有對應相同座標系的座標。也就是說,第一影像與第二影像的像素的位置資訊的參考座標是相同的,並且具有相同座標值的第一影像與第二影像的像素,其位於第一影像與第二影像的位置是相同的。像素差異辨識模組143會根據第一影像的每一像素與第二影像的每一像素的座標,比較第一影像的每一像素與第二影像的每一像素的特徵值,並且將具有相同座標但不同特徵值的多個像素的總數作為對應第一影像與第二影像的像素差異值。因此,像素差異辨識模組143在比較第一影像的每一像素與第二影像的每一像素的特徵值後,會辨識對應第一影像與第二影像的像素差異值為“1”。值得一提的是,上述計算對應第一影像與第二影像的像素差異值的方法僅為說明之用。在其他實施例中,像素差異辨識模組143更可以經由其他合適的演算法來辨識對應第一影像與第二影像的像素差異值。 In step S205, the pixel difference recognition module 143 obtains pixel difference values corresponding to the first image and the second image according to the first image and the second image. Specifically, the pixel difference recognition module 143 identifies the feature values of the plurality of pixels of the first image according to the image information of the first image and the second image, and identifies the second image. The feature value of each pixel. In this embodiment, the feature value of the pixel of the first or second image is, for example, chroma information (for example, RGB value) of the pixel. In brief, the pixel difference recognition module 143 identifies the difference between the first image and the second image according to the feature values of the pixels of the first image and the second image. For example, in this embodiment, it is assumed that each pixel of the first image and the second image has coordinates corresponding to the same coordinate system. That is, the reference coordinates of the position information of the pixels of the first image and the second image are the same, and the pixels of the first image and the second image having the same coordinate value are located at the positions of the first image and the second image. Are the same. The pixel difference recognition module 143 compares the feature values of each pixel of the first image and each pixel of the second image according to the coordinates of each pixel of the first image and each pixel of the second image, and will have the same The total number of pixels of the coordinates but different feature values is taken as the pixel difference value corresponding to the first image and the second image. Therefore, after comparing the feature values of each pixel of the first image and each pixel of the second image, the pixel difference recognition module 143 recognizes that the pixel difference value of the corresponding first image and the second image is “1”. It is worth mentioning that the above method for calculating the pixel difference value corresponding to the first image and the second image is for illustrative purposes only. In other embodiments, the pixel difference recognition module 143 can further identify pixel difference values corresponding to the first image and the second image via other suitable algorithms.

在步驟S207中,拍攝模式切換模組144根據像素差異值、感測差異值、第二影像的白平衡補償值與第一曝光補償值來判斷第二影像是否滿足預定條件。以下搭配圖3來詳細說明此步驟。 In step S207, the shooting mode switching module 144 determines whether the second image satisfies the predetermined condition based on the pixel difference value, the sensing difference value, the white balance compensation value of the second image, and the first exposure compensation value. This step is described in detail below with Figure 3.

圖3是根據本發明的一實施例所繪示的判斷切換拍攝模 式的流程圖。請同時參照圖1與圖3,在拍攝模式切換模組144根據像素差異值、感測差異值、第二影像的白平衡補償值與第一曝光補償值來判斷第二影像是否滿足預定條件的運作中,拍攝模式切換模組144判斷第二影像的白平衡補償值是否為預定白平衡補償值或第二影像的第一曝光補償值是否小於曝光補償門檻值(S301)。如上所述,若白平衡補償模組在判定第二影像是在晴天拍攝(即,第二影像的第一色溫大於預定色溫)後,會計算出對應第二影像的白平衡補償值(如,此白平衡補償值會對應晴天環境),並且拍攝模式切換模組144會判斷第二影像的白平衡補償值為預定白平衡補償值。 FIG. 3 is a diagram of determining a switching shooting mode according to an embodiment of the invention. Flow chart. Referring to FIG. 1 and FIG. 3 simultaneously, the shooting mode switching module 144 determines whether the second image satisfies a predetermined condition according to the pixel difference value, the sensing difference value, the white balance compensation value of the second image, and the first exposure compensation value. In operation, the shooting mode switching module 144 determines whether the white balance compensation value of the second image is a predetermined white balance compensation value or whether the first exposure compensation value of the second image is smaller than the exposure compensation threshold (S301). As described above, if the white balance compensation module determines that the second image is shot on a sunny day (ie, the first color temperature of the second image is greater than a predetermined color temperature), the white balance compensation value corresponding to the second image is calculated (eg, The white balance compensation value corresponds to the sunny environment), and the shooting mode switching module 144 determines that the white balance compensation value of the second image is a predetermined white balance compensation value.

此外,另一方面,拍攝模式切換模組144亦可根據判斷第二影像的第一曝光補償值是否小於曝光補償門檻值來判斷第二影像的拍攝環境是否為白天的戶外。舉例來說,由於白天戶外的光線較為室內或是晚上充足,若第二影像的亮度值足夠,則對應第二影像的曝光補償值便會為“0”或是小於預定的曝光補償門檻值。換言之,若拍攝模式切換模組144判定對應第二影像的第一曝光補償值小於曝光補償門檻值,拍攝模式切換模組144會判定第二影像的拍攝環境為白天的戶外。 In addition, on the other hand, the shooting mode switching module 144 can also determine whether the shooting environment of the second image is outdoor during the day according to whether the first exposure compensation value of the second image is less than the exposure compensation threshold. For example, since the outdoor light during the day is relatively indoor or at night, if the brightness value of the second image is sufficient, the exposure compensation value corresponding to the second image will be “0” or less than the predetermined exposure compensation threshold. In other words, if the shooting mode switching module 144 determines that the first exposure compensation value corresponding to the second image is smaller than the exposure compensation threshold, the shooting mode switching module 144 determines that the shooting environment of the second image is outdoor during the day.

若在步驟S301中,拍攝模式切換模組144判定第二影像的白平衡補償值為預定白平衡補償值或拍攝模式切換模組144判定第二影像的第一曝光補償值小於曝光補償門檻值,在步驟S303中,拍攝模式切換模組144會判斷對應第一影像與第二影像的像 素差異值是否大於像素差異門檻值且對應第一影像與第二影像的感測差異值是否小於感測差異門檻值。 In step S301, the shooting mode switching module 144 determines that the white balance compensation value of the second image is a predetermined white balance compensation value or the shooting mode switching module 144 determines that the first exposure compensation value of the second image is smaller than the exposure compensation threshold. In step S303, the shooting mode switching module 144 determines the image corresponding to the first image and the second image. Whether the difference value is greater than the pixel difference threshold value and whether the sensing difference value of the first image and the second image is smaller than the sensing difference threshold value.

若在步驟S303中,拍攝模式切換模組144判定對應第一影像與第二影像的像素差異值大於像素差異門檻值且對應第一影像與第二影像的感測差異值小於感測差異門檻值,在步驟S307中,拍攝模式切換模組144會判定第二影像滿足預定條件。也就是說,若拍攝模式切換模組144判定第二影像的拍攝環境是在白天的戶外或是晴天(如,步驟S301),拍攝模式切換模組144會接著判斷拍攝的主體是否正在移動,以判斷第二影像是否滿足預定條件,進而判斷是否要將影像擷取裝置10的拍攝模式切換至第二模式(如,運動模式)。 In step S303, the shooting mode switching module 144 determines that the pixel difference value of the corresponding first image and the second image is greater than the pixel difference threshold value and the sensing difference value of the corresponding first image and the second image is smaller than the sensing difference threshold value. In step S307, the shooting mode switching module 144 determines that the second image satisfies the predetermined condition. That is, if the shooting mode switching module 144 determines that the shooting environment of the second image is outdoors or sunny during the day (eg, step S301), the shooting mode switching module 144 may then determine whether the captured subject is moving, It is determined whether the second image satisfies a predetermined condition, and further determines whether the shooting mode of the image capturing device 10 is to be switched to the second mode (eg, the sport mode).

在本實施例中,拍攝模式切換模組144會先根據大於像素差異門檻值的像素差異值來判定第一影像與第二影像有明顯的差異(此差異可因為主體的移動或是影像擷取裝置的晃動而造成),並且藉由小於感測差異門檻值的對應第一影像與第二影像的感測差異值來判定此第一影像與第二影像之間的差異不是因為影像擷取裝置於擷取第一影像與第二影像時所發生的晃動而造成的。也就是說,藉由上述的判斷方法,拍攝模式切換模組144可判斷拍攝的主體是否正在移動。若拍攝模式切換模組144判定目前拍攝的主體正在移動,拍攝模式切換模組144會判定第二影像滿足切換至第二模式所需的預定條件。爾後,拍攝模式切換模組144會將影像擷取裝置10的拍攝模式切換至第二模式。 In this embodiment, the shooting mode switching module 144 first determines that there is a significant difference between the first image and the second image according to the pixel difference value that is greater than the pixel difference threshold value (this difference may be due to the movement of the subject or the image capture). Determining the difference between the first image and the second image by the sensing difference value of the corresponding first image and the second image that are smaller than the sensing difference threshold value is not because the image capturing device is not Caused by the shaking that occurs when the first image and the second image are captured. That is to say, by the above-described determination method, the shooting mode switching module 144 can determine whether the captured subject is moving. If the shooting mode switching module 144 determines that the currently photographed subject is moving, the shooting mode switching module 144 determines that the second image satisfies a predetermined condition required to switch to the second mode. Thereafter, the shooting mode switching module 144 switches the shooting mode of the image capturing device 10 to the second mode.

相反地,若在步驟S301中拍攝模式切換模組144判定第二影像的白平衡補償值不為預定白平衡補償值或第二影像的第一曝光補償值不小於曝光補償門檻值,在步驟S305中,拍攝模式切換模組144會判定第二影像不滿足預定條件。此外,在步驟S303中,若拍攝模式切換模組144判定對應第一影像與第二影像的像素差異值非大於像素差異門檻值或對應第一影像或第二影像的感測差異值非小於感測差異門檻值,在步驟S305中,拍攝模式切換模組144亦會判定第二影像不滿足預定條件。換言之,在上述情況中,拍攝模式切換模組144皆不會將影像擷取裝置的拍攝模式切換至第二模式。例如,拍攝模式切換模組144會維持目前非第二模式的拍攝模式,或是將目前的拍攝模式切換至第一模式。 Conversely, if the shooting mode switching module 144 determines in step S301 that the white balance compensation value of the second image is not the predetermined white balance compensation value or the first exposure compensation value of the second image is not less than the exposure compensation threshold, in step S305 The shooting mode switching module 144 determines that the second image does not satisfy the predetermined condition. In addition, in step S303, if the shooting mode switching module 144 determines that the pixel difference value of the corresponding first image and the second image is not greater than the pixel difference threshold value or the sensing difference value corresponding to the first image or the second image is not less than the sense The difference threshold is measured. In step S305, the shooting mode switching module 144 also determines that the second image does not satisfy the predetermined condition. In other words, in the above case, the shooting mode switching module 144 does not switch the shooting mode of the image capturing device to the second mode. For example, the shooting mode switching module 144 may maintain the current non-second mode shooting mode or switch the current shooting mode to the first mode.

請再回到圖2,若拍攝模式切換模組144判定第二影像滿足預定條件,在步驟S209中,拍攝模式切換模組144會將影像擷取裝置10的拍攝模式切換至第二模式,並且根據第二模式來擷取第三影像。具體而言,如上所述,若拍攝模式切換模組144判定第二影像滿足預定條件(拍攝主體正在移動),拍攝模式切換模組144會自動地將影像擷取裝置10的拍攝模式切換至適合運動中的拍攝主體的第二模式,藉此可經由第二模式的設定來較佳地擷取拍攝主體的第三影像。 Returning to FIG. 2, if the shooting mode switching module 144 determines that the second image satisfies the predetermined condition, the shooting mode switching module 144 switches the shooting mode of the image capturing device 10 to the second mode in step S209, and The third image is captured according to the second mode. Specifically, as described above, if the shooting mode switching module 144 determines that the second image satisfies a predetermined condition (the subject is moving), the shooting mode switching module 144 automatically switches the shooting mode of the image capturing device 10 to a suitable one. The second mode of the subject in motion, whereby the third image of the subject can be preferably captured via the setting of the second mode.

在本實施例中,若影像擷取裝置10的拍攝模式已切換至第二模式,並且已根據第二模式的設定來擷取第三影像,在步驟S211中,曝光補償模組141會降低對應第三影像的預定區域的曝 光權重值,以計算對應第三影像的第二曝光補償值。以下會先搭配圖4A、圖4B來說明本發明實施例於第一模式中計算曝光補償值的方法,並且搭配圖5A與圖5B來詳細說明於第二模式中計算曝光補償值的方法。 In this embodiment, if the shooting mode of the image capturing device 10 has been switched to the second mode, and the third image has been captured according to the setting of the second mode, the exposure compensation module 141 decreases the correspondence in step S211. Exposure of a predetermined area of the third image The light weight value is used to calculate a second exposure compensation value corresponding to the third image. The method for calculating the exposure compensation value in the first mode in the embodiment of the present invention will be described below with reference to FIG. 4A and FIG. 4B, and the method for calculating the exposure compensation value in the second mode will be described in detail with reference to FIGS. 5A and 5B.

圖4A是根據本發明的一實施例所繪示的對應第二影像的影像亮度分布的示意圖。圖4B是根據本發明的一實施例所繪示的第一模式所設定的曝光權重表。圖5A是根據本發明的一實施例所繪示的對應第三影像的影像亮度分布的示意圖。圖5B是根據本發明的一實施例所繪示的第二模式所設定的曝光權重表。 FIG. 4A is a schematic diagram of image brightness distribution corresponding to a second image according to an embodiment of the invention. FIG. 4B is an exposure weight table set in a first mode according to an embodiment of the invention. FIG. 5A is a schematic diagram of image brightness distribution corresponding to a third image according to an embodiment of the invention. FIG. 5B is an exposure weight table set in a second mode according to an embodiment of the invention.

舉例來說,請參照圖4A,在本實施例中,曝光補償模組141會辨識第二影像400的多個像素與此些像素的亮度值,將第二影像400的多個像素劃分為多個子區域400(0)~400(24),並且根據屬於每個子區域400(0)~400(24)的像素來計算對應每一子區域的平均亮度值。值得一提的是,在本實施例中,子區域被設定為5乘以5的矩陣形式來劃分,但本發明不限於此。例如,在其他實施例中,曝光補償模組141會使用其他大小的矩陣,或是方式來劃分子區域,以進行子區域的平均亮度值的運算。 For example, referring to FIG. 4A , in the embodiment, the exposure compensation module 141 identifies the plurality of pixels of the second image 400 and the brightness values of the pixels, and divides the plurality of pixels of the second image 400 into multiple The sub-regions 400(0) to 400(24), and the average luminance value corresponding to each sub-region is calculated from the pixels belonging to each of the sub-regions 400(0) to 400(24). It is to be noted that, in the present embodiment, the sub-region is divided into a matrix form of 5 times 5, but the present invention is not limited thereto. For example, in other embodiments, the exposure compensation module 141 may use other sizes of matrices or ways to divide sub-regions to perform an operation of the average luminance values of the sub-regions.

為了便於說明,假設經過計算後,第二影像的影像亮度分布如同圖4A所繪示(例如,子區域400(0)的平均亮度值為“400”)。請參照圖4B,在第一模式的設定中,假設曝光補償模組是採用中央權重平均測光的方式來計算第二影像400的亮度值,並且所設定的曝光權重表410亦具有對應子區域400(0)~400(24) 的多個曝光權重值410(0)~410(24)。也就是說,曝光權重表的曝光權重值的數量與設定方式會反應於子區域的劃分方式。 For convenience of explanation, it is assumed that after calculation, the image brightness distribution of the second image is as shown in FIG. 4A (for example, the average luminance value of the sub-region 400 (0) is "400"). Referring to FIG. 4B, in the setting of the first mode, it is assumed that the exposure compensation module calculates the brightness value of the second image 400 by means of central weight average metering, and the set exposure weight table 410 also has a corresponding sub-area 400. (0)~400(24) Multiple exposure weight values 410 (0) ~ 410 (24). That is to say, the number and setting manner of the exposure weight value of the exposure weight table will be reflected in the division manner of the sub-area.

此外,假設曝光權重表中,對應子區域400(0)~400(24)的曝光權重值410(0)~410(24)如圖4所繪示(例如,曝光權重值410(0)為“25”)。請同時參考圖4A與圖4B,曝光補償模組141會將第二影像400的每一子區域400(0)~400(24)的平均亮度值分別乘以曝光權重表中的對應的曝光權重值410(0)~410(24),以獲得每一子區域400(0)~400(24)的加權後亮度值。例如,子區域400(0)的加權後亮度值為“10000”(即,“400”乘以“25”)。依此類推,曝光補償模組141會獲得第二影像400的每一子區域400(0)~400(24)的加權後亮度值。接著,曝光補償模組141會將每一子區域400(0)~400(24)的加權後亮度值的總和除以曝光權重表410中的曝光權重值410(0)~410(24)的總和,以獲得對應第二影像400的亮度值。在圖4A與圖4B的例子中,計算後的第二影像400的亮度值為“155.2174”。應注意的是,在其他實施例中,曝光補償模組141會再對此亮度值做數值運算(例如,無條件進位、無條件減位或是四捨五入),來將所得到的相近的一個整數數值作為亮度值。 In addition, assuming that in the exposure weight table, the exposure weight values 410(0) to 410(24) of the corresponding sub-regions 400(0)-400(24) are as shown in FIG. 4 (for example, the exposure weight value 410(0) is "25"). Referring to FIG. 4A and FIG. 4B simultaneously, the exposure compensation module 141 multiplies the average luminance values of each sub-area 400 (0) 400 400 (24) of the second image 400 by the corresponding exposure weights in the exposure weight table. Values 410(0)~410(24) are used to obtain weighted luminance values for each sub-region 400(0)~400(24). For example, the weighted luminance value of the sub-region 400(0) is "10000" (ie, "400" times "25"). By analogy, the exposure compensation module 141 obtains the weighted luminance values of each of the sub-regions 400(0)-400(24) of the second image 400. Next, the exposure compensation module 141 divides the sum of the weighted luminance values of each of the sub-regions 400(0)-400(24) by the exposure weight values 410(0)-410(24) in the exposure weight table 410. Sum to obtain a brightness value corresponding to the second image 400. In the example of FIGS. 4A and 4B, the calculated luminance value of the second image 400 is "155.2174". It should be noted that in other embodiments, the exposure compensation module 141 performs a numerical operation on the luminance value (for example, unconditional carry, unconditional subtraction, or rounding) to obtain a similar integer value obtained as Brightness value.

在本實施例中,假設目標亮度值為“120”,則曝光補償模組141會將目標亮度值減去第二影像400的亮度值所獲得的差值作為第二影像400的曝光補償值(亦稱,第一曝光補償值)。換言之,計算後得到的曝光補償值即為“-35.2174”。在獲得曝光補償值後,曝光補償模組141可再利用此曝光補償值去對第二影像400 像素的亮度值來做調整。舉例來說,曝光補償模組141可直接將曝光補償值加入至第二影像400的每一像素的亮度值。 In this embodiment, if the target brightness value is “120”, the exposure compensation module 141 subtracts the difference value obtained by subtracting the brightness value of the second image 400 from the target brightness value as the exposure compensation value of the second image 400 ( Also known as the first exposure compensation value). In other words, the exposure compensation value obtained after the calculation is "-35.2174". After obtaining the exposure compensation value, the exposure compensation module 141 can reuse the exposure compensation value to access the second image 400. The brightness value of the pixel is adjusted. For example, the exposure compensation module 141 can directly add the exposure compensation value to the luminance value of each pixel of the second image 400.

然而,從上面的例子,由於子區域400(0)~400(4)與子區域400(5)~400(9)的平均亮度值較其他的子區域還要高上許多。因此,造成其他子區域再進行曝光調整之後所獲得的平均亮度值會遠低於目標亮度值(雖然第二影像的整體的亮度值可達到目標亮度)。換句話說,若子區域400(0)~400(4)與子區域400(5)~400(9)是第二影像400中屬於白天的戶外天空(亮度很亮),會造成拍攝主體的亮度過暗(如,位於子區域400(10)~400(14)的像素的平均亮度值為“65”)的問題。 However, from the above example, the average luminance values of the sub-regions 400(0) to 400(4) and the sub-regions 400(5) to 400(9) are much higher than those of the other sub-regions. Therefore, the average brightness value obtained after the other sub-areas are subjected to the exposure adjustment again is much lower than the target brightness value (although the overall brightness value of the second image can reach the target brightness). In other words, if the sub-areas 400(0)~400(4) and the sub-areas 400(5)~400(9) are the outdoor sky belonging to the daytime in the second image 400 (the brightness is very bright), the brightness of the subject is caused. The problem is too dark (for example, the average luminance value of the pixels located in the sub-regions 400(10) to 400(14) is "65").

有鑑於此,在本實施例中,若判定第二影像符合預定條件,會將影像擷取裝置10的拍攝模式切換到運動模式,同時,調整在第二模式的曝光權重表中的曝光權重值。具體來說,於第二模式中擷取第三影像500後,曝光補償模組141會降低對應第三影像500的預定區域520的多個曝光權重值,以計算對應第三影像的第二曝光補償值。舉例來說,請參照圖5A,相似上述的例子,曝光補償模組141會辨識第三影像500的多個像素的亮度值,將第三影像500的此些像素劃分為多個子區域500(0)~500(24),計算每一子區域500(0)~500(24)的平均亮度值。進一步地,曝光補償模組141會將此些子區域500(0)~500(24)中的部份子區域500(0)~500(9)設定為預定區域520,並且降低曝光權重表中對應預定區域520的多個曝光權重值。 In view of this, in the embodiment, if it is determined that the second image meets the predetermined condition, the shooting mode of the image capturing device 10 is switched to the motion mode, and at the same time, the exposure weight value in the exposure weight table of the second mode is adjusted. . Specifically, after the third image 500 is captured in the second mode, the exposure compensation module 141 reduces the plurality of exposure weight values corresponding to the predetermined region 520 of the third image 500 to calculate a second exposure corresponding to the third image. Compensation value. For example, referring to FIG. 5A , similar to the above example, the exposure compensation module 141 can identify the luminance values of the plurality of pixels of the third image 500, and divide the pixels of the third image 500 into multiple sub-regions 500 (0). ) ~500 (24), calculate the average brightness value of each sub-area 500 (0) ~ 500 (24). Further, the exposure compensation module 141 sets some of the sub-regions 500(0)-500(9) in the sub-regions 500(0)-500(24) to the predetermined region 520, and reduces the exposure weight table. A plurality of exposure weight values corresponding to the predetermined area 520.

舉例來說,請同時參照圖5A與圖5B,在本實施例中,假設曝光補償模組141在第二模式中會將第三影像500上方兩列的子區域500(0)~500(9)設定為預定區域520。並且在第二模式中,相較於第一模式中所設定的曝光權重表410,曝光補償模組141會將曝光權重表510的曝光權重值510(0)~510(24)中對應第三影像的預定區域520的曝光權重值510(0)~510(9)降低。如圖5B所繪示,曝光權重值510(0)~510(4)為“0”、“0”、“0”、“0”、“0”;曝光權重值510(5)~510(9)為“12”、“25”、“25”、“25”、“12”。此外,對應其他子區域的曝光權重值510(10)~510(24)與第一模式所設定的曝光權重表410中的曝光權重值410(10)~410(24)相同。 For example, please refer to FIG. 5A and FIG. 5B simultaneously. In this embodiment, it is assumed that the exposure compensation module 141 will sub-area 500(0)~500 (9) of the two columns above the third image 500 in the second mode. ) is set to the predetermined area 520. And in the second mode, the exposure compensation module 141 compares the exposure weight value 510(0)~510(24) of the exposure weight table 510 to the third in comparison with the exposure weight table 410 set in the first mode. The exposure weight values 510(0) to 510(9) of the predetermined area 520 of the image are lowered. As shown in FIG. 5B, the exposure weight values 510(0)~510(4) are "0", "0", "0", "0", "0"; exposure weight values 510(5)~510( 9) is "12", "25", "25", "25", "12". Further, the exposure weight values 510(10) to 510(24) corresponding to the other sub-regions are the same as the exposure weight values 410(10) to 410(24) in the exposure weight table 410 set in the first mode.

值得一提的是,在本實施例中,於第二模式中,會將對應預定區域的第一列的子區域的曝光權重值510(0)~510(4)調整為“0”,並且將對應預定區域的第一列的子區域的曝光權重值510(0)~510(4)調整為第一模式的曝光權重表410的相同列數的曝光權重值410(5)~410(9)的數值(即,“25”、“50”、“50”、“50”、“25”)的一半,但本發明不限於此。例如,在其他實施例中,廠商可根據需求來自行設定合適的方式來降低對應預定區域的第二模式的曝光權重表的曝光權重值的數值。 It should be noted that, in this embodiment, in the second mode, the exposure weight values 510(0)~510(4) of the sub-regions corresponding to the first column of the predetermined region are adjusted to “0”, and The exposure weight values 510(0) to 510(4) of the sub-regions corresponding to the first column of the predetermined region are adjusted to the exposure weight values 410(5) to 410(9) of the same column number of the exposure weight table 410 of the first mode. The numerical value (i.e., "25", "50", "50", "50", "25") is half, but the present invention is not limited thereto. For example, in other embodiments, the manufacturer may set a suitable manner from the line to reduce the value of the exposure weight value of the exposure weight table of the second mode corresponding to the predetermined area.

應注意的是,在本實施例中,廠商會預設戶外白天天空的亮度過亮,因此將影像中上方的子區域設定為預定區域,以調整對應的曝光權重值,但本發明不限於此。例如,在另一實施例中,會將亮度值大於一定程度的子區域設定為預定區域,以降低 對應此預定區域的曝光權重值。又例如,在另一實施例中,影像擷取裝置10會將非主要區域之外且亮度值高於一閥值的子區域設定為預定區域。在另一實施例中,於第二模式中,若最後一列的子區域500(20)~500(24)的平均亮度值高於第一列的子區域500(0)~500(4)的平均亮度值,則會判定使用者將影像截取裝置反拿,並且曝光補償模組141會將整個第三影像500的子區域的分布上下互置,以使較亮的天空區域所對應的子區域會在第三影像的上方。 It should be noted that, in this embodiment, the manufacturer presets that the brightness of the outdoor daytime sky is too bright, so the upper sub-area in the image is set as a predetermined area to adjust the corresponding exposure weight value, but the invention is not limited thereto. . For example, in another embodiment, a sub-region having a luminance value greater than a certain degree is set as a predetermined region to reduce The exposure weight value corresponding to this predetermined area. For another example, in another embodiment, the image capturing device 10 sets a sub-region outside the non-primary region and having a luminance value higher than a threshold as a predetermined region. In another embodiment, in the second mode, if the average brightness value of the sub-regions 500(20)-500(24) of the last column is higher than the sub-regions 500(0)-500(4) of the first column. The average brightness value determines that the user takes the image capture device back, and the exposure compensation module 141 alternates the distribution of the sub-regions of the entire third image 500 to the sub-region corresponding to the brighter sky region. Will be above the third image.

相似於圖4A與圖4B的方法,曝光補償模組141根據第三影像500的影像亮度分布(即,第三影像500的每一子區域500(0)~500(24)的平均亮度值)與第二模式的曝光權重表510來計算第三影像500的曝光補償值(亦稱,第二曝光補償值)。舉例來說,如圖5A與圖5B的例子,假設計算出來的第三影像500的亮度值為“106”,並且目標亮度值為“120”。據此,曝光補償模組141所計算出來的第二曝光補償值為“14”。詳細的步驟已說明如上,不再贅述於此。 Similar to the method of FIG. 4A and FIG. 4B , the exposure compensation module 141 is configured according to the image brightness distribution of the third image 500 (ie, the average brightness value of each sub-area 500 (0) 500 500 (24) of the third image 500). The exposure compensation value (also referred to as the second exposure compensation value) of the third image 500 is calculated with the exposure weight table 510 of the second mode. For example, as in the example of FIGS. 5A and 5B, it is assumed that the calculated third image 500 has a luminance value of "106" and the target luminance value is "120". Accordingly, the second exposure compensation value calculated by the exposure compensation module 141 is "14". The detailed steps have been described above and will not be described again.

也就是說,在本實施例中,雖然第三影像500與第二影像的影像亮度分布相同,但最後獲得的曝光補償值會因為曝光權重表的不同而有所差異。在圖5A與圖5B的例子中,經過使用第二模式調整後的曝光權重表510,適當地將第三影像500的每一子區域的平均亮度值加上第二曝光補償值“14”。如此一來,可將拍攝主體(如,用於表示拍攝主體的位於子區域510(10)~510(14)的像 素)的平均亮度值適當地增加為接近目標亮度值(即,“120”)的數值(即,“114”),改善了第一模式中,經過曝光補償後,拍攝主體過暗(如,位於子區域410(10)~410(14)的像素的平均亮度值為“65”)的問題。 That is to say, in the present embodiment, although the image brightness distribution of the third image 500 and the second image is the same, the exposure compensation value finally obtained may be different due to the difference in the exposure weight table. In the example of FIGS. 5A and 5B, the average exposure value of each sub-region of the third image 500 is appropriately added to the second exposure compensation value "14" after the exposure weight table 510 adjusted using the second mode. In this way, the subject (eg, the image located in the sub-areas 510(10)~510(14) for indicating the subject can be used. The average luminance value of the prime) is appropriately increased to a value close to the target luminance value (ie, "120") (ie, "114"), which improves the first mode, and after the exposure compensation, the subject is too dark (eg, The problem that the average luminance value of the pixels located in the sub-regions 410 (10) to 410 (14) is "65").

值得一提的是,在本實施例中,曝光補償模組141、白平衡補償模組142、像素差異辨識模組143、拍攝模式切換模組144是以軟體或韌體的方式來實施,但本發明不限於此。本發明的影像擷取方法與裝置亦可以硬體電路的方式來實現相同於軟體的功能。例如,曝光補償模組141可實作為耦接處理單元120的曝光補償電路單元,並且用以執行曝光補償模組141的功能;白平衡補償模組142可實作為耦接處理單元120的白平衡補償電路單元,並且用以執行白平衡補償模組142的功能。依此類推,像素差異辨識模組143可實作為耦接處理單元120的像素差異辨識電路單元,並且拍攝模式切換模組144可實作為耦接處理單元120的拍攝模式切換電路單元。 It is to be noted that, in this embodiment, the exposure compensation module 141, the white balance compensation module 142, the pixel difference recognition module 143, and the shooting mode switching module 144 are implemented in a software or firmware manner, but The invention is not limited thereto. The image capturing method and apparatus of the present invention can also implement the same function as the software in a hardware circuit manner. For example, the exposure compensation module 141 can be implemented as an exposure compensation circuit unit coupled to the processing unit 120 and used to perform the function of the exposure compensation module 141. The white balance compensation module 142 can be used as the white balance of the coupling processing unit 120. The circuit unit is compensated and used to perform the function of the white balance compensation module 142. The pixel difference recognition module 143 can be used as the pixel difference identification circuit unit of the coupling processing unit 120, and the shooting mode switching module 144 can be used as the shooting mode switching circuit unit of the coupling processing unit 120.

綜上所述,本發明的實施例所提供的影像擷取方法與影像擷取裝置,可自動地根據所擷取的第一影像與第二影像判定是否要切換至運動模式(亦稱,第二模式),以根據第二模式來擷取第三影像,並且降低對應所述第三影像的預定區域的多個曝光權重值,進而計算對應所述第三影像的第二曝光補償值。藉此,可使於第二模式中所擷取的第三影像有較佳的曝光補償並且獲得合適的亮度。 In summary, the image capturing method and the image capturing device provided by the embodiments of the present invention can automatically determine whether to switch to the motion mode according to the captured first image and the second image (also referred to as The second mode is configured to capture the third image according to the second mode, and reduce the plurality of exposure weight values corresponding to the predetermined area of the third image, thereby calculating a second exposure compensation value corresponding to the third image. Thereby, the third image captured in the second mode can be better compensated and a suitable brightness can be obtained.

雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明的精神和範圍內,當可作些許的更動與潤飾,故本發明的保護範圍當視後附的申請專利範圍所界定者為準。 Although the present invention has been disclosed in the above embodiments, it is not intended to limit the present invention, and any one of ordinary skill in the art can make some changes and refinements without departing from the spirit and scope of the present invention. The scope of the invention is defined by the scope of the appended claims.

S201、S203、S205、S207、S209、S211‧‧‧步驟 Steps S201, S203, S205, S207, S209, S211‧‧

Claims (10)

一種影像擷取方法,適用於一影像擷取裝置,該影像擷取方法包括:若該影像擷取裝置的一拍攝模式為一第一模式,擷取一第一影像與一第二影像,並且獲得對應該第一影像與該第二影像的該影像擷取裝置的一感測差異值;根據該第二影像,取得對應該第二影像的一白平衡補償值與一第一曝光補償值;根據該第一影像與該第二影像來獲得對應該第一影像與該第二影像的一像素差異值;根據該像素差異值、該感測差異值、該第二影像的該白平衡補償值與該第一曝光補償值來判斷該第二影像是否滿足一預定條件;若該第二影像滿足該預定條件,將該影像擷取裝置的該拍攝模式切換至一第二模式,並且根據該第二模式來擷取一第三影像;以及降低對應該第三影像的一預定區域的多個曝光權重值,以計算對應該第三影像的一第二曝光補償值。 An image capturing method is applicable to an image capturing device, and the image capturing method includes: capturing a first image and a second image if a shooting mode of the image capturing device is a first mode, and Obtaining a sensing difference value of the image capturing device corresponding to the first image and the second image; obtaining a white balance compensation value corresponding to the second image and a first exposure compensation value according to the second image; Obtaining, according to the first image and the second image, a pixel difference value corresponding to the first image and the second image; and according to the pixel difference value, the sensing difference value, and the white balance compensation value of the second image Determining whether the second image satisfies a predetermined condition with the first exposure compensation value; if the second image satisfies the predetermined condition, switching the shooting mode of the image capturing device to a second mode, and according to the first The second mode captures a third image; and reduces a plurality of exposure weight values corresponding to a predetermined area of the third image to calculate a second exposure compensation value corresponding to the third image. 如申請專利範圍第1項所述的影像擷取方法,其中在上述根據該像素差異值、該感測差異值、該第二影像的該白平衡補償值與該第一曝光補償值來判斷該第二影像是否滿足該預定條件的步驟包括: 判斷該第二影像的該白平衡補償值是否為一預定白平衡補償值或該第二影像的該第一曝光補償值是否小於一曝光補償門檻值;若該第二影像的該白平衡補償值為該預定白平衡補償值或該第二影像的該第一曝光補償值小於該曝光補償門檻值,判斷對應該第一影像與該第二影像的該像素差異值是否大於一像素差異門檻值且對應該第一影像與該第二影像的該感測差異值是否小於一感測差異門檻值;以及若對應該第一影像與該第二影像的該像素差異值大於該像素差異門檻值且對應該第一影像與該第二影像的該感測差異值小於該感測差異門檻值,判定該第二影像滿足該預定條件。 The image capturing method of claim 1, wherein the determining the value according to the pixel difference value, the sensing difference value, the white balance compensation value of the second image, and the first exposure compensation value The step of whether the second image satisfies the predetermined condition includes: Determining whether the white balance compensation value of the second image is a predetermined white balance compensation value or whether the first exposure compensation value of the second image is less than an exposure compensation threshold; if the white balance compensation value of the second image Whether the predetermined white balance compensation value or the first exposure compensation value of the second image is smaller than the exposure compensation threshold, determining whether the pixel difference value corresponding to the first image and the second image is greater than a pixel difference threshold value and Whether the sensed difference value of the first image and the second image is less than a sense difference threshold value; and if the pixel difference value corresponding to the first image and the second image is greater than the pixel difference threshold value and The sensed difference value of the first image and the second image should be less than the sensed difference threshold, and the second image is determined to satisfy the predetermined condition. 如申請專利範圍第1項所述的影像擷取方法,其中在上述根據該第一影像與該第二影像來獲得對應該第一影像與該第二影像的該像素差異值的步驟包括:辨識該第一影像的多個像素的一特徵值,並且辨識該第二影像的多個像素的該特徵值,其中該第一影像與該第二影像的每一該些像素具有對應相同一座標系的一座標;以及根據該第一影像的每一該些像素與該第二影像的每一該些像素的該座標,比較該第一影像的每一該些像素與該第二影像的每一該些像素的該特徵值,並且將具有相同該座標但不同該特徵值的多個像素的一總數作為對應該第一影像與該第二影像的該像素差異值。 The image capturing method of claim 1, wherein the step of obtaining the pixel difference value corresponding to the first image and the second image according to the first image and the second image comprises: identifying a feature value of the plurality of pixels of the first image, and identifying the feature value of the plurality of pixels of the second image, wherein the first image and each of the pixels of the second image have the same one mark Comparing each of the pixels of the first image with each of the pixels of the second image, and comparing each of the pixels of the first image with each of the second images The feature value of the pixels, and a total number of pixels having the same coordinate but different the feature values is used as the pixel difference value corresponding to the first image and the second image. 如申請專利範圍第1項所述的影像擷取方法,其中在上述獲得對應該第一影像與該第二影像的該影像擷取裝置的該感測差異值的步驟包括:當擷取該第一影像時,偵測該影像擷取裝置的一第一感測值;當擷取該第二影像時,偵測該影像擷取裝置的一第二感測值;以及將對該第二感測值減去該第一感測值所獲得的一差值的一絕對值作為對應該第一影像與該第二影像的該影像擷取裝置的該感測差異值。 The image capturing method of claim 1, wherein the step of obtaining the sensing difference value of the image capturing device corresponding to the first image and the second image comprises: capturing the first Detecting a first sensing value of the image capturing device when detecting an image; detecting a second sensing value of the image capturing device when capturing the second image; and detecting the second sense And subtracting an absolute value of a difference obtained by the first sensing value as the sensing difference value of the image capturing device corresponding to the first image and the second image. 如申請專利範圍第1項所述的影像擷取方法,其中上述降低對應該第三影像的該預定區域的多個曝光權重值,以計算對應該第三影像的該第二曝光補償值的步驟包括:辨識該第三影像的多個像素的一亮度值;將該第三影像的該些像素劃分為多個子區域;根據每一該些子區域的多個像素的該亮度值來計算每一該些子區域的一平均亮度值;將該些子區域中的部份子區域設定為該預定區域,並且降低一曝光權重表中對應該預定區域的多個曝光權重值,其中該曝光權重表具有多個曝光權重值,並且每一該些曝光權重值對應每一該些子區域;根據該曝光權重表,將每一該些子區域的該平均亮度值分別乘以該曝光權重表中對應每一該些子區域的該曝光權重值,以計 算每一該些子區域的一加權後亮度值;以及根據該第三影像的每一該些子區域的該加權後亮度值來計算該第三影像的該第二曝光補償值。 The image capturing method of claim 1, wherein the reducing the plurality of exposure weight values corresponding to the predetermined area of the third image to calculate the second exposure compensation value corresponding to the third image The method includes: identifying a brightness value of the plurality of pixels of the third image; dividing the pixels of the third image into a plurality of sub-regions; calculating each brightness value according to the plurality of pixels of each of the sub-regions An average brightness value of the sub-regions; setting a partial sub-region of the sub-regions to the predetermined region, and reducing a plurality of exposure weight values corresponding to the predetermined region in an exposure weight table, wherein the exposure weight table Having a plurality of exposure weight values, and each of the exposure weight values corresponds to each of the sub-regions; according to the exposure weight table, multiplying the average luminance values of each of the sub-regions by a corresponding one in the exposure weight table The exposure weight value of each of the sub-areas Calculating a weighted luminance value of each of the sub-regions; and calculating the second exposure compensation value of the third image according to the weighted luminance value of each of the sub-regions of the third image. 一種影像擷取裝置,包括:一影像擷取單元,其中若該影像擷取裝置的一拍攝模式為一第一模式,該影像擷取單元擷取一第一影像與一第二影像;一感測器,用以獲得對應該第一影像與該第二影像的該影像擷取裝置的一感測差異值;一儲存單元,儲存多個模組;以及一處理單元,耦接於該影像擷取單元、該感測器以及該儲存單元,以存取並執行該儲存單元所儲存的該些模組,其中該些模組包括:一曝光補償模組,用以取得對應該第二影像的一第一曝光補償值;一白平衡補償模組,用以取得對應該第二影像的一白平衡補償值;一像素差異辨識模組,用以根據該第一影像與該第二影像來獲得對應該第一影像與該第二影像的一像素差異值;以及一拍攝模式切換模組,用以根據該像素差異值、該感測差異值、該第二影像的該白平衡補償值與該第一曝光補償值來判斷該第二影像是否滿足一預定條件,其中若該第二影像滿足該預定條件,該拍攝模式切換模組將該影像擷取裝置的該拍攝模式切換至 一第二模式,其中影像擷取單元根據該第二模式來擷取一第三影像,並且該曝光補償模組降低對應該第三影像的一預定區域的多個曝光權重值,以計算對應該第三影像的一第二曝光補償值。 An image capturing device includes: an image capturing unit, wherein if the image capturing mode of the image capturing device is a first mode, the image capturing unit captures a first image and a second image; a sensor for obtaining a sensed difference value of the image capture device corresponding to the first image and the second image; a storage unit storing a plurality of modules; and a processing unit coupled to the image The module, the sensor, and the storage unit are configured to access and execute the modules stored in the storage unit, wherein the modules include: an exposure compensation module for obtaining a second image a first exposure compensation value; a white balance compensation module for obtaining a white balance compensation value corresponding to the second image; a pixel difference recognition module for obtaining the first image and the second image a pixel difference value corresponding to the first image and the second image; and a shooting mode switching module, configured to use the pixel difference value, the sensing difference value, the white balance compensation value of the second image, and the First exposure compensation To judge whether the second image satisfies a predetermined condition, wherein if the image of the second predetermined condition is satisfied, the photographing mode switching module The image capturing device is switched to the photographing mode a second mode, wherein the image capturing unit captures a third image according to the second mode, and the exposure compensation module reduces a plurality of exposure weight values corresponding to a predetermined area of the third image to calculate corresponding A second exposure compensation value of the third image. 如申請專利範圍第6項所述的影像擷取裝置,在上述該拍攝模式切換模組根據該像素差異值、該感測差異值、該第二影像的該白平衡補償值與該第一曝光補償值來判斷該第二影像是否滿足該預定條件的運作中,該拍攝模式切換模組判斷該第二影像的該白平衡補償值是否為一預定白平衡補償值或該第二影像的該第一曝光補償值是否小於一曝光補償門檻值,其中若該第二影像的該白平衡補償值為該預定白平衡補償值或該第二影像的該第一曝光補償值小於該曝光補償門檻值,該拍攝模式切換模組判斷對應該第一影像與該第二影像的該像素差異值是否大於一像素差異門檻值且對應該第一影像與該第二影像的該感測差異值是否小於一感測差異門檻值,其中若對應該第一影像與該第二影像的該像素差異值大於該像素差異門檻值且對應該第一影像與該第二影像的該感測差異值小於該感測差異門檻值,該拍攝模式切換模組判定該第二影像滿足該預定條件。 The image capturing device of claim 6, wherein the shooting mode switching module performs the first exposure according to the pixel difference value, the sensing difference value, the white balance compensation value of the second image, and And determining, by the compensation value, whether the second image is in the operation of the predetermined condition, the shooting mode switching module determining whether the white balance compensation value of the second image is a predetermined white balance compensation value or the second image Whether an exposure compensation value is less than an exposure compensation threshold, wherein if the white balance compensation value of the second image is the predetermined white balance compensation value or the first exposure compensation value of the second image is less than the exposure compensation threshold value, The shooting mode switching module determines whether the pixel difference value corresponding to the first image and the second image is greater than a pixel difference threshold value and whether the sensing difference value corresponding to the first image and the second image is less than a sense Detecting a difference threshold, wherein the pixel difference value corresponding to the first image and the second image is greater than the pixel difference threshold and corresponds to the first image and the second image The sensing difference value is less than the sensing difference threshold value, and the shooting mode switching module determines that the second image satisfies the predetermined condition. 如申請專利範圍第6項所述的影像擷取裝置,在上述該像素差異辨識模組根據該第一影像與該第二影像來獲得對應該第一影像與該第二影像的該像素差異值的運作中,該像素差異辨識模組辨識該第一影像的多個像素的一特徵值,並且辨識該第二影像的多個像素的該特徵值,其中該第一影像與該第二影像的每一該些像素具有對應相同一座標系的一座標,其中該像素差異辨識模組根據該第一影像的每一該些像素與該第二影像的每一該些像素的該座標,比較該第一影像的每一該些像素與該第二影像的每一該些像素的該特徵值,並且將具有相同該座標但不同該特徵值的多個像素的一總數作為對應該第一影像與該第二影像的該像素差異值。 The image capturing device of claim 6, wherein the pixel difference recognition module obtains the pixel difference value corresponding to the first image and the second image according to the first image and the second image. In the operation, the pixel difference recognition module identifies a feature value of the plurality of pixels of the first image, and identifies the feature value of the plurality of pixels of the second image, wherein the first image and the second image are Each of the pixels has a flag corresponding to the same one of the pixels, wherein the pixel difference recognition module compares the pixels according to the coordinates of each of the pixels of the first image with the coordinates of each of the pixels of the second image. Each of the pixels of the first image and the feature value of each of the pixels of the second image, and a total number of pixels having the same coordinate but different feature values is corresponding to the first image and The pixel difference value of the second image. 如申請專利範圍第6項所述的影像擷取裝置,在上述該感測器獲得對應該第一影像與該第二影像的該影像擷取裝置的該感測差異值的運作中,當該影像擷取單元擷取該第一影像時,該感測器偵測該影像擷取裝置的一第一感測值,其中當該影像擷取單元擷取該第二影像時,該感測器偵測該影像擷取裝置的一第二感測值,其中該感測器將對該第二感測值減去該第一感測值所獲得的一差值的一絕對值作為對應該第一影像與該第二影像的該影像擷取裝置的該感測差異值。 The image capturing device of claim 6, wherein the sensor obtains the sensing difference value of the image capturing device corresponding to the first image and the second image, when the sensor When the image capturing unit captures the first image, the sensor detects a first sensing value of the image capturing device, wherein when the image capturing unit captures the second image, the sensor Detecting a second sensing value of the image capturing device, wherein the sensor subtracts an absolute value of a difference obtained by the first sensing value from the second sensing value as a corresponding The sensed difference value of the image capture device of the image and the second image. 如申請專利範圍第6項所述的影像擷取裝置,在上述該曝光補償模組降低對應該第三影像的該預定區域的多個曝光權重值,以計算對應該第三影像的該第二曝光補償值的運作中,該曝光補償模組辨識該第三影像的多個像素的一亮度值,其中該曝光補償模組將該第三影像的該些像素劃分為多個子區域,其中該曝光補償模組根據每一該些子區域的多個像素的該亮度值來計算每一該些子區域的一平均亮度值,其中該曝光補償模組將該些子區域中的部份子區域設定為該預定區域,並且降低一曝光權重表中對應該預定區域的多個曝光權重值,其中該曝光權重表具有多個曝光權重值,並且每一該些曝光權重值對應每一該些子區域,其中該曝光補償模組根據該曝光權重表,將每一該些子區域的該平均亮度值分別乘以該曝光權重表中對應每一該些子區域的該曝光權重值,以計算每一該些子區域的一加權後亮度值,其中該曝光補償模組根據該第三影像的每一該些子區域的該加權後亮度值來計算該第三影像的該第二曝光補償值。 The image capturing device of claim 6, wherein the exposure compensation module reduces a plurality of exposure weight values corresponding to the predetermined region of the third image to calculate the second corresponding to the third image. In the operation of the exposure compensation value, the exposure compensation module identifies a brightness value of the plurality of pixels of the third image, wherein the exposure compensation module divides the pixels of the third image into a plurality of sub-areas, wherein the exposure The compensation module calculates an average brightness value of each of the sub-areas according to the brightness value of the plurality of pixels of each of the sub-areas, wherein the exposure compensation module sets a part of the sub-areas in the sub-areas a predetermined area, and reducing a plurality of exposure weight values corresponding to the predetermined area in an exposure weight table, wherein the exposure weight table has a plurality of exposure weight values, and each of the exposure weight values corresponds to each of the sub-areas The exposure compensation module multiplies the average luminance values of each of the sub-regions by the exposure weights corresponding to each of the sub-regions in the exposure weight table according to the exposure weight table. a value for calculating a weighted luminance value of each of the sub-regions, wherein the exposure compensation module calculates the third image of the third image according to the weighted luminance value of each of the sub-regions of the third image Two exposure compensation values.
TW104119104A 2015-06-12 2015-06-12 Image capture method and image capture apparatus TW201643777A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW104119104A TW201643777A (en) 2015-06-12 2015-06-12 Image capture method and image capture apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW104119104A TW201643777A (en) 2015-06-12 2015-06-12 Image capture method and image capture apparatus

Publications (1)

Publication Number Publication Date
TW201643777A true TW201643777A (en) 2016-12-16

Family

ID=58055939

Family Applications (1)

Application Number Title Priority Date Filing Date
TW104119104A TW201643777A (en) 2015-06-12 2015-06-12 Image capture method and image capture apparatus

Country Status (1)

Country Link
TW (1) TW201643777A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI653885B (en) 2017-03-03 2019-03-11 宏碁股份有限公司 Image output method and image capturing device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI653885B (en) 2017-03-03 2019-03-11 宏碁股份有限公司 Image output method and image capturing device
US10306138B2 (en) 2017-03-03 2019-05-28 Acer Incorporated Image output method and image capturing device

Similar Documents

Publication Publication Date Title
RU2562918C2 (en) Shooting device, shooting system and control over shooting device
KR101570772B1 (en) Image capture apparatus, display control method, and storage medium
CN107124545B (en) Method for automatically switching terminal focusing modes and terminal
US8779341B2 (en) Imaging apparatus and exposure control method
TWI486057B (en) Image pickup device and image synthesis method thereof
JP5371717B2 (en) Image processing apparatus and image processing method
CN101895783A (en) Detection device for stability of digital video camera and digital video camera
US20150116471A1 (en) Method, apparatus and storage medium for passerby detection
US20170118394A1 (en) Autofocusing a macro object by an imaging device
US9674496B2 (en) Method for selecting metering mode and image capturing device thereof
TWI640200B (en) Electronic device and method for image capturing control thereof
WO2019111659A1 (en) Image processing device, imaging device, image processing method, and program
WO2015192545A1 (en) Photographing method and apparatus and computer storage medium
CN111147762A (en) Imaging apparatus and aperture control method of imaging apparatus
JP5316923B2 (en) Imaging apparatus and program thereof
TW201643777A (en) Image capture method and image capture apparatus
JP4451707B2 (en) Imaging apparatus and imaging method
US11496660B2 (en) Dual sensor imaging system and depth map calculation method thereof
US8421878B2 (en) White balance adjustment system for solid-state electronic image sensing device, and method of controlling operation of same
JP5832618B2 (en) Imaging apparatus, control method thereof, and program
JP2013051516A (en) Imaging device and determination method, and program
JP2006217249A (en) Electronic camera, electronic camera system and program
JP2013127548A (en) Display device and display control program
JP6294607B2 (en) IMAGING DEVICE, ITS CONTROL METHOD, PROGRAM, AND STORAGE MEDIUM
TW202211165A (en) Dual sensor imaging system and depth map calculation method thereof