WO2021129640A1 - 拍摄处理方法及电子设备 - Google Patents

拍摄处理方法及电子设备 Download PDF

Info

Publication number
WO2021129640A1
WO2021129640A1 PCT/CN2020/138528 CN2020138528W WO2021129640A1 WO 2021129640 A1 WO2021129640 A1 WO 2021129640A1 CN 2020138528 W CN2020138528 W CN 2020138528W WO 2021129640 A1 WO2021129640 A1 WO 2021129640A1
Authority
WO
WIPO (PCT)
Prior art keywords
shooting
electronic device
theme
target
input
Prior art date
Application number
PCT/CN2020/138528
Other languages
English (en)
French (fr)
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 WO2021129640A1 publication Critical patent/WO2021129640A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/617Upgrading or updating of programs or applications for camera control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/667Camera operation mode switching, e.g. between still and video, sport and normal or high- and low-resolution modes
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/52Details of telephonic subscriber devices including functional features of a camera

Definitions

  • the embodiments of the present invention relate to the field of communication technologies, and in particular, to a photographing processing method and electronic equipment.
  • the user can first set the shooting parameter settings, and then trigger the electronic device to take images according to the shooting parameters; after that, the user can add filters to the captured images, or add tags to the captured images, or store the captured images to a certain Photo album.
  • the user still needs to set the shooting parameters and process the captured image, which results in a cumbersome process of shooting the image.
  • the embodiments of the present invention provide a photographing processing method and an electronic device to solve the problem that the existing photographing processing method is relatively cumbersome in the photographing and processing process of an image.
  • an embodiment of the present invention provides a shooting processing method.
  • the method includes: when the electronic device is the first shooting subject, receiving a first input to the target control; in response to the first input, shooting a first image according to shooting parameters corresponding to the first shooting subject, and The first image is subject to target processing.
  • the target processing at least includes at least one of the following: performing filter processing on the first image according to the filter parameters corresponding to the first shooting theme, adding a tag corresponding to the first shooting theme to the first image, The first image is stored in the storage path corresponding to the first shooting subject.
  • an embodiment of the present invention provides an electronic device.
  • the electronic device includes a receiving module and a processing module.
  • the receiving module is configured to receive the first input to the target control when the electronic device is the first shooting subject.
  • the processing module is configured to respond to the first input received by the receiving module, take a first image according to the shooting parameters corresponding to the first shooting subject, and perform target processing on the first image.
  • the target processing at least includes at least one of the following: performing filter processing on the first image according to the filter parameters corresponding to the first shooting theme, adding a tag corresponding to the first shooting theme to the first image, The first image is stored in the storage path corresponding to the first shooting subject.
  • an embodiment of the present invention provides an electronic device, including a processor, a memory, and a computer program stored in the memory and running on the processor.
  • the computer program is executed by the processor to realize the first The steps of the shooting processing method provided by the aspect.
  • an embodiment of the present invention provides a computer-readable storage medium that stores a computer program on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the photographing processing method provided in the first aspect are implemented.
  • the electronic device when the electronic device is the first shooting subject, the first input to the target control may be received; and in response to the first input, the first shooting subject is shot according to the shooting parameters corresponding to the first shooting subject.
  • Image, and target processing is performed on the first image.
  • the target processing at least includes at least one of the following: performing filter processing on the first image according to the filter parameters corresponding to the first shooting theme, adding a tag corresponding to the first shooting theme to the first image, The first image is stored in the storage path corresponding to the first shooting subject.
  • the first image and automatically perform at least one of the following processes according to other parameters of the first shooting subject: performing filter processing on the first image, adding a label corresponding to the first shooting subject to the first image, and An image is stored in the storage path corresponding to the first shooting subject.
  • the shooting processing method provided by the embodiments of the present invention is simpler, thereby improving the electronic device's processing of image shooting. Degree of intelligence.
  • FIG. 1 is a schematic diagram of the architecture of an Android operating system provided by an embodiment of the present invention
  • FIG. 2 is one of the schematic diagrams of a shooting processing method provided by an embodiment of the present invention.
  • FIG. 3 is a schematic diagram of configuring corresponding parameters of a shooting subject according to an embodiment of the present invention.
  • FIG. 4 is a second schematic diagram of a shooting processing method provided by an embodiment of the present invention.
  • FIG. 5 is a third schematic diagram of a shooting processing method provided by an embodiment of the present invention.
  • FIG. 6 is a schematic diagram of an operation for switching shooting subjects according to an embodiment of the present invention.
  • FIG. 7 is a fourth schematic diagram of a shooting processing method provided by an embodiment of the present invention.
  • FIG. 8 is a schematic diagram of an operation for switching archived albums according to an embodiment of the present invention.
  • FIG. 9 is one of structural schematic diagrams of an electronic device provided by an embodiment of the present invention.
  • FIG. 10 is a second structural diagram of an electronic device provided by an embodiment of the present invention.
  • FIG. 11 is a third structural diagram of an electronic device provided by an embodiment of the present invention.
  • FIG. 12 is a schematic diagram of hardware of an electronic device provided by an embodiment of the present invention.
  • first and second in the specification and claims of the present invention are used to distinguish different objects, rather than to describe a specific order of objects.
  • first input and the second input are used to distinguish different inputs, rather than to describe a specific order of input.
  • words such as “exemplary” or “for example” are used to represent examples, illustrations, or illustrations. Any embodiment or design solution described as “exemplary” or “for example” in the embodiment of the present invention should not be construed as being more advantageous than other embodiments or design solutions. To be precise, words such as “exemplary” or “for example” are used to present related concepts in a specific manner.
  • plural means two or more than two, for example, a plurality of elements means two or more elements, and so on.
  • Embodiments of the present invention provide a shooting processing method and an electronic device, which can receive a first input to a target control when the electronic device is a first shooting theme; and in response to the first input, follow the first shooting theme
  • the first image is captured with the corresponding shooting parameters, and target processing is performed on the first image.
  • the target processing at least includes at least one of the following: performing filter processing on the first image according to the filter parameters corresponding to the first shooting theme, adding a tag corresponding to the first shooting theme to the first image,
  • the first image is stored in the storage path corresponding to the first shooting subject.
  • the electronic device can shoot according to the shooting parameters of the first shooting theme.
  • the first image and automatically perform at least one of the following processes according to other parameters of the first shooting subject: performing filter processing on the first image, adding a label corresponding to the first shooting subject to the first image, and An image is stored in the storage path corresponding to the first shooting subject.
  • the shooting processing method provided by the embodiments of the present invention is simpler, thereby improving the electronic device's processing of image shooting. Degree of intelligence.
  • the electronic device in the embodiment of the present invention may be an electronic device with an operating system.
  • the operating system may be an Android operating system, an ios operating system, or other possible operating systems, which is not specifically limited in the embodiment of the present invention.
  • the following takes the Android operating system as an example to introduce the software environment applied by the shooting processing method provided by the embodiment of the present invention.
  • FIG. 1 it is a schematic structural diagram of an Android operating system provided by an embodiment of the present invention.
  • the architecture of the Android operating system includes 4 layers, which are: application layer, application framework layer, system runtime library layer, and kernel layer (specifically, it may be the Linux kernel layer).
  • the application layer includes various applications (including system applications and third-party applications) in the Android operating system.
  • the application framework layer is the framework of the application. Developers can develop some applications based on the application framework layer while complying with the development principles of the application framework.
  • the system runtime layer includes a library (also called a system library) and an Android operating system runtime environment.
  • the library mainly provides various resources needed by the Android operating system.
  • the Android operating system operating environment is used to provide a software environment for the Android operating system.
  • the kernel layer is the operating system layer of the Android operating system and belongs to the lowest level of the Android operating system software level.
  • the kernel layer is based on the Linux kernel to provide core system services and hardware-related drivers for the Android operating system.
  • developers can develop software programs that implement the shooting processing method provided by the embodiment of the present invention based on the system architecture of the Android operating system as shown in FIG.
  • the processing method can be run based on the Android operating system as shown in FIG. 1. That is, the processor or the electronic device can implement the shooting processing method provided by the embodiment of the present invention by running the software program in the Android operating system.
  • the electronic device in the embodiment of the present invention may be a terminal device.
  • the electronic device can be a mobile electronic device or a non-mobile electronic device.
  • the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant). Assistant, PDA), etc.
  • the non-mobile electronic device may be a personal computer (PC), television (television, TV), teller machine, or self-service machine, etc., which is not specifically limited in the embodiment of the present invention.
  • the execution subject of the photographing processing method provided by the embodiments of the present invention may be the above-mentioned electronic device, or may be a functional module and/or functional entity in the electronic device that can implement the photographing processing method.
  • the specifics can be determined according to actual usage requirements.
  • the embodiments of the present invention are not limited. The following takes an electronic device as an example to exemplarily describe the shooting processing method provided by the embodiment of the present invention.
  • an embodiment of the present invention provides a photographing processing method.
  • the shooting processing method can provide at least one shooting theme for the electronic device, so that the user can select the first shooting theme from the at least one shooting theme. Since the first shooting subject includes shooting parameters, filter parameters, tags, and storage path parameters, after the user triggers the electronic device to shoot the first image according to the shooting parameters of the first shooting subject, the electronic device can follow other aspects of the first shooting theme.
  • the parameters process the first image.
  • At least one shooting theme may be stored in the electronic device.
  • the at least one shooting theme may be a shooting theme generated by the electronic device according to related parameters set by the user on the configuration interface of the electronic device, that is, a user-defined setting; or, the at least one shooting theme may be a shooting theme set by the electronic device at the factory . It should be noted that the at least one shooting theme may include a first shooting theme.
  • the first possible scenario is that the user can click the icon of the camera application, so that the electronic device can be triggered to run the camera application and display a preview screen of the camera application.
  • the electronic device can automatically set a default first shooting theme as the current shooting theme.
  • the second possible scenario is that the user can click on the icon of the camera application to trigger the electronic device to run the camera application. Then, after the user sets the parameters on the configuration interface of the camera application, the electronic device may use the generated shooting theme as the first shooting theme.
  • the third possible scenario is that the user can click on the icon of the camera application to trigger the electronic device to run the camera application. Then, the electronic device uses the first shooting theme corresponding to the content of the preview screen as the current shooting theme according to the content of the collected preview screen.
  • an embodiment of the present invention provides a shooting processing method.
  • This method can be applied to electronic devices.
  • the method may include the following S101 and S102.
  • the electronic device When the electronic device is the first shooting subject, the electronic device receives a first input of a target control.
  • the above-mentioned first shooting theme may correspond to at least one parameter item, and each parameter item may include at least one parameter value.
  • the at least one parameter item may include at least one of the following: the theme color of the shooting theme, the scene name of the shooting theme, the filter configuration of the shooting theme, the label of the shooting theme, theme information, and other configuration parameter items.
  • the theme information may include at least one of the following: control color, control shape, control size, viewfinder shape, viewfinder size, album name.
  • the first shooting theme may be a landscape shooting theme, a pet shooting theme, a portrait shooting theme, a work shooting theme, a life shooting theme, or any other possible shooting themes.
  • the theme color of the first shooting theme is one color. For example, if the first shooting subject is a landscape shooting subject, the color of the first shooting subject may be green.
  • the scene name of the first shooting theme may be a scene name selected by the user from preset scene names provided by the electronic device or a scene name customized by the user.
  • the scene name of the first shooting subject may be the sea, the sky, and the cat.
  • the filter configuration of the first shooting subject may be selected according to preset filter parameter options provided by the electronic device. For example, when the camera application is running in the foreground of the electronic device and the electronic device is the first shooting subject, the electronic device can perform filter processing on the preview screen according to the filter configuration of the first shooting subject, and display the filtered image. Preview screen.
  • the label of the shooting theme of the first shooting theme may be customized input by the user, or selected by the user according to a label list set by the electronic device. For example, running the camera application in the foreground of the electronic device and displaying the configuration interface of the camera application, the user can click the label option to call up the label list, and select a label in the label list according to their needs.
  • the album name included in the theme information corresponding to the first shooting theme may be a user-defined album name input, or the name of at least one album recommended by the electronic device according to the first shooting theme.
  • other configuration parameter items may include the camera and image resolution of the electronic device.
  • the priority between different parameter items may be different, so that the electronic device can execute the processing action corresponding to each parameter item according to the priority of the parameter item .
  • the multiple parameter items corresponding to the first shooting theme in descending order of priority are: theme color of the shooting theme, shooting parameters, album name included in the theme information, filter configuration of the shooting theme, and The name of the scene and the label of the shooting subject.
  • the above-mentioned first shooting theme may be a user-defined shooting theme, that is, the electronic device may generate a shooting theme according to related parameters set by the user on the configuration interface of the electronic device; or, the first shooting theme may be It is one of the multiple preset photographing themes factory-set for the electronic device; or, the first photographing theme may be a photographing theme downloaded from the server by the electronic device.
  • the shooting processing method provided by the embodiment of the present invention may further include: receiving a user's selection input, and in response to the selection input, the electronic device switches from one theme to the first shooting theme.
  • the aforementioned one shooting theme may be a default shooting theme of the electronic device, or a shooting theme determined by the electronic device according to the content of the collected preview image.
  • the user can click the icon of the camera application to trigger the electronic device to run the camera application.
  • the electronic device uses the landscape shooting theme as the default shooting theme. If the user is not satisfied with this landscape shooting theme, the user can trigger the electronic device to switch from the landscape shooting theme to the person shooting theme he is satisfied with through an input, that is, the first shooting theme.
  • the electronic device may save the related parameters, and generate the first shooting theme according to the related parameters.
  • each photographing theme can correspond to multiple parameters
  • the user arranges and combines different choices in the selection range of each parameter
  • the electronic device can generate multiple photographing themes according to the result of the permutation and combination. That is, the first shooting subject may be one of the multiple shooting subjects.
  • a shooting theme can correspond to multiple parameters including theme color, scene name, filter configuration, label setting, storage path, etc.
  • the configuration interface of the electronic device may include parameter items such as theme color selection, custom scenes, filter configuration, label setting, archive photo album, and other configuration items.
  • the theme color selection is based on the option displayed in the interface for selecting the theme color
  • the custom scene is the option used for the scene name set by the user
  • the filter configuration is used for multiple filters provided by the electronic device Parameter setting options for the filter parameters corresponding to a certain shooting theme.
  • the label setting is an option for users to customize the name of the label according to their needs.
  • the storage path corresponding to the archived album is at least recommended by the electronic device according to the shooting theme corresponding to the theme color.
  • the storage path corresponding to an album name, and other configurations are other optional parameter items provided by the electronic device.
  • the electronic device automatically recognizes the preview image and determines the first shooting theme.
  • the electronic device may obtain the content of the preview screen; and according to the content of the preview screen, select a shooting theme corresponding to the content of the preview screen from at least one theme stored in the electronic device as the first shooting theme.
  • the content of the above preview screen may include shooting objects such as people, food, beautiful scenery, and documents.
  • the preview image may include multiple objects, for example, the preview image includes people and streets
  • the electronic device can automatically select people or streets as the subject according to a preset algorithm, or the user can You can select a subject from multiple subjects as needed.
  • the electronic device can obtain the category of the shooting subject according to the category to which the subject belongs.
  • each shooting theme category may include at least one shooting theme.
  • the shooting shooting category is beautiful scenery
  • the shooting theme corresponding to the beautiful scenery may include hot pot, barbecue, and steamed meat.
  • the user can select the shooting theme according to actual needs; or, the electronic device can select a shooting theme with a higher frequency of use according to the user's historical usage data.
  • the subject category corresponding to the subject is people; when the subject is plants, mountains, and water, the subject’s corresponding subject category is beautiful scenery; when the subject is food such as drinks, hot pot, etc.
  • the shooting subject category corresponding to the shooting subject is gourmet food; when the shooting subject is a document, the shooting subject category corresponding to the shooting subject is a document.
  • the electronic device can also be set with the subject category of the "other" option, and the electronic device can classify the subject into The category of shooting themes for the "Other" option.
  • the above-mentioned first input may be a single click input or a double-click input of the user on the target control.
  • the target control provided in the embodiment of the present invention has different functions corresponding to the target control when different inputs are received.
  • the first input is a click input to a target control
  • the target control is used to control the electronic device to take a first image according to the shooting parameters of the first theme, and perform processing operations on the first image according to the first theme
  • the long-press input of the target control is used to display M controls of different colors
  • the third input is the drag input of the target control
  • the target control is used for the electronic device to switch from the second shooting theme to the first shooting, and the target
  • the control displays the theme color corresponding to the first shot
  • the fourth input is the input of dragging the target control along the first direction.
  • the target control is used to display N photo albums recommended by the electronic device.
  • the first direction can be from the bottom of the screen to the screen The direction of the top.
  • the electronic device In response to the first input, the electronic device captures a first image according to the shooting parameters corresponding to the first shooting subject, and performs target processing on the first image.
  • the above-mentioned target processing may include at least one of the following: filtering the first image according to the filter parameters corresponding to the first shooting theme, adding a tag corresponding to the first shooting theme to the first image, and storing the first image To the storage path corresponding to the first shooting theme.
  • the shooting parameters corresponding to the first shooting theme may include at least one of the following: exposure value, flash, shutter value, white balance, exposure compensation value, and so on. It is understandable that the types and parameter values of shooting parameters corresponding to different shooting themes may be the same or different.
  • the foregoing first image may be a picture or video captured by the electronic device under the first shooting theme.
  • the parameter corresponding to the first photographing subject includes the identification of the target camera
  • the first image may be an image photographed by the target camera.
  • the first shooting theme is a landscape theme
  • the parameters corresponding to the landscape theme include the identifier of an ultra-wide-angle camera.
  • the description will be made by taking the target processing as performing filter processing on the first image according to the filter parameters corresponding to the first shooting theme as an example.
  • the first theme is a landscape theme
  • the landscape theme can support a filter function.
  • the electronic device if the electronic device receives a user's click input on the target control, the electronic device can respond to the click input and shoot the first image according to the shooting parameters of the landscape theme, and correspond to the landscape theme
  • the filter parameters of performs filter processing on the first image to obtain an image with special filter effects.
  • the description is given by taking the target processing as adding a label corresponding to the first shooting theme to the first image as an example.
  • the first theme is a pet theme
  • the pet theme includes a cute pet tag.
  • the electronic device if the electronic device receives a user's click input on the target control, the electronic device can respond to the click input and shoot the first image according to the shooting parameters of the landscape theme, and compare the first image to the first image. Add cute pet tags included in the first shooting theme.
  • the description will be made by taking the target processing as storing the first image to the storage path corresponding to the first shooting subject as an example.
  • the first theme is a pet theme
  • the pet theme includes the name of a pet album.
  • the electronic device if the electronic device receives a user's click input on the target control, the electronic device can respond to the click input to capture a first image according to the shooting parameters of the pet theme, and then combine the first image Store to pet album.
  • "storing the first image in the storage path corresponding to the first photographing theme" in S102 may include: the electronic device obtains the first photograph
  • the theme information corresponding to the theme includes the name of the target album, and it is determined whether the electronic device stores the target album.
  • the electronic device may store the first image in the storage path corresponding to the target album.
  • the electronic device may create the target album, and store the first image in the storage path corresponding to the target album.
  • the electronic device can match the name of the target album with the name of the album stored in the electronic device one by one.
  • the electronic device can store this album As the target album, and directly store the captured image to the storage path corresponding to the target album; on the other hand, if the electronic device does not store an album that matches the name of the target album, the electronic device can first create a The corresponding target album, and then the captured image is stored in the storage path corresponding to the target album. In this way, the captured images can be quickly classified and stored, and the waste of resources of the electronic equipment is avoided.
  • the embodiment of the present invention provides a shooting processing method. Since the first shooting theme includes shooting parameters, filter parameters, tags, and storage paths, the electronic device can follow the first shooting theme when the user selects the first shooting theme. A first image is taken with the shooting parameters of a shooting theme, and at least one of the following processes is automatically performed according to other parameters of the first shooting theme: filter processing is performed on the first image, and the first shooting theme is added to the first image The corresponding tag stores the first image in the storage path corresponding to the first shooting subject. In this way, the user does not need to set the shooting parameters every time they take a shot, nor do they need to manually process the shot images each time. That is, the shooting processing method provided by the embodiments of the present invention is simpler, thereby improving the electronic device's processing of image shooting. Degree of intelligence.
  • the electronic device when the electronic device is the first shooting subject, the electronic device can display the shooting preview screen according to the subject information corresponding to the first shooting subject. In this way, the user can determine whether the subject information meets their own needs. Do you need to switch to shooting images under the theme information corresponding to other shooting themes?
  • the above-mentioned S101 in the shooting processing method provided by the embodiment of the present invention may pass through the following S101A is implemented.
  • S101A When the electronic device is the first shooting subject, the electronic device displays a shooting preview screen according to the subject information corresponding to the first shooting subject, and receives a first input to the target control.
  • the above theme information may include at least one of the following: control color, control shape, control size, viewfinder shape, viewfinder size.
  • the size of the above-mentioned viewfinder frame may be a fixed size, or may be a user-defined size, or may be the size of the viewfinder frame corresponding to the first shooting theme.
  • the above-mentioned preview image may include at least one control, a view frame, a theme information identifier, and the like.
  • the preview screen may also include other content, for example, the preview screen may also include a theme name, etc., which is not limited in the embodiment of the present invention.
  • the electronic device can follow the theme corresponding to the life theme when the first shooting theme of the electronic device is the life theme Information, display the shooting preview screen, the preview screen includes a red circular control.
  • the electronic device may display a shooting preview screen according to the theme information corresponding to the landscape theme.
  • the preview screen includes a green oval shape, and the viewfinder frame size in the preview screen may be a first size. The size is larger than the default size of the viewfinder frame.
  • the electronic device can display the shooting preview screen according to the theme information corresponding to the first shooting theme, the user can experience the preview screen corresponding to the theme information before shooting the image, thereby Improve the user experience.
  • the shooting processing method provided in the embodiment of the present invention further includes the following S103 to S106.
  • the above-mentioned second photographing theme and the first photographing theme are different photographing themes.
  • the specific description of the second shooting theme reference may be made to the specific description of the first shooting theme in the foregoing embodiment, which will not be repeated here.
  • the second input may be a long-press input of the user on the target control or other possible input.
  • the second input can be used to trigger the electronic device to display multiple controls indicating multiple shooting themes.
  • the current shooting theme of the electronic device is the second shooting theme
  • the user may long press the target control, so that the electronic device receives the user's long-press input on the target control , The second input.
  • the electronic device In response to the second input, the electronic device displays M controls in different colors.
  • each of the above M controls can indicate a shooting theme, and M is a positive integer.
  • each of the M controls indicates a shooting theme, and the colors of the M controls are different, that is, one shooting theme corresponds to a theme color.
  • the theme color corresponding to each shooting theme may be configured by the user or configured by the electronic device.
  • the electronic device when the electronic device stores P shooting themes, since each control indicates a shooting theme, the electronic device may be provided with P controls. It is understandable that if the electronic device receives the second input of the user to the target control, in response to the second input, the electronic device may display M controls, and the M controls may be selected from P controls according to a preset rule. Controls in. For example, the M controls may be M controls selected from the P controls that are frequently used by the user according to the user's historical data. For another example, the M controls may be controls corresponding to the shooting theme related to the second shooting theme. Among them, P is greater than or equal to M, and P is an integer.
  • the aforementioned M controls may be located in a preset circular display area, and the shape of the preset circular display area may be a semicircular ring or a circular ring. It is understandable that when the electronic device receives the user's input to the circular display area, the electronic device can update the controls displayed in the circular display area in response to the input, so as to realize more display in the circular display area. Controls, and can quickly switch between controls.
  • the input can be a user's rotation control operation on the ring display area.
  • the M controls can be displayed in a preset order.
  • the preset order may be determined according to the user's historical data, and the preset order may include at least one of the following: the frequency of use of the shooting theme, the generation time of the shooting theme, and the degree of fit between the shooting theme and the content in the shooting preview screen Wait.
  • the electronic device can display frequently used shooting themes and infrequently used shooting themes in different areas.
  • the electronic device may display the control corresponding to the shooting theme on the right side of the target control.
  • the shooting theme is a shooting theme generated by the user’s latest custom settings
  • the user can trigger the electronic device to display other controls except the M controls.
  • the electronic device can obtain the user's usage data in real time, and the electronic device updates the recommended M controls according to the user's usage data, that is, the M controls recommended by the user may be different each time.
  • the electronic device in response to the user's input, can recommend a control corresponding to the shooting theme that is more in line with the user's expectations.
  • the electronic device stores 3 shooting themes, which are a landscape theme, a character theme, and a pet theme.
  • the electronic device can respond to the long-press input and, according to the user's historical usage data, correspond to the character theme with a higher frequency of use.
  • the red control is displayed in the first position
  • the green control corresponding to the scenery theme with low frequency of use is displayed in the second position
  • the yellow control corresponding to the pet theme newly configured by the user is displayed in the third position.
  • the electronic device receives a third input of selecting the first control from the M controls.
  • the foregoing third input may be an input that the electronic device receives from the user to move the target control to the first control among the M controls. Specifically, when the user presses the target control, the user drags the target control to the area where the first control of the M controls is located.
  • the third input provided by the embodiment of the present invention may also be a user's touch input to the first control among the M controls, for example, a click input or a long-press input to the first control.
  • the electronic device stores 3 shooting themes, namely shooting theme 1, shooting theme 2, and shooting theme 3, and the current shooting theme of the electronic device is shooting theme 1, and the theme color corresponding to shooting theme 1 is yellow.
  • the user can long press the target control 01, and in the case that the electronic device receives the second input of the user long pressing the target control 01, respond to the second input, as shown in Figure 6
  • the electronic device displays the red control 3 corresponding to the shooting theme 3 with a higher frequency of use in the first position, and the green control 2 corresponding to the shooting theme 2 with the lower frequency of use in the first position according to the user’s historical usage data.
  • the yellow control 1 corresponding to the shooting theme 1 newly configured by the user is displayed in the third position. Then, the user can move the target control 01 to the red control 3 among the three controls, that is, the first control.
  • the electronic device receives the third input of moving the target control 01 to the red control 3 of the three controls, the electronic device can respond to the third input, as shown in (c) in FIG. 6, The electronic device is switched from the shooting theme 1 to the shooting theme 2 indicated by the red control 3, and the color of the target control is updated to red.
  • the user when the user triggers the electronic device to display M controls of different colors, the user can directly trigger the electronic device to quickly switch from the first control to the third input of the first control of the M controls.
  • the shooting theme is switched to the first shooting theme indicated by the first control, thereby increasing the probability of obtaining a shooting theme that satisfies the user.
  • the electronic device when the electronic device is the first photographing subject, if the user wants to store the image to be photographed in a target storage path that is different from the storage path corresponding to the first photographing subject, then the electronic device is triggered to take the image Previously, the user could trigger the electronic device to reset the album for storing the image to be shot through input.
  • the above S101 may specifically pass through the following S101B to S101F, so that the target processing in the above S102 may also include storing the first image in a target storage path, the target storage path and The storage path corresponding to the first shooting theme is different. That is, S102 can be implemented by the following S102A.
  • the electronic device When the electronic device is the first shooting subject, the electronic device receives a fourth input to the target control.
  • the fourth input may be an input for dragging the target control along the first direction.
  • the fourth input can be used to trigger the electronic device to display the identification of the album in the electronic device.
  • the first direction may be a direction from the top of the screen to the top of the screen.
  • the electronic device displays N photo albums.
  • N is a positive integer.
  • display N photo albums specifically refers to the identification of displaying N photo albums.
  • the identifiers of the aforementioned N photo albums may include at least one of the following: the name of each photo album in the N photo albums, and the thumbnail of each photo album in the N photo albums.
  • the electronic device stores Q photo albums.
  • a shooting theme can correspond to one or more albums.
  • the foregoing S101C may specifically include: in a case where the electronic device receives the fourth input, the electronic device responds to the fourth input, according to the user's historical data (for example, the frequency and time the user uses each album, etc.) from Q Select N albums in the album, and display the ID of the N albums.
  • the user selects other photo albums among the Q photo albums as photo albums for storing images to be taken.
  • the electronic device can obtain the user's usage data in real time, and the electronic device can update the recommended album according to the user's usage data, that is, the album recommended by the user may be different each time. In this way, in a case where the user wants to change the album in which the image is stored, in response to the user's input, the electronic device can recommend an album that is more in line with the user's expectations.
  • the electronic device receives the fifth input of the first album among the N albums.
  • the above-mentioned “fifth input for the first album among the N albums” specifically refers to the input of the ID of the first album among the N IDs of the N albums.
  • the above-mentioned fifth input is an input different from the first input, the second input, the third input, and the fourth input.
  • the fifth input may be a touch input to the identification of the first album.
  • the fifth input may be used by the user to confirm that the first album among the N albums is used as the album for storing the image to be taken.
  • the electronic device determines the target storage path corresponding to the first album as the storage path for storing the image to be photographed.
  • the electronic device receives a first input to the target control.
  • the electronic device In response to the first input, the electronic device captures a first image according to the shooting parameters corresponding to the first shooting theme, and stores the first image in a target storage path.
  • the electronic device stores 4 photo albums, which are landscape photo albums, people photo albums, pet photo albums, and other photo albums, and the electronic device is shooting theme 1.
  • the album corresponding to shooting theme 1 is a pet album.
  • the user can drag the target control 01 in the direction from the bottom of the screen to the top of the screen, and the electronic device receives the user to drag the target in the direction from the bottom of the screen to the top of the screen.
  • the electronic device can sequentially display the logo of the landscape album and the photo album of the people according to the user's frequency of use of each shooting theme.
  • the electronic device may determine the target storage path corresponding to the landscape album as the storage path for storing the image to be shot . In this way, after the electronic device captures the first image in response to the first input, the electronic device may store the first image in the landscape album.
  • the electronic device when the electronic device is the first shooting subject, if the user is not satisfied with the storage path of the stored captured image corresponding to the first shooting subject, the user can trigger the electronic device through the fourth input.
  • the device displays N photo albums.
  • the electronic device may determine the target storage path corresponding to the first album as The storage path of the image to be taken is stored, so that the taken image can be saved in the first album that satisfies the user.
  • the shooting processing method of the embodiment of the present invention can meet the following needs of users: (1) By preset shooting themes, the user is provided with a service of setting a shooting theme once and using the shooting theme multiple times. (2) Combine the switching of shooting themes and the target control of the shooting image, so that multiple operations such as shooting setting, label setting, storage path, filter configuration and scene setting can be realized automatically. (3) Combine the theme color corresponding to the shooting theme with the target control to make the interface of the electronic device simple and convenient for the user to recognize the current shooting theme. (4) The electronic device can automatically select the corresponding shooting theme according to the content of the shot screen, so that it can quickly adapt to different scenes to adjust the shooting theme to meet the user's shooting needs, and the user can also manually switch the shooting theme. (5) Combining the switching storage path and the target control, so that the captured images can be quickly archived in the target album corresponding to the storage path according to the user's needs.
  • the photographing processing methods shown in each of the above figures are all exemplified in combination with one figure in the embodiment of the present invention.
  • the photographing processing methods shown in each of the above figures can also be implemented in combination with any other figures illustrated in the above embodiments that can be combined, and will not be repeated here.
  • an embodiment of the present invention provides an electronic device 900.
  • the electronic device may include a receiving module 901 and a processing module 902.
  • the receiving module 901 may be used to receive the first input of the target control when the electronic device is the first shooting subject.
  • the processing module 902 may be configured to respond to the first input received by the receiving module 901, take a first image according to the shooting parameters corresponding to the first shooting subject, and perform target processing on the first image.
  • the target processing may include at least one of the following: performing filter processing on the first image according to the filter parameters corresponding to the first shooting theme, adding a label corresponding to the first shooting theme to the first image, and adding The first image is stored in a storage path corresponding to the first shooting subject.
  • the electronic device provided in the embodiment of the present invention may further include a display module 903.
  • the display module 903 may be configured to display the shooting preview screen according to the theme information corresponding to the first shooting theme before the receiving module 901 receives the first input to the target control.
  • the theme information may include at least one of the following: control color, control shape, control size, view frame shape, and view frame size.
  • the electronic device provided in the embodiment of the present invention may further include a display module 903.
  • the receiving module 901 may also be configured to receive a second input to the target control when the electronic device is the second shooting subject before receiving the first input to the target control.
  • the display module 903 may be configured to display M controls of different colors in response to the second input received by the receiving module 901, each of the M controls indicates a shooting theme, and M is a positive integer.
  • the receiving module 901 may also be used to receive a third input of selecting the first control from the M controls.
  • the processing module 902 may be configured to, in response to the receiving module 901 receiving the third input, switch the electronic device from the second photographing theme to the first photographing theme indicated by the first control.
  • the display module 903 can also be used to update the target control to the same color as the control.
  • the target processing further includes: storing the first image in a target storage path, where the target storage path is different from the storage path corresponding to the first shooting subject.
  • the electronic device provided by the embodiment of the present invention may further include a display module 903 and a determination module 904.
  • the receiving module 901 may also be configured to receive a fourth input to the target control before receiving the first input to the target control.
  • the display module 903 may be configured to display N albums in response to the fourth input received by the receiving module 901, where N is a positive integer.
  • the receiving module 901 is further configured to receive the fifth input of the first album among the N albums.
  • the determining module 904 may be configured to, in response to the fifth input received by the receiving module 901, determine the target storage path corresponding to the first album as the storage path for storing the image to be photographed.
  • the theme information corresponding to the first shooting theme includes the name of the target album.
  • the processing module 902 may be specifically used to store the first image in the storage path corresponding to the target album when the target album is stored in the electronic device; or, when the target album is not stored in the electronic device , Create a target album, and store the first image in the storage path corresponding to the target album.
  • the electronic device provided in the embodiment of the present invention can implement each process implemented by the electronic device in the foregoing method embodiment. To avoid repetition, details are not described herein again.
  • An embodiment of the present invention provides an electronic device. Since the first shooting theme includes parameters such as shooting parameters, filter parameters, tags, and storage paths, the electronic device can follow the first shooting theme when the user selects the first shooting theme.
  • the first image is taken with the shooting parameters of the shooting subject, and at least one of the following processes is automatically performed according to the filter parameters corresponding to the first shooting subject: filter processing is performed on the first image, and the first shot is added to the first image
  • the label corresponding to the theme stores the first image in the storage path corresponding to the first shooting theme. In this way, the user does not need to set the shooting parameters every time they take a shot, nor do they need to manually process the shot images every time. That is, the electronic device provided by the embodiment of the present invention has a simpler and more convenient method for shooting and processing images, thereby improving the electronic equipment.
  • FIG. 12 is a schematic diagram of the hardware structure of an electronic device that implements various embodiments of the present invention.
  • the electronic device 200 includes but is not limited to: a radio frequency unit 201, a network module 202, an audio output unit 203, an input unit 204, a sensor 205, a display unit 206, a user input unit 207, an interface unit 208, and a memory 209 , Processor 210, and power supply 211.
  • Those skilled in the art can understand that the structure of the electronic device shown in FIG. 12 does not constitute a limitation on the electronic device.
  • the electronic device may include more or fewer components than those shown in the figure, or a combination of certain components, or different components. Layout.
  • electronic devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, in-vehicle electronic devices, wearable devices, and pedometers.
  • the processor 210 may be used to control the user input unit 207 to receive the first input of the target control when the electronic device is the first shooting subject; and in response to the first input, correspond to the first shooting subject Take the first image with the shooting parameters of, and perform target processing on the first image.
  • the target processing may include at least one of the following: filtering the first image according to the filter parameters corresponding to the first shooting theme, adding a tag corresponding to the first shooting theme to the first image, and storing the first image in the first image. A storage path corresponding to the shooting theme.
  • An embodiment of the present invention provides an electronic device. Since the first shooting theme includes parameters such as shooting parameters, filter parameters, tags, and storage paths, the electronic device can follow the first shooting theme when the user selects the first shooting theme.
  • the first image is taken with the shooting parameters of the shooting subject, and at least one of the following processes is automatically performed according to the filter parameters corresponding to the first shooting subject: filter processing is performed on the first image, and the first shot is added to the first image
  • the label corresponding to the theme stores the first image in the storage path corresponding to the first shooting theme. In this way, the user does not need to set the shooting parameters every time they take a shot, nor do they need to manually process the shot images every time. That is, the electronic device provided by the embodiment of the present invention has a simpler and more convenient method for shooting and processing images, thereby improving the electronic equipment.
  • the radio frequency unit 201 can be used for receiving and sending signals during the process of sending and receiving information or talking. Specifically, the downlink data from the base station is received and processed by the processor 210; in addition, Uplink data is sent to the base station.
  • the radio frequency unit 201 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
  • the radio frequency unit 201 can also communicate with the network and other devices through a wireless communication system.
  • the electronic device 200 provides users with wireless broadband Internet access through the network module 202, such as helping users to send and receive emails, browse web pages, and access streaming media.
  • the audio output unit 203 can convert the audio data received by the radio frequency unit 201 or the network module 202 or stored in the memory 209 into audio signals and output them as sounds. Moreover, the audio output unit 203 may also provide audio output related to a specific function performed by the electronic device 200 (for example, call signal reception sound, message reception sound, etc.).
  • the audio output unit 203 includes a speaker, a buzzer, a receiver, and the like.
  • the input unit 204 is used to receive audio or video signals.
  • the input unit 204 may include a graphics processing unit (GPU) 2041 and a microphone 2042.
  • the graphics processing unit 2041 is configured to monitor images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. Data is processed.
  • the processed image frame may be displayed on the display unit 206.
  • the image frame processed by the graphics processor 2041 may be stored in the memory 209 (or other storage medium) or sent via the radio frequency unit 201 or the network module 202.
  • the microphone 2042 can receive sound, and can process such sound into audio data.
  • the processed audio data can be converted into a format that can be sent to the mobile communication base station via the radio frequency unit 201 in the case of a telephone call mode for output.
  • the electronic device 200 further includes at least one sensor 205, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor includes an ambient light sensor and a proximity sensor.
  • the ambient light sensor can adjust the brightness of the display panel 2061 according to the brightness of the ambient light.
  • the proximity sensor can turn off the display panel 2061 and the display panel 2061 when the electronic device 200 is moved to the ear. / Or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of electronic devices (such as horizontal and vertical screen switching, related games) , Magnetometer posture calibration), vibration recognition related functions (such as pedometer, percussion), etc.; sensor 205 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
  • the display unit 206 is used to display information input by the user or information provided to the user.
  • the display unit 206 may include a display panel 2061, and the display panel 2061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • the user input unit 207 may be used to receive inputted numeric or character information, and generate key signal input related to user settings and function control of the electronic device.
  • the user input unit 207 includes a touch panel 2071 and other input devices 2072.
  • the touch panel 2071 also called a touch screen, can collect the user's touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 2071 or near the touch panel 2071. operating).
  • the touch panel 2071 may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 210, the command sent by the processor 210 is received and executed.
  • the touch panel 2071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave.
  • the user input unit 207 may also include other input devices 2072.
  • other input devices 2072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
  • the touch panel 2071 can be overlaid on the display panel 2061.
  • the touch panel 2071 detects a touch operation on or near it, it transmits it to the processor 210 to determine the type of the touch event, and then the processor 210 determines the type of the touch event according to the touch.
  • the type of event provides corresponding visual output on the display panel 2061.
  • the touch panel 2071 and the display panel 2061 are used as two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 2071 and the display panel 2061 can be integrated
  • the implementation of the input and output functions of the electronic device is not specifically limited here.
  • the interface unit 208 is an interface for connecting an external device and the electronic device 200.
  • the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc.
  • the interface unit 208 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the electronic device 200 or can be used to connect the electronic device 200 to an external device. Transfer data between devices.
  • the memory 209 can be used to store software programs and various data.
  • the memory 209 may mainly include a program storage area and a data storage area.
  • the program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of mobile phones (such as audio data, phone book, etc.), etc.
  • the memory 209 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the processor 210 is the control center of the electronic device, which uses various interfaces and lines to connect the various parts of the entire electronic device, runs or executes the software programs and/or modules stored in the memory 209, and calls the data stored in the memory 209 , Perform various functions of electronic equipment and process data, so as to monitor the electronic equipment as a whole.
  • the processor 210 may include one or more processing units; optionally, the processor 210 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, application programs, etc., and the modem
  • the adjustment processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 210.
  • the electronic device 200 may also include a power source 211 (such as a battery) for supplying power to various components.
  • a power source 211 such as a battery
  • the power source 211 may be logically connected to the processor 210 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. Management and other functions.
  • the electronic device 200 includes some functional modules not shown, which will not be repeated here.
  • an embodiment of the present invention also provides an electronic device, including a processor 210 as shown in FIG. 12, a memory 209, a computer program stored in the memory 209 and running on the processor 210, and the computer program is
  • the processor 210 implements the various processes of the foregoing method embodiments when executing, and can achieve the same technical effect. To avoid repetition, details are not described herein again.
  • the embodiment of the present invention also provides a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium.
  • a computer program is stored on the computer-readable storage medium.
  • computer-readable storage media such as read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks, etc.
  • the technical solution of the present invention essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes several instructions to make an electronic device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the method described in each embodiment of the present invention.
  • a storage medium such as ROM/RAM, magnetic disk,
  • the optical disc includes several instructions to make an electronic device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the method described in each embodiment of the present invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Studio Devices (AREA)

