TW201911237A - Electronic device and its filter shooting method - Google Patents

Electronic device and its filter shooting method Download PDF

Info

Publication number
TW201911237A
TW201911237A TW106126150A TW106126150A TW201911237A TW 201911237 A TW201911237 A TW 201911237A TW 106126150 A TW106126150 A TW 106126150A TW 106126150 A TW106126150 A TW 106126150A TW 201911237 A TW201911237 A TW 201911237A
Authority
TW
Taiwan
Prior art keywords
filter
electronic device
module
image
preview screen
Prior art date
Application number
TW106126150A
Other languages
Chinese (zh)
Inventor
胡少佳
Original Assignee
大陸商益富可視精密工業(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 大陸商益富可視精密工業(深圳)有限公司 filed Critical 大陸商益富可視精密工業(深圳)有限公司
Publication of TW201911237A publication Critical patent/TW201911237A/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/64Circuits for processing colour signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/64Circuits for processing colour signals
    • H04N9/643Hue control means, e.g. flesh tone control

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Studio Devices (AREA)

Abstract

The present invention provides an electronic device and a method for taking photos using a filter. The method includes activating a camera of the electronic device and displaying a preview screen which includes many viewfinders on a display device of the electronic device, each viewfinder corresponding to a filter of a set of predetermined filters. The method further includes acquiring a number of result images which are processed by the set of predetermined filters when the camera is taking photos of an object, and displaying each of the result images on the viewfinder corresponding to the filter of the set of predetermined filters. The method further includes choosing at least two result images and generating a final image according to the at least two result images and a sequence of the filters of the set of predetermined filters.

Description

電子裝置及其濾鏡拍攝方法Electronic device and its filter shooting method

本發明涉及拍攝領域,尤其涉及一種電子裝置及其濾鏡拍攝方法。The present invention relates to the field of photography, and in particular, to an electronic device and a filter photography method thereof.

使用者可以利用帶有攝像頭的電子設備如手機在拍照的預覽中添加即時處理的濾鏡。現有技術中,電子設備可以提供大量濾鏡供用戶自行選擇,但是用戶每次只能選擇一種濾鏡,並且只能生成該選擇的濾鏡處理後的一張照片。Users can use cameras with electronic devices such as mobile phones to add instant processing filters to the preview of the photo. In the prior art, an electronic device can provide a large number of filters for a user to select, but the user can only select one filter at a time, and can only generate a photo processed by the selected filter.

鑒於以上內容,有必要提供一種電子裝置及其濾鏡拍攝方法,可以結合多種濾鏡一次取景成像生成包括多種濾鏡效果的濾鏡影像。In view of the above, it is necessary to provide an electronic device and a filter shooting method thereof, which can combine a plurality of filters for one-time imaging and generate a filter image including a plurality of filter effects.

一種電子裝置,所述電子裝置包括:攝像頭;顯示螢幕;存儲單元;至少一個處理器;以及至少一個模組,所述至少一個模組被存儲在所述存儲單元中並被配置成由所述至少一個處理器執行,所述至少一個模組包括:啟動模組,用於啟動所述電子裝置的拍照功能並控制所述顯示螢幕顯示預覽畫面,所述預覽畫面包括多個取景框,每一個所述取景框對應預先設置的濾鏡組合中的一個濾鏡;顯示模組,用於使用所述濾鏡組合中的每一個濾鏡處理所述攝像頭所拍攝的目標影像以得到每一個濾鏡的效果影像,並在所述預覽畫面中的每一個取景框中顯示該取景框所對應的濾鏡的效果影像;選擇模組,用於選擇多個效果影像;及生成模組,用於根據選擇的多個效果影像及所述濾鏡組合中的排列順序生成至少一最終影像。An electronic device includes: a camera; a display screen; a storage unit; at least one processor; and at least one module, the at least one module is stored in the storage unit and configured to be controlled by the Executed by at least one processor, the at least one module includes a startup module for activating a photographing function of the electronic device and controlling the display screen to display a preview screen, the preview screen including a plurality of framing frames, each The viewfinder frame corresponds to a filter in a preset filter combination; a display module is configured to use each filter in the filter combination to process a target image captured by the camera to obtain each filter Effect image, and display the effect image of the filter corresponding to the view frame in each view frame in the preview screen; a selection module for selecting multiple effect images; and a generation module for The selected plurality of effect images and the arrangement order in the filter combination generate at least one final image.

一種濾鏡拍攝方法,運行於電子裝置中,所述電子裝置包括攝像頭和顯示螢幕,該方法包括:啟動步驟,啟動所述電子裝置的拍照功能並控制所述顯示螢幕顯示預覽畫面,所述預覽畫面包括多個取景框,每一個所述取景框對應預先設置的濾鏡組合中的一個濾鏡;顯示步驟,使用所述濾鏡組合中的每一個濾鏡處理所述攝像頭所拍攝的目標影像以得到每一個濾鏡的效果影像,並在所述預覽畫面中的每一個取景框中顯示該取景框所對應的濾鏡的效果影像;選擇步驟,選擇多個效果影像;及生成步驟,根據選擇的多個效果影像及所述濾鏡組合中的排列順序生成至少一最終影像。A filter shooting method runs in an electronic device. The electronic device includes a camera and a display screen. The method includes a startup step of starting a photographing function of the electronic device and controlling the display screen to display a preview screen. The preview The picture includes a plurality of finder frames, each of which corresponds to a filter in a preset filter combination; and a display step of using each filter in the filter combination to process a target image captured by the camera To obtain the effect image of each filter, and display the effect image of the filter corresponding to the view frame in each view frame in the preview screen; a selection step, selecting a plurality of effect images; and a generating step, according to The selected plurality of effect images and the arrangement order in the filter combination generate at least one final image.

相較於現有技術,本發明提供的電子裝置及其濾鏡拍攝方法,可以根據使用者設置的濾鏡組合通過一次拍攝得到全部的已經選擇的濾鏡的濾鏡影像,提高了濾鏡影像拍攝的效率,提升用戶體驗。Compared with the prior art, the electronic device and the filter shooting method provided by the present invention can obtain all the filter images of the selected filters in one shot according to the filter combination set by the user, which improves the shooting of the filter image Efficiency and improve user experience.

參閱圖1所示,是本發明電子裝置較佳實施例的架構圖。在本實施例中,濾鏡拍攝系統10運行於電子裝置1中,該電子裝置1還包括,但不僅限於,電池11、顯示螢幕12、攝像頭13、存儲單元14及處理器15。所述電池11、顯示螢幕12、攝像頭13及存儲單元14分別與所述處理器15電性連接。在本實施例中,所述電子裝置1可以為手機、平板電腦、穿戴式眼鏡等可擕式電子設備。FIG. 1 is a structural diagram of a preferred embodiment of an electronic device according to the present invention. In this embodiment, the filter shooting system 10 runs in an electronic device 1. The electronic device 1 further includes, but is not limited to, a battery 11, a display screen 12, a camera 13, a storage unit 14, and a processor 15. The battery 11, the display screen 12, the camera 13 and the storage unit 14 are electrically connected to the processor 15, respectively. In this embodiment, the electronic device 1 may be a portable electronic device such as a mobile phone, a tablet computer, and wearable glasses.

在本實施方式中,所述電池11用於為所述電子裝置1提供電量。所述電池11可以是鋰電池或者鎳氫電池。In this embodiment, the battery 11 is used to provide power to the electronic device 1. The battery 11 may be a lithium battery or a nickel-metal hydride battery.

在本實施方式中,所述顯示螢幕12可以具有觸摸功能,如液晶(Liquid Crystal Display,LCD)顯示螢幕12或有機發光二極體(Organic Light-Emitting Diode,OLED)顯示螢幕12。所述顯示螢幕12用於顯示圖片等資訊。In this embodiment, the display screen 12 may have a touch function, such as a Liquid Crystal Display (LCD) display screen 12 or an Organic Light-Emitting Diode (OLED) display screen 12. The display screen 12 is used for displaying information such as pictures.

在本實施例中,所述存儲單元14可以是電子裝置1本身的記憶體,也可以是外部記憶體,如智慧媒體卡(Smart Media Card)、安全數位卡(Secure Digital Card)、快閃記憶體卡(Flash Card)等。In this embodiment, the storage unit 14 may be the memory of the electronic device 1 or an external memory, such as a Smart Media Card, a Secure Digital Card, and a flash memory. Sports Card (Flash Card), etc.

所述存儲單元14中還存儲有濾鏡拍攝系統10,該濾鏡拍攝系統10用於根據使用者設置的濾鏡組合通過一次拍攝得到全部的已經選擇的濾鏡的濾鏡影像。The storage unit 14 also stores a filter shooting system 10, which is used to obtain all the filter images of the selected filters in one shot according to the filter combination set by the user.

在本實施方式中,所述濾鏡拍攝系統10可以被分割成一個或多個模組,所述一個或多個模組存儲在所述存儲單元14中,並被配置成一個或多個處理器(本實施例為一個處理器15)執行,以完成本發明。例如,所述濾鏡拍攝系統10被分割成設置模組101、啟動模組102、顯示模組103、選擇模組104及生成模組105。本發明所稱的模組是能夠完成一特定功能的程式段,比程式更適合用於描述軟體在電子裝置1中的執行過程,關於各模組的詳細功能將在後文圖2的流程圖中作具體描述。In this embodiment, the filter shooting system 10 may be divided into one or more modules, and the one or more modules are stored in the storage unit 14 and configured as one or more processes. (A processor 15 in this embodiment) is executed to complete the present invention. For example, the filter shooting system 10 is divided into a setting module 101, a startup module 102, a display module 103, a selection module 104, and a generation module 105. The module referred to in the present invention is a program segment capable of completing a specific function, which is more suitable for describing the execution process of software in the electronic device 1 than the program. The detailed functions of each module will be described in the flowchart of FIG. 2 later. Specific description.

所述處理器15可以為中央處理單元、微處理器或者其他能夠執行所述濾鏡拍攝系統10的資料處理晶片。The processor 15 may be a central processing unit, a microprocessor, or another data processing chip capable of executing the filter shooting system 10.

如圖2所示,本發明較佳實施方式的濾鏡拍攝方法流程圖。根據不同需求,該流程圖中步驟的順序可以改變,某些步驟可以省略或合併。As shown in FIG. 2, a flowchart of a filter shooting method according to a preferred embodiment of the present invention is shown. According to different requirements, the order of the steps in the flowchart can be changed, and some steps can be omitted or combined.

步驟S1,設置模組101預先設置濾鏡組合。In step S1, the setting module 101 sets a filter combination in advance.

在本實施例中,使用者可以根據自身喜好預先選擇多個濾鏡以設置濾鏡組合,所述多個濾鏡對應多個取景框顯示於所述顯示螢幕12中。所述濾鏡是指通過濾鏡軟體將影像渲染成不同風格,而非實體的偏振片、濾光鏡等濾鏡,其主要是用來實現影像的各種特殊效果,一般包括“黑白”、“單色”、“色調”、“褪色”、“沖印”、“歲月”及“懷舊”等風格的濾鏡。在本實施方式中,所述影像包括圖片或視頻。In this embodiment, the user may select a plurality of filters in advance to set a filter combination according to his preference, and the plurality of filters are displayed on the display screen 12 corresponding to a plurality of view frames. The filter refers to rendering images into different styles through filter software, instead of physical filters such as polarizers and filters, which are mainly used to achieve various special effects of images, and generally include "black and white", " "Monochrome", "Tint", "Fade", "Print", "Time" and "Nostalgic" style filters. In this embodiment, the image includes a picture or a video.

所述濾鏡組合包括濾鏡的數量、種類、形狀、大小及排列順序。所述濾鏡組合中的每個濾鏡在顯示螢幕12中對應有一個取景框。每一個取景框的形狀與大小,就是該取景框所對應的濾鏡的形狀與大小。所述濾鏡的形狀不局限於現有技術中的四邊形,還可以包括圓形、菱形、橢圓形等其他幾何形狀,可以根據使用者喜好來設置。當所述濾鏡為四邊形時,所述濾鏡的長與寬的比例可以根據使用者設置的拍攝後的照片的長與寬的比例來設置。例如,若用戶設置拍攝後的照片的長與寬的比例為1:1時,所述濾鏡的長與寬的比例為1:1;若用戶設置拍攝後的照片的長與寬的比例為4:3時,所述濾鏡的長與寬的比例為4:3。所述長與寬的比例還可以是16:9或17:9等。The filter combination includes the number, type, shape, size, and arrangement order of the filters. Each filter in the filter combination corresponds to a framing frame in the display screen 12. The shape and size of each finder frame is the shape and size of the filter corresponding to the finder frame. The shape of the filter is not limited to the quadrangle in the prior art, and may include other geometric shapes such as a circle, a rhombus, and an ellipse, and may be set according to user preference. When the filter is a quadrangle, the ratio of the length to the width of the filter can be set according to the ratio of the length to the width of the photograph after the shooting is set by the user. For example, if the user sets the ratio of the length to the width of the photographed picture to be 1: 1, the ratio of the length to the width of the filter is 1: 1; if the user sets the ratio of the length to the width of the photographed picture as When 4: 3, the ratio of the length to the width of the filter is 4: 3. The ratio of length to width may also be 16: 9 or 17: 9.

現有技術中,當使用者啟動電子裝置1的拍照功能時,所述顯示螢幕12中會顯示有九個取景框,該九個取景框中顯示有經過對應濾鏡處理的預覽影像,所述九個取景框一般以3*3的九宮格形式顯示在所述顯示螢幕12中。In the prior art, when a user activates the photographing function of the electronic device 1, nine display frames are displayed on the display screen 12, and the nine view frames display preview images processed by corresponding filters. The framing frames are generally displayed on the display screen 12 in the form of a 9 * 3 grid.

在本實施例中,當使用者啟動電子裝置1的拍照功能時,所述顯示螢幕12顯示所述拍照功能的預覽畫面,所述濾鏡組合中的每個濾鏡在所述預覽畫面中對應有一個取景框。所述取景框的數量就是所述濾鏡組合中的濾鏡數量。所述取景框的排列順序就是所述濾鏡組合中的濾鏡排列順序。每一個取景框的形狀與大小,就是該取景框所對應的濾鏡的形狀與大小。所述顯示螢幕12中取景框的個數並不固定,用戶可以通過所述濾鏡組合設置所述取景框的個數及排列方式。例如,所述濾鏡可以有4個並以2*2的形式排列,所述濾鏡可以有9個並以3*3的形式排列,或者所述濾鏡可以有16個並以4*4的形式排列。In this embodiment, when the user activates the photographing function of the electronic device 1, the display screen 12 displays a preview screen of the photographing function, and each filter in the filter combination corresponds to the preview screen There is a framing frame. The number of the finder frames is the number of filters in the filter combination. The arrangement order of the finder frames is the arrangement order of the filters in the filter combination. The shape and size of each finder frame is the shape and size of the filter corresponding to the finder frame. The number of framing frames in the display screen 12 is not fixed. The user can set the number and arrangement of the framing frames through the filter combination. For example, the filters may be 4 and arranged in a form of 2 * 2, the filters may be 9 and arranged in a form of 3 * 3, or the filters may be 16 and arranged in a form of 4 * 4 Arranged in the form.

在本實施例中,用戶可以在所述預覽畫面中自由的選擇關閉該濾鏡組合中的至少一個濾鏡,或變更所述濾鏡組合中的濾鏡種類。In this embodiment, the user can freely choose to close at least one filter in the filter combination in the preview screen, or change the type of the filter in the filter combination.

當使用者在所述預覽畫面中選擇關閉該濾鏡組合中的至少一個濾鏡時,如圖3A所示,所述預覽畫面包括一個第一按鈕120。當所述第一按鈕120被觸碰時,所述預覽畫面中的每個取景框中都可以顯示一關閉按鈕130(如圖3B中的叉形圖示),當使用者點擊所述關閉按鈕130時,可以關閉該取景框對應的濾鏡。When the user selects to close at least one filter in the filter combination in the preview screen, as shown in FIG. 3A, the preview screen includes a first button 120. When the first button 120 is touched, a close button 130 (such as the cross-shaped icon in FIG. 3B) can be displayed in each viewfinder frame in the preview screen. When the user clicks the close button At 130, you can turn off the filter corresponding to the viewfinder.

當使用者在所述預覽畫面中選擇變更所述濾鏡組合中的濾鏡種類時,用戶可以通過點擊所述預覽畫面中的一個取景框,從而觸發所述顯示螢幕12提供更多其他種類的濾鏡供用戶選擇。例如,如圖4A所示,當用戶點擊所述濾鏡組合中的中間那個濾鏡所對應的取景框時,所述顯示螢幕12可以在所述濾鏡組合的取景框下面提供另外五種濾鏡供用戶選擇(如圖4B所示)。所述顯示螢幕12還提供一個可以隨機選擇濾鏡種類的按鈕,如圖4B中顯示有“more”的按鈕。When the user selects to change the filter type in the filter combination in the preview screen, the user can click a viewfinder frame in the preview screen to trigger the display screen 12 to provide more other types Filters are available for user selection. For example, as shown in FIG. 4A, when the user clicks the viewfinder frame corresponding to the middle filter in the filter combination, the display screen 12 may provide five additional filters below the viewfinder frame of the filter combination. The mirror is for the user to choose (as shown in Figure 4B). The display screen 12 further provides a button for randomly selecting a filter type, as shown in FIG. 4B with a button of “more”.

在其他實施例中,所述設置模組101在步驟S1預先設置的濾鏡組合可以為上一次拍照功能時設定的濾鏡組合,或者是所述電子裝置1預設的濾鏡組合。In other embodiments, the filter combination preset by the setting module 101 in step S1 may be a filter combination set during a previous photographing function, or a filter combination preset by the electronic device 1.

步驟S2,啟動模組102啟動電子裝置1的拍照功能並控制所述顯示螢幕12顯示所述預覽畫面。In step S2, the activation module 102 activates a photographing function of the electronic device 1 and controls the display screen 12 to display the preview screen.

步驟S3,顯示模組103使用所述濾鏡組合中的每一個濾鏡處理所述攝像頭13所拍攝的目標影像以得到每一個濾鏡的效果影像,並在所述預覽畫面中的每一個取景框中顯示該取景框所對應的濾鏡的效果影像。In step S3, the display module 103 uses each filter in the filter combination to process the target image captured by the camera 13 to obtain an effect image of each filter, and frames each of the preview images. The frame displays the effect image of the filter corresponding to the viewfinder.

在本實施例中,所述顯示模組103還可以記錄所述濾鏡的使用頻率,並將使用頻率高的濾鏡優先顯示於所述預覽畫面中供使用者選擇。In this embodiment, the display module 103 can also record the frequency of use of the filter, and preferentially display the filter with high frequency of use in the preview screen for the user to select.

步驟S4,選擇模組104選擇多個效果影像。In step S4, the selection module 104 selects a plurality of effect images.

在本實施方式中,如圖3A與圖3B所示,用戶可以通過所述第一按鈕120選擇多個效果影像。具體地,當所述第一按鈕120被觸碰時,每一個效果影像對應的取景框中都顯示有一關閉按鈕130,當使用者點擊所述關閉按鈕130時,可以關閉該取景框對應的濾鏡,從而關閉該取景框對應的效果影像,使該效果影像不被選擇。所述選擇模組104所選擇的效果影像就是未被關閉的效果影像。In this embodiment, as shown in FIGS. 3A and 3B, the user can select multiple effect images through the first button 120. Specifically, when the first button 120 is touched, a close button 130 is displayed in the viewfinder frame corresponding to each effect image. When the user clicks the close button 130, the filter corresponding to the viewfinder frame can be closed. Mirror, thereby closing the effect image corresponding to the viewfinder, so that the effect image is not selected. The effect image selected by the selection module 104 is an effect image that is not closed.

步驟S5,生成模組105根據選擇的多個效果影像及所述濾鏡組合中的排列順序生成至少一最終影像,並將所述最終影像儲存於所述存儲單元14中。例如,可在所述預覽畫面中顯示第二按鈕140,當所述第二按鈕140被觸碰時執行步驟S5。In step S5, the generating module 105 generates at least one final image according to the selected multiple effect images and the arrangement order in the filter combination, and stores the final image in the storage unit 14. For example, a second button 140 may be displayed in the preview screen, and when the second button 140 is touched, step S5 is performed.

在本實施方式中,所述最終影像為包括所有選擇的多個效果影像的一張影像,由所有選擇的多個效果影像根據所述濾鏡組合中的排列順序拼接組成。或者,所述最終影像為多張分別對應所述選擇的多個效果影像中的一個的單獨影像,也就是將所述選擇的每一個效果影像分別儲存作為所述最終影像。例如,當所述濾鏡組合包括“黑白”、“單色”、“色調”和“褪色”四種濾鏡時,那麼所述最終影像可以為包括上述四種濾鏡的一張影像,也可以為四張分別對應上述四個濾鏡中每個濾鏡的單獨影像。In this embodiment, the final image is an image including all selected multiple effect images, and is composed of all selected multiple effect images according to an arrangement order of the filter combination. Alternatively, the final image is a plurality of separate images respectively corresponding to one of the selected multiple effect images, that is, each selected effect image is stored as the final image, respectively. For example, when the filter combination includes four kinds of filters: "black and white", "monochrome", "hue" and "fading", then the final image may be an image including the above four filters, or It can be four separate images corresponding to each of the above four filters.

以上實施例僅用以說明本發明的技術方案而非限制,儘管參照以上較佳實施例對本發明進行了詳細說明,本領域的普通技術人員應當理解,可以對本發明的技術方案進行修改或者等同替換都不應脫離本發明技術方案的精神和範圍。The above embodiments are only used to illustrate the technical solution of the present invention and are not limiting. Although the present invention has been described in detail with reference to the above preferred embodiments, those skilled in the art should understand that the technical solution of the present invention may be modified or equivalently replaced. All should not depart from the spirit and scope of the technical solution of the present invention.

1‧‧‧電子裝置1‧‧‧ electronic device

11‧‧‧電池 11‧‧‧ Battery

12‧‧‧顯示螢幕 12‧‧‧display

13‧‧‧攝像頭 13‧‧‧ camera

14‧‧‧存儲單元 14‧‧‧Storage unit

15‧‧‧處理器 15‧‧‧ processor

120‧‧‧第一按鈕 120‧‧‧First button

130‧‧‧關閉按鈕 130‧‧‧Close button

140‧‧‧第二按鈕 140‧‧‧Second button

10‧‧‧濾鏡拍攝系統 10‧‧‧ Filter shooting system

101‧‧‧設置模組 101‧‧‧Set up module

102‧‧‧啟動模組 102‧‧‧Activation module

103‧‧‧顯示模組 103‧‧‧Display Module

104‧‧‧選擇模組 104‧‧‧Select Module

105‧‧‧生成模組 105‧‧‧Generation Module

圖1是本發明較佳實施方式的電子裝置的架構圖。 圖2是本發明較佳實施方式的濾鏡拍攝方法的流程圖。 圖3A和3B是本發明的拍照功能的預覽畫面中關閉濾鏡組合中的濾鏡的示意圖。 圖4A和4B是本發明的拍照功能的預覽畫面中變更濾鏡種類的示意圖。FIG. 1 is a structural diagram of an electronic device according to a preferred embodiment of the present invention. FIG. 2 is a flowchart of a filter shooting method according to a preferred embodiment of the present invention. 3A and 3B are schematic diagrams of closing a filter in a filter combination in a preview screen of a photographing function of the present invention. 4A and 4B are schematic diagrams of changing a filter type in a preview screen of a photographing function of the present invention.

無。no.

Claims (10)

一種電子裝置,其中,所述電子裝置包括: 攝像頭; 顯示螢幕; 存儲單元; 至少一個處理器;以及 至少一個模組,所述至少一個模組被存儲在所述存儲單元中並被配置成由所述至少一個處理器執行,所述至少一個模組包括: 啟動模組,用於啟動所述電子裝置的拍照功能並控制所述顯示螢幕顯示預覽畫面,所述預覽畫面包括多個取景框,每一個所述取景框對應預先設置的濾鏡組合中的一個濾鏡; 顯示模組,用於使用所述濾鏡組合中的每一個濾鏡處理所述攝像頭所拍攝的目標影像以得到每一個濾鏡的效果影像,並在所述預覽畫面中的每一個取景框中顯示該取景框所對應的濾鏡的效果影像; 選擇模組,用於選擇多個效果影像;及 生成模組,用於根據選擇的多個效果影像及所述濾鏡組合中的排列順序生成至少一最終影像。An electronic device, wherein the electronic device includes: a camera; a display screen; a storage unit; at least one processor; and at least one module, the at least one module is stored in the storage unit and configured to be The at least one processor executes, the at least one module includes: a startup module for activating a photographing function of the electronic device and controlling the display screen to display a preview screen, the preview screen including a plurality of framing frames, Each of the viewfinder frames corresponds to a filter in a preset filter combination; a display module is configured to use each filter in the filter combination to process a target image captured by the camera to obtain each An effect image of a filter, and an effect image of a filter corresponding to the finder frame is displayed in each finder frame in the preview screen; a selection module is used to select multiple effect images; and a generation module is used to Generating at least one final image according to the selected plurality of effect images and the arrangement order in the filter combination. 如申請專利範圍第1項所述的電子裝置,其中,該至少一個模組還包括設置模組,用於預先設置所述濾鏡組合,所述濾鏡組合包括濾鏡的數量、種類、形狀、大小及排列順序。The electronic device according to item 1 of the scope of patent application, wherein the at least one module further includes a setting module for setting the filter combination in advance, and the filter combination includes the number, type, and shape of the filters , Size, and order. 如申請專利範圍第1項所述的電子裝置,其中,所述最終影像為包括所有選擇的多個效果影像的一張影像,由所有選擇的多個效果影像根據所述濾鏡組合中的排列順序拼接組成,或者,所述最終影像為多張分別對應所述選擇的多個效果影像中的一個的單獨影像。The electronic device according to item 1 of the scope of patent application, wherein the final image is an image including all selected multiple effect images, and all the selected multiple effect images are arranged according to the filter combination. Sequential stitching, or the final image is a plurality of separate images respectively corresponding to one of the selected multiple effect images. 如申請專利範圍第1項所述的電子裝置,其中,所述顯示模組還記錄所述濾鏡的使用頻率,並將使用頻率高的濾鏡優先顯示於所述預覽畫面中供使用者選擇。The electronic device according to item 1 of the scope of patent application, wherein the display module further records the use frequency of the filter, and preferentially displays the filter with a high use frequency in the preview screen for the user to select . 如申請專利範圍第2項所述的電子裝置,其中,所述設置模組,還用於在所述預覽畫面中的每個取景框中都顯示一關閉按鈕,當所述關閉按鈕被點擊時,使該取景框對應的效果影像在生成所述最終影像時不被選擇; 所述設置模組,還用於當所述預覽畫面中的一個取景框被點擊時,觸發所述顯示螢幕提供更多其他種類的濾鏡供用戶選擇。The electronic device according to item 2 of the scope of patent application, wherein the setting module is further configured to display a close button in each view frame in the preview screen, and when the close button is clicked , So that the effect image corresponding to the framing frame is not selected when generating the final image; the setting module is further configured to trigger the display screen to provide more updates when a framing frame in the preview screen is clicked. Many other kinds of filters are available for users to choose. 一種濾鏡拍攝方法,運行於電子裝置中,所述電子裝置包括攝像頭和顯示螢幕,其中,該方法包括: 啟動步驟,啟動所述電子裝置的拍照功能並控制所述顯示螢幕顯示預覽畫面,所述預覽畫面包括多個取景框,每一個所述取景框對應預先設置的濾鏡組合中的一個濾鏡; 顯示步驟,使用所述濾鏡組合中的每一個濾鏡處理所述攝像頭所拍攝的目標影像以得到每一個濾鏡的效果影像,並在所述預覽畫面中的每一個取景框中顯示該取景框所對應的濾鏡的效果影像; 選擇步驟,選擇多個效果影像;及 生成步驟,根據選擇的多個效果影像及所述濾鏡組合中的排列順序生成至少一最終影像。A filter shooting method is run in an electronic device. The electronic device includes a camera and a display screen, wherein the method includes: a startup step of starting a photographing function of the electronic device and controlling the display screen to display a preview screen. The preview screen includes a plurality of finder frames, each of which corresponds to one filter in a preset filter combination; and a display step of using each filter in the filter combination to process the image captured by the camera The target image is used to obtain the effect image of each filter, and the effect image of the filter corresponding to the view frame is displayed in each view frame in the preview screen; a selection step, selecting a plurality of effect images; and a generation step And generate at least one final image according to the selected multiple effect images and the arrangement order in the filter combination. 如申請專利範圍第6項所述的濾鏡拍攝方法,其中,該方法還包括設置步驟,預先設置所述濾鏡組合,所述濾鏡組合包括濾鏡的數量、種類、形狀、大小及排列順序。The filter shooting method according to item 6 of the scope of patent application, wherein the method further includes a setting step of setting the filter combination in advance, and the filter combination includes a quantity, a type, a shape, a size, and an arrangement of the filters order. 如申請專利範圍第6項所述的濾鏡拍攝方法,其中,所述最終影像為包括所有選擇的多個效果影像的一張影像,由所有選擇的多個效果影像根據所述濾鏡組合中的排列順序拼接組成,或者,所述最終影像為多張分別對應所述選擇的多個效果影像中的一個的單獨影像。The filter shooting method according to item 6 of the scope of the patent application, wherein the final image is an image including all selected multiple effect images, and all the selected multiple effect images are selected according to the filter combination. Or the final image is a single image corresponding to one of the selected multiple effect images. 如申請專利範圍第6項所述的濾鏡拍攝方法,其中,所述顯示步驟還記錄所述濾鏡的使用頻率,並將使用頻率高的濾鏡優先顯示於所述預覽畫面中供使用者選擇。The filter shooting method according to item 6 of the scope of patent application, wherein the displaying step further records a frequency of use of the filter, and preferentially displays a filter with a high frequency of use in the preview screen for a user select. 如申請專利範圍第7項所述的濾鏡拍攝方法,其中,在所述預覽畫面中的每個取景框中都顯示一關閉按鈕,當所述關閉按鈕被點擊時,使該取景框對應的效果影像在生成所述最終影像時不被選擇;及 當所述預覽畫面中的一個取景框被點擊時,觸發所述顯示螢幕提供更多其他種類的濾鏡供用戶選擇。The filter shooting method according to item 7 of the scope of patent application, wherein a close button is displayed in each finder frame in the preview screen, and when the close button is clicked, the finder frame corresponds to The effect image is not selected when the final image is generated; and when a framing frame in the preview screen is clicked, the display screen is triggered to provide more other types of filters for the user to select.
TW106126150A 2017-07-28 2017-08-02 Electronic device and its filter shooting method TW201911237A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710629807.5A CN109309783A (en) 2017-07-28 2017-07-28 Electronic device and its filter image pickup method
??201710629807.5 2017-07-28

Publications (1)

Publication Number Publication Date
TW201911237A true TW201911237A (en) 2019-03-16

Family

ID=65205009

Family Applications (1)

Application Number Title Priority Date Filing Date
TW106126150A TW201911237A (en) 2017-07-28 2017-08-02 Electronic device and its filter shooting method

Country Status (2)

Country Link
CN (1) CN109309783A (en)
TW (1) TW201911237A (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111083374B (en) * 2019-12-27 2021-09-28 维沃移动通信有限公司 Filter adding method and electronic equipment
CN112165576A (en) * 2020-09-25 2021-01-01 Oppo(重庆)智能科技有限公司 Image display method, image display device, storage medium and electronic equipment
CN113727017B (en) * 2021-06-16 2022-07-05 荣耀终端有限公司 Shooting method, graphical interface and related device
CN113473013A (en) * 2021-06-30 2021-10-01 展讯通信(天津)有限公司 Display method and device for beautifying effect of image and terminal equipment
CN113691737B (en) * 2021-08-30 2022-09-06 荣耀终端有限公司 Video shooting method and device and storage medium
CN113747240B (en) * 2021-09-10 2023-04-07 荣耀终端有限公司 Video processing method, apparatus and storage medium
CN113784165B (en) * 2021-09-17 2023-05-05 北京快来文化传播集团有限公司 Short video filter superposition method, system, electronic equipment and readable storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105279161B (en) * 2014-06-10 2019-08-13 腾讯科技(深圳)有限公司 The filter sort method and device of picture processing application
CN105812650B (en) * 2015-06-29 2017-08-15 维沃移动通信有限公司 A kind of image acquiring method and electronic equipment
CN105357451B (en) * 2015-12-04 2019-11-29 Tcl集团股份有限公司 Image processing method and device based on filter special efficacy
CN105511738B (en) * 2016-01-26 2018-12-21 努比亚技术有限公司 A kind of device and method adjusting image processing menu
CN106331502A (en) * 2016-09-27 2017-01-11 奇酷互联网络科技(深圳)有限公司 Terminal and its filter photographing method and device
CN106791381A (en) * 2016-12-06 2017-05-31 深圳市金立通信设备有限公司 A kind of photographic method and terminal

Also Published As

Publication number Publication date
CN109309783A (en) 2019-02-05

Similar Documents

Publication Publication Date Title
TW201911237A (en) Electronic device and its filter shooting method
CN105827964B (en) A kind of image processing method and mobile terminal
WO2017096866A1 (en) Method and apparatus for generating high dynamic range image
WO2018119632A1 (en) Image processing method, device and equipment
US20160180593A1 (en) Wearable device-based augmented reality method and system
WO2016180126A1 (en) Image processing method and apparatus
WO2022063023A1 (en) Video shooting method, video shooting apparatus, and electronic device
WO2016107055A1 (en) Processing method and device for image splicing
WO2015161561A1 (en) Method and device for terminal to achieve image synthesis based on multiple cameras
CN108377341A (en) Photographic method, device, terminal and storage medium
WO2022252660A1 (en) Video capturing method and electronic device
US10389934B2 (en) Mobile device and photographing method thereof with first and second displays and cameras and displaying information based on a target camera
KR102207633B1 (en) Image photographing apparatus and control methods thereof
WO2018166069A1 (en) Photographing preview method, graphical user interface, and terminal
WO2019214574A1 (en) Image capturing method and apparatus, and electronic terminal
CN104580891A (en) Method for terminal to take images
CN112637515B (en) Shooting method and device and electronic equipment
WO2022028495A1 (en) Picture photographing method and apparatus, and electronic device
WO2023103953A1 (en) Photographing method and device
WO2013185712A1 (en) Shooting method and device
TW201227601A (en) Image capturing device and image patchwork method
JP2024506639A (en) Image display methods, devices, equipment and media
CN109089045A (en) A kind of image capture method and equipment and its terminal based on multiple photographic devices
CN104104870A (en) Photographing control method, photographing control device and photographing equipment
US8654206B2 (en) Apparatus and method for generating high dynamic range image