TWI516117B - Electronic device and assisted photographing method - Google Patents

Electronic device and assisted photographing method Download PDF

Info

Publication number
TWI516117B
TWI516117B TW102137867A TW102137867A TWI516117B TW I516117 B TWI516117 B TW I516117B TW 102137867 A TW102137867 A TW 102137867A TW 102137867 A TW102137867 A TW 102137867A TW I516117 B TWI516117 B TW I516117B
Authority
TW
Taiwan
Prior art keywords
framing
electronic device
framing area
processing unit
area
Prior art date
Application number
TW102137867A
Other languages
Chinese (zh)
Other versions
TW201513662A (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 緯創資通股份有限公司
Publication of TW201513662A publication Critical patent/TW201513662A/en
Application granted granted Critical
Publication of TWI516117B publication Critical patent/TWI516117B/en

Links

Landscapes

  • Studio Devices (AREA)

Description

電子裝置及輔助拍攝方法 Electronic device and auxiliary shooting method

本發明係有關於影像處理,特別是有關於一種電子裝置及輔助拍攝方法。 The present invention relates to image processing, and more particularly to an electronic device and an auxiliary photographing method.

隨著科技進步,行動裝置(例如是智慧型手機、平板電腦及數位相機等等)亦常常被用來進行拍照。然而,目前的行動裝置在進行拍照時,使用者往往需要先選擇一放大或縮小倍率,再比對拍攝物。若使用者不滿意放大或縮小的效果,則需進一步手動調整放大或縮小倍率。然而,在使用者調整放大或縮小倍率的過程有時可能會相當耗費時間,而且也不一定能擷取到所需的部分場景之畫面,進而造成使用者感受降低。 As technology advances, mobile devices (such as smart phones, tablets, digital cameras, etc.) are often used to take pictures. However, when the current mobile device is taking a picture, the user often needs to select an enlargement or reduction ratio and then compare the subject. If the user is not satisfied with the effect of zooming in or out, you need to manually adjust the zoom or zoom ratio manually. However, the process of adjusting the zooming or zooming magnification by the user may sometimes be quite time consuming, and may not necessarily capture the desired portion of the scene, thereby causing a reduction in user experience.

本發明係提供一種輔助拍攝方法,用於一電子裝置,其中該電子裝置包括一影像擷取單元及一觸控螢幕。該方法包括:利用該影像擷取單元擷取一場景之一預覽影像;在該觸控螢幕上顯示該預覽影像;利用該觸控螢幕在該預覽影像上標記一取景區域之一對角線的一第一端點及一第二端點;在該取景區域中顯示該取景區域之一中心點及該預覽影像之一目前對焦點;移動該電子裝置以對齊該中心點及該目前對焦點;當該中心點及該目前對焦點對齊時,控制該影像擷取單元之一 鏡頭移動,使得該取景區域於該觸控螢幕放大顯示;以及利用該影像擷取單元對放大後之該取景區域進行拍攝。 The present invention provides an auxiliary shooting method for an electronic device, wherein the electronic device includes an image capturing unit and a touch screen. The method includes: using the image capturing unit to capture one of the scenes to preview the image; displaying the preview image on the touch screen; using the touch screen to mark a diagonal of the one of the framing areas on the preview image a first end point and a second end point; displaying a center point of the framing area and a current focus point of the preview image in the framing area; moving the electronic device to align the center point and the current focus point; Controlling one of the image capturing units when the center point is aligned with the current focus point The lens is moved to enlarge the display area on the touch screen; and the image capturing unit is used to capture the enlarged framing area.

本發明更提供一種電子裝置,包括:一觸控螢幕;一影像擷取單元,擷取一場景之一預覽影像;以及一處理單元,用以在該觸控螢幕上顯示該預覽影像,其中當一使用者利用該觸控螢幕在該預覽影像上標記一取景區域之一對角線的一第一端點及一第二端點,該處理器更在該取景區域中顯示該取景區域之一中心點及該預覽影像之一目前對焦點;其中當該電子裝置被移動使得該目前對焦點及該中心點對齊時,該處理單元更控制該影像擷取單元之一鏡頭移動,使得該取景區域於該觸控螢幕放大顯示,並利用該影像擷取單元之一快門對放大後之該取景區域進行拍攝。 The present invention further provides an electronic device comprising: a touch screen; an image capture unit for capturing a preview image of a scene; and a processing unit for displaying the preview image on the touch screen, wherein A user uses the touch screen to mark a first end point and a second end point of a diagonal line of the framing area on the preview image, and the processor displays one of the framing areas in the framing area. The center point and one of the preview images are currently in focus; wherein when the electronic device is moved such that the current focus point and the center point are aligned, the processing unit further controls lens movement of the image capturing unit to make the framing area The touch screen is enlarged and displayed, and the enlarged framing area is photographed by using one shutter of the image capturing unit.

100‧‧‧電子裝置 100‧‧‧Electronic devices

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

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

130‧‧‧記憶體單元 130‧‧‧ memory unit

132‧‧‧拍照應用程式 132‧‧‧Photo application

140‧‧‧觸控螢幕 140‧‧‧ touch screen

200、300‧‧‧預覽影像 200, 300‧‧‧ preview image

210、220‧‧‧取景點 210, 220‧‧‧Acquisition

230、310‧‧‧取景區域 230, 310‧‧‧ framing area

240‧‧‧中心點 240‧‧‧ center point

250‧‧‧目前對焦點 250‧‧‧ current focus

260‧‧‧箭頭 260‧‧‧ arrow

A、B、C、D‧‧‧端點 A, B, C, D‧‧‧ endpoints

第1圖係顯示依據本發明一實施例之電子裝置的功能方塊圖。 1 is a functional block diagram showing an electronic device in accordance with an embodiment of the present invention.

第2A-2D圖係顯示依據本發明一實施例中之局部取景的示意圖。 2A-2D is a schematic diagram showing partial framing in accordance with an embodiment of the present invention.

第3圖係顯示依據本發明一實施例中預覽影像及取景區域的示意圖。 Figure 3 is a diagram showing a preview image and a framing area in accordance with an embodiment of the present invention.

第4圖係顯示依據本發明一實施例之輔助拍攝方法的流程圖。 Figure 4 is a flow chart showing an auxiliary photographing method in accordance with an embodiment of the present invention.

為使本發明之上述目的、特徵和優點能更明顯易 懂,下文特舉一較佳實施例,並配合所附圖式,作詳細說明如下。 In order to make the above objects, features and advantages of the present invention more obvious It is to be understood that the following detailed description of the preferred embodiments and the accompanying drawings are set forth below.

第1圖係顯示依據本發明一實施例之電子裝置的功能方塊圖。如第1圖所示,電子裝置100係包括一影像擷取單元110、一處理單元120、一記憶體單元130、以及一觸控螢幕140。影像擷取單元110係用以擷取一場景之複數張影像,其具有鏡頭、步進馬達及快門(均未繪示)。當影像擷取單元110擷取影像後,會將所擷取的影像儲存於記憶體單元130中,處理單元120可再由記憶體單元130中取得欲使用的擷取影像。記憶體單元130係用以儲存電子裝置100需運作的各種應用程式,其中包括一拍照應用程式132。舉例來說,記憶體單元130可作為一影像緩衝器(Image buffer)以及儲存各種應用程式的儲存裝置,其可為非揮發性記憶體(Non-volatile memory),例如是硬碟、快閃記憶體等等,或是揮發性記憶體(Volatile memory),例如是隨機存取記憶體(如SRAM、DRAM)。觸控螢幕140為一具有觸控單元之顯示裝置,使用者可利用其手指或觸控筆在觸控螢幕上輸入特定觸控指令以控制相應的應用程式。 1 is a functional block diagram showing an electronic device in accordance with an embodiment of the present invention. As shown in FIG. 1 , the electronic device 100 includes an image capturing unit 110 , a processing unit 120 , a memory unit 130 , and a touch screen 140 . The image capturing unit 110 is configured to capture a plurality of images of a scene, and has a lens, a stepping motor, and a shutter (none of which are shown). After the image capturing unit 110 captures the image, the captured image is stored in the memory unit 130, and the processing unit 120 can further obtain the captured image to be used by the memory unit 130. The memory unit 130 is used to store various applications that the electronic device 100 needs to operate, including a camera application 132. For example, the memory unit 130 can function as an image buffer and a storage device for storing various applications, which can be a non-volatile memory, such as a hard disk or a flash memory. Body, etc., or Volatile memory, such as random access memory (such as SRAM, DRAM). The touch screen 140 is a display device having a touch unit. The user can use a finger or a stylus to input a specific touch command on the touch screen to control the corresponding application.

在一實施例中,當使用者欲使用電子裝置100拍攝一場景時,需先執行儲存於記憶體單元130中的拍照應用程式132。拍照應用程式132係可讓使用者以不同的變焦模式進行拍攝,例如是自動拍攝模式以及輔助拍攝模式。當使用者開啟電子裝置100欲進行拍照並選擇自動拍攝模式時,處理單元120係控制影像擷取單元110中之鏡頭的步進馬達(未繪示)以自動對焦於所拍攝之場景中的物件上或是利用數位變焦的方式對焦 於所拍攝之場景中的物件。若使用者選擇輔助拍攝模式,則處理單元120會在觸控螢幕140上即時顯示由影像擷取單元110所拍攝之場景的預覽影像(preview image)。此時,使用者可利用觸控螢幕140上於預覽影像上選取所欲取景的區域。 In an embodiment, when the user wants to use the electronic device 100 to capture a scene, the camera application 132 stored in the memory unit 130 is first executed. The camera application 132 allows the user to shoot in different zoom modes, such as the automatic shooting mode and the auxiliary shooting mode. When the user turns on the electronic device 100 to take a picture and selects an automatic shooting mode, the processing unit 120 controls a stepping motor (not shown) of the lens in the image capturing unit 110 to automatically focus on the object in the captured scene. Focus on digital zoom The object in the scene being shot. If the user selects the auxiliary shooting mode, the processing unit 120 displays a preview image of the scene captured by the image capturing unit 110 on the touch screen 140. At this time, the user can select the area to be framing on the preview image by using the touch screen 140.

第2A-2D圖係顯示依據本發明一實施例中之局部取景的示意圖。舉例來說,使用者可在預覽影像200中選擇欲取景之區域的兩個對角,例如是第2A圖中之取景點210及220。當取景點210及220選擇完成後,處理單元120係依據取景點之位置,在預覽影像200中顯示一取景區域230,例如是第2B圖中的取景區域230。接著,處理單元120則會鎖定在預覽影像中的取景區域230,並在取景區域230中顯示取景區域230之一中心點240,以及目前所拍攝之場景的一目前對焦點250,如第2B圖所示。此時,處理單元120會在觸控螢幕140上顯示一提示信息(例如箭頭260)以讓使用者移動電子裝置100,使得中心點240與目前對焦點250對齊,如第2C圖所示。當中心點240與目前對焦點250對齊時,處理單元120係將取景區域230解除鎖定,並控制影像擷取單元110之焦距以將取景區域230放大至觸控螢幕140之全螢幕大小,例如是控制影像擷取單元110中之步進馬達以調整焦距並放大或縮小取景區域,如第2D圖所示。當焦距愈小,所拍攝之場景的內容則相對較大。此時,使用者則可按下電子裝置100之快門(未繪示)以對取景區域230進行拍攝。 2A-2D is a schematic diagram showing partial framing in accordance with an embodiment of the present invention. For example, the user can select two opposite corners of the region to be framing in the preview image 200, such as the scenic spots 210 and 220 in FIG. 2A. After the selection of the scenic spots 210 and 220 is completed, the processing unit 120 displays a framing area 230 in the preview image 200 according to the location of the scenic spot, for example, the framing area 230 in FIG. 2B. Next, the processing unit 120 locks the framing area 230 in the preview image, and displays a center point 240 of the framing area 230 in the framing area 230, and a current focus point 250 of the currently photographed scene, as shown in FIG. 2B. Shown. At this time, the processing unit 120 displays a prompt message (such as arrow 260) on the touch screen 140 to allow the user to move the electronic device 100 such that the center point 240 is aligned with the current focus point 250, as shown in FIG. 2C. When the center point 240 is aligned with the current focus point 250, the processing unit 120 unlocks the framing area 230 and controls the focal length of the image capturing unit 110 to enlarge the framing area 230 to the full screen size of the touch screen 140, for example, The stepping motor in the image capturing unit 110 is controlled to adjust the focal length and enlarge or reduce the framing area as shown in FIG. 2D. When the focal length is smaller, the content of the scene being shot is relatively large. At this time, the user can press the shutter (not shown) of the electronic device 100 to shoot the framing area 230.

需注意的是,在一些實施例中,在使用者移動電子裝置100以使中心點240與目前對焦點250對齊的過程中,取景區域230中的影像內容亦會隨著電子裝置100的移動而改變, 意即使用者最後所拍攝的照片是以最後在取景區域中的實際場景為準。在另一些實施例中,在使用者移動電子裝置100以使中心點240與目前對焦點250對齊的過程中,取景區域230中的影像內容並不會隨著電子裝置100的移動而改變,意即可將預覽影像視為預先拍照,而使用者調整中心點240與目前對焦點250對齊之過程僅是讓處理單元120解除取景區域之鎖定,並可使用數位對焦之方式放大該取景區域230以進行拍攝。 It should be noted that, in some embodiments, during the process of the user moving the electronic device 100 to align the center point 240 with the current focus point 250, the image content in the framing area 230 may also follow the movement of the electronic device 100. change, This means that the last picture taken by the user is based on the actual scene in the final viewfinder area. In other embodiments, during the process of the user moving the electronic device 100 to align the center point 240 with the current focus point 250, the image content in the finder area 230 does not change with the movement of the electronic device 100. The preview image can be regarded as pre-photographed, and the process of the user adjusting the center point 240 to be aligned with the current focus point 250 is only for the processing unit 120 to unlock the framing area, and the framing area 230 can be enlarged by digital focusing. Take a picture.

第3圖係顯示依據本發明一實施例中預覽影像及取景區域的示意圖。如第3圖所示,預覽影像300之解析度為1024*768,且取景區域310之解析度為380*300。若以直角座標來看,取景區域310之四個端點A、B、C、D之座標分別為(120,500)、(500,500)、(500,200)及(120,200)。處理單元120可依據上述的端點座標計算取景區域310的對角線長度,例如是線段AC。更進一步,處理單元1210可依據對角線長度與基準線之比例以調整影像擷取單元110之鏡頭之焦距,進而讓取景區域產生光學放大的效果。舉例來說,處理單元120可依據線段AB及線段BC計算線段AC,例如。除此之外,觸控螢幕140之對角線320之長度m為已知的數值。因此,處理單元120可計算出放大比例θ=m/AC。若在鏡頭調整前之焦距為x1,且所需的鏡頭位移值N=X*θ,故可得到調整後之焦距為x2=x1-N。若x2為正值,則調整後的焦距要大於原始焦距x1,即表示鏡頭需要伸長。反之,若x2為負值,則表示鏡頭需要縮短。 Figure 3 is a diagram showing a preview image and a framing area in accordance with an embodiment of the present invention. As shown in FIG. 3, the resolution of the preview image 300 is 1024*768, and the resolution of the framing area 310 is 380*300. If viewed at right angles, the coordinates of the four endpoints A, B, C, and D of the framing area 310 are (120, 500), (500, 500), (500, 200), and (120, 200), respectively. The processing unit 120 may calculate the diagonal length of the framing area 310 according to the endpoint coordinates described above, for example, the line segment AC. Further, the processing unit 1210 can adjust the focal length of the lens of the image capturing unit 110 according to the ratio of the diagonal length to the reference line, thereby causing the framing area to produce an optical amplification effect. For example, the processing unit 120 can calculate the line segment AC according to the line segment AB and the line segment BC, for example . In addition, the length m of the diagonal line 320 of the touch screen 140 is a known value. Therefore, the processing unit 120 can calculate the amplification ratio θ=m/AC. If the focal length before the lens adjustment is x1, and the required lens displacement value is N=X*θ, the adjusted focal length can be obtained as x2=x1-N. If x2 is positive, the adjusted focal length is greater than the original focal length x1, which means that the lens needs to be stretched. Conversely, if x2 is negative, it means the lens needs to be shortened.

第4圖係顯示依據本發明一實施例之輔助拍攝方 法的流程圖。在步驟S402,拍照應用程式132中之輔助拍攝模式被開啟。在步驟S404,電子裝置100係進入待機模式準備進行拍攝。需注意的是,在待機時,在觸控螢幕140上會持續顯示預覽影像。在步驟S406,使用者係透過觸控螢幕140在預覽影像上選擇一取景區域之對角線的兩個端點。在步驟S408,處理單元120係計算該取景區域之對角線的一第一對角線長度。在步驟S410,處理單元120係依據該第一對角線長度及該觸控螢幕之一第二對角線長度計算一放大比例。在步驟S412,處理單元120係判斷該放大比例是否超過該影像擷取單元的一預定放大倍率,若是,則執行步驟S414,若否,則執行步驟S416。在步驟S414,處理單元120係在觸控螢幕140上顯示一提示信息,藉以提示使用者重新選定取景區域。在步驟S416,處理單元120係計算影像擷取單元110之鏡頭的一鏡頭位移值。在步驟S418,處理單元120係鎖定該取景區域。 Figure 4 is a diagram showing an auxiliary camera according to an embodiment of the present invention. Flow chart of the law. At step S402, the auxiliary shooting mode in the photographing application 132 is turned on. In step S404, the electronic device 100 enters the standby mode to prepare for shooting. It should be noted that the preview image is continuously displayed on the touch screen 140 during standby. In step S406, the user selects two endpoints of a diagonal of the framing area on the preview image through the touch screen 140. In step S408, the processing unit 120 calculates a first diagonal length of the diagonal of the framing area. In step S410, the processing unit 120 calculates an amplification ratio according to the first diagonal length and the second diagonal length of one of the touch screens. In step S412, the processing unit 120 determines whether the enlargement ratio exceeds a predetermined magnification of the image capture unit, and if so, proceeds to step S414, and if not, proceeds to step S416. In step S414, the processing unit 120 displays a prompt message on the touch screen 140 to prompt the user to re-select the framing area. In step S416, the processing unit 120 calculates a lens shift value of the lens of the image capturing unit 110. At step S418, the processing unit 120 locks the framing area.

在步驟S420,處理單元120係在觸控螢幕140上顯示取景區域之中心點及預覽影像之目前對焦點。在步驟S422,處理單元120在觸控螢幕140上顯示一提示信息,藉以提示使用者移動電子裝置100,使得取景區域之中心點及預覽影像之目前對焦點對齊。在步驟S424,當取景區域之中心點及預覽影像之目前對焦點對齊時,處理單元120會解除鎖定該取景區域,並控制影像擷取單元之步進馬達調整鏡頭(例如移動至所計算出欲放大之取景區域所需的一第二焦距)。在步驟S426,處理單元120則可取得放大後的取景區域,並在觸控螢幕140上顯示放大後之取景區域的預覽畫面。在步驟S428,使用者可在此時 按下快門以完成拍攝。在步驟S430,處理單元120更判斷是否要退出輔助拍攝模式,若是,則執行步驟S432,若否,則回到步驟S404。在步驟S432,處理單元120係結束輔助拍攝模式。 In step S420, the processing unit 120 displays the center point of the framing area and the current focus point of the preview image on the touch screen 140. In step S422, the processing unit 120 displays a prompt message on the touch screen 140 to prompt the user to move the electronic device 100 such that the center point of the framing area and the current focus of the preview image are aligned. In step S424, when the center point of the framing area and the current focus point of the preview image are aligned, the processing unit 120 unlocks the framing area and controls the stepping motor of the image capturing unit to adjust the lens (for example, moving to the calculated desire) A second focal length required to enlarge the framing area). In step S426, the processing unit 120 can obtain the enlarged framing area, and display a preview picture of the enlarged framing area on the touch screen 140. At step S428, the user can at this time Press the shutter to complete the shooting. In step S430, the processing unit 120 further determines whether or not to exit the auxiliary shooting mode, and if so, proceeds to step S432, and if not, returns to step S404. At step S432, the processing unit 120 ends the auxiliary shooting mode.

