1241 九、發明說明: 【發明所屬之技術領域】 調整數㈣像條裝轉其影像的 影,取裝置與其影以提供預視畫面之數位 【先前技術】 各使用仃動電話’大都有數位照相的功能。 田使用者_具有數位照 ^景之Γ 目機的景觀窗,其可以提供使用者作 手機ί相功能的行動電話(以下簡稱照相 例如n:化’因此細加功能也愈來愈強大。 :二 相手機,可以允許使用者在所擷 ί;旦電L的處理裝置上進行處理。然而,目前在照相手: 進行;敕H術遠皆只能允許使用者對整個影像整體來 凋正。因此,讓使用者的創意受到了限制, 另外,由於在照相手機上之攝影模組内的之感 所產生之電屋,與照相手機之顯示面板的透光表現,二者 並非成線性〇i職)關係,因此需要進行伽瑪修正㈣職a =職_。然而,在習知的照相手機上,伽瑪修 數值’均是在照相手機被製造時就已經内建了。因此,ς 知的照相手機只能夠使用出_的預設值,使得 ς 1241136 14351twf.doc/c 大受限制。 年機^外门由於伽瑪修正所需要的參數值已經内建在昭相 手枝内。因此,當開發者對昭 逻在〜相 若是發現需要機伽瑪修正的值後, 知照相二:的物^ 【發明内容】 因^ ’本發明的目的就是在提供—種數位影像操取 4置,可以允許使用者依照實 修正的參數。 mi要’自仃伽瑪 本發明的再—目的是提供—_像的調整方法 =讓使用者發揮其缝,而任意在所擷取㈣像上進行處 本發明係提供-種數位影像擷取裝置 組:伽瑪修正電路。其中,攝影模組係用來擷取= j生第一影像訊號至伽瑪修正電路。而伽瑪修正電路則 將第-影像訊號進行伽瑪修正後,產生第二影像訊號至;_ 顯不模組,而此顯補組齡將第二影像訊_換成影 輸出。此外’本發明還包括控制單元和使用者輸入模組。 其中,使用者可以藉由使用者輸入模組輸入伽瑪修正的參 數值*控制單元就會依據使用者輸入模組所輸入的參數 值來控制伽瑪修正電路對第一影像訊號進行伽瑪修正〔 在本發明的實施例中,攝影模組包括了鏡頭、彩色濾 光陣列(C— Filter Α卿’簡稱CFA)、白平衡電路和= i24iimltw,d〇c/c °其中’彩色濾光陣列具有多個以陣列方式排 ==ί:胞’係用來感測鏡頭所擷取的外部影像,然 號送至白平衡電路。白平衡電路係將彩色 出進仃白平衡修正,並且輸出至色彩修正電 正而正電路則是將白平衡電路的輸出進行色彩修 正’而產生第一影像訊號。 巴才八 平面模組包括了色相轉換電路、邊緣強化電路、 顯示面板。其中,色相轉換電路係接 π . " j的輸出,以將第二影像訊號轉換成亮产 。號0透過邊緣強化電路而平 出之影像的解析度。而顯示面 5周整電路的輸出,並且輸出影像。 办像 域。τ ’ 之顯示面板係分為數個顯示區 區域的操作使用者輸入介面來調整每-顯示 例如影像擷取裝置’包括了數位相機,或是 之行動電話 (Smart PW_具有數位照相功能 法,用m ’本發明係提供一種影像的調整方 置可以提=;==取,取裝 裝置的首先,使用者進入數位影像揭取 置的伽鄕正模賴作,紐設定—伽翻整值,以= 1241136 14351twf.doc/c 來決定是而f用者可以從預視晝面, 行伽瑪修正。當決‘以卩碼調整值來對所榻取之影像進 取的影像進行:瑪修正,並之伽瑪調整值來對所擷 式時在進入伽瑪修正行伽瑪修正模 域。因此’預視畫面係具有許多的顯示區 少其中包括先選擇至 者二:===:供使用 者可喝個==:= 瑪修正值。此外’由於本發明將預視畫面分成數 個加區域’並且允許使用者任意調整每一個顯示區域的 伽瑪修正值,因此使用者可以依照其本身的創意 所擷取的影像上進行處理。 “ ^ 為讓本發明之上述和其他目的、特徵和優點能更明 顯易懂,下文特舉較佳實施例,並配合所附圖式,作細 說明如下。 U ^ 【實施方式】 圖1係繪示依照本發明之一較佳實施例的一種影像 之調整方法的步驟流程圖。請參照圖丨,其中所敘述二影 像之凋整方法,可以適用於一些數位影像擷取裝置。例如, 數位相機,或是智慧型行動電話等之具有數位照相功能 行動電話。 1241136 14351twf.doc/c 圖2係繪示依照本發明之一較佳實施例的一種數位影 像搁取裝置之架構圖。請參照圖2,攝影模組201的輸出, 係透過伽瑪修正電路2〇3而送至顯示模組2〇5。此外,使 =者輸入模組207則是耦接至控制單元2〇9,以藉由控制 單元209來控制伽瑪修正電路203。 晴合併參照圖丨和圖2,當使用者利用圖2之數位影 像操取裝置進行攝影時,顯示模組205會提供攝影模組201 =擷取之外部影像的預視晝面給使用者,以方便使用者取 景。此時,使用者可以如步驟sl〇1所述,透過操作使用 者輸^模組207的方式來使得數位影像擷取裝置進入伽瑪 修正模式操作。接著,使用者如步驟S103所述,藉由使 ,者輸入杈組207來設定一伽瑪調整值。而控制單元2〇9 就會依據使用者輸入模組207所送出的伽瑪調整值,來控 制伽瑪修正電路203將攝影模、组2〇1所產生的第一影像訊 號S1進行伽瑪修正,並且產生第二影像訊號幻至顯示 模組205。當使用者設定伽瑪修正值完畢後,就可以如步 驟S105所述,退出伽瑪修正模式的操作。此時,顯示模 f 205會將第二影像訊號%轉換成預視晝面給使用者觀 看。因此,使用者可以如步驟sl〇7所述,從顯示模組2〇5 所提供的預視晝面,來決定是否依據最新輸人的伽瑪調整 值來將所擷取的外部影像進行伽瑪修正。 當使用者藉由預視晝面而確認決定依據最新設定的伽 瑪修正值來騎#|取的外和彡像進行伽郷正 步驟S107所標示的、、是。,若是此時使用者按下快門來 1241136 14351twf.doc/c 擷取外部影斜,跡瑪修正電路2Q3就會如步驟si〇9 所述,依據最新蚊的伽翻整值來騎擷取的影像進行 伽瑪修正。 若是使用者藉由顯示模組205所提供的預視晝面,發 原t想要的結果’或是反悔不想要先前所設定的效 果專狀況時(也就是步驟_所標示的、、否。,則執行 步驟S1U,確奴否要重新 相 的效果(也就是步驟S111所#示的 示的、W相US(也就是㈣Sln所標 瞭本發明的精神。因此疋=使熟習此技藝者能夠確實明 圖2所纷示的數位影像_取^·方法並非—定要配合 圖3係緣示依昭太 面之示意圖。請合;泉較佳實施例的-種預視晝 視晝面3〇〇,可以八〜圖3,顯不模組205所提供的預 實施例中,預視晝^成許多個例如302的顯示區域。在本 256個顯示區域可以^00的垂直軸和水平軸上,分別具有 實施例中,使用者在卉使用者調整。因此,在另一選擇 晝面30〇中選擇至少发仃完步驟S101後,更包括從預視 圖4係繪示依照^一個顯示區域進行伽瑪修正。 組的結構圖。請參照I月之較佳貫施例的一種攝影模 數個光學元件所組^ 4,在攝影模組中,鏡頭401係由 、、、’以用來擷取外部影像。而鏡頭401 1241136 14351twf.doc/c 所擷取的影像,會由彩色濾光陣列4〇3所感測,並且轉換 成電子訊號而送至白平衡電路4〇5。在彩色濾光陣列4〇3 中,其具有數個以陣列方式排列的光學感測胞,用來感測 其所在位置的影像,並且將之轉換成電子訊號。因此,光 學感測胞的數目愈多,則數位影像擷取裝置的解析度就愈 另外1241 IX. Description of the invention: [Technical field to which the invention belongs] Adjust the digital image strip to transfer the image of its image, take the device and its image to provide the digital image of the preview image [Prior art] Each of the mobile phones used has a digital camera Functions. Tian user_The landscape window with digital camera, which can provide users with mobile phone functions (hereinafter referred to as photography, such as n: huan), so the fine-grained functions are becoming more and more powerful.: The two-phase mobile phone can allow the user to perform processing on the captured processing device of Dandian L. However, at present, the cameraman performs the processing; the H method can only allow the user to correct the entire image as a whole. Therefore, the user's creativity is limited. In addition, the electric house generated by the feeling in the camera module on the camera phone and the light transmission performance of the display panel of the camera phone are not linear. Duty) relationship, so a gamma correction is required. However, in conventional camera phones, the gamma correction value is already built in when the camera phone is manufactured. Therefore, the known camera phones can only use the default value of _, which makes ς 1241136 14351twf.doc / c very limited. The parameters of the annual machine ^ outer door due to the gamma correction are already built in Zhao Xiang's hand. Therefore, when the developer knows that Zhaoluo has found that the value of the machine gamma correction is needed, he knows what is in the picture 2: [Summary of the invention] Because the purpose of the present invention is to provide a digital image manipulation 4 Setting can allow the user to follow the actual modified parameters. Mi Yao's self-gamma re-purpose of the present invention is to provide an adjustment method of the image = let the user make use of its slits and perform arbitrary operations on the captured image. The present invention provides-a kind of digital image capture Device group: Gamma correction circuit. The photography module is used to capture the first image signal to the gamma correction circuit. The gamma correction circuit performs a gamma correction on the first image signal to generate a second image signal to the _ display module, and this display supplementary group replaces the second image signal with a video output. In addition, the present invention also includes a control unit and a user input module. Among them, the user can input the gamma correction parameter value through the user input module * The control unit will control the gamma correction circuit to perform gamma correction on the first image signal according to the parameter value input by the user input module [In the embodiment of the present invention, the photographing module includes a lens, a color filter array (C-Filter Αqing 'for short), a white balance circuit, and = i24iimltw, doc / c ° where' color filter array There are multiple rows arranged in an array == ί: cell 'is used to sense the external image captured by the lens, and then sent to the white balance circuit. The white balance circuit outputs the color to the white balance correction and outputs it to the color correction circuit. The positive circuit generates the first image signal by performing color correction on the output of the white balance circuit. The Bacai 8 flat module includes a hue conversion circuit, an edge enhancement circuit, and a display panel. Among them, the hue conversion circuit is connected to the output of π. &Quot; j to convert the second image signal into light output. No. 0 The resolution of the image flattened by the edge enhancement circuit. On the display side, the output of the entire circuit is output for 5 weeks, and an image is output. Office domain. The display panel of τ 'is divided into several display areas. The user input interface is used to adjust each display. For example, the image capture device includes a digital camera or a mobile phone (Smart PW_ has a digital camera function method. m 'The present invention provides an image adjustment method which can be taken; first of all, when a device is installed, a user enters a digital image to retrieve a Gamma positive mode. = 1241136 14351twf.doc / c to determine yes, and the user can perform gamma correction from the preview day. When the decision is made, use the code adjustment value to perform an aggressive image on the selected image: Ma correction, The gamma adjustment value is used to enter the gamma correction mode of the gamma correction line when capturing. Therefore, the 'preview screen has many display areas, including the first choice to the second one: ===: for use The user can drink a correction value. In addition, 'because the present invention divides the preview image into several added areas' and allows the user to arbitrarily adjust the gamma correction value of each display area, the user can follow his own Captured by ideas The processing is performed as above. "^ In order to make the above and other objects, features, and advantages of the present invention more comprehensible, the following describes the preferred embodiments and the accompanying drawings in detail, as follows. U ^ [Implementation [Mode] FIG. 1 is a flowchart illustrating a method for adjusting an image according to a preferred embodiment of the present invention. Please refer to FIG. 丨, where the two image grading method can be applied to some digital image capture Device. For example, a digital camera or a mobile phone with a digital camera function such as a smart phone. 1241136 14351twf.doc / c FIG. 2 shows a digital image capturing device according to a preferred embodiment of the present invention. Architecture diagram. Please refer to Figure 2. The output of the camera module 201 is sent to the display module 20 through the gamma correction circuit 203. In addition, the input module 207 is coupled to the control unit 20, to control the gamma correction circuit 203 by the control unit 209. With reference to Fig. 丨 and Fig. 2, when the user uses the digital image manipulation device of Fig. 2 to perform photographing, the display module 205 will provide photographing mold Group 201 = The preview of the captured external image is provided to the user for the convenience of the user. At this time, the user can make the operation by operating the user input module 207 as described in step s101. The digital image capture device enters the gamma correction mode operation. Then, as described in step S103, the user inputs a set 207 to set a gamma adjustment value, and the control unit 209 will follow the user's instructions. The gamma adjustment value sent by the input module 207 is used to control the gamma correction circuit 203 to perform gamma correction on the first image signal S1 generated by the photographic mode and the group 201, and generate a second image signal to the display mode. Group 205. After the user finishes setting the gamma correction value, the user can exit the operation of the gamma correction mode as described in step S105. At this time, the display mode f 205 converts the second image signal% into a preview daylight surface for viewing by the user. Therefore, as described in step 107, the user can determine from the preview day provided by the display module 205 whether or not the captured external image should be gamma-coded according to the latest input gamma adjustment value. Ma correction. When the user confirms by previewing the day and day, the user decides to ride the outer image taken by # | according to the newly set gamma correction value to perform gamma correction, as indicated in step S107. If the user presses the shutter at this time to capture the external oblique 1241136 14351twf.doc / c, the trace correction circuit 2Q3 will capture the captured image based on the latest mosquito gamma correction value as described in step si09. The image is gamma corrected. If the user previews the day and time provided by the display module 205, and sends the desired result of the original t ', or regrets that he does not want the previously set effect status (that is, marked in step_, no). , Then step S1U is executed to determine whether the effect is to be re-phased (that is, the W-phase US shown in step S111) (that is, the spirit of the present invention marked by ㈣Sln. Therefore, 疋 = enables those skilled in this art to be able to Make sure that the digital image shown in Figure 2 is not taken—the method is not—it must be combined with the schematic diagram of the Zhaotai surface shown in Figure 3. Please cooperate; the type of preview in the preferred embodiment of the day view day view 3 〇〇, Figure 3, in the pre-example provided by the display module 205, preview the day into a number of display areas such as 302. In this 256 display areas, the vertical axis and horizontal axis of 00 can be displayed. In the above, there are embodiments in which the user adjusts in the user. Therefore, after selecting at least the step S101 in another selection of the daytime surface 30, it further includes drawing from the pre-view 4 series according to a display area Gamma correction. The structure of the group. Please refer to the first best implementation example of January. The camera module is composed of several optical elements ^ 4. In the camera module, the lens 401 is used to capture the external image. The lens 401 1241136 14351twf.doc / c is used to capture the image. It is sensed by the color filter array 403 and converted into an electronic signal and sent to the white balance circuit 405. In the color filter array 403, it has several optical sensor cells arranged in an array. To sense the image of its location and convert it into an electronic signal. Therefore, the more the number of optical sensing cells, the more resolution the digital image capture device will have
甶於拍攝影像當時之環境照度可能太亮或太 暗,或者可能因光源的不同(如陽光、鶴絲燈光、日光燈·, 等)而導致所攝影像之色彩有所偏差,而必須針對光源作 白平衡修正。因此’彩色濾、光陣列4G3的輸出,會送至 平衡電路德來進行白平衡修正。而經由白平衡電路* 修正過後的影像訊號,會再送至色彩修正電路術色 彩修正的動作,並且產生第—影像訊號8卜 组之= 會:?_之一較佳實施例的-種顯示模 旦。4照圖5,色相轉換電路501係接收第二 广像訊號S2,以將第二影像訊號幻 : (紅、綠和藍)的咨财^ 日原色The ambient illumination at the time of shooting the image may be too bright or too dark, or the color of the captured image may be different due to different light sources (such as sunlight, crane lights, fluorescent lights, etc.), and the light source must be white Balance correction. Therefore, the output of the 'color filter and light array 4G3' will be sent to the balance circuit for white balance correction. And the image signal corrected by the white balance circuit * will be sent to the color correction circuit to correct the color operation, and the first image signal 8 will be generated. A display mode of one of the preferred embodiments. 4 As shown in FIG. 5, the hue conversion circuit 501 receives the second wide-image signal S2 to convert the second image signal to: (red, green, and blue).
化雷政轉成亮度和彩度。接著,邊緣強 得旬-影㈣色相轉換電路5()1的輸出進行處理,以使 明銳利。然後平面影二 使其能夠的解析度,以 可以是薄膜電晶體液晶顯示器, 晶矽液晶顯示器。 力劣疋低/皿多 表丁、上所述,本發明至少有以下優點: 11 I241136 l4351twf.doc/c L本發明因允許使用者藉由操作使用者 :::修正的參數值’因此本發明能夠依照實際上的 來设疋修正的參數值’以拍出品質更好的數位照:。 u =明允許使用者在預視畫面的任何—個以上的顯 不:或進仃伽瑪修正,因此使用者更能發揮本身的, 來對擷取的影像進行修改。 3·由於本發明在還沒有真正拍攝數㈣#之前Turn thunder policy into brightness and chroma. Next, the edge is too strong and the output of the hue-to-hue hue conversion circuit 5 () 1 is processed to make it sharp. Then the plane shadow II enables the resolution to be a thin film transistor liquid crystal display, a crystalline silicon liquid crystal display. Inferiority / low multi-table, as mentioned above, the present invention has at least the following advantages: 11 I241136 l4351twf.doc / c L The present invention allows the user to operate the user by ::: The invention can set the modified parameter value according to the actual situation to take better quality digital photos :. u = Ming allows the user to display any one or more displays in the preview screen: or to perform gamma correction, so the user can better use his own to modify the captured image. 3. Since the present invention has not actually taken a few ㈣ # before
㈣先進行伽瑪修正,並且相由預視畫面上看到修改的 效果。因此,若是開發者對照相手機進行除錯後, 要調整伽瑪修正的參數值,只f要個制者輸入^組ς 行手動修正即可,因而本發明的良率可以有效地提高、。 ,然本發明已以較佳實施例揭露如上,然其並非用 以限^本發明,任何熟習此技藝者,在不脫離本發明之精 神=範圍内,當可作些許之更動與潤飾,因此本發明之^ 護範圍當視後附之申請專利範圍所界定者為準。 【圖式簡單說明】㈣First perform the gamma correction, and see the effect of the modification on the preview screen. Therefore, if the developer needs to adjust the parameter value of the gamma correction after the camera phone is debugged, only the manufacturer needs to input ^ groups and perform manual correction. Therefore, the yield of the present invention can be effectively improved. However, the present invention has been disclosed as above with a preferred embodiment, but it is not intended to limit the present invention. Anyone skilled in this art can make some changes and decorations without departing from the spirit of the present invention. Therefore, The scope of protection of the present invention shall be determined by the scope of the appended patent application. [Schematic description]
圖1係繪示依照本發明之一較佳實施例的一種影像之 調整方法的步驟流程圖。 圖2係繪示依照本發明之一較佳實施例的一種數位, 像擷取裝置之架構圖。 〜 圖3係繪不依照本發明之一較佳實施例的一種預視書 面之示意圖。 思 圖4係繪示依照本發明之一較佳實施例的一種攝影 組的結構圖。 、 12 1241136 14351twf.doc/c 圖5係繪示依照本發明之一較佳實施例的一種顯示模 組之結構圖。 【主要元件符號說明】 201 攝影模組 203 伽瑪修正電路 205 顯示模組 207 使用者輸入模組 209 控制單元 300 預視晝面 302 顯示區域 401 鏡頭 405 白平衡電路 501 色相轉換電路 503 緣強化電路 505 平面影像調整電路 507 顯示面板 參 51 :第一影像訊號 52 :第二影像訊號 S101、S103、S105、S107、S109、S111 :影像之調 整方法的步驟流程 13FIG. 1 is a flowchart illustrating steps of a method for adjusting an image according to a preferred embodiment of the present invention. FIG. 2 is a structural diagram of a digital image capturing device according to a preferred embodiment of the present invention. ~ FIG. 3 is a schematic diagram of a preview book according to a preferred embodiment of the present invention. FIG. 4 is a structural diagram of a photographing group according to a preferred embodiment of the present invention. 12 1241136 14351twf.doc / c FIG. 5 is a structural diagram of a display module according to a preferred embodiment of the present invention. [Description of Symbols of Main Components] 201 Photographic Module 203 Gamma Correction Circuit 205 Display Module 207 User Input Module 209 Control Unit 300 Preview Day 302 Display Area 401 Lens 405 White Balance Circuit 501 Hue Conversion Circuit 503 Edge Enhancement Circuit 505 Plane image adjustment circuit 507 Display panel parameters 51: First image signal 52: Second image signal S101, S103, S105, S107, S109, S111: Step flow of image adjustment method 13