Abstract

一种拍摄处理方法及电子设备,涉及通信技术领域。该方法包括:在电子设备为第一拍摄主题的情况下,接收对目标控件的第一输入;响应于该第一输入,按照该第一拍摄主题对应的拍摄参数拍摄第一图像,并对该第一图像进行目标处理。其中,该目标处理至少包括以下至少一项:按照该第一拍摄主题对应的滤镜参数对该第一图像进行滤镜处理,对该第一图像添加该第一拍摄主题对应的标签,将该第一图像存储至该第一拍摄主题对应的存储路径。

Description

拍摄处理方法及电子设备
相关申请的交叉引用
本申请主张在2019年12月26日在中国提交的中国专利申请号201911369142.4的优先权,其全部内容通过引用包含于此。
技术领域
本发明实施例涉及通信技术领域,尤其涉及一种拍摄处理方法及电子设备。
背景技术
随着通信技术的发展,用户可以使用电子设备的拍摄功能拍摄更多的图像,并对拍摄的图像进行处理。
通常,用户可以先设置拍摄参数设置,再触发电子设备按照该拍摄参数拍摄图像;之后,用户可以对拍摄的图像添加滤镜,或对拍摄的图像添加标签,或将拍摄的图像存储至某个相册。当下一次拍摄图像时,用户仍需要设置拍摄参数,以及对拍摄的图像进行处理,从而导致对图像的拍摄处理过程较为繁琐。
发明内容
本发明实施例提供一种拍摄处理方法及电子设备,以解决采用现有的拍摄处理方法对图像的拍摄处理过程较为繁琐的问题。
为了解决上述技术问题,本发明实施例是这样实现的:
第一方面,本发明实施例提供了一种拍摄处理方法。该方法包括:在电子设备为第一拍摄主题的情况下,接收对目标控件的第一输入;响应于该第一输入,按照该第一拍摄主题对应的拍摄参数拍摄第一图像,并对该第一图像进行目标处理。其中,该目标处理至少包括以下至少一项:按照该第一拍摄主题对应的滤镜参数对该第一图像进行滤镜处理,对该第一图像添加该第一拍摄主题对应的标签,将该第一图像存储至该第一拍摄主题对应的存储路径。
第二方面,本发明实施例提供了一种电子设备。该电子设备包括接收模块和处理模块。接收模块,用于在电子设备为第一拍摄主题的情况下,接收对目标控件的第一输入。处理模块,用于响应于接收模块接收的该第一输入,按照该第一拍摄主题对应的拍摄参数拍摄第一图像,并对该第一图像进行目标处理。其中,该目标处理至少包括以下至少一项:按 照该第一拍摄主题对应的滤镜参数对该第一图像进行滤镜处理,对该第一图像添加该第一拍摄主题对应的标签,将该第一图像存储至该第一拍摄主题对应的存储路径。
第三方面,本发明实施例提供了一种电子设备,包括处理器、存储器及存储在该存储器上并可在该处理器上运行的计算机程序,该计算机程序被该处理器执行时实现第一方面提供的拍摄处理方法的步骤。
第四方面,本发明实施例提供了一种计算机可读存储介质,该计算机可读存储介质上存储计算机程序,该计算机程序被处理器执行时实现第一方面提供的拍摄处理方法的步骤。
在本发明实施例中,可以在电子设备为第一拍摄主题的情况下,接收对目标控件的第一输入;以及响应于该第一输入,按照该第一拍摄主题对应的拍摄参数拍摄第一图像,并对该第一图像进行目标处理。其中,该目标处理至少包括以下至少一项:按照该第一拍摄主题对应的滤镜参数对该第一图像进行滤镜处理,对该第一图像添加该第一拍摄主题对应的标签,将该第一图像存储至该第一拍摄主题对应的存储路径。通过该方案,由于第一拍摄主题包括拍摄参数、滤镜参数、标签和存储路径这些参数,因此在用户选择了第一拍摄主题的情况下,电子设备可以按照该第一拍摄主题的拍摄参数拍摄第一图像,并按照该第一拍摄主题的其他参数自动进行以下至少一项处理:对该第一图像进行滤镜处理,对该第一图像添加该第一拍摄主题对应的标签,将该第一图像存储至该第一拍摄主题对应的存储路径。如此,用户无需在每次拍摄时均要设置拍摄参数,也无需每次对拍摄图像进行手动处理,即本发明实施例提供的拍摄处理方法更为简捷,从而提高了电子设备对图像拍摄处理的智能化程度。
附图说明
图1为本发明实施例提供的一种安卓操作系统的架构示意图;
图2为本发明实施例提供的一种拍摄处理方法的示意图之一;
图3为本发明实施例提供的一种配置拍摄主题对应参数的示意图;
图4为本发明实施例提供的一种拍摄处理方法的示意图之二;
图5为本发明实施例提供的一种拍摄处理方法的示意图之三;
图6为本发明实施例提供的一种切换拍摄主题的操作示意图;
图7为本发明实施例提供的一种拍摄处理方法的示意图之四;
图8为本发明实施例提供的一种切换归档相册的操作示意图;
图9为本发明实施例提供的电子设备的结构示意图之一;
图10为本发明实施例提供的电子设备的结构示意图之二;
图11为本发明实施例提供的电子设备的结构示意图之三;
图12为本发明实施例提供的电子设备的硬件示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
本文中术语“和/或”,是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。本文中符号“/”表示关联对象是或者的关系,例如A/B表示A或者B。
本发明的说明书和权利要求书中的术语“第一”和“第二”等是用于区别不同的对象,而不是用于描述对象的特定顺序。例如,第一输入和第二输入等是用于区别不同的输入,而不是用于描述输入的特定顺序。
在本发明实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本发明实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。
在本发明实施例的描述中,除非另有说明,“多个”的含义是指两个或者两个以上,例如,多个元件是指两个或者两个以上的元件等。
本发明实施例提供一种拍摄处理方法及电子设备,可以在电子设备为第一拍摄主题的情况下,接收对目标控件的第一输入;以及响应于该第一输入,按照该第一拍摄主题对应的拍摄参数拍摄第一图像,并对该第一图像进行目标处理。其中,该目标处理至少包括以下至少一项:按照该第一拍摄主题对应的滤镜参数对该第一图像进行滤镜处理,对该第一图像添加该第一拍摄主题对应的标签,将该第一图像存储至该第一拍摄主题对应的存储路径。通过该方案,由于第一拍摄主题包括拍摄参数、滤镜参数、标签和存储路径这些参数,因此在用户选择了第一拍摄主题的情况下,电子设备可以按照该第一拍摄主题的拍摄参数拍摄第一图像,并按照该第一拍摄主题的其他参数自动进行以下至少一项处理:对该第一图像进行滤镜处理,对该第一图像添加该第一拍摄主题对应的标签,将该第一图像存储至该第一拍摄主题对应的存储路径。如此,用户无需在每次拍摄时均要设置拍摄参数,也无需每次对拍摄图像进行手动处理,即本发明实施例提供的拍摄处理方法更为简捷,从而提高了电子设备对图像拍摄处理的智能化程度。
本发明实施例中的电子设备可以为具有操作系统的电子设备。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本发明实施例不作具体限定。
下面以安卓操作系统为例,介绍一下本发明实施例提供的拍摄处理方法所应用的软件环境。
如图1所示,为本发明实施例提供的一种安卓操作系统的架构示意图。在图1中,安卓操作系统的架构包括4层,分别为:应用程序层、应用程序框架层、系统运行库层和内核层(具体可以为Linux内核层)。
其中,应用程序层包括安卓操作系统中的各个应用程序(包括系统应用程序和第三方应用程序)。
应用程序框架层是应用程序的框架,开发人员可以在遵守应用程序的框架的开发原则的情况下,基于应用程序框架层开发一些应用程序。
系统运行库层包括库(也称为系统库)和安卓操作系统运行环境。库主要为安卓操作系统提供其所需的各类资源。安卓操作系统运行环境用于为安卓操作系统提供软件环境。
内核层是安卓操作系统的操作系统层,属于安卓操作系统软件层次的最底层。内核层基于Linux内核为安卓操作系统提供核心系统服务和与硬件相关的驱动程序。
以安卓操作系统为例,本发明实施例中,开发人员可以基于上述如图1所示的安卓操作系统的系统架构,开发实现本发明实施例提供的拍摄处理方法的软件程序,从而使得该拍摄处理方法可以基于如图1所示的安卓操作系统运行。即处理器或者电子设备可以通过在安卓操作系统中运行该软件程序实现本发明实施例提供的拍摄处理方法。
本发明实施例中的电子设备可以为终端设备。该电子设备可以为移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本发明实施例不作具体限定。
本发明实施例提供的拍摄处理方法的执行主体可以为上述的电子设备,也可以为该电子设备中能够实现该拍摄处理方法的功能模块和/或功能实体,具体的可以根据实际使用需求确定,本发明实施例不作限定。下面以电子设备为例,对本发明实施例提供的拍摄处理方法进行示例性的说明。
通常,当用户想要对图像拍摄处理时,用户可以在相机应用程序的设置界面设定一些列参数,并在拍摄完成后手动对拍摄的图像进行一系列处理。例如,手动对拍摄的图像添 加标签,手动对拍摄的图像添加特效处理,手动将拍摄的图像归类相册等。对于每次拍摄,用户均需要重复上述的过程,从而导致对图像的拍摄处理过程较为繁琐。为了解决采用现有的拍摄处理方法对图像的拍摄处理过程较为繁琐的问题,本发明实施例提供了一种拍摄处理方法。该拍摄处理方法可以为电子设备提供至少一个拍摄主题,从而用户可以从至少一个拍摄主题中选择第一拍摄主题。由于第一拍摄主题包括拍摄参数、滤镜参数、标签和存储路径这些参数,因此在用户触发电子设备按照第一拍摄主题的拍摄参数拍摄第一图像之后,电子设备可以根据第一拍摄主题的其他参数对该第一图像进行处理。
本发明实施例中,电子设备中可以存储有至少一个拍摄主题。该至少一个拍摄主题可以为电子设备根据用户在电子设备的配置界面设置的相关参数生成的拍摄主题,即为用户自定义设置的;或者,该至少一个拍摄主题可以为电子设备出厂设置的拍摄主题。需要说明的是,该至少一个拍摄主题可以包括第一拍摄主题。
第一种可能的场景为,用户可以点击相机应用程序的图标,从而可以触发电子设备运行相机应用程序,并显示相机应用程序的预览画面。电子设备可以自动将一个默认的第一拍摄主题设置为当前的拍摄主题。
第二种可能的场景为,用户可以点击相机应用程序的图标,从而可以触发电子设备运行相机应用程序。然后,在用户在相机应用程序的配置界面设置参数后,电子设备可以将生成的拍摄主题作为第一拍摄主题。
第三种可能的场景为,用户可以点击相机应用程序的图标,从而可以触发电子设备运行相机应用程序。然后,电子设备根据采集的预览画面的内容,将与该预览画面的内容对应的第一拍摄主题作为当前的拍摄主题。
下面具体结合下述的各个附图对本发明实施例提供的拍摄处理方法及电子设备进行示例性的说明。
如图2所示,本发明实施例提供一种拍摄处理方法。该方法可以应用于电子设备。该方法可以包括下述的S101和S102。
S101、在电子设备为第一拍摄主题的情况下,电子设备接收对目标控件的第一输入。
可选的,上述第一拍摄主题可以对应至少一个参数项,每个参数项可以包括至少一个参数值。该至少一个参数项可以包括以下至少一项:拍摄主题的主题颜色、拍摄主题的场景名称、拍摄主题的滤镜配置、拍摄主题的标签、主题信息和其他配置参数项等。其中,该主题信息可以包括以下至少一项:控件颜色、控件形状、控件尺寸、取景框形状、取景框尺寸、相册名称。
示例性的,第一拍摄主题可以为风景拍摄主题、宠物拍摄主题、人物拍摄主题、工作拍摄主题、生活拍摄主题或其他任意可能的拍摄主题等。
第一拍摄主题的主题颜色为一种颜色。例如,若第一拍摄主题为风景拍摄主题,则第一拍摄主题的颜色可以为绿色。
第一拍摄主题的场景名称可以为用户从电子设备提供的预设场景名称中选择的场景名称或用户自定义设置的场景名称。例如,第一拍摄主题的场景名称可以为大海、天空、猫。
第一拍摄主题的滤镜配置可以为根据电子设备提供的预设滤镜参数选项选择的。例如,在电子设备前台运行相机应用程序,且电子设备为第一拍摄主题的情况下,电子设备可以按照第一拍摄主题的滤镜配置,对预览画面进行滤镜处理,并显示滤镜处理后的预览画面。
第一拍摄主题的拍摄主题的标签可以为用户自定义输入的,或者为用户根据电子设备设置的标签列表选择的。例如,在电子设备前台运行相机应用程序,且显示相机应用程序的配置界面,用户可以通过点击标签选项呼出标签列表,并根据自己的需要在标签列表中选中某一标签。
第一拍摄主题对应的主题信息包括的相册名称可以为用户自定义输入的相册名称,或者为电子设备根据该第一拍摄主题推荐的至少一个相册的名称。
可选的,其他配置参数项可以包括电子设备的摄像头、图像分辨率等。
可选的,在第一拍摄主题对应多个参数项的情况下,不同参数项之间的优先级可以不同,从而电子设备可以按照参数项的优先级,执行与每个参数项对应的处理动作。例如,第一拍摄主题对应的多个参数项按照优先级由高到低的顺序依次为:拍摄主题的主题颜色、拍摄参数、主题信息包括的相册名称、拍摄主题的滤镜配置、拍摄主题的场景名称、拍摄主题的标签。
可选的,上述第一拍摄主题可以为用户自定义设置的一个拍摄主题,即电子设备可以根据用户在电子设备的配置界面设置的相关参数,生成的一个拍摄主题;或者,第一拍摄主题可以为电子设备出厂设置的多个预设拍摄主题中的一个拍摄主题;或者,第一拍摄主题可以为电子设备从服务器下载的一个拍摄主题。
针对上述第一种可能的场景,本发明实施例提供的拍摄处理方法还可以包括:接收用户的选择输入,响应于该选择输入,电子设备从一个主题切换为第一拍摄主题。
可选的,上述一个拍摄主题可以是电子设备默认的拍摄主题,或者为电子设备根据采集的预览画面的内容确定的拍摄主题。
示例性的,用户可以点击相机应用程序的图标,触发电子设备运行相机应用程序。电子设备将风景拍摄主题作为默认的拍摄主题。如果用户对这个风景拍摄主题不满意,用户可以通过一个输入,触发电子设备从风景拍摄主题切换为自己满意的人物拍摄主题,即第 一拍摄主题。
针对上述第二种可能的场景,在用户通过电子设备的配置界面设置相关参数之后,电子设备可以保存相关参数,并根据该相关参数生成第一拍摄主题。
可选的,由于每个拍摄主题可以对应多个参数,因此用户对每个参数的选择范围的不同选择进行排列组合,电子设备可以根据该排列组合的结果生成多个拍摄主题。即第一拍摄主题可以为该多个拍摄主题中的一个拍摄主题。例如,一个拍摄主题可以对应包括主题色、场景名、滤镜配置、标签设定、存储路径等在内的多个参数。
示例性的,如图3所示,电子设备的配置界面可以包括主题色选取、自定义场景、滤镜配置、标签设定、归档相册和其他配置这些参数项。其中,主题色选取为根据界面中显示的用于选取主题颜色的选项,自定义场景为用于用户自定义设置的场景名称的选项,滤镜配置为用于根据电子设备提供的多个滤镜参数设置某个拍摄主题对应的滤镜参数的选项,标签设定为用于用户根据需要自定义输入标签名称的选项,归档相册对应的存储路径为电子设备根据主题色对应的拍摄主题推荐的至少一个相册名称对应的存储路径,其他配置为电子设备提供的其他可供选择的参数项。在用户配置各项参数之后,用户可以触发电子设备保存这些参数,从而电子设备会自动根据这些参数生成与之对应的一个拍摄主题,例如第一拍摄主题。
针对上述第三种可能的场景,电子设备自动识别预览画面,确定第一拍摄主题。
具体的,电子设备可以获取预览画面的内容;并根据该预览画面的内容,从电子设备存储的至少一个主题中选择与该预览画面的内容对应的拍摄主题作为第一拍摄主题。
可选的,上述预览画面的内容可以包括人、美食、美景、文档等拍摄对象。由于预览画面中可能包括多个对象,例如预览画面中包括人和街道,因此电子设备可以根据预设算法自动选择将人或街道作为拍摄对象,或在电子设备无法确定拍摄对象的情况下,用户可以根据需要从多个对象中选择一个拍摄对象。然后,电子设备可以根据该拍摄对象所属的类别,获得拍摄主题类别。其中,每一种拍摄主题类别,可以包括至少一种拍摄主题,例如,拍摄拍摄类别为美景,与美景对应的拍摄主题可以包括火锅、烤肉、肉夹馍等。一种可能的方式,用户可以根据实际需要对拍摄主题进行选择;或者,电子设备可以根据用户历史使用数据选择使用频率较高的拍摄主题。
例如,拍摄对象为人时,该拍摄对象对应的拍摄主题类别为人物;拍摄对象为植物、山、水时,该拍摄对象对应的拍摄拍摄类别为美景;拍摄对象为饮料、火锅等食物时,该拍摄对象对应的拍摄主题类别为美食;拍摄对象为文件资料时,该拍摄对象对应的拍摄主题类别为文档。另外,当电子设备不能确定拍摄对象的拍摄主题类别时,为了能够确定所有拍摄对象的拍摄主题类别,电子设备中还可以设置有“其他”选项的拍摄主题类别,电 子设备可以将拍摄对象划分至“其他”选项的拍摄主题类别。
可选的,本发明实施例中,上述第一输入可以为用户对目标控件的单次点击输入或双击输入。
需要说明的是,与现有的拍摄控件的功能不同,本发明实施例提供的目标控件在接收到不同的输入的情况下,与目标控件对应的功能不同。例如,第一输入为对目标控件的点击输入,目标控件用于控制电子设备按照第一主题的拍摄参数拍摄第一图像,并根据第一主题对该第一图像进行处理操作;第二输入对目标控件的长按输入,目标控件用于显示不同颜色的M个控件;第三输入对目标控件的拖动输入,目标控件用于电子设备从第二拍摄主题切换为第一拍摄,且该目标控件显示第一拍摄对应的主题颜色;第四输入为沿第一方向拖动目标控件的输入,目标控件用于显示电子设备推荐的N个相册,例如第一方向可以为从屏幕的底部至屏幕的顶部的方向。
S102、响应于该第一输入,电子设备按照该第一拍摄主题对应的拍摄参数拍摄第一图像,并对该第一图像进行目标处理。
其中,上述目标处理至少可以包括以下至少一项:按照第一拍摄主题对应的滤镜参数对第一图像进行滤镜处理,对第一图像添加第一拍摄主题对应的标签,将第一图像存储至第一拍摄主题对应的存储路径。
可选的,上述第一拍摄主题对应的拍摄参数可以包括以下至少一项:曝光值、闪光灯、快门值、白平衡、曝光补偿值等。可以理解的是,不同的拍摄主题对应的拍摄参数的种类和参数值可以相同或不同。
可选的,上述第一图像可以为电子设备在第一拍摄主题下拍摄到的图片或视频。在第一拍摄主题对应的参数包括目标摄像头的标识的情况下,第一图像可以为目标摄像头拍摄的图像。例如,第一拍摄主题为风景主题,该风景主题对应的参数包括超广角摄像头的标识,当电子设备接收到用户针对目标控件的第一输入,响应于该第一输入,电子设备可以切换到超广角摄像头按照该风景主题的拍摄参数拍摄第一图像。
示例性的,以目标处理为按照第一拍摄主题对应的滤镜参数对第一图像进行滤镜处理为例进行说明。假设第一主题为风景主题,且该风景主题可以支持滤镜功能。在电子设备为风景主题的情况下,若电子设备接收到用户对目标控件的点击输入,则电子设备可以响应于该点击输入,按照该风景主题的拍摄参数拍摄第一图像,并按照风景主题对应的滤镜参数对第一图像进行滤镜处理,得到具有滤镜特效的图像。
示例性的,以目标处理为对第一图像添加第一拍摄主题对应的标签为例进行说明。假设第一主题为宠物主题,且该宠物主题包括有萌宠标签。在电子设备为宠物主题的情况下,若电子设备接收到用户对目标控件的点击输入,则电子设备可以响应于该点击输入,按照 该风景主题的拍摄参数拍摄第一图像,并对第一图像添加第一拍摄主题包括的萌宠标签。
示例性的,以目标处理为将第一图像存储至第一拍摄主题对应的存储路径为例进行说明。假设第一主题为宠物主题,且该宠物主题包括宠物相册名称。在电子设备为宠物主题的情况下,若电子设备接收到用户对目标控件的点击输入,则电子设备可以响应于该点击输入,按照该宠物主题的拍摄参数拍摄第一图像,并将第一图像存储至宠物相册。
可选的,在第一拍摄主题对应的主题信息包括目标相册的名称的情况下,上述S102中“将第一图像存储至第一拍摄主题对应的存储路径”可以包括:电子设备获取第一拍摄主题对应的主题信息包括的目标相册的名称,并判断电子设备是否存储有该目标相册。在电子设备中存储有该目标相册的情况下,电子设备可以将第一图像存储至该目标相册对应的存储路径。或者,在电子设备中未存储有该目标相册的情况下,电子设备可以创建该目标相册,并将第一图像存储至该目标相册对应的存储路径。可以理解的是,电子设备可以根据目标相册的名称与电子设备存储的相册的名称一一匹配,一方面,若电子设备存储有与目标相册的名称匹配的一个相册,则电子设备可以将这个相册作为目标相册,并直接将拍摄图像存储至该目标相册对应的存储路径;另一方面,若电子设备未存储有与目标相册的名称匹配的相册,则电子设备可以先根据目标相册的名称创建与之对应的目标相册,再将拍摄图像存储在该目标相册对应的存储路径。如此,既可以快速将拍摄图像分类存储,又避免了电子设备的资源浪费。
本发明实施例提供一种拍摄处理方法,由于第一拍摄主题包括拍摄参数、滤镜参数、标签和存储路径这些参数,因此在用户选择了第一拍摄主题的情况下,电子设备可以按照该第一拍摄主题的拍摄参数拍摄第一图像,并按照该第一拍摄主题的其他参数自动进行以下至少一项处理:对该第一图像进行滤镜处理,对该第一图像添加该第一拍摄主题对应的标签,将该第一图像存储至该第一拍摄主题对应的存储路径。如此,用户无需在每次拍摄时均要设置拍摄参数,也无需每次对拍摄图像进行手动处理,即本发明实施例提供的拍摄处理方法更为简捷,从而提高了电子设备对图像拍摄处理的智能化程度。
可选的,在电子设备为第一拍摄主题的情况下,电子设备可以按照与第一拍摄主题对应的主题信息,显示拍摄预览画面,如此,用户可以根据该主题信息是否满足自己的需求,判断是否需要切换到其他拍摄主题对应的主题信息下拍摄图像。示例性的,结合图2,如图4所示,在电子设备为第一拍摄主题的情况下,电子设备接收第一输入之前,本发明实施例提供的拍摄处理方法中上述S101可以通过下述S101A实现。
S101A、在电子设备为第一拍摄主题的情况下,电子设备按照与第一拍摄主题对应的主题信息,显示拍摄预览画面,并接收对目标控件的第一输入。
其中,上述主题信息可以包括以下至少一项:控件颜色、控件形状、控件尺寸、取景 框形状、取景框尺寸。
可选的,上述取景框尺寸可以是固定的尺寸,或者可以用户自定义的尺寸,或者可以为第一拍摄主题对应的取景框尺寸。
可选的,上述预览画面可以包括至少一个控件、取景框、主题信息标识等。当然,预览画面还可以包括其他内容,例如,预览画面还可以包括主题名称等,本发明实施例不作限定。
示例性的,假设生活主题对应的主题信息的控件颜色为红色,且控件形状为圆形,则在电子设备的第一拍摄主题为生活主题的情况下,电子设备可以按照与生活主题对应的主题信息,显示拍摄预览画面,该预览画面中包括红色的圆形控件。
示例性的,假设风景主题对应的主题信息的控件颜色为绿色,且控件形状为椭圆形,风景主题对应的主题信息的取景框尺寸为第一尺寸,则在电子设备的第一拍摄主题为风景主题的情况下,电子设备可以按照与风景主题对应的主题信息,显示拍摄预览画面,该预览画面中包括绿色的椭圆形,且该预览画面中的取景框尺寸可以为第一尺寸,该第一尺寸大于取景框的默认尺寸。
本发明实施例提供的拍摄处理方法,由于电子设备可以按照与第一拍摄主题对应的主题信息,显示拍摄预览画面,因此,用户可以在拍摄图像之前,体验与该主题信息对应的预览画面,从而提高了用户的体验感。
可选的,当用户对电子设备当前的拍摄主题不满意时,用户可以触发电子设备从当前的拍摄主题切换为第一摄主题。示例性的,结合图2,如图5所示,在上述S101之前,本发明实施例提供的拍摄处理方法还包括下述的S103至S106。
S103、在电子设备为第二拍摄主题的情况下,电子设备接收对目标控件的第二输入。
可选的,上述第二拍摄主题与第一拍摄主题为不同的拍摄主题。关于第二拍摄主题的具体描述可以参照上述实施例中对第一拍摄主题的具体描述,此处不再赘述。
本发明实施例中,第二输入可以为用户对目标控件的长按输入或其他可能的输入等。该第二输入可以用于触发电子设备显示指示多个拍摄主题的多个控件。
示例性的,在电子设备当前的拍摄主题为第二拍摄主题的情况下,若用户对第二拍摄主题不满意,则用户可以长按目标控件,从而电子设备接收用户对目标控件的长按输入,即第二输入。
S104、响应于该第二输入,电子设备显示不同颜色的M个控件。
其中,上述M个控件中的每个控件可以指示一个拍摄主题,M为正整数。
可以理解的是,M个控件中的每个控件指示一个拍摄主题,且M个控件的颜色各不相同,即一个拍摄主题对应一种主题颜色。
可选的,每个拍摄主题对应的主题颜色可以是用户配置的或电子设备配置的。
可选的,在电子设备存储有P个拍摄主题的情况下,由于每个控件指示一个拍摄主题,因此,电子设备可以设置有P个控件。可以理解的是,若电子设备接收对到用户对目标控件的第二输入,则响应于该第二输入,电子设备可以显示M个控件,该M个控件可以为根据预设规则从P个控件中的控件。例如,该M个控件可以为根据用户的历史数据,从P个控件中选择的用户使用频率较高的M个控件。再例如,该M个控件可以为与第二拍摄主题相关的拍摄主题对应的控件。其中,P大于等于M,P为整数。
可选的,上述M个控件可以位于预设的环形显示区内,该预设的环形显示区的形状可以半圆环或圆环。可以理解的是,在电子设备接收到用户对环形显示区的输入的情况下,电子设备可以响应于该输入,更新在该环形显示区显示的控件,以实现在该环形显示区显示更多的控件,并且可以实现控件之间的快速切换。其中,该输入可以为用户对该环形显示区的转动控制操作。
可选的,M个控件可以按预设顺序显示。其中,该预设顺序可以根据用户的历史数据确定的,该预设顺序可以包括以下至少一项:拍摄主题的使用频率、拍摄主题的生成时间、拍摄主题与拍摄预览画面中内容的贴合度等。例如,电子设备可以将常用的拍摄主题和不常用的拍摄主题显示在不同的区域。
可选的,在目标控件位于电子设备的屏幕的底部的情况下,若拍摄主题为用户最新自定义设置生成的拍摄主题,则电子设备可以将该拍摄主题对应的控件显示在该目标控件的正上方。
可选的,若用户不满意电子设备推荐的M个控件,则用户可以触发电子设备显示除M个控件外的其他控件。可以理解的是,电子设备可以实时获取用户的使用数据,并根据用户的使用数据电子设备更新推荐的M个控件,即用户每次推荐的M个控件可能存在不同。如此,在用户想要切换拍摄主题的情况下,响应于用户的输入,电子设备可以推荐更符合用户预期的拍摄主题对应的控件。
示例性的,假设电子设备存储有3个拍摄主题,分别为风景主题,人物主题和宠物主题。当用户长按目标控件时,若电子设备接收到用对目标控件的长按输入,则电子设备可以响应于该长按输入,根据用户的历史使用数据,将使用频率较高的人物主题对应的红色控件显示在第一位置,将使用频率低的风景主题对应的绿色控件显示在第二位置,将用户最新配置的宠物主题对应的黄色控件显示在第三位置。
S105、电子设备接收从M个控件中选择第一控件的第三输入。
可选的,上述第三输入可以为电子设备接收到用户将该目标控件移动至该M个控件中的第一控件的输入。具体是指在用户按住目标控件的情况下,用户拖动目标控件至M个控 件中的第一控件的所在区域。另外,本发明实施例提供的第三输入还可以为用户对M个控件中的第一控件的触控输入,例如对第一控件的点击输入或长按输入等。
S106、响应于该第三输入,将电子设备由该第二拍摄主题切换为该第一控件指示的第一拍摄主题,并将该目标控件的颜色更新为该第一控件的颜色。
示例性的,假设电子设备存储有3个拍摄主题,分别为拍摄主题1,拍摄主题2和拍摄主题3,且电子设备当前的拍摄主题为拍摄主题1,拍摄主题1对应的主题色为黄色。如图6中的(a)所示,用户可以长按目标控件01,在电子设备接收到用户长按目标控件01的第二输入的情况下,响应于该第二输入,如图6中的(b)所示,电子设备根据用户的历史使用数据,将使用频率较高的拍摄主题3对应的红色控件3显示在第一位置,将使用频率低的拍摄主题2对应的绿色控件2显示在第二位置,将用户最新配置的拍摄主题1对应的黄色控件1显示在第三位置。然后,用户可以将该目标控件01移动至该3个控件中的红色控件3,即第一控件。在电子设备接收到将该目标控件01移动至该3个控件中的红色控件3的第三输入的情况下,电子设备可以响应于该第三输入,如图6中的(c)所示,将电子设备由该拍摄主题1切换为该红色控件3指示的拍摄主题2,并将该目标控件的颜色更新为红色。
本发明实施例提供的拍摄处理方法,在用户触发电子设备显示不同颜色的M个控件的情况下,用户可以直接通过对M个控件中的第一控件的第三输入,触发电子设备快速由第二拍摄主题切换为该第一控件指示的第一拍摄主题,从而提高了得到令用户满意的拍摄主题的概率。
可选的,在电子设备为第一拍摄主题的情况下,如果用户想要将待拍摄图像存储在与该第一拍摄主题对应的存储路径不同的目标存储路径中,那么在触发电子设备拍摄图像之前,用户可以通过输入触发电子设备重新设置用于存储待拍摄图像的相册。示例性的,结合图2,如图7,上述S101具体可以通过下述的S101B至S101F,从而,上述S102中的目标处理还可以包括将第一图像存储至目标存储路径,该目标存储路径与第一拍摄主题对应的存储路径不同。即S102可以通过下述S102A实现。
S101B、在电子设备为第一拍摄主题的情况下,电子设备接收对目标控件的第四输入。
可选的,第四输入可以为沿第一方向拖动目标控件的输入。该第四输入可以用于触发电子设备显示电子设备中的相册的标识。例如第一方向可以为从屏幕的顶部至屏幕的顶部的方向。
S101C、响应于该第四输入,电子设备显示N个相册。
其中,N为正整数。
需要说明的是,上述“显示N个相册”具体为显示N个相册的标识。
可选的,上述N个相册的标识可以包括以下至少一项:N个相册中每个相册的名称、N个相册中每个相册的缩略图。
可选的,电子设备存储有Q个相册。一个拍摄主题可以对应一个或多个相册。上述S101C具体可以包括:在电子设备接收到第四输入的情况下,电子设备响应于该第四输入,根据用户的历史数据(例如,用户使用每个相册的频率、时间等),从Q个相册中选中N个相册,并显示该N个相册的标识。
可选的,若用户并不满意电子设备推荐的N个相册,则用户选择Q个相册中的其他相册作为存储待拍摄图像的相册。可以理解的是,电子设备可以实时获取用户的使用数据,并根据用户的使用数据电子设备更新推荐的相册,即用户每次推荐的相册可能存在不同。如此,在用户想要更改存储图像的相册的情况下,响应于用户的输入,电子设备可以推荐更符合用户预期的相册。
S101D、电子设备接收对该N个相册中的第一相册的第五输入。
需要说明的是,上述“对N个相册中的第一相册第五输入”具体为对N个相册的N个标识中第一相册的标识的输入。
可选的,上述第五输入为与第一输入、第二输入、第三输入和第四输入均不同的输入。第五输入可以为对第一相册的标识的触控输入。该第五输入可以用于用户确认将N个相册中的第一相册作为用于存储待拍摄图像的相册。
S101E、响应于该第五输入,电子设备将该第一相册对应的目标存储路径确定为用于存储待拍摄图像的存储路径。
S101F、电子设备接收对该目标控件的第一输入。
S102A、响应于该第一输入,电子设备按照该第一拍摄主题对应的拍摄参数拍摄第一图像,并将该第一图像存储至目标存储路径。
示例性的,假设电子设备存储有4个相册,分别为风景相册,人物相册、宠物相册和其他相册,且电子设备为拍摄主题1。假设拍摄主题1对应的相册为宠物相册。如图8中的(a)所示,用户可以沿从屏幕的底部至屏幕的顶部的方向拖动目标控件01,在电子设备接收到用户沿从屏幕的底部至屏幕的顶部的方向拖动目标控件01的第四输入后,响应于该第四输入,如图8中的(b)所示,电子设备可以根据用户对各个拍摄主题的使用频率,依次分别显示风景相册的标识、人物相册的标识、宠物相册的标识和其他相册的标识。然后,在电子设备接收到用户对风景相册的标识的第五输入的情况下,响应于该第五输入,电子设备可以将风景相册对应的目标存储路径确定为用于存储待拍摄图像的存储路径。如此,在电子设备响应于第一输入,拍摄第一图像之后,电子设备可以将第一图像存储在风景相册中。
本发明实施例提供的拍摄处理方法,在电子设备为第一拍摄主题的情况下,如果用户对该第一拍摄主题对应的存储拍摄图像的存储路径不满意,那么用户可以通过第四输入触发电子设备显示N个相册。然后,在电子设备接收到用户对该N个相册中的第一相册的第五输入的情况下,响应于该第五输入,电子设备可以将该第一相册对应的目标存储路径确定为用于存储待拍摄图像的存储路径,从而可以将拍摄的图像保存在令用户满意的第一相册中。
结合上述各个附图,本发明实施例的拍摄处理方法可以满足用户的以下需求:(1)通过预设拍摄主题,为用户提供了设定一次拍摄主题,多次重复使用该拍摄主题的服务。(2)将切换拍摄主题和拍摄图像的目标控件结合,使得拍摄设定、标签设定、存储路径、滤镜配置和场景设置等多个操作自动实现。(3)将拍摄主题对应的主题颜色和目标控件结合,使电子设备的界面简洁,便于用户辨识当前的拍摄主题。(4)电子设备可以根据拍摄的画面内容自动选择相应的拍摄主题,从而可以快速适应不同场景以调整拍摄主题满足用户的拍摄需求,同时用户也可以手动切换拍摄主题。(5)将切换存储路径和目标控件结合,使拍摄得到的图像可以根据用户的需求快速归档在该存储路径对应的目标相册中。
需要说明的是,本发明实施例中,上述各个附图所示的拍摄处理方法均是以结合本发明实施例中的一个附图为例示例性的说明的。具体实现时,上述各个附图所示的拍摄处理方法还可以结合上述实施例中示意的其它可以结合的任意附图实现,此处不再赘述。
如图9所示,本发明实施例提供一种电子设备900。该电子设备可以包括接收模块901和处理模块902。接收模块901,可以用于在电子设备为第一拍摄主题的情况下,接收对目标控件的第一输入。处理模块902,可以用于响应于接收模块901接收的该第一输入,按照该第一拍摄主题对应的拍摄参数拍摄第一图像,并对该第一图像进行目标处理。其中,该目标处理可以至少包括以下至少一项:按照该第一拍摄主题对应的滤镜参数对该第一图像进行滤镜处理,对该第一图像添加该第一拍摄主题对应的标签,将该第一图像存储至该第一拍摄主题对应的存储路径。
可选的,结合图9,如图10所示,本发明实施例提供的电子设备还可以包括显示模块903。显示模块903,可以用于在接收模块901接收对目标控件的第一输入之前,按照与第一拍摄主题对应的主题信息,显示拍摄预览画面。该主题信息可以包括以下至少一项:控件颜色、控件形状、控件尺寸、取景框形状、取景框尺寸。
可选的,本发明实施例提供的电子设备还可以包括显示模块903。接收模块901,还可以用于接收对目标控件的第一输入之前,在电子设备为第二拍摄主题的情况下,接收对目标控件的第二输入。显示模块903,可以用于响应于接收模块901接收的该第二输入, 显示不同颜色的M个控件,该述M个控件中的每个控件指示一个拍摄主题,M为正整数。接收模块901,还可以用于接收从该M个控件中选择第一控件的第三输入。处理模块902,可以用于响应于接收模块901接收该第三输入,将电子设备由该第二拍摄主题切换为该第一控件指示的第一拍摄主题。显示模块903,还可以用于该目标控件更新为与该一控件相同的颜色。
可选的,目标处理还包括:将第一图像存储至目标存储路径,该目标存储路径与第一拍摄主题对应的存储路径不同。结合图9,如图11所示,本发明实施例提供的电子设备还可以包括显示模块903和确定模块904。接收模块901,还可以用于接收对目标控件的第一输入之前,接收对目标控件的第四输入。显示模块903,可以用于响应于接收模块901接收的该第四输入,显示N个相册,N为正整数。接收模块901,还用于接收对该N个相册中的第一相册的第五输入。确定模块904,可以用于响应于接收模块901接收的该第五输入,将该第一相册对应的所述目标存储路径确定为用于存储待拍摄图像的存储路径。
可选的,第一拍摄主题对应的主题信息包括目标相册的名称。处理模块902,具体可以用于在电子设备中存储有该目标相册的情况下,将第一图像存储至该目标相册对应的存储路径;或者,在电子设备中未存储有该目标相册的情况下,创建目标相册,并将该第一图像存储至该目标相册对应的存储路径。
本发明实施例提供的电子设备能够实现上述方法实施例中电子设备实现的各个过程,为避免重复,这里不再赘述。
本发明实施例提供一种电子设备,由于第一拍摄主题包括拍摄参数、滤镜参数、标签和存储路径这些参数,因此在用户选择了第一拍摄主题的情况下,电子设备可以按照该第一拍摄主题的拍摄参数拍摄第一图像,并按照该第一拍摄主题对应的滤镜参数自动进行以下至少一项处理:对该第一图像进行滤镜处理,对该第一图像添加该第一拍摄主题对应的标签,将该第一图像存储至该第一拍摄主题对应的存储路径。如此,用户无需在每次拍摄时均要设置拍摄参数,也无需每次对拍摄图像进行手动处理,即本发明实施例提供的电子设备对图像的拍摄处理方法更为简捷,从而提高了电子设备对图像拍摄处理的智能化程度。
图12为实现本发明各个实施例的一种电子设备的硬件结构示意图。如图12所示,该电子设备200包括但不限于:射频单元201、网络模块202、音频输出单元203、输入单元204、传感器205、显示单元206、用户输入单元207、接口单元208、存储器209、处理器210、以及电源211等部件。本领域技术人员可以理解,图12中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,电子设备包括但不限于手机、平板电脑、笔记 本电脑、掌上电脑、车载电子设备、可穿戴设备、以及计步器等。
其中,处理器210,可以用于在电子设备为第一拍摄主题的情况下,控制用户输入单元207接收对目标控件的第一输入;并响应于该第一输入,按照该第一拍摄主题对应的拍摄参数拍摄第一图像,并对该第一图像进行目标处理。该目标处理可以至少包括以下至少一项:按照第一拍摄主题对应的滤镜参数对第一图像进行滤镜处理,对第一图像添加第一拍摄主题对应的标签,将第一图像存储至第一拍摄主题对应的存储路径。
本发明实施例提供一种电子设备,由于第一拍摄主题包括拍摄参数、滤镜参数、标签和存储路径这些参数,因此在用户选择了第一拍摄主题的情况下,电子设备可以按照该第一拍摄主题的拍摄参数拍摄第一图像,并按照该第一拍摄主题对应的滤镜参数自动进行以下至少一项处理:对该第一图像进行滤镜处理,对该第一图像添加该第一拍摄主题对应的标签,将该第一图像存储至该第一拍摄主题对应的存储路径。如此,用户无需在每次拍摄时均要设置拍摄参数,也无需每次对拍摄图像进行手动处理,即本发明实施例提供的电子设备对图像的拍摄处理方法更为简捷,从而提高了电子设备对图像拍摄处理的智能化程度。
应理解的是,本发明实施例中,射频单元201可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器210处理;另外,将上行的数据发送给基站。通常,射频单元201包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元201还可以通过无线通信系统与网络和其他设备通信。
电子设备200通过网络模块202为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。
音频输出单元203可以将射频单元201或网络模块202接收的或者在存储器209中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元203还可以提供与电子设备200执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元203包括扬声器、蜂鸣器以及受话器等。
输入单元204用于接收音频或视频信号。输入单元204可以包括图形处理器(graphics processing unit,GPU)2041和麦克风2042,图形处理器2041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元206上。经图形处理器2041处理后的图像帧可以存储在存储器209(或其它存储介质)中或者经由射频单元201或网络模块202进行发送。麦克风2042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元201发送到移动通信基站的格式输出。
电子设备200还包括至少一种传感器205,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板2061的亮度,接近传感器可在电子设备200移动到耳边时,关闭显示面板2061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别电子设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器205还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。
显示单元206用于显示由用户输入的信息或提供给用户的信息。显示单元206可包括显示面板2061,可以采用液晶显示器(liquid crystal display,LCD)、有机发光二极管(organic light-emitting diode,OLED)等形式来配置显示面板2061。
用户输入单元207可用于接收输入的数字或字符信息,以及产生与电子设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元207包括触控面板2071以及其他输入设备2072。触控面板2071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板2071上或在触控面板2071附近的操作)。触控面板2071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器210,接收处理器210发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板2071。除了触控面板2071,用户输入单元207还可以包括其他输入设备2072。具体地,其他输入设备2072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。
进一步的,触控面板2071可覆盖在显示面板2061上,当触控面板2071检测到在其上或附近的触摸操作后,传送给处理器210以确定触摸事件的类型,随后处理器210根据触摸事件的类型在显示面板2061上提供相应的视觉输出。虽然在图12中,触控面板2071与显示面板2061是作为两个独立的部件来实现电子设备的输入和输出功能,但是在某些实施例中,可以将触控面板2071与显示面板2061集成而实现电子设备的输入和输出功能,具体此处不做限定。
接口单元208为外部装置与电子设备200连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元208可以用于接收来自外部装置的输入(例如,数据信息、电力 等等)并且将接收到的输入传输到电子设备200内的一个或多个元件或者可以用于在电子设备200和外部装置之间传输数据。
存储器209可用于存储软件程序以及各种数据。存储器209可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器209可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
处理器210是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器209内的软件程序和/或模块,以及调用存储在存储器209内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。处理器210可包括一个或多个处理单元;可选的,处理器210可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器210中。
电子设备200还可以包括给各个部件供电的电源211(比如电池),可选的,电源211可以通过电源管理系统与处理器210逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。
另外,电子设备200包括一些未示出的功能模块,在此不再赘述。
可选的,本发明实施例还提供一种电子设备,包括如图12所示的处理器210,存储器209,存储在存储器209上并可在处理器210上运行的计算机程序,该计算机程序被处理器210执行时实现上述方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,计算机可读存储介质,如只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者 是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台电子设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例描述的方法。
上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。