本發明之方法,或特定型態或其部份,可以以程式碼的型態包含於實體媒體,如軟碟、光碟片、硬碟、或是任何其他機器可讀取(如電腦可讀取)儲存媒體,其中,當程式碼被機器,如電腦載入且執行時,此機器變成用以參與本發明之裝置或系統。本發明之方法、系統與裝置也可以以程式碼型態透過一些傳送媒體,如電線或電纜、光纖、或是任何傳輸型態進行傳送,其中,當程式碼被機器,如電腦接收、載入且執行時,此機器變成用以參與本發明之裝置或系統。當在一般用途處理器實作時,程式碼結合處理器提供一操作類似於應用特定邏輯電路之獨特裝置。 The method of the present invention, or a specific type or part thereof, may be included in a physical medium such as a floppy disk, a compact disc, a hard disk, or any other machine (for example, a computer readable computer). A storage medium in which, when the code is loaded and executed by a machine, such as a computer, the machine becomes a device or system for participating in the present invention. The method, system and apparatus of the present invention may also be transmitted in a coded form via some transmission medium, such as a wire or cable, optical fiber, or any transmission type, wherein the code is received and loaded by a machine, such as a computer. And when executed, the machine becomes a device or system for participating in the present invention. When implemented in a general purpose processor, the code in conjunction with the processor provides a unique means of operation similar to application specific logic.

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

