[go: up one dir, main page]

TWI635748B - Image sensing method and device thereof - Google Patents

Image sensing method and device thereof Download PDF

Info

Publication number
TWI635748B
TWI635748B TW106101447A TW106101447A TWI635748B TW I635748 B TWI635748 B TW I635748B TW 106101447 A TW106101447 A TW 106101447A TW 106101447 A TW106101447 A TW 106101447A TW I635748 B TWI635748 B TW I635748B
Authority
TW
Taiwan
Prior art keywords
photoreceptor
pixel
exposure
image
photoreceptors
Prior art date
Application number
TW106101447A
Other languages
Chinese (zh)
Other versions
TW201828690A (en
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 TW106101447A priority Critical patent/TWI635748B/en
Publication of TW201828690A publication Critical patent/TW201828690A/en
Application granted granted Critical
Publication of TWI635748B publication Critical patent/TWI635748B/en

Links

Landscapes

  • Color Television Image Signal Generators (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

提供一種圖像感測方法及其裝置。圖像感測裝置包括圖像擷取電路以及影像處理器。圖像擷取電路具有多個像素感光器。所述像素感光器至少被分為多組像素群組,且每個像素感光器中包括至少一全頻譜感光器。影像處理器耦接該圖像擷取電路,透過環境光源的感測結果而獲得環境亮度,並依據所述環境亮度計算多個曝光數值,其中各個曝光數值互不相同。所述影像處理器將每組像素群組中的像素感光器的全頻譜感光器的曝光時間分別設定為各個曝光數值,藉以擷取圖像。An image sensing method and apparatus are provided. The image sensing device includes an image capturing circuit and an image processor. The image capture circuit has a plurality of pixel photoreceptors. The pixel photoreceptor is divided into at least a plurality of groups of pixels, and each of the pixel photoreceptors includes at least one full spectrum photoreceptor. The image processor is coupled to the image capturing circuit to obtain ambient brightness through the sensing result of the ambient light source, and calculate a plurality of exposure values according to the ambient brightness, wherein each exposure value is different from each other. The image processor sets the exposure time of the full spectrum photoreceptor of the pixel photoreceptor in each group of pixel groups to each exposure value, thereby capturing an image.

Description

圖像感測方法及其裝置Image sensing method and device thereof

本發明是有關於一種感測技術,且特別是有關於一種圖像感測方法及其裝置。The present invention relates to a sensing technique, and more particularly to an image sensing method and apparatus therefor.

近年來由於多媒體應用的蓬勃發展,人們對圖像感測裝置的需求也逐漸增加。圖像感測裝置如數位相機、行車紀錄器、網路攝影機、手機及平板電腦等,皆是使用感光元件來擷取圖像。目前主流圖像感測裝置的感光元件包括了感光耦合元件(charge coupled device,CCD)及互補式金氧半導體主動像素傳感器(CMOS active pixel sensor)。此兩種感光元件都是藉由接收光線並將其轉換成電子訊號來擷取圖像。In recent years, due to the vigorous development of multimedia applications, the demand for image sensing devices has gradually increased. Image sensing devices such as digital cameras, driving recorders, webcams, mobile phones, and tablets all use photosensitive elements to capture images. At present, the photosensitive elements of the mainstream image sensing device include a charge coupled device (CCD) and a complementary CMOS active pixel sensor. Both of these photosensitive elements capture images by receiving light and converting it into an electronic signal.

為了因應使用者對畫素提升以及圖像感測裝置薄型化等需求,感光元件的圖像擷取電路也須隨著畫素的提升或裝置的薄型化而縮小像素感光器的尺寸。然而,當像素感光器的尺寸縮小時,進光量也會隨之減少。此現象會造成圖像感測裝置在低光源環境下的感光不足。為了提升圖像感測裝置的進光量,目前可使用配置了全頻譜感光器(即白光感光器)的RWB(紅光、白光及藍光)像素感光器。然而,使用全頻譜感光器也造成了一些問題。如何改善全頻譜感光器造成的種種問題,便是各廠商努力研究的目標之一。In order to meet the needs of the user for the improvement of the pixels and the thinning of the image sensing device, the image capturing circuit of the photosensitive element must also reduce the size of the pixel photoreceptor as the pixel is improved or the device is thinned. However, as the size of the pixel photoreceptor is reduced, the amount of light entering is also reduced. This phenomenon can cause insufficient sensitivity of the image sensing device in a low light source environment. In order to increase the amount of light entering the image sensing device, RWB (red, white, and blue) pixel photoreceptors equipped with a full spectrum photoreceptor (ie, a white photoreceptor) can be used. However, the use of full spectrum photoreceptors also poses some problems. How to improve the problems caused by the full spectrum photoreceptor is one of the goals of various manufacturers' efforts.

本發明提供一種圖像感測方法及其裝置,改善具備全頻譜感光器的圖像感測裝置所感測的圖像的亮度(luminance,或稱Luma)、飽和度、色偏及對比度,得到具有高進光量、高動態對比以及顏色較為艷麗的輸出圖像。The invention provides an image sensing method and a device thereof, which improve the brightness (luminance, or luma) and contrast of an image sensed by an image sensing device with a full spectrum photoreceptor, and obtain High light input, high dynamic contrast and brighter color output images.

本發明的圖像感測裝置包括圖像擷取電路以及影像處理器(image signal processor,ISP)。圖像擷取電路具有多個像素感光器。所述像素感光器至少被分為多組像素群組,且每個像素感光器中包括至少一全頻譜感光器。其中影像處理器耦接該圖像擷取電路,透過環境光源的感測結果而獲得環境亮度,並依據該環境亮度計算多個曝光數值,其中各個曝光數值互不相同。所述影像處理器將每組像素群組中的像素感光器的全頻譜感光器的曝光時間分別設定為各個曝光數值,藉以擷取圖像。The image sensing device of the present invention includes an image capturing circuit and an image signal processor (ISP). The image capture circuit has a plurality of pixel photoreceptors. The pixel photoreceptor is divided into at least a plurality of groups of pixels, and each of the pixel photoreceptors includes at least one full spectrum photoreceptor. The image processor is coupled to the image capturing circuit, and obtains ambient brightness through the sensing result of the ambient light source, and calculates a plurality of exposure values according to the ambient brightness, wherein each exposure value is different from each other. The image processor sets the exposure time of the full spectrum photoreceptor of the pixel photoreceptor in each group of pixel groups to each exposure value, thereby capturing an image.

本發明的圖像感測的方法,包括下列步驟:使用多個像素感光器感測環境光源,並透過所述環境光源的感測結果而獲得環境亮度。將所述像素感光器分為至少多組像素群組,且每個像素感光器中包括至少一全頻譜感光器。依據環境亮度計算多個曝光數值,其中各個曝光數值互不相同。將每組像素群組中的像素感光器的全頻譜感光器的曝光時間分別設定為各個曝光數值,藉以擷取圖像。The image sensing method of the present invention comprises the steps of: sensing an ambient light source using a plurality of pixel photoreceptors, and obtaining an ambient brightness through a sensing result of the ambient light source. The pixel photoreceptors are divided into at least a plurality of groups of pixels, and each of the pixel photoreceptors includes at least one full spectrum photoreceptor. A plurality of exposure values are calculated based on the ambient brightness, wherein each exposure value is different from each other. The exposure time of the full-spectrum photoreceptor of the pixel photoreceptor in each group of pixel groups is set to each exposure value, respectively, to capture an image.

基於上述,本發明的圖像感測方法及其裝置將像素感光器分成不同群組,並設定不同的曝光數值給各組像素群組中的全頻譜感光器。藉由降低部分像素群組中全頻譜感光器的曝光時間,可以降低全頻譜感光器整體的進光量,使亮度不至於太快就達到飽和(換句話說,避免太早過曝)而影響了圖像的對比度。如此,就算在光源較強的環境下使用對亮度較為敏感的RWB感光器,也不致使圖像感測裝置所擷取的圖像在整體上過度曝光。此外,本發明實施例將不同像素群組中的全頻譜感光器設定成不同的曝光數值,可以同時保留擷取圖像的高亮度細節以及低亮度資訊。因此,本發明實施例可以改善圖像感測裝置的輸出圖像的亮度、飽和度、色偏及對比度,得到具有高進光量、高動態對比以及顏色較為艷麗的輸出圖像。Based on the above, the image sensing method and apparatus of the present invention divides the pixel photoreceptors into different groups and sets different exposure values to the full spectrum photoreceptors in each group of pixel groups. By reducing the exposure time of the full spectrum photoreceptor in some pixel groups, the overall amount of light entering the full spectrum photoreceptor can be reduced, so that the brightness does not reach saturation too quickly (in other words, avoiding too early exposure). The contrast of the image. Thus, even if the RWB photoreceptor sensitive to brightness is used in a strong light source environment, the image captured by the image sensing device is not overexposed as a whole. In addition, the embodiment of the present invention sets the full spectrum photoreceptors in different pixel groups to different exposure values, and can simultaneously retain the high brightness details and low brightness information of the captured images. Therefore, the embodiment of the invention can improve the brightness, saturation, color shift and contrast of the output image of the image sensing device, and obtain an output image with high light input, high dynamic contrast and bright colors.

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

傳統的像素感光器是將拜爾濾鏡片(Bayer filter),也就是RGB濾鏡片,排列在圖像擷取電路的像素感光器陣列上方。每個像素感光器可以依照對應原色的濾鏡片擷取外部光源中的三原色之一,並將所述原色的亮度記錄起來。RWB像素感光器使用了全頻譜感光器取代RGB像素感光器(紅光、綠光及藍光)中的綠光感光器,藉此提升圖像感測裝置在低光源環境下感測到的亮度。例如,比起綠光感光器,全頻譜感光器會接收到更多的光線,因此容易更快地達到感光器所能感測到的最高亮度,換句話說,全頻譜感光器的進光量更容易達到飽和,導致全頻譜感光器所感測的亮度難以被精準地評估而造成色偏,擷取出來的圖像也會因此損失一些對比度。此外,當圖像感測裝置判斷感光器所擷取到圖像的顏色已達到飽和時,圖像感測裝置對所述顏色的補償增益會降低,導致輸出圖像的整體顏色相對不飽和。A conventional pixel photoreceptor is a Bayer filter, that is, an RGB filter lens, arranged above a pixel photoreceptor array of an image capture circuit. Each pixel photoreceptor can capture one of the three primary colors in the external light source according to the filter lens corresponding to the primary color, and record the brightness of the primary color. The RWB pixel photoreceptor uses a full-spectrum photoreceptor instead of the green photoreceptor in the RGB pixel photoreceptors (red, green, and blue) to enhance the brightness of the image sensing device in low-light environments. For example, a full-spectrum photoreceptor receives more light than a green photoreceptor, so it is easier to reach the highest brightness that the photoreceptor can sense faster. In other words, the full-spectrum photoreceptor has more light. It is easy to achieve saturation, which makes it difficult for the brightness sensed by the full-spectrum photoreceptor to be accurately evaluated to cause color shift, and the extracted image will lose some contrast. In addition, when the image sensing device determines that the color captured by the photoreceptor has reached saturation, the image sensing device may reduce the compensation gain of the color, resulting in a relatively unsaturated overall color of the output image.

圖1繪示符合本發明一實施例之圖像感測裝置100的示意圖。圖像感測裝置100可包括圖像擷取電路120以及影像處理器140,影像處理器140耦接圖像擷取電路120。圖像感測裝置100可例如是數位相機、行車紀錄器、網路攝影機、手機或平板電腦等需要進行圖像擷取的裝置。圖像擷取電路120可例如是感光耦合元件(charge coupled device,CCD)或互補式金氧半導體主動像素傳感器(CMOS active pixel sensor)。影像處理器140可例如是具有影像處理功能的中央處理器(CPU)、微處理器(micro-processor)或嵌入式控制器(embedded controller)。FIG. 1 is a schematic diagram of an image sensing apparatus 100 in accordance with an embodiment of the present invention. The image sensing device 100 can include an image capturing circuit 120 and an image processor 140. The image processor 140 is coupled to the image capturing circuit 120. The image sensing device 100 can be, for example, a device that requires image capture, such as a digital camera, a driving recorder, a web camera, a mobile phone, or a tablet computer. The image capture circuit 120 can be, for example, a charge coupled device (CCD) or a complementary CMOS active pixel sensor. The image processor 140 can be, for example, a central processing unit (CPU), a micro-processor, or an embedded controller having image processing functions.

圖2A繪示符合本發明一實施例之圖像擷取電路120的示意圖。圖像擷取電路120包括了多個像素感光器121,像素感光器121可例如是安裝了RWB(紅光、白光及藍光)濾鏡片的感光像素。在本發明的實施例中,每個像素感光器包括至少一全頻譜感光器。例如在圖2A的實施例中,像素感光器121是由1個紅光感光器R、1個全頻譜感光器W以及1個藍光感光器B所組成的。在圖2B的實施例中,像素感光器123是由1個紅光感光器R、2個全頻譜感光器W以及1個藍光感光器B所組成的。像素感光器的排列樣式(pattern)可由使用者依據實際需求調整,本發明不限定於此。2A is a schematic diagram of an image capture circuit 120 in accordance with an embodiment of the present invention. The image capturing circuit 120 includes a plurality of pixel photoreceptors 121, which may be, for example, photosensitive pixels on which RWB (red, white, and blue) filter lenses are mounted. In an embodiment of the invention, each pixel photoreceptor comprises at least one full spectrum photoreceptor. For example, in the embodiment of FIG. 2A, the pixel photoreceptor 121 is composed of a red photoreceptor R, a full spectrum photoreceptor W, and a blue photoreceptor B. In the embodiment of FIG. 2B, the pixel photoreceptor 123 is composed of one red photoreceptor R, two full-spectrum photoreceptors W, and one blue photoreceptor B. The arrangement pattern of the pixel photoreceptors can be adjusted by the user according to actual needs, and the present invention is not limited thereto.

多個像素感光器可至少被分為多組像素群組。例如圖2A的實施例中,多個像素感光器121被分為3組像素群組,包括T1、T2及T3。圖2B的實施例中,多個像素感光器123被分為2組像素群組,包括T1及T2。像素群組的數量可由使用者依據實際需求調整,本發明不限定於此。分組的方式可例如是將像素感光器以行或列為單位進行分組。例如圖2A的實施例將像素感光器121以行為單位進行分組。圖像擷取電路120中,第一行、第二行及第三行像素感光器121分別被分為T1、T2及T3群組。接著,從第四行開始,像素感光器121再依序T1、T2及T3的順序分配組別。如此重複步驟直到所有的像素感光器121都分配到其中一組為止。使用者也可以依據實際需求調整分組的方式,本發明不限定於此。例如圖2B的實施例將像素感光器123中的子像素感光器以行單位進行分組。配置有紅光感光器R及全頻譜感光器W的第一行被區分為T1群組,配置有藍光感光器B及全頻譜感光器W的第二行被區分為T2群組。接著,從第三行開始,像素感光器123再依序T1及T2的順序分配組別。如此重複步驟直到所有的像素感光器123都分配到其中一組為止。The plurality of pixel photoreceptors can be divided into at least a plurality of groups of pixels. For example, in the embodiment of FIG. 2A, a plurality of pixel photoreceptors 121 are divided into three groups of pixels, including T1, T2, and T3. In the embodiment of FIG. 2B, a plurality of pixel photoreceptors 123 are divided into two groups of pixels, including T1 and T2. The number of pixel groups can be adjusted by the user according to actual needs, and the present invention is not limited thereto. The manner of grouping may be, for example, grouping the pixel photoreceptors in units of rows or columns. For example, the embodiment of Figure 2A groups pixel photoreceptors 121 in units of rows. In the image capturing circuit 120, the first row, the second row, and the third row of pixel photoreceptors 121 are respectively divided into groups of T1, T2, and T3. Next, starting from the fourth line, the pixel photoreceptor 121 assigns the groups in the order of T1, T2, and T3. The steps are repeated as such until all of the pixel photoreceptors 121 are assigned to one of the groups. The user can also adjust the manner of grouping according to actual needs, and the present invention is not limited thereto. For example, the embodiment of Figure 2B groups the sub-pixel photoreceptors in pixel photoreceptor 123 in row units. The first line configured with the red photoreceptor R and the full spectrum photoreceptor W is divided into T1 groups, and the second line configured with the blue photoreceptor B and the full spectrum photoreceptor W is divided into T2 groups. Next, starting from the third line, the pixel photoreceptor 123 assigns the groups in the order of T1 and T2. The steps are repeated as such until all of the pixel photoreceptors 123 are assigned to one of the groups.

請同時參考圖1及圖2A。以使用圖2A中的像素感測器121為例,當開始進行圖像感測時,圖像感測裝置100會先透過圖像擷取電路120感測環境光源的亮度。此時圖像擷取電路120中,各個像素感光器121使用相同的曝光數值,此曝光數值可例如是透過預設的方式決定。然後,影像處理器140透過環境光源的感測結果AL獲得環境亮度,並依據所述環境亮度計算出多個曝光數值。各個曝光數值互不相同,且曝光數值的數量取決於像素群組的組數。在本實施例中,影像處理器140計算出三個曝光數值第一曝光數值V1、第二曝光數值V2以及第三曝光數值V3,且V1大於V2,V2大於V3。計算出曝光數值的方法可例如是將第二曝光數值V2設定為第一曝光數值V1的二分之一,將第三曝光數值V3設定為第一曝光數值V1的四分之一,本發明不限定於此。接著,影像處理器140將每組像素群組中的像素感光器121的全頻譜感光器W的曝光時間分別設定為各個曝光數值,藉以擷取圖像。Please refer to FIG. 1 and FIG. 2A at the same time. Taking the pixel sensor 121 in FIG. 2A as an example, when image sensing is started, the image sensing device 100 first senses the brightness of the ambient light source through the image capturing circuit 120. At this time, in the image capturing circuit 120, each pixel photoreceptor 121 uses the same exposure value, which may be determined, for example, by a preset manner. Then, the image processor 140 obtains the ambient brightness through the sensing result AL of the ambient light source, and calculates a plurality of exposure values according to the ambient brightness. The respective exposure values are different from each other, and the number of exposure values depends on the number of groups of pixel groups. In this embodiment, the image processor 140 calculates three exposure values, a first exposure value V1, a second exposure value V2, and a third exposure value V3, and V1 is greater than V2, and V2 is greater than V3. The method of calculating the exposure value may be, for example, setting the second exposure value V2 to one-half of the first exposure value V1 and setting the third exposure value V3 to one-fourth of the first exposure value V1. Limited to this. Next, the image processor 140 sets the exposure time of the full-spectrum photoreceptor W of the pixel photoreceptor 121 in each group of pixels to the respective exposure values, thereby capturing the image.

設定曝光數值時,各個像素感光器121分為對應於第一曝光數值V1的第一像素群組T1、對應於第二曝光數值V2的第二像素群組T2以及對應於第三曝光數值V3的第三像素群組T3。其中T1群組具有最長的曝光時間、T2群組具有中度的曝光時間、T3群組具有最短的曝光時間。各個像素感光器121中,除了全頻譜感光器W的曝光時間需要依照分組而被設定為不同的曝光數值外,其餘原色感光器的曝光時間可以被設定為相同的曝光數值。例如本實施例中,各個像素感光器121的紅光感光器R以及藍光感光器B的曝光時間皆被設定為第一曝光數值V1。由於全頻譜感光器W比傳統的RGB感光器吸收了更多的光線,因此,全頻譜感光器W對強光的反應較為敏感,其進光量達到飽和的時間也比其餘原色的感光器為短。本實施例將全頻譜感光器W分組曝光可以改善全頻譜感光器W擷取圖像的整體曝光程度。When the exposure value is set, each pixel photoreceptor 121 is divided into a first pixel group T1 corresponding to the first exposure value V1, a second pixel group T2 corresponding to the second exposure value V2, and a third exposure value V3. The third pixel group T3. The T1 group has the longest exposure time, the T2 group has a moderate exposure time, and the T3 group has the shortest exposure time. In each of the pixel photoreceptors 121, except that the exposure time of the full-spectrum photoreceptor W needs to be set to a different exposure value in accordance with the grouping, the exposure times of the other primary color photoreceptors can be set to the same exposure value. For example, in this embodiment, the exposure times of the red photoreceptor R and the blue photoreceptor B of each of the pixel photoreceptors 121 are set to the first exposure value V1. Since the full-spectrum photoreceptor absorbs more light than the conventional RGB photoreceptor, the full-spectrum photoreceptor W is sensitive to strong light, and the amount of light entering the saturation is shorter than that of the other primary color photoreceptors. . In this embodiment, group exposure of the full spectrum photoreceptor W can improve the overall exposure level of the image captured by the full spectrum photoreceptor.

圖3A、3B繪示符合本發明一實施例之像素感光器121中各色感光器的亮度與時間關係的示意圖。請先參考圖3A,圖3A縱軸的亮度代表像素感光器121可以感測的亮度範圍。以使用三元色光模型(RGB color model)為例,每種原色的亮度會依照8位元被區分為256個值(0到255),當一原色的亮度達到最高值255時,表示所述原色的進光量已達到像素感光器121可以感測到的最高亮度,即達到飽和。當所述原色的進光量達到飽和時,所述原色的亮度資訊就只能以最高值255儲存於像素感光器121,也因此導致擷取圖像的亮度失真。在傳統的RGB感光器中,各個原色的感光器對亮度的反應差距不大,以圖3A為例,假設各原色感光器的曝光時間皆為33毫秒(ms),傳統RGB感光器在33毫秒時,各個原色的感光器的進光量都還沒有達到飽和,因此各個原色的亮度資訊都被完整的擷取,並不會發生亮度失真的情形。然而,當使用具有全頻譜感光器的RWB感光器時,由於全頻譜感光器吸收的光線頻譜範圍較大,因此全頻譜感光器在進光量達到飽和時所需的曝光數值低於紅光感光器R以及藍光感光器B在進光量達到飽和時所需的曝光數值。如圖3A所示,假設將曝光時間為33毫秒的全頻譜感光器W表示為W1,可以看出W1早在25毫秒處就到達了飽和,也因此在33毫秒時出現了亮度失真的過度曝光現象。3A and 3B are schematic diagrams showing the relationship between brightness and time of each color photoreceptor in the pixel photoreceptor 121 according to an embodiment of the present invention. Referring first to FIG. 3A, the luminance of the vertical axis of FIG. 3A represents the range of luminance that the pixel photoreceptor 121 can sense. Taking the RGB color model as an example, the brightness of each primary color is divided into 256 values (0 to 255) according to 8-bit, and when the brightness of a primary color reaches the highest value of 255, The amount of light entering the primary color has reached the highest brightness that the pixel photoreceptor 121 can sense, that is, saturation. When the amount of light entering the primary color is saturated, the brightness information of the primary color can only be stored in the pixel photoreceptor 121 at the highest value of 255, and thus the brightness of the captured image is distorted. In the traditional RGB photoreceptor, the photoreceptor of each primary color has little difference in brightness. Take Figure 3A as an example. Assume that the exposure time of each primary color photoreceptor is 33 milliseconds (ms), and the conventional RGB photoreceptor is in 33 milliseconds. When the amount of light entering the photoreceptors of each primary color has not yet reached saturation, the brightness information of each primary color is completely captured, and the brightness distortion does not occur. However, when using a RWB photoreceptor with a full-spectrum photoreceptor, the full-spectrum photoreceptor requires a lower exposure level than the red photoreceptor due to the large spectral range of light absorbed by the full-spectrum photoreceptor. The exposure value required for R and blue photoreceptor B when the amount of incoming light reaches saturation. As shown in FIG. 3A, assuming that the full-spectrum photoreceptor W with an exposure time of 33 milliseconds is represented as W1, it can be seen that W1 reaches saturation as early as 25 milliseconds, and thus excessive exposure of luminance distortion occurs at 33 milliseconds. phenomenon.

為了解決RWB感光器在高亮度環境下的過度曝光現象,本實施例將全頻譜感光器W的曝光數值分為3組。T1群組中各個全頻譜感光器W1的曝光數值被設定為V1。T2群組中各個全頻譜感光器W2的曝光數值被設定為V2。T3群組中各個全頻譜感光器W3的曝光數值被設定為V3。假設V1、V2以及V3分別被設為33毫秒、16毫秒以及8毫秒。在T1群組中,各個全頻譜感光器W1的進光量在25毫秒時達到了飽和,因此出現了亮度失真的情形而損失一些對比度。但由於全頻譜感光器W1使用了與紅光感光器R以及藍光感光器B相同的曝光數值V1,因此相較於全頻譜感光器W2及W3,全頻譜感光器W1保有了足夠的亮度。在T2群組中,各個全頻譜感光器W2只維持了16毫秒的曝光時間,當16毫秒時,全頻譜感光器W2停止曝光並等待其餘原色的感光器完成33毫秒的曝光。縮短曝光時間使得全頻譜感光器W2的亮度減低,其亮度與時間的關係可以等效為圖3A中的W2曲線。在本實施例中,T2群組的全頻譜感光器W2的進光量在其曝光時間內並未達到飽和,所以沒有發生亮度失真的情形,但相較於紅光感光器R及藍光感光器B,全頻譜感光器W2還是保留了較多的亮度資訊,可以使擷取圖像的暗處有較明亮的效果。藉由降低全頻譜感光器W的整體過度曝光程度,T2群組能改善擷取圖像的色偏、對比和飽和度。在T3群組中,各個全頻譜感光器W3只維持了8毫秒的曝光時間,其亮度與時間的關係可以等效為圖3A中的W3曲線,W3會是亮度反應最低的曲線。In order to solve the overexposure phenomenon of the RWB photoreceptor in a high-brightness environment, the present embodiment divides the exposure values of the full-spectrum photoreceptor W into three groups. The exposure value of each full spectrum photoreceptor W1 in the T1 group is set to V1. The exposure value of each full spectrum photoreceptor W2 in the T2 group is set to V2. The exposure value of each full spectrum photoreceptor W3 in the T3 group is set to V3. It is assumed that V1, V2, and V3 are set to 33 milliseconds, 16 milliseconds, and 8 milliseconds, respectively. In the T1 group, the amount of light entering the respective full-spectrum photoreceptors W1 is saturated at 25 msec, so that the brightness distortion occurs and some contrast is lost. However, since the full-spectrum photoreceptor W1 uses the same exposure value V1 as the red photoreceptor R and the blue photoreceptor B, the full-spectrum photoreceptor W1 maintains sufficient brightness compared to the full-spectrum photoreceptors W2 and W3. In the T2 group, each full spectrum photoreceptor W2 maintains only an exposure time of 16 milliseconds. At 16 milliseconds, the full spectrum photoreceptor W2 stops exposure and waits for the remaining primary color photoreceptors to complete the 33 millisecond exposure. The exposure time is shortened so that the brightness of the full-spectrum photoreceptor W2 is reduced, and the relationship between the brightness and time can be equivalent to the W2 curve in Fig. 3A. In this embodiment, the amount of light entering the full spectrum photoreceptor W2 of the T2 group does not reach saturation during the exposure time, so no brightness distortion occurs, but compared to the red photoreceptor R and the blue photoreceptor B. The full spectrum photoreceptor W2 still retains more brightness information, which can make the dark part of the captured image have a brighter effect. By reducing the overall overexposure of the full spectrum photoreceptor W, the T2 group can improve the color cast, contrast, and saturation of the captured image. In the T3 group, each full-spectrum photoreceptor W3 maintains only an exposure time of 8 milliseconds, and its brightness versus time can be equivalent to the W3 curve in FIG. 3A, and W3 is the curve with the lowest luminance response.

當所有原色的感光器都完成了曝光時,影像處理器140會將T1、T2及T3群組中的各個全頻譜感光器W1、W2及W3擷取到的圖像資訊加總。需注意的是,為了使加總後的圖像能保留未發生過度曝光時的圖像資訊,各群組的曝光數值中的其中之一或其中多個小於全頻譜感光器W在進光量達到飽和時所需的曝光數值。將各個全頻譜感光器擷取到的圖像資訊加總後可以得到如圖3B所示的全頻譜感光器W的整體亮度曲線,所述全頻譜感光器W維持了RWB感光器應有的較高的亮度。同時,本實施例避免了所有的全頻譜感光器W在高亮度環境下都發生過度曝光的情形,改善了輸出圖像的色偏、對比不足以及飽和度過低的問題。When all of the primary color photoreceptors have been exposed, the image processor 140 sums up the image information captured by each of the full spectrum photoreceptors W1, W2, and W3 in the T1, T2, and T3 groups. It should be noted that in order to make the image after the addition can retain the image information when no overexposure occurs, one or more of the exposure values of each group are smaller than the full spectrum photoreceptor W. The exposure value required for saturation. By summing up the image information captured by each full-spectrum photoreceptor, the overall brightness curve of the full-spectrum photoreceptor W as shown in FIG. 3B can be obtained, and the full-spectrum photoreceptor W maintains the RWB photoreceptor. High brightness. At the same time, this embodiment avoids the situation that all the full-spectrum photoreceptors W are overexposed in a high-brightness environment, and the problem of color shift of the output image, insufficient contrast, and low saturation is improved.

圖4繪示本發明一實施例之圖像感測裝置100進行圖像感測的流程圖。在步驟S401中,圖像感測裝置100決定是否使用本發明提出的方法來擷取圖像。若要使用本發明提出的方法來擷取圖像,則進入步驟S403。若不使用本發明提出的方法來擷取圖像,則進入步驟S411。在步驟S403中,圖像擷取電路120使用多個像素感光器121感測環境光源,影像處理器140並透過環境光源的感測結果AL而獲得環境亮度。在步驟S405中,將每個像素感光器121分為至少多組像素群組,且每個像素感光器121中包括至少一全頻譜感光器W。其中,步驟S401、S403以及S405的順序可依據使用者的需求調整。在步驟S407中,影像處理器140依據環境亮度計算多個曝光數值,其中各個曝光數值互不相同,影像處理器140並將每組像素群組中的像素感光器121的全頻譜感光器W的曝光時間分別設定為各個曝光數值。在步驟S409中,圖像擷取裝置100使用前述步驟設定的曝光數值來擷取圖像。在步驟S411中,當圖像感測裝置100決定不使用本發明提出的方法來擷取圖像時,圖像感測裝置100將像素感光器121的全頻譜感光器W的曝光時間設定為預設或依據環境亮度而計算出的一曝光數值,並接著進入步驟S509以擷取圖像。FIG. 4 is a flow chart of image sensing by the image sensing device 100 according to an embodiment of the invention. In step S401, the image sensing device 100 determines whether to capture an image using the method proposed by the present invention. To capture an image using the method proposed by the present invention, the process proceeds to step S403. If the image proposed by the present invention is not used to capture an image, the process proceeds to step S411. In step S403, the image capturing circuit 120 senses the ambient light source using the plurality of pixel photoreceptors 121, and the image processor 140 obtains the ambient brightness through the sensing result AL of the ambient light source. In step S405, each pixel photoreceptor 121 is divided into at least a plurality of groups of pixels, and each of the pixel photoreceptors 121 includes at least one full spectrum photoreceptor W. The order of steps S401, S403, and S405 can be adjusted according to the needs of the user. In step S407, the image processor 140 calculates a plurality of exposure values according to the ambient brightness, wherein the respective exposure values are different from each other, and the image processor 140 and the full spectrum photoreceptor W of the pixel photoreceptor 121 in each group of pixel groups The exposure time is set to each exposure value. In step S409, the image capturing device 100 captures an image using the exposure value set in the foregoing step. In step S411, when the image sensing device 100 determines not to use the method proposed by the present invention to capture an image, the image sensing device 100 sets the exposure time of the full-spectrum photoreceptor W of the pixel photoreceptor 121 to An exposure value calculated based on the ambient brightness is set, and then proceeds to step S509 to capture an image.

綜上所述,本發明的圖像感測方法及其裝置可將像素感光器分群,並設定不同的曝光數值給各組像素群組中的全頻譜感光器,藉由降低全頻譜感光器的整體曝光時間,可以使全頻譜感光器的進光量不至於太快就達到飽和,因而影響圖像的對比度。如此,就算在光源較強的環境下使用對亮度較為敏感的RWB感光器,也不致使圖像感測裝置所擷取的圖像過度曝光。此外,本發明可藉由擷取不同曝光數值下的圖像以保留擷取圖像的高亮度細節以及低亮度資訊。相較於使用傳統的圖像感測技術,本發明可以改善圖像感測裝置的輸出圖像的亮度、飽和度、色偏及對比度,得到具有高進光亮、高動態對比以及顏色較為艷麗的輸出圖像。In summary, the image sensing method and apparatus of the present invention can group pixel photoreceptors and set different exposure values to the full spectrum photoreceptors in each group of pixels, by reducing the full spectrum photoreceptor. The overall exposure time can make the amount of light entering the full spectrum photoreceptor not to be too fast to reach saturation, thus affecting the contrast of the image. Thus, even if the RWB photoreceptor sensitive to brightness is used in a strong light source environment, the image captured by the image sensing device is not overexposed. In addition, the present invention can preserve high-brightness details and low-brightness information of captured images by capturing images at different exposure values. Compared with the conventional image sensing technology, the invention can improve the brightness, saturation, color shift and contrast of the output image of the image sensing device, and obtain high brightness, high dynamic contrast and bright colors. Output image.

雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明的精神和範圍內,當可作些許的更動與潤飾,故本發明的保護範圍當視後附的申請專利範圍所界定者為準。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.

100:圖像感測裝置 120:圖像擷取電路 121、123:像素感光器 140:影像處理器 V1、V2、V3:曝光數值 AL:感測結果 R:紅光感光器 G:綠光感光器 B:藍光感光器 W:全頻譜感光器(白光感光器) T1、T2、T3:像素感光器群組 W1、W2、W3:對應於特定曝光數值的全頻譜感光器 S401、S403、S405、S407、S409、S411:步驟100: image sensing device 120: image capturing circuit 121, 123: pixel photoreceptor 140: image processor V1, V2, V3: exposure value AL: sensing result R: red photoreceptor G: green light sensing B: blue photoreceptor W: full spectrum photoreceptor (white light sensor) T1, T2, T3: pixel photoreceptor group W1, W2, W3: full spectrum photoreceptors S401, S403, S405 corresponding to specific exposure values, S407, S409, S411: steps

圖1繪示符合本發明一實施例之圖像感測裝置的示意圖。 圖2A、2B繪示符合本發明一實施例之圖像擷取電路的示意圖。 圖3A、3B繪示符合本發明一實施例之像素感光器中各色感光器的亮度與時間關係的示意圖。 圖4繪示符合本發明一實施例之圖像感測裝置100進行圖像感測的流程圖。1 is a schematic diagram of an image sensing device in accordance with an embodiment of the present invention. 2A and 2B are schematic diagrams showing an image capturing circuit in accordance with an embodiment of the present invention. 3A and 3B are schematic diagrams showing the relationship between brightness and time of each color photoreceptor in a pixel photoreceptor according to an embodiment of the invention. FIG. 4 is a flow chart of image sensing performed by the image sensing apparatus 100 in accordance with an embodiment of the present invention.

Claims (10)

一種圖像感測裝置,包括:圖像擷取電路,具有多個像素感光器,其中,該些像素感光器至少被分為多組像素群組,且每個像素感光器中包括至少一全頻譜感光器;以及影像處理器,耦接該圖像擷取電路,其中該影像處理器透過環境光源的感測結果而獲得環境亮度,依據該環境亮度計算多個曝光數值,其中各個曝光數值互不相同,該影像處理器將每組像素群組中的該些像素感光器的該全頻譜感光器的曝光時間分別設定為各個曝光數值,藉以擷取圖像,其中每個像素感光器中更包括紅光感光器以及藍光感光器,且該全頻譜感光器在進光量達到飽和時所需的曝光數值低於該紅光感光器以及該藍光感光器在進光量達到飽和時所需的曝光數值。 An image sensing device includes: an image capturing circuit having a plurality of pixel photoreceptors, wherein the pixel photoreceptors are at least divided into a plurality of groups of pixels, and each of the pixel photoreceptors includes at least one full The image sensor is coupled to the image capture circuit, wherein the image processor obtains ambient brightness through the sensing result of the ambient light source, and calculates a plurality of exposure values according to the ambient brightness, wherein each exposure value is mutually Differently, the image processor sets the exposure times of the full-spectrum photoreceptors of the pixel photoreceptors in each group of pixel groups to respective exposure values, thereby capturing images, wherein each pixel photoreceptor is further The red photoreceptor and the blue photoreceptor are included, and the exposure value required for the full spectrum photoreceptor to reach saturation is lower than the red photoreceptor and the exposure value required for the blue photoreceptor to reach saturation. . 如申請專利範圍第1項所述的圖像感測裝置,其中該些像素群組包括對應於第一曝光數值的第一像素群組、對應於第二曝光數值的第二像素群組以及對應於第三曝光數值的第三像素群組,且該第一曝光數值大於該第二曝光數值,該第二曝光數值大於該第三曝光數值。 The image sensing device of claim 1, wherein the pixel groups comprise a first pixel group corresponding to a first exposure value, a second pixel group corresponding to a second exposure value, and a corresponding And a third exposure group of the third exposure value, and the first exposure value is greater than the second exposure value, the second exposure value being greater than the third exposure value. 如申請專利範圍第2項所述的圖像感測裝置,其中該些曝光數值中的其中之一或其中多個小於該全頻譜感光器在進光量達到飽和時所需的曝光數值。 The image sensing device of claim 2, wherein one or more of the exposure values are less than an exposure value required by the full spectrum photoreceptor when the amount of incoming light reaches saturation. 如申請專利範圍第1項所述的圖像感測裝置,其中該些像素感光器以行或列為單位進行分組。 The image sensing device of claim 1, wherein the pixel photoreceptors are grouped in units of rows or columns. 一種圖像感測的方法,所述方法包括下列步驟:使用多個像素感光器感測環境光源,並透過該環境光源的感測結果而獲得環境亮度;將該些像素感光器分為至少多組像素群組,且每個像素感光器中包括至少一全頻譜感光器;依據該環境亮度計算多個曝光數值,其中各個曝光數值互不相同;以及將每組像素群組中的該些像素感光器的該全頻譜感光器的曝光時間分別設定為各個曝光數值,藉以擷取圖像,其中每個像素感光器中更包括紅光感光器以及藍光感光器,且該全頻譜感光器在進光量達到飽和時所需的曝光數值低於該紅光感光器以及該藍光感光器在進光量達到飽和時所需的曝光數值。 A method for image sensing, the method comprising the steps of: sensing an ambient light source using a plurality of pixel photoreceptors, and obtaining an ambient brightness through a sensing result of the ambient light source; dividing the pixel photoreceptors into at least Grouping pixel groups, and each pixel photoreceptor includes at least one full spectrum photoreceptor; calculating a plurality of exposure values according to the ambient brightness, wherein each exposure value is different from each other; and the pixels in each group of pixel groups The exposure time of the full spectrum photoreceptor of the photoreceptor is set to each exposure value, respectively, to capture an image, wherein each pixel photoreceptor further includes a red photoreceptor and a blue photoreceptor, and the full spectrum photoreceptor is in progress The exposure value required when the amount of light reaches saturation is lower than the exposure value required for the red photoreceptor and the blue photoreceptor when the amount of light entering the saturation. 如申請專利範圍第5項所述的方法,其中該些像素群組包括對應於第一曝光數值的第一像素群組、對應於第二曝光數值的第二像素群組以及對應於第三曝光數值的第三像素群組,且該第一曝光數值大於該第二曝光數值,該第二曝光數值大於該第三曝光數值。 The method of claim 5, wherein the group of pixels comprises a first group of pixels corresponding to a first exposure value, a second group of pixels corresponding to a second exposure value, and a third exposure a third pixel group of values, and the first exposure value is greater than the second exposure value, the second exposure value being greater than the third exposure value. 如申請專利範圍第6項所述的方法,其中該些曝光數值中的其中之一或其中多個小於該全頻譜感光器在進光量達到飽和時所需的曝光數值。 The method of claim 6, wherein one or more of the exposure values are less than an exposure value required by the full spectrum photoreceptor when the amount of incoming light reaches saturation. 如申請專利範圍第5項所述的方法,其中該些像素感光器以行或列為單位進行分組。 The method of claim 5, wherein the pixel photoreceptors are grouped in units of rows or columns. 一種圖像感測裝置,包括:圖像擷取電路,具有多個像素感光器,其中,該些像素感光器至少被分為多組像素群組,且每個像素感光器中包括至少一全頻譜感光器;以及影像處理器,耦接該圖像擷取電路,其中該影像處理器透過環境光源的感測結果而獲得環境亮度,依據該環境亮度計算多個曝光數值,其中各個曝光數值互不相同,該影像處理器將每組像素群組中的該些像素感光器的該全頻譜感光器的曝光時間分別設定為各個曝光數值,藉以擷取圖像,其中該些曝光數值中的其中之一或其中多個小於該全頻譜感光器在進光量達到飽和時所需的曝光數值。 An image sensing device includes: an image capturing circuit having a plurality of pixel photoreceptors, wherein the pixel photoreceptors are at least divided into a plurality of groups of pixels, and each of the pixel photoreceptors includes at least one full The image sensor is coupled to the image capture circuit, wherein the image processor obtains ambient brightness through the sensing result of the ambient light source, and calculates a plurality of exposure values according to the ambient brightness, wherein each exposure value is mutually Differentily, the image processor sets an exposure time of the full-spectrum photoreceptor of the pixel photoreceptors in each group of pixel groups to respective exposure values, thereby capturing an image, wherein among the exposure values One or more of them are less than the exposure value required by the full spectrum photoreceptor when the amount of incoming light reaches saturation. 一種圖像感測的方法,所述方法包括下列步驟:使用多個像素感光器感測環境光源,並透過該環境光源的感測結果而獲得環境亮度;將該些像素感光器分為至少多組像素群組,且每個像素感光器中包括至少一全頻譜感光器;依據該環境亮度計算多個曝光數值,其中各個曝光數值互不 相同;以及將每組像素群組中的該些像素感光器的該全頻譜感光器的曝光時間分別設定為各個曝光數值,藉以擷取圖像,其中該些曝光數值中的其中之一或其中多個小於該全頻譜感光器在進光量達到飽和時所需的曝光數值。 A method for image sensing, the method comprising the steps of: sensing an ambient light source using a plurality of pixel photoreceptors, and obtaining an ambient brightness through a sensing result of the ambient light source; dividing the pixel photoreceptors into at least Grouping pixel groups, and each pixel photoreceptor includes at least one full spectrum photoreceptor; calculating a plurality of exposure values according to the ambient brightness, wherein each exposure value is not And setting an exposure time of the full-spectrum photoreceptors of the pixel photoreceptors in each group of pixel groups to respective exposure values, thereby capturing an image, wherein one of the exposure values or one of the exposure values A plurality of exposure values less than that required for the full spectrum photoreceptor when the amount of incoming light reaches saturation.
TW106101447A 2017-01-16 2017-01-16 Image sensing method and device thereof TWI635748B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW106101447A TWI635748B (en) 2017-01-16 2017-01-16 Image sensing method and device thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW106101447A TWI635748B (en) 2017-01-16 2017-01-16 Image sensing method and device thereof

Publications (2)

Publication Number Publication Date
TW201828690A TW201828690A (en) 2018-08-01
TWI635748B true TWI635748B (en) 2018-09-11

Family

ID=63960511

Family Applications (1)

Application Number Title Priority Date Filing Date
TW106101447A TWI635748B (en) 2017-01-16 2017-01-16 Image sensing method and device thereof

Country Status (1)

Country Link
TW (1) TWI635748B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109716350B (en) * 2018-12-13 2023-06-13 深圳市汇顶科技股份有限公司 Optical acquisition device and electronic equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140063300A1 (en) * 2012-09-06 2014-03-06 Aptina Imaging Corporation High dynamic range imaging systems having clear filter pixel arrays
CN102450020B (en) * 2009-05-28 2014-07-23 美商豪威科技股份有限公司 Four-channel color filter array interpolation

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102450020B (en) * 2009-05-28 2014-07-23 美商豪威科技股份有限公司 Four-channel color filter array interpolation
US20140063300A1 (en) * 2012-09-06 2014-03-06 Aptina Imaging Corporation High dynamic range imaging systems having clear filter pixel arrays

Also Published As

Publication number Publication date
TW201828690A (en) 2018-08-01

Similar Documents

Publication Publication Date Title
US8723974B2 (en) Image pickup apparatus, image pickup method and recording device recording image processing program
TWI661727B (en) Control device, control method and electronic device
US7750948B2 (en) Image signal processing device, digital camera and computer program product for processing image signal
CN110381263B (en) Image processing method, device, storage medium and electronic device
US20140078247A1 (en) Image adjuster and image adjusting method and program
CN105516699B (en) Image sensor, imaging method thereof, imaging device and electronic device
CN112235494B (en) Image sensor, control method, imaging device, terminal, and readable storage medium
EP2896201A1 (en) Imaging controller and imaging control method and program
WO2015050118A1 (en) Electronic apparatus
JP4253634B2 (en) Digital camera
JP6578942B2 (en) IMAGING UNIT, ELECTRONIC DEVICE, PROGRAM, AND CONTROL METHOD
CN116416122B (en) Image processing method and related device
US9036046B2 (en) Image processing apparatus and method with white balance correction
CN110430370A (en) Image processing method, image processing device, storage medium and electronic equipment
JP2001016509A (en) Image pickup device, image processor, its method, and memory medium
US7400355B2 (en) Image pickup apparatus and photometer
WO2016052437A1 (en) Electronic apparatus and image processing method
CN107306326A (en) Camera device and image capture method
US8179454B2 (en) Image compensation method and image acquisition device using the same
TWI635748B (en) Image sensing method and device thereof
CN115802183A (en) Image processing method and related device
US20230196529A1 (en) Image processing apparatus for capturing invisible light image, image processing method, and image capture apparatus
CN113271450B (en) White balance adjustment method, image processing device and image processing system
WO2020049867A1 (en) Image capture device and image capture element
US7512266B2 (en) Method and device for luminance correction