Claims (14)

  1. 一种拍摄处理方法,应用于电子设备,所述方法包括:
    在所述电子设备为第一拍摄主题的情况下,接收对目标控件的第一输入;
    响应于所述第一输入,按照所述第一拍摄主题对应的拍摄参数拍摄第一图像,并对所述第一图像进行目标处理;
    其中,所述目标处理包括以下至少一项:按照所述第一拍摄主题对应的滤镜参数对所述第一图像进行滤镜处理,对所述第一图像添加所述第一拍摄主题对应的标签,将所述第一图像存储至所述第一拍摄主题对应的存储路径。
  2. 根据权利要求1所述的方法,其中,所述接收对目标控件的第一输入之前,所述方法还包括:
    按照与所述第一拍摄主题对应的主题信息,显示拍摄预览画面,所述主题信息包括以下至少一项:控件颜色、控件形状、控件尺寸、取景框形状、取景框尺寸。
  3. 根据权利要求1所述的方法,其中,所述在所述电子设备为第一拍摄主题的情况下,接收对目标控件的第一输入之前,所述方法还包括:
    在所述电子设备为第二拍摄主题的情况下,接收对所述目标控件的第二输入;
    响应于所述第二输入,显示不同颜色的M个控件,所述M个控件中的每个控件指示一个拍摄主题,M为正整数;
    接收从所述M个控件中选择第一控件的第三输入;
    响应于所述第三输入,将所述电子设备由所述第二拍摄主题切换为所述第一控件指示的所述第一拍摄主题,并将所述目标控件更新为与所述第一控件相同的颜色。
  4. 根据权利要求1至3中任一项所述的方法,其中,所述目标处理还包括:将所述第一图像存储至目标存储路径,所述目标存储路径与所述第一拍摄主题对应的存储路径不同;
    所述接收对目标控件的第一输入之前,所述方法还包括:
    接收对所述目标控件的第四输入;
    响应于所述第四输入,显示N个相册,N为正整数;
    接收对所述N个相册中的第一相册的第五输入;
    响应于所述第五输入,将所述第一相册对应的所述目标存储路径确定为用于存储待拍摄图像的存储路径。
  5. 根据权利要求1所述的方法,其中,所述第一拍摄主题对应的主题信息包括目标相册的名称;
    所述将所述第一图像存储至所述第一拍摄主题对应的存储路径,包括:
    在所述电子设备中存储有所述目标相册的情况下,将所述第一图像存储至所述目标相册对应的存储路径;或者,
    在所述电子设备中未存储有所述目标相册的情况下,创建所述目标相册,并将所述第一图像存储至所述目标相册对应的存储路径。
  6. 一种电子设备,所述电子设备包括接收模块和处理模块;
    所述接收模块,用于在所述电子设备为第一拍摄主题的情况下,接收对目标控件的第一输入;
    所述处理模块,用于响应于所述接收模块接收的所述第一输入,按照所述第一拍摄主题对应的拍摄参数拍摄第一图像,并对所述第一图像进行目标处理;
    其中,所述目标处理至少包括以下至少一项:按照所述第一拍摄主题对应的滤镜参数对所述第一图像进行滤镜处理,对所述第一图像添加所述第一拍摄主题对应的标签,将所述第一图像存储至所述第一拍摄主题对应的存储路径。
  7. 根据权利要求6所述的电子设备,其中,所述电子设备还包括显示模块;
    所述显示模块,用于在所述接收模块接收对所述目标控件的第一输入之前,按照与所述第一拍摄主题对应的主题信息,显示拍摄预览画面,所述主题信息包括以下至少一项:控件颜色、控件形状、控件尺寸、取景框形状、取景框尺寸。
  8. 根据权利要求6所述的电子设备,其中,所述电子设备还包括显示模块;
    所述接收模块,还用于在所述接收模块接收对所述目标控件的第一输入之前,在所述电子设备为第二拍摄主题的情况下,接收对所述目标控件的第二输入;
    所述显示模块,用于响应于所述接收模块接收的所述第二输入,显示不同颜色的M个控件,所述M个控件中的每个控件指示一个拍摄主题,M为正整数;
    所述接收模块,还用于接收从所述M个控件中选择第一控件的第三输入;
    所述处理模块,用于响应于所述接收模块接收所述第三输入,将所述电子设备由所述第二拍摄主题切换为所述第一控件指示的所述第一拍摄主题;
    所述显示模块,还用于将所述目标控件更新为与所述第一控件相同的颜色。
  9. 根据权利要求6所述的电子设备,其中,所述目标处理还包括:将所述第一图像存储至目标存储路径,所述目标存储路径与所述第一拍摄主题对应的存储路径不同;所述电子设备还包括显示模块和确定模块;
    所述接收模块,还用于接收对所述目标控件的第一输入之前,接收对所述目标控件的第四输入;
    所述显示模块,用于响应于所述接收模块接收的所述第四输入,显示N个相册,N为正整数;
    所述接收模块,还用于接收对所述N个相册中的第一相册的第五输入;
    所述确定模块,用于响应于所述接收模块接收的所述第五输入,将所述第一相册对应的所述目标存储路径确定为用于存储待拍摄图像的存储路径。
  10. 根据权利要求6所述的电子设备,其中,所述第一拍摄主题对应的主题信息包括目标相册的名称;
    所述处理模块,具体用于在所述电子设备中存储有所述目标相册的情况下,将所述第一图像存储至所述目标相册对应的存储路径;或者,在所述电子设备中未存储有所述目标相册的情况下,创建所述目标相册,并将所述第一图像存储至所述目标相册对应的存储路径。
  11. 一种电子设备,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至5中任一项所述的拍摄处理方法的步骤。
  12. 一种计算机可读存储介质,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如权利要求1至5中任一项所述的拍摄处理方法的步骤。
  13. 一种计算机软件产品,所述计算机软件产品被至少一个处理器执行以实现如权利要求1-5任一项所述的方法。
  14. 一种电子设备,包括所述电子设备被配置成用于执行如权利要求1-5任一项所述的拍摄处理方法。