100‧‧‧電子裝置 100‧‧‧Electronic devices

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

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

130‧‧‧記憶體單元 130‧‧‧ memory unit

132‧‧‧拍照應用程式 132‧‧‧Photo application

140‧‧‧觸控螢幕 140‧‧‧ touch screen

Claims (6)

一種輔助拍攝方法,用於一電子裝置,其中該電子裝置包括一影像擷取單元及一觸控螢幕,該方法包括:利用該影像擷取單元擷取一場景之一預覽影像;在該觸控螢幕上顯示該預覽影像;利用該觸控螢幕在該預覽影像上標記一取景區域之一對角線的一第一端點及一第二端點;在該取景區域中顯示該取景區域之一中心點及該預覽影像之一目前對焦點;移動該電子裝置以對齊該中心點及該目前對焦點;當該中心點及該目前對焦點對齊時,控制該影像擷取單元之一鏡頭移動,使得該取景區域於該觸控螢幕放大顯示;利用該影像擷取單元之一快門對放大後之該取景區域進行拍攝;計算該取景區域之一第一對角線長度;計算該觸控螢幕之一第二對角線長度;依據該第一對角線長度及該第二對角線長度計算該取景區域之一放大比例;判斷該放大比例是否超出該影像擷取單元之一預定放大率;若是,提示該電子裝置之一使用者重新選定該取景區域;若否,依據該放大比例及該預覽影像之一第一焦距,計算放大後之該取景區域所需的一第二焦距;以及依據該第一焦距及該第二焦距計算該影像擷取單元之該鏡 頭的一鏡頭位移值。 An auxiliary imaging method for an electronic device, wherein the electronic device includes an image capturing unit and a touch screen, the method comprising: capturing, by the image capturing unit, one of the scenes to preview the image; Displaying the preview image on the screen; marking, by the touch screen, a first end point and a second end point of a diagonal of a framing area on the preview image; displaying one of the framing areas in the framing area The center point and one of the preview images are currently in focus; the electronic device is moved to align the center point and the current focus point; and when the center point is aligned with the current focus point, one of the image capturing units is controlled to move, The framing area is enlarged and displayed on the touch screen; the framing area is enlarged by using one shutter of the image capturing unit; calculating a first diagonal length of the framing area; and calculating the touch screen a second diagonal length; calculating an enlargement ratio of the one of the framing areas according to the first diagonal length and the second diagonal length; determining whether the amplification ratio exceeds the Determining a magnification ratio of one of the capturing units; if so, prompting a user of the electronic device to reselect the viewing area; if not, calculating the enlarged viewing area according to the magnification ratio and a first focal length of the preview image a second focal length required; and calculating the mirror of the image capturing unit according to the first focal length and the second focal length A lens shift value of the head. 如申請專利範圍第1項所述之輔助拍攝方法,更包括:在標記該第一端點及該第二端點後鎖定該取景區域;提示該使用者移動該電子裝置以對齊該中心點及該目前對焦點;以及當該中心點及該目前對焦點對齊時,解除鎖定該取景區域。 The auxiliary photographing method of claim 1, further comprising: locking the framing area after marking the first end point and the second end point; prompting the user to move the electronic device to align the center point and The current focus point; and when the center point and the current focus point are aligned, the framing area is unlocked. 如申請專利範圍第2項所述之輔助拍攝方法,更包括:當解除鎖定該取景區域時,依據該鏡頭位移值控制該影像擷取單元中之一步進馬達以調整該鏡頭移動至該第二焦距藉以放大該取景區域。 The auxiliary photographing method of claim 2, further comprising: when unlocking the framing area, controlling one of the image capturing units according to the lens displacement value to adjust the lens movement to the second The focal length is used to enlarge the viewfinder area. 一種電子裝置,包括:一觸控螢幕;一影像擷取單元,擷取一場景之一預覽影像;以及一處理單元,用以在該觸控螢幕上顯示該預覽影像,其中當一使用者利用該觸控螢幕在該預覽影像上標記一取景區域之一對角線的一第一端點及一第二端點,該處理器更在該取景區域中顯示該取景區域之一中心點及該預覽影像之一目前對焦點;其中當該電子裝置被移動使得該目前對焦點及該中心點對齊時,該處理單元更控制該影像擷取單元之一鏡頭移動,使得該取景區域於該觸控螢幕放大顯示,並利用該影像擷取單元之一快門對放大後之該取景區域進行拍攝;其中該處理單元更計算該取景區域之一第一對角線長度, 計算該觸控螢幕之一第二對角線長度,並依據該第一對角線長度及該第二對角線長度計算該取景區域之一放大比例;其中該處理單元更判斷該放大比例是否超出該影像擷取單元之一預定放大率;若是,該處理單元更提示該電子裝置之一使用者重新選定該取景區域;若否,該處理單元更依據該放大比例及該預覽影像之一第一焦距,計算放大後之該取景區域所需的一第二焦距;其中該處理單元更依據該第一焦距及該第二焦距計算該影像擷取單元之該鏡頭的一鏡頭位移值。 An electronic device includes: a touch screen; an image capture unit that captures a preview image of a scene; and a processing unit configured to display the preview image on the touch screen, wherein a user utilizes The touch screen marks a first end point and a second end point of a diagonal of the framing area on the preview image, and the processor further displays a center point of the framing area in the framing area and the Previewing one of the current focus points of the image; wherein when the electronic device is moved such that the current focus point and the center point are aligned, the processing unit further controls one of the image capturing units to move the lens, so that the framing area is at the touch The screen is enlarged and used to capture the enlarged framing area by using one shutter of the image capturing unit; wherein the processing unit further calculates the first diagonal length of the one of the framing areas, Calculating a second diagonal length of the touch screen, and calculating an enlargement ratio of the one of the framing areas according to the first diagonal length and the second diagonal length; wherein the processing unit further determines whether the zoom ratio is Exceeding a predetermined magnification of the image capturing unit; if yes, the processing unit further prompts a user of the electronic device to reselect the framing area; if not, the processing unit further determines the magnification ratio and the preview image a focal length, a second focal length required for the enlarged framing area is calculated; wherein the processing unit further calculates a lens shift value of the lens of the image capturing unit according to the first focal length and the second focal length. 如申請專利範圍第4項所述之電子裝置,其中在標記該第一端點及該第二端點後,該處理單元更鎖定該取景區域,並提示該使用者移動該電子裝置以對齊該中心點及該目前對焦點,其中當該中心點及該目前對焦點對齊時,該處理單元更解除鎖定該取景區域。 The electronic device of claim 4, wherein after marking the first end point and the second end point, the processing unit further locks the framing area and prompts the user to move the electronic device to align the The center point and the current focus point, wherein the processing unit further unlocks the framing area when the center point and the current focus point are aligned. 如申請專利範圍第5項所述之電子裝置,其中當解除鎖定該取景區域時,該處理單元更依據該鏡頭位移值控制該影像擷取單元中之一步進馬達以調整該鏡頭移動至該第二焦距,藉以放大該取景區域。 The electronic device of claim 5, wherein when the framing area is unlocked, the processing unit further controls one of the image capturing units to adjust the movement of the lens to the first The second focal length is used to enlarge the framing area.
TW102137867A 2013-09-25 2013-10-21 Electronic device and assisted photographing method TWI516117B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310445943.0A CN104469128B (en) 2013-09-25 2013-09-25 Electronic installation and auxiliary shooting method

