1249341 玖、發明說明: 【發明所屬之技術領域】 本發明是有關於一種對攝影裝置的控制參數進行調節 的方法’特別是指一種對具有攝影裝置移動終端攝影控制 參數進行快速調節的方法。 【先前技術】 隨著數位技術的發展和普及,特別是數位影像輸出技 術的日臻完善,各種移動終端都朝著功能多樣化邁進,新的 具有數位影像功能的終端産品應運而生,在更高層次上方 便了人們的生活。人們使用這種具攝影裝置的移動終端進 灯拍攝時,爲達到最佳拍攝效果以及得到大小合適的圖像 ,經常需要改變攝影裝置的一些控制參數,例如攝影裝置 的焦距、通過拍攝獲得的相片大小(以下簡稱圖像大小)、 拍攝環境的設定(夜景模式,普通模式)以及影像品質等 等。比如,在拍攝過程中,爲了得到最佳拍攝效果,經常 需要將遠景改爲中景,中景改爲近景,或者在遠景下,將 圖像大小由640χ 480改成320χ 240等等。目前,各種具攝 影裝置的移動終端一般都採用以功能表方式提供用戶調節 这些參數爲主,而以該移動終端鍵輸入裝置的上下控制鍵 進行簡單調節攝影裝置的焦距爲輔,但隨著數位技術的日 臻完善,攝影裝置的控制參數也日漸增多。爲了達到較爲 理想的拍攝效果,一般仍然需要用戶先進入到功能表令對 大部分攝影參數進行設置後才能夠進行拍攝,這樣使得用 戶對一些需要頻繁改變的控制參數如焦距、圖像大小的調 1249341 即不太方便,操作過程比較繁瑣,速度較慢,和攝影裝置 之間交互性較差難以達到直觀的效果。另外,由於在此種 方式的攝影狀態下移動終端的數位鍵一直處於閒置狀態, 資源也沒有得到充分的利用。因此,人們期望出現一種在 拍攝過程中就能够即時快速地對移動終端攝影裝置的控制 參數進行方便調節的方法,使得這種移動終端的攝影裝置 與用戶之間具有更强的交互性能,更加方便用戶對具有攝 影裝置的移動終端的使用。 【發明内容】 ίο 15 因此,本發明之目的,是在提供一種方法,使得具有 攝影裝置的移動終端,可利用其數位鍵快速調節攝影的控 制參數。 於是,本發明具攝影裝置的移動終端快速調節攝影控 制參數的方法,包括如下步驟:1)確定該移動終端是否處 於攝影狀態模式;2)確定數位鍵與攝影控制參數焦距及圖 像大小的對應關係;3 )從該移動終端的鍵輸入裝置接收用 戶的按鍵資訊;4)根據所確定的鍵值與控制參數焦距及圖 像大小之間的映射關係,將按鍵的鍵值資訊翻譯成用於控 制攝影狀態的參數;5 )將該控制參數通過移動終端與攝影 裝置之間的介面函數傳送給攝影裝置的驅動程式,與其他 控制資料一起控制整個拍攝過程。 所述的數位鍵爲1、2、3、4、5、6、7、8及9。 所述的數位鍵1,2,3,4對應的焦距爲丨倍焦距,對 應的圖像大小分別爲640χ 480、320x 240、i6〇x 12〇及 20 1249341 128x 96 〇 所述的數位鍵5,6,7對應的焦距爲2倍焦距,對靡 的圖像大小分別爲320χ 240、160χ 120及Ι28χ 。 所述的數位鍵8,9對應的焦距爲4倍焦距,對應的圖 像大小分別爲160χ 120及128χ 96。 與現有技術相比,本發明利用數位鍵與攝影狀態的控 制參數之間的對應關係能夠在拍攝狀態下直接對攝影狀雜 的一些控制參數進行調節,使得用戶在拍攝的過程中就能 夠根據具體情况動態的改變焦距與圖像大小,提高了用戶 使用具攝影裝置的移動終端進行拍攝的效率,方便了用戶 對該移動終端拍攝功能的使用,增强了該移動終端與用戶 之間的交互性,進而該移動終端顯得更爲人性化。另外, 本發明還使本來在拍攝過程中處於閒置狀態的數位鍵得到 了充分的利用,提高了資源的利用率。 【實施方式】 有關本發明之前述及其他技術内容、特點與功效,在 以下配合參考圖式之一較佳實施例的詳細說明中,將可清 楚的明白。 5月參閱圖1所示,本發明實施例的硬體由移動終端與 攝影裝置構成。其中所述移動終端主要包括RF模組(射頻 模組)、CPU(中央處理器)、記憶體、鍵輸入裝置、〇SD(〇n Screen Display,螢幕顯示選單)以及編碼器等,攝影裝置主 要包括CCD(Charge Coupled Device,電荷耦合元件)、 DSP(DlgltaI Signal Processor,數位訊號處理器)、透鏡、 1249341 JPEG(Joint Photographic Experts Group)部分、處理器以及 LCD(液晶顯示益)專組成。本實施例在確定所述移動終端處 於攝影狀態後,該移動終端首先通過鍵輸入裝置産生對應 於用戶按鍵的鍵輸入信號,由RF模組將獲得的RF信號經 過IF(Intermediate Frequency,中頻)處理後轉換爲數位信號 ’轉換後的數位彳§號被輸入到控制該移動終端整個操作的 CPU進行處理並被儲存到用於儲存必要的控制資料和控制 程式的記憶體中,由該移動終端的CPU判斷該信號是否爲 攝影裝置的控制資訊,若該信號爲攝影裝置的控制資訊, 則將該信號通過移動終端與攝影裝置的介面(未示出)傳 送到控制攝影裝置整個操作並負責與移動終端之間進行資 料通信的攝影裝置的處理器中,該處理器根據獲得的控制 參數和其他的控制資料確定整個攝影裝置的攝影狀態。在 由該控制參數確定的攝影狀態下,CCD攝影頭把從透鏡輸 入的光圖像轉換爲電圖像信號並將其提供給Dsp,然後 DSP把4電圖像信號轉換爲數位信號並把轉換後的數位圖 像信號提供給JPEG裝置,由;PEG裝置根據壓縮彩色靜止 照片的國際標準壓縮從DSP冑入的數位圖像信號。另外, 通過DSP還需把數位圖像信號轉化爲亮度信號γ和色度信 號C,由處理器通過移動終端與攝影裝置之間的多工器(未 示出)把信號γ和c提供給攝影裝置的LCD以及移動終端 的編碼器,再由編碼器將此亮度信號Y和色度信號c轉化 爲RGB圖像信號提供給移動終端的〇SD。 請參閱圖2所示,本發明實施例的軟體包括系統、人 1249341 κ»協定、應用程式以及驅動程式等部分,在這 些部分的共同作用下本實施例對具攝影裝置的移動終端實 現了利用該移動終端本身具有的數位鍵調節其攝影狀態控 制參數的功能。 5 4 —併參閱圖3所示,本實施例對所述具有攝影裝置 移動終私的攝影控制參數調節的實現主要是通過移動終端 的鍵輸=裝置、CPU以及攝影裝置的處理器共同完成的, 〃體的實現由鍵輸人裝置的布置决^,本實施例的鍵輸入 裝置主要由數位鍵卜2、3、4、5、6、7、8、9和上下控 1〇 ㈣組成’本發明調節攝影控制參數的方法具體包括如下 步驟: 第一步·人機界面通過驅動程式確定該移動終端系統 是否處於攝影狀態模式; 第二步··確定所按數位鍵值與用於攝影控制參數焦距 15 及圖像大小之間的映射關係; 第三步··鍵輸入裝置驅動程式從鍵輸入裝置接受用戶 的按鍵資訊; 第四步:應用層軟體根據所按數位鍵值與焦距及圖像 大小的對應關係,將鍵值資訊翻譯成用於控制圖像拍攝的 :0 控制參數; ' 第五步··應用層軟體通過介面函數將獲得的控制來數 傳遞給攝影裝置的驅動程式; 第六步:攝影裝置驅動程式根據從應用層軟體傳遞過 來的控制參數,與其他控制資料一起控制整個拍攝過裎; 8 1249341 第七步··攝影裝置在驅動程式的控制下拍攝圖像。 本實施例的攝影裝置的變焦範圍爲1倍焦距、2倍焦距 及4倍焦距,爲方便起見,這裏分別將其稱爲遠景、中景 以及近景。由於調焦的範圍較小,因此本實施例不僅對數 5 位鍵與焦距之間建立對應關係,還對數位鍵與圖像大小之 間建立了映射關係。本實施例在遠景情况下,圖像大小可 以爲 640X 480、320χ 240、160x 120 或者 128χ 96,中景情 况下,圖像大小可以爲320x 240、160x 120或者i28x 96 ,近景情况下,圖像大小可爲l6〇x 120或者ΐ28χ 96。因 10 此,本實施例中數位鍵與焦距以、圖像大小之間的映射關 係可以如下表1所示。 表1是本實施例中數位鍵與焦距、圖像大小的映射關 係表: _ 按鍵 焦距 相片大小 鍵1 遠景 640χ 480 鍵2 遠景 320χ 240 鍵3 遠景 160χ 120 鍵4 遠景 128χ 96 鍵5 中景 320χ 240 鍵6 中景 160χ 120 鍵7 中景 128χ 96 鍵8 近景 160χ 120 1249341 鍵9 近景 128x 96 通過採用上述方法在使用具有攝影裝置的移動終端拍 攝時’在拍攝過程中就可以通過鍵輸入裝置的數位鍵直接 調節焦距以及决定拍攝獲得的圖像大小,增强了具有攝貪 裝置的移動終端與用戶之間的交互性,提高了用戶使用的 效率,方便了用戶的使用。 當然,如前所述,具有攝影裝置的移動終端的攝影狀 態的控制參數還有攝影的環境模式及其他攝影控制參數, 而且數位鍵與控制參數的對應關係也可以採用其他組合, 舉凡該等變動皆屬業界普通技術人員所能輕易完成者故 爲本發明技術思想所涵蓋。 【圖式簡單說明】 圖1是本發明具攝影裝置的移動終端快速調節攝影控制來數 的方法一較佳實施例之硬體結構方塊圖; 圖2爲該實施例之軟體結構方塊圖;以及 圖3爲該實施例實現調節攝影控制參數的流程圖。 10 1249341 【圖式之主要元件代表符號說明】 (無)BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method of adjusting control parameters of a photographing apparatus, and more particularly to a method of rapidly adjusting photographing control parameters of a mobile terminal having a photographing apparatus. [Prior Art] With the development and popularization of digital technology, especially the perfection of digital image output technology, various mobile terminals are moving toward functional diversification, and new terminal products with digital image functions have emerged at a higher level. The level is convenient for people's lives. When using the mobile terminal with the photographic device to shoot in the light, in order to achieve the best shooting effect and obtain an image of appropriate size, it is often necessary to change some control parameters of the photographic device, such as the focal length of the photographic device, the photo obtained by the shooting. Size (hereinafter referred to as image size), shooting environment settings (night scene mode, normal mode), image quality, and so on. For example, in the process of shooting, in order to get the best shooting results, it is often necessary to change the foreground to medium shot, the middle scene to close-range, or in the distant view, the image size from 640 χ 480 to 320 χ 240 and so on. At present, various mobile terminals with photographic devices generally use a function table to provide a user to adjust these parameters, and the upper and lower control buttons of the mobile terminal key input device are used to simply adjust the focal length of the photographic device, but with the digital The technology is improving day by day, and the control parameters of the photographic device are increasing. In order to achieve a better shooting effect, it is still necessary for the user to enter the function table so that most of the shooting parameters can be set before the shooting can be performed. This allows the user to control parameters such as focal length and image size that need to be changed frequently. Adjusting 1234941 is not convenient, the operation process is cumbersome, the speed is slow, and the interaction between the camera and the camera device is difficult to achieve an intuitive effect. In addition, since the digital key of the mobile terminal is always idle in the photographing state of this mode, resources are not fully utilized. Therefore, it is desirable to have a method for conveniently and quickly adjusting the control parameters of the mobile terminal photographing device during the shooting process, so that the photographing device of the mobile terminal has stronger interaction performance with the user, and is more convenient. User's use of a mobile terminal with a camera. SUMMARY OF THE INVENTION Accordingly, it is an object of the present invention to provide a method for enabling a mobile terminal having a photographing device to quickly adjust a photographing control parameter using its digital key. Therefore, the method for quickly adjusting the photographing control parameter by the mobile terminal with the photographing device of the present invention comprises the following steps: 1) determining whether the mobile terminal is in the photographing state mode; 2) determining the correspondence between the digit key and the focal length and image size of the photographing control parameter. Relationship; 3) receiving key information of the user from the key input device of the mobile terminal; 4) translating the key value information of the key into the information according to the determined mapping relationship between the key value and the control parameter focal length and image size The parameter for controlling the photographing state; 5) transmitting the control parameter to the driving program of the photographing device through the interface function between the mobile terminal and the photographing device, and controlling the entire photographing process together with other control materials. The digit keys are 1, 2, 3, 4, 5, 6, 7, 8, and 9. The focal lengths corresponding to the digit keys 1, 2, 3, and 4 are 丨 focal lengths, and the corresponding image sizes are 640 χ 480, 320 x 240, i6 〇 x 12 〇, and 20 1249341 128 x 96 数 the digit keys 5 described above. The focal length corresponding to 6,7 is 2 times the focal length, and the image size of the pair is 320χ240, 160χ120 and Ι28χ. The focal lengths of the digit keys 8, 9 are 4 times focal length, and the corresponding image sizes are 160 χ 120 and 128 χ 96, respectively. Compared with the prior art, the present invention can directly adjust some control parameters of the photographic shape in the shooting state by using the correspondence between the digital key and the control parameter of the photographic state, so that the user can be specific according to the shooting process. The dynamic change of the focal length and the image size improves the efficiency of the user using the mobile terminal with the photographic device for shooting, and facilitates the user's use of the mobile terminal's shooting function, thereby enhancing the interaction between the mobile terminal and the user. Furthermore, the mobile terminal appears to be more user-friendly. In addition, the present invention also makes full use of the digital keys that were originally idle during the shooting process, thereby improving the utilization of resources. The above and other technical contents, features, and advantages of the present invention will become apparent from the following detailed description of the preferred embodiments. Referring to Fig. 1 in May, the hardware of the embodiment of the present invention is constituted by a mobile terminal and a photographing device. The mobile terminal mainly includes an RF module (radio frequency module), a CPU (central processing unit), a memory, a key input device, a 〇SD (〇n Screen Display), an encoder, and the like, and the photographic device mainly Including CCD (Charge Coupled Device), DSP (DlgltaI Signal Processor, digital signal processor), lens, 1249341 JPEG (Joint Photographic Experts Group) part, processor and LCD (liquid crystal display benefits). In this embodiment, after determining that the mobile terminal is in a photographing state, the mobile terminal first generates a key input signal corresponding to the user's button through the key input device, and the RF signal obtained by the RF module passes through an IF (Intermediate Frequency). After processing, it is converted into a digital signal. The converted digit § is input to the CPU that controls the entire operation of the mobile terminal for processing and stored in the memory for storing the necessary control data and control program by the mobile terminal. The CPU determines whether the signal is control information of the photographing device. If the signal is control information of the photographing device, the signal is transmitted to the entire operation of the photographing device through the interface (not shown) of the mobile terminal and the photographing device and is responsible for In the processor of the photographing device that performs data communication between the mobile terminals, the processor determines the photographing state of the entire photographing device based on the obtained control parameters and other control data. In the photographic state determined by the control parameter, the CCD camera converts the light image input from the lens into an electrical image signal and supplies it to the Dsp, and then the DSP converts the 4 electrical image signal into a digital signal and converts it. The subsequent digital image signal is supplied to the JPEG device, and the PEG device compresses the digital image signal that is input from the DSP in accordance with an international standard for compressing color still photos. In addition, the digital image signal needs to be converted into a luminance signal γ and a chrominance signal C by the DSP, and the signal is supplied to the camera by the processor through a multiplexer (not shown) between the mobile terminal and the photographing device. The LCD of the device and the encoder of the mobile terminal are further converted by the encoder into the 〇SD of the mobile terminal by converting the luminance signal Y and the chrominance signal c into RGB image signals. Referring to FIG. 2, the software of the embodiment of the present invention includes a system, a human 1249341 κ» agreement, an application program, and a driver, etc., and the combination of these components enables the mobile terminal with the photographic device to be utilized. The mobile terminal itself has a function of adjusting the photographic state control parameters by a digit key. 5 4 - and referring to FIG. 3, the implementation of the photography control parameter adjustment with the moving end of the photographing device is mainly implemented by the key input of the mobile terminal, the CPU, and the processor of the photographing device. The implementation of the carcass is determined by the arrangement of the key input device. The key input device of the present embodiment is mainly composed of digital keys 2, 3, 4, 5, 6, 7, 8, 9 and up and down control 1 (4). The method for adjusting the photographic control parameter of the present invention specifically includes the following steps: Step 1: The human-machine interface determines whether the mobile terminal system is in the photographic state mode by using a driver; Step 2: Determine the digital key value and use for photographic control The relationship between the parameter focal length 15 and the image size; the third step·· key input device driver accepts the user's button information from the key input device; the fourth step: the application layer software according to the digital key value and the focal length and the map Like the correspondence of the size, the key value information is translated into control image shooting: 0 control parameters; 'The fifth step · The application layer software passes the control number obtained through the interface function The driver for the camera device; Step 6: The camera device driver controls the entire shooting process together with other control data according to the control parameters transmitted from the application layer software; 8 1249341 Step 7 · Camera device in the driver Take pictures under control. The zooming range of the photographing apparatus of this embodiment is 1x focal length, 2x focal length, and 4x focal length. For convenience, they are referred to herein as distant view, medium view, and close view. Since the range of focusing is small, this embodiment not only establishes a correspondence between the 5-bit key and the focal length, but also establishes a mapping relationship between the digit key and the image size. In the case of the foreground, the image size may be 640×480, 320χ240, 160x120 or 128χ96. In the case of medium scene, the image size may be 320x240, 160x120 or i28x 96, in the case of close-up, the image The size can be l6〇x 120 or ΐ28χ 96. Therefore, the mapping relationship between the digital key and the focal length and the image size in this embodiment can be as shown in Table 1 below. Table 1 is a mapping table of the digital keys and the focal length and image size in this embodiment: _ button focal length photo size key 1 distant view 640 χ 480 key 2 distant view 320 χ 240 key 3 distant view 160 χ 120 key 4 distant view 128 χ 96 key 5 medium view 320 χ 240 button 6 Medium view 160χ 120 button 7 Medium view 128χ 96 button 8 Close-up view 160χ 120 1249341 Key 9 Close-up 128x 96 By using the above method when shooting with a mobile terminal with a camera device, you can use the key input device during shooting. The digital key directly adjusts the focal length and determines the image size obtained by the shooting, enhances the interaction between the mobile terminal and the user with the greedy device, improves the efficiency of the user, and facilitates the user's use. Of course, as described above, the control parameters of the photographing state of the mobile terminal having the photographing device include the photographing environment mode and other photographing control parameters, and the correspondence between the digit keys and the control parameters may also adopt other combinations, and such changes may be adopted. It is easily covered by the ordinary technicians in the industry, and is covered by the technical idea of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram of a hardware structure of a preferred embodiment of a method for rapidly adjusting a number of photographic control of a mobile terminal having a photographic apparatus according to the present invention; FIG. 2 is a block diagram of a software structure of the embodiment; FIG. 3 is a flow chart of implementing the adjustment photography control parameter in this embodiment. 10 1249341 [Description of the main components of the diagram] (none)