PCT/CN2020/138528 2019-12-26 2020-12-23 拍摄处理方法及电子设备 WO2021129640A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911369142.4 2019-12-26
CN201911369142.4A CN111050076B (zh) 2019-12-26 2019-12-26 拍摄处理方法及电子设备

Publications (1)

Publication Number Publication Date
WO2021129640A1 true WO2021129640A1 (zh) 2021-07-01

Family

ID=70240279

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/138528 WO2021129640A1 (zh) 2019-12-26 2020-12-23 拍摄处理方法及电子设备

Country Status (2)

Country Link
CN (1) CN111050076B (zh)
WO (1) WO2021129640A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114598815A (zh) * 2022-03-02 2022-06-07 北京字跳网络技术有限公司 一种拍摄方法、装置、电子设备和存储介质

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111050076B (zh) * 2019-12-26 2021-08-27 维沃移动通信有限公司 拍摄处理方法及电子设备
CN112492206B (zh) * 2020-11-30 2021-10-26 维沃移动通信(杭州)有限公司 图像处理方法、装置及电子设备
CN112486390A (zh) * 2020-11-30 2021-03-12 维沃移动通信有限公司 显示控制方法、装置及电子设备
CN112511750B (zh) * 2020-11-30 2022-11-29 维沃移动通信有限公司 视频拍摄方法、装置、设备及介质
CN112714257B (zh) * 2020-12-30 2022-01-14 维沃移动通信(杭州)有限公司 显示控制方法、装置、电子设备及介质
CN114860120A (zh) * 2021-02-04 2022-08-05 华为技术有限公司 针对控件操作的执行方法、装置、存储介质和控件
CN114143448B (zh) * 2021-11-17 2024-04-19 维沃移动通信有限公司 拍摄方法、装置、电子设备及可读存储介质
CN114385299A (zh) * 2022-01-12 2022-04-22 北京字跳网络技术有限公司 页面显示控制方法、装置、移动终端及存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009246822A (ja) * 2008-03-31 2009-10-22 Fujifilm Corp 画像編集方法及びその装置
CN106339499A (zh) * 2016-09-07 2017-01-18 珠海市魅族科技有限公司 一种主题模式推送方法及装置
CN109068056A (zh) * 2018-08-17 2018-12-21 Oppo广东移动通信有限公司 一种电子设备及其拍摄图像的滤镜处理方法、存储介质
CN109743498A (zh) * 2018-12-24 2019-05-10 维沃移动通信有限公司 一种拍摄参数调整方法及终端设备
CN109919116A (zh) * 2019-03-14 2019-06-21 Oppo广东移动通信有限公司 场景识别方法、装置、电子设备及存储介质
CN111050076A (zh) * 2019-12-26 2020-04-21 维沃移动通信有限公司 拍摄处理方法及电子设备

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3543135B2 (ja) * 2000-06-21 2004-07-14 カシオ計算機株式会社 カメラ装置
JP4370866B2 (ja) * 2003-09-18 2009-11-25 カシオ計算機株式会社 画像撮影装置およびプログラム
JP4492345B2 (ja) * 2004-12-28 2010-06-30 カシオ計算機株式会社 カメラ装置、及び撮影条件設定方法
WO2013183338A1 (ja) * 2012-06-07 2013-12-12 ソニー株式会社 情報処理装置および記憶媒体
CN104038693B (zh) * 2014-05-23 2017-12-29 小米科技有限责任公司 拍照方法和装置
CN104243822A (zh) * 2014-09-12 2014-12-24 广州三星通信技术研究有限公司 拍摄图像的方法及装置
CN105068777B (zh) * 2015-08-10 2019-01-15 联想(北京)有限公司 一种显示控制方法和电子设备
CN105306835A (zh) * 2015-10-16 2016-02-03 广州市久邦数码科技有限公司 一种图像处理系统
CN110049185A (zh) * 2019-03-12 2019-07-23 维沃移动通信有限公司 图像处理方法及终端设备

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009246822A (ja) * 2008-03-31 2009-10-22 Fujifilm Corp 画像編集方法及びその装置
CN106339499A (zh) * 2016-09-07 2017-01-18 珠海市魅族科技有限公司 一种主题模式推送方法及装置
CN109068056A (zh) * 2018-08-17 2018-12-21 Oppo广东移动通信有限公司 一种电子设备及其拍摄图像的滤镜处理方法、存储介质
CN109743498A (zh) * 2018-12-24 2019-05-10 维沃移动通信有限公司 一种拍摄参数调整方法及终端设备
CN109919116A (zh) * 2019-03-14 2019-06-21 Oppo广东移动通信有限公司 场景识别方法、装置、电子设备及存储介质
CN111050076A (zh) * 2019-12-26 2020-04-21 维沃移动通信有限公司 拍摄处理方法及电子设备

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114598815A (zh) * 2022-03-02 2022-06-07 北京字跳网络技术有限公司 一种拍摄方法、装置、电子设备和存储介质
CN114598815B (zh) * 2022-03-02 2024-01-05 北京字跳网络技术有限公司 一种拍摄方法、装置、电子设备和存储介质