Publications (2)

Publication Number Publication Date
TW201513662A TW201513662A (en) 2015-04-01
TWI516117B true TWI516117B (en) 2016-01-01

Family

ID=52914435

Family Applications (1)

Application Number Title Priority Date Filing Date
TW102137867A TWI516117B (en) 2013-09-25 2013-10-21 Electronic device and assisted photographing method

Country Status (2)

Country Link
CN (1) CN104469128B (en)
TW (1) TWI516117B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10317777B2 (en) 2015-03-27 2019-06-11 Huawei Technologies Co., Ltd. Automatic zooming method and apparatus
CN104796579B (en) * 2015-04-30 2018-12-14 联想(北京)有限公司 Information processing method and electronic equipment
CN111126279B (en) * 2019-12-24 2024-04-16 深圳市优必选科技股份有限公司 Gesture interaction method and gesture interaction device
CN113724215A (en) * 2021-08-24 2021-11-30 深圳市若菲特科技有限公司 Method and system for identifying attaching state of glass cover plate and touch screen

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007279334A (en) * 2006-04-06 2007-10-25 Matsushita Electric Ind Co Ltd Imaging apparatus
CN101567975A (en) * 2009-05-26 2009-10-28 深圳华为通信技术有限公司 Method and device for selecting focusing zone
US8723988B2 (en) * 2009-07-17 2014-05-13 Sony Corporation Using a touch sensitive display to control magnification and capture of digital images by an electronic device
KR101723642B1 (en) * 2011-01-31 2017-04-19 삼성전자주식회사 Photographing apparatus for photographing a panorama image and method thereof
CN102307278A (en) * 2011-08-25 2012-01-04 天津九安医疗电子股份有限公司 Baby monitoring system and control method for same

Also Published As

Publication number Publication date
CN104469128B (en) 2017-12-26
CN104469128A (en) 2015-03-25
TW201513662A (en) 2015-04-01

Similar Documents

Publication Publication Date Title
WO2015161698A1 (en) Image shooting terminal and image shooting method
JP2012518925A (en) Imaging method, imaging apparatus, and computer program
JP5522545B2 (en) Imaging apparatus, imaging method, and program
JP6598589B2 (en) Imaging apparatus and control method thereof
WO2011153767A1 (en) Shooting method and apparatus for panorama photograph
TWI516117B (en) Electronic device and assisted photographing method
TW201301866A (en) Image processing device capable of generating wide-range image, image processing method, and recording medium
KR20090027681A (en) Method and arrangement for processing records of imaging sensors, corresponding computer program, and corresponding computer-readable storage medium
JP2008003335A (en) Imaging apparatus, focus control method, focus control program
JP2004212556A (en) Imaging apparatus
KR20120119794A (en) Method and apparatus for photographing using special effect
TWI229548B (en) Image pickup apparatus, photographing method, and storage medium recording photographing method
KR20120002834A (en) Image pickup apparatus for providing reference image and method for providing reference image thereof
JP5233727B2 (en) Electronic camera
JP5744581B2 (en) Imaging apparatus and control method thereof
JP2011166497A (en) Imaging device
JP2006253805A (en) Photographing apparatus and method
JP6252632B2 (en) Imaging apparatus and program
JP2012073512A (en) Photographing device and program
JP2010050597A (en) Digital camera
JP2008306284A (en) Photographing apparatus, display method and program
JP2014241621A (en) Imaging apparatus and program
JP5704501B2 (en) Imaging apparatus and program
JP2006253804A (en) Photographing apparatus and method
JP2007166447A (en) Imaging apparatus, zoom display method, and program