Also Published As

Publication number Publication date
CN111050076B (zh) 2021-08-27
CN111050076A (zh) 2020-04-21

Similar Documents

Publication Publication Date Title
WO2021129640A1 (zh) 拍摄处理方法及电子设备
CN107995429B (zh) 一种拍摄方法及移动终端
WO2021136268A1 (zh) 拍摄方法及电子设备
CN108668083B (zh) 一种拍照方法及终端
WO2021104195A1 (zh) 图像显示方法及电子设备
WO2020156466A1 (zh) 拍摄方法及终端设备
WO2021104236A1 (zh) 一种共享拍摄参数的方法及电子设备
CN108495029B (zh) 一种拍照方法及移动终端
CN109361867B (zh) 一种滤镜处理方法及移动终端
CN108769374B (zh) 一种图像管理方法及移动终端
JP2023500392A (ja) 対象追跡方法、電子機器およびコンピュータ可読記憶媒体
WO2020182035A1 (zh) 图像处理方法及终端设备
CN109683777B (zh) 一种图像处理方法及终端设备
CN110366027B (zh) 一种视频管理方法及终端设备
CN110798622B (zh) 一种共享拍摄方法及电子设备
CN111159449B (zh) 一种图像显示方法及电子设备
CN111597370B (zh) 一种拍摄方法及电子设备
CN111010511B (zh) 全景分身图像拍摄方法及电子设备
KR20220005087A (ko) 촬영 방법 및 단말
CN108833709A (zh) 一种摄像头的启动方法和移动终端
CN108881719A (zh) 一种切换拍摄方式的方法及终端设备
JP2023506289A (ja) カメラ起動方法及び電子機器
WO2020011080A1 (zh) 显示控制方法及终端设备
WO2021017713A1 (zh) 拍摄方法及移动终端
CN110798621A (zh) 一种图像处理方法及电子设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20906439

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20906439

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 20906439

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 09-01-2023)