WO2022016442A1 - 一种拍照方法、相关设备及计算机可读存储介质 - Google Patents

一种拍照方法、相关设备及计算机可读存储介质 Download PDF

Info

Publication number
WO2022016442A1
WO2022016442A1 PCT/CN2020/103743 CN2020103743W WO2022016442A1 WO 2022016442 A1 WO2022016442 A1 WO 2022016442A1 CN 2020103743 W CN2020103743 W CN 2020103743W WO 2022016442 A1 WO2022016442 A1 WO 2022016442A1
Authority
WO
WIPO (PCT)
Prior art keywords
shooting
picture
information
parameter information
photographing
Prior art date
Legal status (The legal status 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 status listed.)
Ceased
Application number
PCT/CN2020/103743
Other languages
English (en)
French (fr)
Inventor
张超
郭建波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Transsion Holdings Co Ltd
Original Assignee
Shenzhen Transsion Holdings Co Ltd
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 Shenzhen Transsion Holdings Co Ltd filed Critical Shenzhen Transsion Holdings Co Ltd
Priority to CN202080102577.7A priority Critical patent/CN116134828B/zh
Priority to PCT/CN2020/103743 priority patent/WO2022016442A1/zh
Publication of WO2022016442A1 publication Critical patent/WO2022016442A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

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

Definitions

  • the present application relates to the field of photographing technologies, and in particular, to a photographing method, a related device, and a computer-readable storage medium.
  • the embodiments of the present application provide a photographing method, related equipment, and a computer-readable storage medium, which can quickly select appropriate photographing parameters, thereby improving photographing efficiency and helping to ensure photographing effects.
  • a first aspect of the embodiments of the present application provides a photographing method, which is applied to a first terminal device, including:
  • first shooting parameter information of the first picture where the first shooting parameter information is used to indicate at least one of a shooting mode, an effect of the shooting mode, a level parameter value of the effect, and material information of the shooting mode kind;
  • the photographing is performed according to the photographing parameters corresponding to the first photographing parameter information.
  • a second aspect of the embodiments of the present application provides a photographing method, including:
  • first shooting parameter information of the first picture where the first shooting parameter information is used to indicate a shooting mode, at least one of the effect of the shooting mode, the level parameter value of the effect, and the material information of the shooting mode kind;
  • Second shooting parameter information stored in the terminal device according to the first shooting parameter information, where the second shooting parameter information is used to indicate the shooting mode, the effect of the shooting mode, the level parameter value of the effect, and the shooting at least one of the material information of the mode;
  • Photographing is performed according to the first photographing parameter information and the second photographing parameter information.
  • a third aspect of the embodiments of the present application provides a photographing method, including:
  • the second picture is generated by taking pictures according to the displayed shooting parameter information of the first picture, where the shooting parameter information is used to indicate the shooting mode, the effect of the shooting mode, the level parameter value of the effect and the material of the shooting mode at least one of the information.
  • a fourth aspect of the embodiments of the present application provides a photographing apparatus, which is arranged on a first terminal device, and the apparatus includes:
  • An acquisition module configured to acquire first shooting parameter information of the first picture, where the first shooting parameter information is used to indicate the shooting mode, the effect of the shooting mode, the level parameter value of the effect, and the material of the shooting mode at least one of the information;
  • a photographing module configured to photograph according to the photographing parameters corresponding to the first photographing parameter information.
  • a fifth aspect of the embodiments of the present application provides a photographing device, and the device includes:
  • An acquisition module configured to acquire first shooting parameter information of a first picture, where the first shooting parameter information is used to indicate a shooting mode, the effect of the shooting mode, the level parameter value of the effect, and the material of the shooting mode at least one of the information;
  • the obtaining module is further configured to obtain second shooting parameter information stored in the terminal device according to the first shooting parameter information, where the second shooting parameter information is used to indicate a shooting mode, an effect of the shooting mode, and the effect at least one of the level parameter value of the shooting mode and the material information of the shooting mode;
  • the photographing module is used for photographing according to the first photographing parameter information and the second photographing parameter information.
  • a sixth aspect of the embodiments of the present application provides a photographing device, and the device includes:
  • a display module for displaying the first picture at a preset position of the terminal device
  • a photographing module configured to photograph and generate a second picture according to the photographing parameter information of the displayed first picture, where the photographing parameter information is used to indicate the photographing mode, the effect of the photographing mode, the level parameter value of the effect and all at least one of the material information of the shooting mode.
  • a seventh aspect of an embodiment of the present application provides a terminal device, which is characterized by comprising a processor and a memory, wherein the memory is used to store a computer program, and the computer program includes program instructions, and the processor is configured to use The method described in the first aspect or the second aspect or the third aspect is executed by invoking the program instruction.
  • An eighth aspect of an embodiment of the present application provides a computer-readable storage medium, where the readable storage medium stores a computer program, the computer program includes program instructions, and the program instructions cause the processing when executed by a processor
  • the computer executes the method described in the first aspect or the second aspect or the third aspect.
  • the first terminal device can obtain the first shooting parameter information of the first picture, such as at least one used to indicate the shooting mode, the effect of the shooting mode, the level parameter value of the effect, and the material information of the shooting mode.
  • FIG. 1 is a schematic flowchart of a photographing method provided by an embodiment of the present application
  • FIG. 2 is a schematic flowchart of another photographing method provided by an embodiment of the present application.
  • 3a is a schematic diagram of different photographing parameters of two terminal devices provided by the present application.
  • 3b is a schematic diagram of a terminal device outputting dialog prompt information provided by the present application.
  • 3c is a schematic diagram of two terminal devices provided by the present application being set to the same photographing parameters
  • FIG. 4 is a schematic flowchart of another photographing method provided by an embodiment of the present application.
  • FIG. 5 is a schematic flowchart of still another photographing method provided by an embodiment of the present application.
  • 6a is a schematic diagram of displaying a first picture in a floating frame of a terminal device according to an embodiment of the present application
  • 6b is a schematic diagram of displaying a first picture in the upper right corner of a camera shooting interface of a terminal device according to an embodiment of the present application;
  • 6c is a schematic diagram of displaying a first picture at a position of a second thumbnail according to a selection instruction provided by an embodiment of the present application;
  • 6d is a schematic diagram of displaying two pictures in sub-regions provided by an embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of a photographing device provided by an embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of another photographing device provided by an embodiment of the present application.
  • FIG. 9 is a schematic structural diagram of another photographing device provided by an embodiment of the present application.
  • FIG. 10 is a schematic structural diagram of a terminal device provided by an embodiment of the present application.
  • the generated picture When taking a picture, the generated picture may be generated based on the photographer's selection and combination of shooting parameters stored in the camera, or in most cases, the picture may be generated based on the default shooting parameters in the camera. Pictures may also not meet the needs of the photographer.
  • the embodiment of the present application provides a photographing method, which can improve photographing efficiency by acquiring photographing parameter information of a certain picture, and photographing according to the photographing parameter information, thereby helping to ensure photographing effect.
  • the first terminal device may obtain the photographing parameter information corresponding to the picture from the second terminal device storing the picture, and then according to the photographing parameter information Take a photo to get a picture with the same effect.
  • FIG. 1 is a schematic flowchart of a photographing method according to an embodiment of the present application.
  • the photographing method described in this embodiment, applied to the first terminal device, includes the following steps:
  • first shooting parameter information of a first picture where the first shooting parameter information is used to indicate at least one of a shooting mode, an effect of the shooting mode, a level parameter value of the effect, and material information of the shooting mode.
  • the above-mentioned first shooting parameter information may be an identifier corresponding to the shooting parameter, or may be a shooting parameter.
  • At least one of a shooting mode, an effect of the shooting mode, a level parameter value of the effect, and material information of the shooting mode can be obtained by acquiring the first shooting parameter information.
  • the shooting mode can be panorama shooting mode, portrait mode, night scene portrait mode, macro mode, etc.
  • the corresponding effect of this shooting mode can be the effect of panorama shooting mode, the effect of portrait mode, etc.
  • the material information of shooting mode can beautify your face. , filters, smart maps, bokeh, and more.
  • the identification corresponding to the shooting parameters may be one identification corresponding to a group of shooting parameters, or may be one identification corresponding to each shooting parameter.
  • different shooting modes in the shooting parameters will correspond to different identifications (or IDs), and different effects of shooting modes will correspond to different identifications (or IDs).
  • logos corresponding to beauty There are different logos corresponding to beauty.
  • the first terminal device needs to determine which picture to acquire first, so as to acquire corresponding shooting parameter information according to the picture. Therefore, the first terminal device may determine the first picture according to the environment information where the first terminal device is located, where the environment information may be things in the environment, ambient light, and ambient weather.
  • the first terminal device detects the current environmental object and finds that the environmental object is a famous building, which just matches the environmental object in the first picture, the first picture can be determined to be selected.
  • the first terminal device determines the first picture according to the photographer's style, etc., combined with environmental information. For example, the first terminal device counts the shooting parameters set by the previous photographer when taking pictures, and then determines to select the first picture according to the current environmental information. a picture.
  • the first terminal device may first generate a third picture on the preview interface, and determine the first picture according to the photographing effect of the third picture; and/or according to at least two images obtained from the second terminal device The result of similarity matching between the picture and the third picture determines the first picture.
  • the first terminal device when the first terminal device takes a picture, it first randomly takes a picture (the third picture), and the first terminal device automatically matches and determines the first picture from at least two pictures according to the photographing effect of the picture. If the photographing effect is that the dermabrasion level exceeds the threshold, the first terminal device will select a picture (ie, the first picture) whose dermabrasion level does not exceed the threshold.
  • the first terminal device when the first terminal device takes a picture, it first randomly takes a picture (the third picture), and obtains two pictures from the second terminal device, which are picture A and picture B, respectively, according to the characteristics of the things in the picture. Matching with the two pictures, if the similarity between the picture A and the picture generated by taking pictures is higher than 90%, then according to the similarity, the first terminal device determines to select the picture A (ie, the first picture).
  • the first terminal device may acquire the first shooting parameter information based on the point-to-point direct transmission connection established with the second terminal device, wherein the established point-to-point direct transmission may be a direct connection via Bluetooth or WIFI establish point-to-point direct transmission;
  • the first shooting parameter information can be obtained through instant messaging software, where the instant messaging software can be QQ, WeChat, Fetion, etc.; or the first terminal device can obtain the first shooting parameter information through the network, here Obtaining through the network may refer to obtaining through a browser, etc.; or, determining the first shooting parameter information based on the associated information with the first picture of the second terminal device, where the associated information with the first picture may refer to the shooting time , shooting location, etc.
  • the first terminal device can use Bluetooth to establish a point-to-point direct transmission connection, and obtain the shooting parameter information corresponding to the picture; another example, When it wants to acquire a certain picture taken by a QQ friend, the first terminal device can acquire the shooting parameter information corresponding to the picture through QQ.
  • the first terminal device may acquire associated information with the picture, where the associated information is the shooting time and shooting mode of the picture, and determine the shooting parameter information of the picture according to the associated information.
  • the first terminal device can receive the sharing information sent by the second terminal device.
  • the second terminal device sends the sharing information through the sharing interface, and the sharing information carries the first shooting parameter information.
  • the first terminal device when the first terminal device detects the sharing information sent by the second terminal device, it will output prompt information, and when detecting a confirmation instruction for the prompt information, the first terminal device receives the sharing information sent by the second terminal device, preferably Ground, the second terminal device sends the sharing information through the sharing interface.
  • the manner of outputting prompt information may be a manner of outputting dialog prompts or a manner of outputting voice prompts.
  • the sharing information includes shooting parameters corresponding to the first shooting parameter information.
  • the first terminal device pops up a dialog box, and the dialog box has two options of accepting and canceling.
  • a terminal device detects the confirmation instruction for the prompt information, it receives the shooting parameters corresponding to the first shooting parameter information sent through the sharing interface.
  • obtaining the first shooting parameter information of the first picture by the first terminal device may be receiving the first picture of the first picture obtained from the second preset position of the second terminal device and sent by the second terminal device.
  • the second terminal device saves the first shooting parameter information of the first picture at the second preset position, so the first terminal device receives the first shooting parameter information obtained by the second terminal device at the second preset position, wherein the second The preset position may be the position of the exif information file and/or the position of the jpeg file of the first picture.
  • the first shooting parameter information may be presented in the form of a file or a picture.
  • the first photographing parameter information includes an identifier corresponding to the photographing parameter, and after receiving the identifier corresponding to the photographing parameter, the first terminal device determines the photographing parameter according to the identifier, and takes a photograph according to the photographing parameter.
  • the first terminal equipment sends a request message to the second terminal equipment (or other equipment that stores the shooting parameters corresponding to the identification, such as servers), the The request message is used to request the shooting parameters corresponding to the identifier, and then the first terminal device receives the shooting parameters sent by the second terminal device according to the request message, and takes photos according to the received shooting parameters.
  • the first terminal device may acquire first shooting parameter information of at least two first pictures before taking pictures, and the first terminal device needs to select at least two first pictures according to preset rules One of the first shooting parameter information of the selected first picture is then photographed according to the shooting parameters corresponding to the first shooting parameter information of the selected first picture.
  • the preset rule includes at least one of a rule for determining the first shooting parameter information according to current shooting environment information and a rule for determining the first shooting parameter information according to a picture effect.
  • the environmental information may be things in the environment, ambient light, ambient weather, etc.
  • the picture effect may be that the color of the picture is relatively bright, some objects in the picture are blurred, and so on.
  • the first terminal device obtains the shooting parameter information corresponding to each of the three pictures, and according to the current shooting environment information (eg, the light intensity exceeds a threshold), the first terminal device checks the shooting parameter information corresponding to one of the three pictures. It can be used in places where the light is strong (the light intensity exceeds the threshold), that is, the shooting parameters corresponding to the shooting parameter information can reduce the influence caused by the light intensity or make the light intensity lower than the threshold during the shooting process.
  • the information selects the shooting parameter information corresponding to the picture, and takes a picture according to the shooting parameters corresponding to the shooting parameter information of the selected picture.
  • the first terminal device obtains the shooting parameter information corresponding to each of the three pictures, and according to the effect of the picture, some things are blurred, and the first terminal device finds that the shooting parameter information corresponding to one of the pictures can blur some things. is selected, the shooting parameter information of the picture is selected from the three pictures, and the picture is taken according to the shooting parameters corresponding to the shooting parameter information.
  • the first terminal device takes a picture according to the shooting parameters corresponding to the first shooting parameter information, and after obtaining the second picture, the first terminal receives a request message sent by the second terminal device, wherein the request message For requesting to send the shooting parameter information of the second picture, the first terminal device sends the shooting parameter information of the second picture to the second terminal device according to the request message.
  • the first terminal device sending the shooting parameter information of the second picture to the second terminal device according to the request message may send sharing information to the second terminal device through the sharing interface, where the sharing information includes shooting parameter information of the second picture.
  • the sharing interface includes at least one of a main interface, a standby interface, a notification bar and an instant messaging software interface of the first terminal device.
  • the first terminal device can obtain the first shooting parameter information of the first picture, such as at least one used to indicate the shooting mode, the effect of the shooting mode, the level parameter value of the effect, and the material information of the shooting mode
  • the first shooting parameter information of the first shooting parameter information is obtained, and then the shooting is performed according to the shooting parameters corresponding to the first shooting parameter information, and the shooting parameters can be quickly selected, thereby improving the shooting efficiency and helping to ensure the shooting effect.
  • FIG. 2 is a schematic flowchart of another photographing method according to an embodiment of the present application.
  • the photographing method described in this embodiment, applied to the first terminal device includes:
  • first shooting parameter information of a first picture where the first shooting parameter information is used to indicate at least one of a shooting mode, an effect of the shooting mode, a level parameter value of the effect, and material information of the shooting mode.
  • steps 201 to 202 may refer to the relevant descriptions of steps 101 to 102 in the above-mentioned photographing method, which will not be repeated here.
  • the first terminal device displays the second picture generated by taking the picture on the preview interface, so that the photographer can preview the picture in advance, and then evaluate the picture.
  • the preview interface is a camera shooting interface of the first terminal device.
  • the preview interface may not only refer to the camera shooting interface, but also other interfaces such as the main screen interface of the first terminal device.
  • the first terminal device identifies the preview result, and adjusts the second picture according to the identification result.
  • the first terminal device acquires the second shooting parameter information, and adjusts the second picture according to the shooting parameters corresponding to the second shooting parameter information, so that the The adjustment of the second shooting parameter to the second picture satisfies the preset condition.
  • the second shooting parameter information includes at least one shooting parameter, and the shooting parameter includes at least one of a shooting mode, an effect of the shooting mode, a level parameter value of the effect, and material information of the shooting mode.
  • the preset condition may be set by the system or set by the photographer.
  • the first terminal device can obtain the second shooting parameter information from the second terminal device again, for example, can send a message to the second terminal device again, the message is used to request the second shooting parameter information;
  • the second shooting parameter information is obtained from the shooting parameter information stored in the terminal device.
  • the first terminal device adjusts the second picture according to the shooting parameters corresponding to the second shooting parameter information, it outputs prompt information for saving the second picture.
  • the second shooting parameter information corresponding to the second picture is stored in the first preset position.
  • the first preset position may refer to the position of the exif information file and/or the position of the jpeg file of the second picture.
  • the manner of outputting the prompt information for saving the second picture may be by popping up a dialog box or outputting a voice prompt.
  • the first terminal device places the picture 1 on the preview interface, and determines that the preview result does not meet the preset conditions, then obtains the first terminal device to store the second shooting parameter information, the shooting parameter corresponding to the second shooting parameter information is the level parameter value corresponding to the shooting effect (the exposure is 20%), and the second picture is adjusted according to the shooting parameter.
  • the first terminal device Output the voice prompt information whether to save, after receiving the confirmation instruction of the prompt information, save the second shooting parameter information of the picture 1 in the exif information file position of the picture 1.
  • the first terminal device takes a picture to generate picture 2, assuming that the preset condition is that the area of the smart texture does not exceed half of the picture, the first terminal device places the picture 2 on the preview interface, and judges that the preview result does not meet the preset condition (that is, the smart texture has been more than half of the picture), then the first terminal device obtains the second shooting parameter information from the second terminal device, and the shooting parameter corresponding to the second shooting parameter information is a smart map with an area smaller than one third of the picture, and according to the shooting parameter Parameter adjustment of the second picture, after the adjustment is completed, the first terminal device outputs a dialog prompt message of whether to save, and after receiving a confirmation instruction for the prompt message, saves the second shooting parameter information of the picture 2 in the picture 2 The location of the exif information file.
  • the second shooting parameter information may include some shooting parameters in the first shooting parameter information. If the second shooting parameter information includes part of the shooting parameters in the first shooting parameter information, the second shooting parameter information may be saved. If the second shooting parameter information does not include the first shooting parameter, the acquired first shooting parameter information and the second shooting parameter information are combined to generate a new shooting parameter combination, that is, the combined first shooting parameter information and the second shooting parameter information. The new shooting parameter information formed by the shooting parameter information is stored in the preset position, so that the complete shooting parameter information of the picture can be obtained later.
  • the first terminal device can obtain the first shooting parameter information of the first picture, and take a picture according to the shooting parameters corresponding to the first shooting parameter information, and further, store the second picture generated by taking the picture in the
  • the preview interface is used to preview, and the first terminal device can adjust the second picture according to the preview result, which can improve the flexibility of picture editing, thereby improving the quality of the photographed picture.
  • user B's terminal device when user A's terminal device takes a picture, user B's terminal device also needs the same shooting parameters to take a picture.
  • the shooting parameters of the two terminal devices of user A and user B are different (as shown in FIG. 3a, the levels corresponding to shooting parameter 1, shooting parameter 2 and shooting parameter 3 in the two terminal devices are different ), then user A's terminal device detects that there is an operation to click the sharing interface (such as the share button of the camera application interface), and selects user B's terminal device, then the two terminal devices establish a direct connection through WIFI connection to shoot parameters.
  • user B's terminal device when the connection is established, user B's terminal device will pop up a dialog box prompt information, the dialog box prompt information includes "receive”, "OK” and "cancel", user B's terminal device After detecting the confirmation instruction, it will receive the shooting parameters corresponding to the picture sent by the terminal device of user A (that is, the levels corresponding to shooting parameter 1, shooting parameter 2 and shooting parameter 3), and after receiving the shooting parameters, generate a corresponding image with the user.
  • the display effect is shown in Figure 3c, and the shooting parameters can be used to directly take pictures.
  • FIG. 4 is a schematic flowchart of another photographing method according to an embodiment of the present application.
  • the photographing method described in this embodiment is applied to a terminal device, and can perform the steps of the first terminal device or the second terminal device, and the photographing method includes:
  • the first shooting parameter information is used to indicate at least one of a shooting mode, an effect of the shooting mode, a level parameter value of the effect, and material information of the shooting mode.
  • the terminal device before acquiring the first shooting parameter information of the first picture, acquires at least two pictures, and determines the first information associated with the at least two pictures, and then according to the information associated with the at least two pictures
  • the first information determines a first picture, where the first picture is one of at least two pictures, and the first information includes environmental information and/or time information. It can be understood as the following situations:
  • the terminal device acquires at least two pictures, and determines the environmental information associated with the at least two pictures according to the current environmental information set by the terminal. The terminal device determines whether the current environment information is consistent with the environment information associated with each of the at least two pictures, and if the environment information associated with a certain picture is consistent with the current environment information, the picture is determined as the first picture.
  • the terminal device obtains at least two pictures, and determines the time information associated with the at least two pictures according to the current time information set by the terminal, and the terminal device determines the time information associated with each of the at least two pictures. Whether the time information is consistent with the current time information, if the time information associated with a certain picture is consistent with the current time information, the picture is determined to be the first picture.
  • the terminal device obtains at least two pictures before taking pictures, wherein the current time information of the terminal device is 8:00 am, the terminal device determines the time information associated with the at least two pictures, and the terminal device determines the time associated with the at least two pictures Whether the information is consistent with the current time information (8:00 am) of the terminal device, if the time information associated with one of the at least two pictures is 8:00 am, the picture is determined to be the first picture.
  • the terminal device obtains at least two pictures, and determines the environment information and time information associated with the at least two pictures according to the current environment information and time information set by the terminal, and the terminal device determines Whether the current environment information and time information are consistent with the environment information and time information associated with each of the at least two pictures, if the environment information and time information associated with a certain picture are consistent with the current environment information and time information, then determine the The picture is the first picture.
  • the first shooting parameter information when the terminal device obtains the first shooting parameter information of the first picture, the first shooting parameter information may be obtained by a preset method, wherein the preset method includes a direct transmission method, an instant messaging method, and a network download method.
  • the preset method includes a direct transmission method, an instant messaging method, and a network download method.
  • the direct transmission method may be Bluetooth, WIFI direct connection, etc.
  • the instant messaging may be QQ, WeChat, etc.
  • the network download may be browser download.
  • acquiring the first shooting parameter information of the first picture by the terminal device may also be acquiring the first shooting parameter information of the first picture through a sharing interface of the terminal device, wherein the sharing interface may be a main interface and a standby interface of the terminal device. , at least one of notification bar and instant messaging software interface.
  • the second shooting parameter information is used to indicate at least one of a shooting mode, an effect of the shooting mode, a level parameter value of the effect, and material information of the shooting mode.
  • the terminal device may acquire the second shooting parameter stored by the terminal device according to the first shooting parameter, wherein the acquired second shooting parameter information may include the first shooting parameter information or the acquired second shooting parameter information. is other shooting parameter information except the first shooting parameter information.
  • the terminal device will take a photo according to the second shooting parameter information; For other shooting parameter information other than the shooting parameter information, the terminal device takes a picture according to the first shooting parameter information and the second shooting parameter information.
  • the terminal device matches the photographing parameters corresponding to the second photographing parameter information according to the photographing parameters corresponding to the first photographing parameter information, and takes pictures according to the photographing parameters corresponding to the matched second photographing parameter information, for example,
  • the photographing parameter corresponding to the first photographing parameter information is a photographing mode
  • the photographing mode is a panoramic mode.
  • the terminal device matches the photographing parameter corresponding to the second photographing parameter information according to the panoramic mode, and the photographing parameter corresponding to the second photographing parameter information matched by the terminal device is: Panorama mode, the terminal device takes pictures according to the matched panorama mode.
  • the terminal device after the terminal device takes a photo according to the first shooting parameter information and the second shooting parameter information, the terminal device will output the first prompt information, and if a confirmation instruction for the first prompt information is detected, the Obtain third shooting parameter information, where the third shooting parameter information includes shooting parameters, and the shooting parameters include at least one of a shooting mode, an effect of the shooting mode, a level parameter value of the effect, and material information of the shooting mode, according to The third shooting parameter information adjusts the second picture.
  • the first prompt information is used to indicate whether to adjust the second picture generated by taking a photo, and the output of the first prompt information may be in the form of a text box to display the first prompt information, or the first prompt information may be output by voice, so that the photographer can display the first prompt information in the form of a text box.
  • the generated second picture can be adjusted in time according to the desired effect.
  • the terminal device after the terminal device takes a photo according to the first shooting parameter information and the second shooting parameter information, the terminal device outputs second prompt information, where the second prompt information is used to indicate whether to save the first image generated after taking the photo.
  • the shooting parameter information of the second picture is stored in the preset position in the form of a file and/or a picture.
  • the terminal device may only save the shooting parameter information of the second picture, or both the second picture and the shooting parameter information of the second picture may be stored in the preset position. .
  • the terminal device obtains the first shooting parameter information of the first picture, and obtains the second shooting parameter information stored in the terminal device according to the first shooting parameter information, and then according to the first shooting parameter information and the second shooting parameter Information to take pictures, you can quickly select the appropriate shooting parameter information, so as to ensure the photo effect.
  • FIG. 5 is a schematic flowchart of another photographing method according to an embodiment of the present application.
  • the photographing method described in this embodiment can perform the steps of the first terminal device or the second terminal device, and the photographing method includes:
  • the terminal device first acquires the first picture, and displays the first picture in a preset position of the terminal device.
  • the preset position includes a preset position of a designated interface of the terminal device, wherein the designated interface includes at least one of an album interface, a main interface, a standby interface, and a camera shooting interface; or, a preset interface Set the position as the floating frame of the terminal device interface.
  • the preset position of the designated interface is the entire interface of the main interface, if there is a picture in the main interface, the picture can be used as the first picture; or if there is a picture in the main interface, the picture is If it is not the obtained first picture, the first picture can be displayed on top of the picture on the main interface; or, the preset position of the designated interface does not require the entire interface of the main interface, and the preset position can be the upper right corner of the main interface. , upper left, etc.
  • the preset position of the standby interface can be set as the preset position of the main interface, that is, it can be the entire interface of the standby interface or does not need to occupy the entire standby interface, or it can be displayed at the preset position of the standby interface. Picture, such as the upper left corner, lower right corner, or middle position of the standby interface.
  • the preset position is the floating frame of the terminal device interface.
  • the terminal obtains the first picture
  • the first picture is displayed in the floating frame, and the display effect is as shown in Fig. 6a.
  • the preset position is the upper right corner of the camera shooting interface of the terminal device.
  • the terminal device After acquiring the first picture, the terminal device displays the first picture in the upper right corner of the camera shooting interface, and the display effect is shown in Fig. 6b.
  • the preset position of the specified interface includes at least one of the following: the preset position of the specified interface is the position of the first thumbnail in the album interface; or, the preset of the specified interface.
  • the position is the position of the last thumbnail in the album interface; or, the preset position of the specified interface is the position of the thumbnail determined according to the selection instruction in the album interface.
  • the album interface generally includes many pictures (that is, thumbnails), and the first picture can be displayed in place of the pictures in the album.
  • the first picture can be displayed at the position of the first thumbnail in the album interface; for another example, if the terminal device detects a selection instruction, it is assumed that the second thumbnail determined by the selection instruction is the preset position of the designated interface , the first picture is displayed at the position of the second thumbnail, and the display contrast effect is shown in Figure 6c.
  • the first picture may be displayed in different preset positions, and the times for displaying the first picture in different preset positions may be the same or different.
  • the display time of different preset positions can be set according to user needs.
  • the first picture can be displayed in two different preset positions with different display times.
  • the first preset position is the upper right corner of the camera shooting interface, and the preset time can be set to a longer time, such as in the camera shooting interface.
  • the upper right corner is displayed until the photo is completed.
  • the second preset position is in the upper right corner of the main interface.
  • the preset time can be set to a short time.
  • the first picture displayed in the upper right corner of the main interface is 5 minutes.
  • the terminal device takes a picture according to the displayed shooting parameter information of the first picture to generate the second picture
  • the second picture and the first picture are displayed in sub-regions on the interface of the terminal device, and the two pictures are displayed in sub-regions.
  • the first picture and the second picture can form a contrast, so that the user can see the effect of taking a picture to generate a picture. Two pictures are displayed in different areas.
  • the first picture and the second picture can be displayed in the upper area and the lower area of the camera shooting interface, and the display effect is as shown in FIG. 6d.
  • a target photographing mode is set in the terminal device, and the target photographing mode is used to instruct to display the first picture at a preset position and take a picture according to the displayed first picture.
  • the terminal device detects whether the terminal device enters the target photographing mode, and if it detects entering the target photographing mode, executes the step of displaying the first picture at a preset position of the terminal device.
  • the first picture before displaying the first picture at the preset position of the terminal device, the first picture is acquired through the sharing interface of the terminal device, and the sharing interface includes the main interface, standby interface, notification bar and instant messaging of the terminal device At least one of the software interfaces.
  • the terminal device acquires at least two pictures before displaying the first picture at a preset position of the terminal device, and determine first information associated with the at least two pictures, where the first information includes environmental information and/or time information, and is associated according to the at least two pictures
  • the first information of determines a first picture, and the first picture is one of at least two pictures.
  • the terminal device when receiving an operation instruction for selecting a picture, determines the first picture from a plurality of pictures according to the operation instruction.
  • the operation instruction for selecting a picture can be divided into two types: the first one is simply selecting the first picture according to the operation instruction; or selecting the first picture and determining the display position of the first picture according to the operation instruction .
  • the terminal device receives an operation instruction to select the first picture in the album, and uses the selected first picture as the first picture according to the operation instruction, and displays the first picture at the position of the first picture ( That is, the preset position of the terminal device).
  • the shooting parameter information is used to indicate at least one of a shooting mode, an effect of the shooting mode, a level parameter value of the effect, and material information of the shooting mode.
  • the terminal device may detect the displayed shooting parameter information of the first picture, and then take a picture according to the shooting parameter information of the first picture to generate the second picture.
  • the first picture is displayed at the preset position of the terminal device, and the second picture is generated by taking pictures according to the displayed shooting parameter information of the first picture, so that the effect of the picture generated by taking pictures can be seen more intuitively, so that there are Help with photo effects.
  • FIG. 7 is a schematic structural diagram of a photographing apparatus according to an embodiment of the present application.
  • the photographing device described in this embodiment is set on the first terminal device, and includes:
  • the obtaining module 701 is configured to obtain first shooting parameter information of a first picture, where the first shooting parameter information is used to indicate the shooting mode, the effect of the shooting mode, the level parameter value of the effect, and the value of the shooting mode. At least one of the material information;
  • the photographing module 702 is configured to photograph according to the photographing parameters corresponding to the first photographing parameter information.
  • the first photographing parameter information includes an identifier corresponding to the photographing parameter, and the photographing module 702 is specifically used for:
  • Photographs are taken according to the photographing parameters.
  • the obtaining module 701 is specifically used for:
  • the first shooting parameter information based on the point-to-point direct transmission connection established with the second terminal device; or obtain the first shooting parameter information through instant messaging software; or obtain the first shooting parameter information through the network; or , and the first shooting parameter information is determined based on the associated information with the first picture.
  • the apparatus further includes: a processing module 703, wherein:
  • the processing module 703 is configured to send a request message to the second terminal device if the shooting parameters corresponding to the first shooting parameter information are not stored in the first terminal device, where the request message is used to request shooting parameters,
  • the shooting parameters include at least one of a shooting mode, an effect of the shooting mode, a level parameter value of the effect, and material information of the shooting mode;
  • the processing module 703 is further configured to receive the shooting parameters sent by the second terminal device according to the request message;
  • the photographing module 702 is further configured to photograph according to the received photographing parameters.
  • the processing module 703 is further configured to receive sharing information sent by the second terminal device, preferably, the second terminal device sends the sharing information through a sharing interface, and the sharing information includes the first shooting parameters information.
  • processing module 703 is specifically configured to:
  • the sharing information sent by the second terminal device is received.
  • the second terminal device sends the sharing information through a sharing interface.
  • the photographing module 702 is specifically used for:
  • the first shooting parameter information of the at least two first pictures is obtained, selecting one of the first shooting parameter information of the at least two first pictures according to a preset rule;
  • the photographing is performed according to the photographing parameters corresponding to the first photographing parameter information of the selected first picture.
  • the preset rule includes at least one of a rule for determining the first shooting parameter information according to current shooting environment information and a rule for determining the first shooting parameter information according to a picture effect.
  • processing module 703 is specifically configured to:
  • Previewing the second picture generated after taking the photo on a preview interface wherein the preview interface is a camera shooting interface of the first terminal device;
  • the second picture is adjusted according to the preview result.
  • processing module 703 is specifically configured to:
  • the second shooting parameter information includes at least one shooting parameter
  • the shooting parameter includes a shooting mode, an effect of the shooting mode, and the effect at least one of the level parameter value of the shooting mode and the material information of the shooting mode
  • the second picture is adjusted according to the shooting parameters corresponding to the second shooting parameter information.
  • processing module 703 is specifically configured to:
  • the second shooting parameter information corresponding to the second picture is stored in a first preset location.
  • the first preset location includes Exif information file location and/or jpeg file location of the second picture.
  • processing module 703 is specifically configured to:
  • the first picture is determined according to the photographing effect of the third picture; and/or,
  • the first picture is determined according to a similarity matching result between at least two pictures obtained from the second terminal device and the third picture.
  • the obtaining module 701 is specifically used for:
  • the first shooting parameter information of the first picture that is acquired from the second preset position of the second terminal device and is sent by the second terminal device is received.
  • processing module 703 is specifically configured to:
  • each functional module of the photographing device in this embodiment can be specifically implemented according to the methods in FIG. 1 and FIG. 2 of the foregoing method embodiment, and the specific implementation process can refer to the relevant description of FIG. 1 and FIG. 2 of the foregoing method embodiment. , and will not be repeated here.
  • FIG. 8 is a schematic structural diagram of a photographing apparatus according to an embodiment of the present application.
  • the photographing device described in this embodiment includes:
  • the obtaining module 801 is configured to obtain first shooting parameter information of a first picture, where the first shooting parameter information is used to indicate a shooting mode, the effect of the shooting mode, the level parameter value of the effect, and the value of the shooting mode. At least one of the material information;
  • the obtaining module 801 is further configured to obtain second shooting parameter information stored in the terminal device according to the first shooting parameter information, where the second shooting parameter information is used to indicate the shooting mode, the effect of the shooting mode, the at least one of the level parameter value of the effect and the material information of the shooting mode;
  • the photographing module 802 is configured to photograph according to the first photographing parameter information and the second photographing parameter information.
  • the photographing module 802 is specifically used for:
  • the photographing is performed according to the photographing parameters corresponding to the matched second photographing parameter information.
  • the apparatus further includes: a processing module 803, wherein:
  • the obtaining module 801 is further configured to obtain at least two pictures
  • the processing module 803 is configured to determine first information associated with the at least two pictures, where the first information includes environmental information and/or time information;
  • the processing module 803 is further configured to determine a first picture according to the first information associated with the at least two pictures, where the first picture is one of the at least two pictures.
  • the obtaining module 801 is specifically used for:
  • first prompt information is used to indicate whether to adjust the second picture generated by taking a photo
  • third shooting parameter information includes shooting parameters
  • the shooting parameters include a shooting mode, an effect of the shooting mode, and the effect of the effect. at least one of a level parameter value and material information of the shooting mode.
  • processing module 803 is specifically configured to:
  • the second prompt information is used to indicate whether to save the second picture generated after taking the photo
  • the shooting parameter information of the second picture is stored in a preset position in the form of a file and/or a picture.
  • the obtaining module 801 is specifically used for:
  • the first shooting parameter information is acquired through a preset method, where the preset method includes at least one of a direct transmission method, an instant messaging method, and a network download method.
  • each functional module of the photographing device in this embodiment can be specifically implemented according to the method in FIG. 4 of the foregoing method embodiment, and the specific implementation process can refer to the relevant description of FIG. 4 in the foregoing method embodiment, which will not be repeated here. .
  • FIG. 9 is a schematic structural diagram of a photographing apparatus according to an embodiment of the present application.
  • the photographing device described in this embodiment includes:
  • a display module 901 configured to display a first picture at a preset position of the terminal device
  • the processing module 902 is configured to take a photo to generate a second picture according to the displayed shooting parameter information of the first picture, where the shooting parameter information is used to indicate the shooting mode, the effect of the shooting mode, the level parameter value of the effect and At least one of the material information of the shooting mode.
  • the display module 901 before displaying the first picture at the preset position of the terminal device, is specifically configured to:
  • Detecting whether the terminal device enters a target photographing mode where the target photographing mode is used to instruct to display a first picture at a preset position and take a picture according to the displayed first picture;
  • the step of displaying the first picture at the preset position of the terminal device is performed.
  • the preset position includes a preset position of a designated interface of the terminal device, wherein the designated interface includes at least one of an album interface, a main interface, a standby interface, and a camera shooting interface; or,
  • the preset position is a floating frame of the terminal device interface.
  • the preset position of the designated interface includes at least one of the following:
  • the preset position of the designated interface is the position of the first thumbnail in the album interface; or,
  • the preset position of the specified interface is the position of the last thumbnail in the album interface; or,
  • the preset position of the designated interface is the position of the thumbnail image determined according to the selection instruction in the album interface.
  • the display module 901 is further configured to: display the second picture and the first picture on the interface of the terminal device in sub-regions.
  • the processing module 902 is further configured to:
  • the first picture is determined from a plurality of pictures according to the operation instruction.
  • the processing module 902 is further configured to:
  • the first picture is acquired through a sharing interface of the terminal device, where the sharing interface includes at least one of a main interface, a standby interface, a notification bar and an instant messaging software interface of the terminal device.
  • the processing module 902 is further configured to:
  • first information associated with the at least two pictures, where the first information includes environmental information and/or time information;
  • the first picture is determined according to the first information associated with the at least two pictures, where the first picture is one of the at least two pictures.
  • each functional module of the photographing device in this embodiment can be specifically implemented according to the method in FIG. 5 of the foregoing method embodiment, and the specific implementation process can refer to the relevant description in FIG. 5 of the foregoing method embodiment, which will not be repeated here. .
  • FIG. 10 is a schematic structural diagram of a terminal device provided by an embodiment of the present application.
  • the terminal device in this embodiment is configured with a camera, and the terminal device may include: one or more processors 1001 ; one or more input devices 1002 , one or more output devices 1003 , and a memory 1004 .
  • the above-mentioned processor 1001 , input device 1002 , output device 1003 and memory 1004 are connected through a bus 1005 .
  • the memory 1002 is used for storing a computer program, and the computer program includes program instructions, and the processor 1001 is used for executing the program instructions stored in the memory 1002 to perform the following operations:
  • first shooting parameter information of the first picture where the first shooting parameter information is used to indicate at least one of a shooting mode, an effect of the shooting mode, a level parameter value of the effect, and material information of the shooting mode kind;
  • the photographing is performed according to the photographing parameters corresponding to the first photographing parameter information.
  • the processor 1001 is specifically configured to:
  • Photographs are taken according to the photographing parameters.
  • the processor 1001 is specifically configured to:
  • the first shooting parameter information is determined based on the associated information with the first picture.
  • the processor 1001 is further configured to:
  • a request message is sent to the second terminal device, where the request message is used to request shooting parameters, and the shooting parameters include shooting mode, at least one of the effect of the shooting mode, the level parameter value of the effect, and the material information of the shooting mode;
  • Photographs are taken according to the received photographing parameters.
  • the processor 1001 is specifically configured to:
  • the second terminal device preferably, the second terminal device sends the sharing information through a sharing interface, and the sharing information includes the first shooting parameter information.
  • the processor 1001 is specifically configured to:
  • the sharing information sent by the second terminal device is received.
  • the second terminal device sends the sharing information through a sharing interface.
  • the processor 1001 is specifically configured to:
  • the first shooting parameter information of the at least two first pictures is obtained, selecting one of the first shooting parameter information of the at least two first pictures according to a preset rule;
  • the photographing is performed according to the photographing parameters corresponding to the first photographing parameter information of the selected first picture.
  • the preset rule includes at least one of a rule for determining the first shooting parameter information according to current shooting environment information and a rule for determining the first shooting parameter information according to a picture effect.
  • the processor 1001 is further configured to:
  • Previewing the second picture generated after taking the photo on a preview interface wherein the preview interface is a camera shooting interface of the first terminal device;
  • the second picture is adjusted according to the preview result.
  • the processor 1001 is specifically configured to:
  • the second shooting parameter information includes at least one shooting parameter
  • the shooting parameter includes a shooting mode, an effect of the shooting mode, and the effect at least one of the level parameter value of the shooting mode and the material information of the shooting mode
  • the second picture is adjusted according to the shooting parameters corresponding to the second shooting parameter information.
  • the processor 1001 is further configured to:
  • the second shooting parameter information corresponding to the second picture is stored in a first preset location.
  • the first preset location includes Exif information file location and/or jpeg file location of the second picture.
  • the processor 1001 is further configured to:
  • the first picture is determined according to the photographing effect of the third picture; and/or,
  • the first picture is determined according to a similarity matching result between at least two pictures obtained from the second terminal device and the third picture.
  • the processor 1001 is specifically configured to:
  • the first shooting parameter information of the first picture that is acquired from the second preset position of the second terminal device and is sent by the second terminal device is received.
  • the processor 1001 is further configured to:
  • the processor 1001 is configured to execute program instructions stored in the memory 1002, and perform the following operations:
  • first shooting parameter information of the first picture where the first shooting parameter information is used to indicate a shooting mode, at least one of the effect of the shooting mode, the level parameter value of the effect, and the material information of the shooting mode kind;
  • Second shooting parameter information stored in the terminal device according to the first shooting parameter information, where the second shooting parameter information is used to indicate the shooting mode, the effect of the shooting mode, the level parameter value of the effect, and the shooting at least one of the material information of the mode;
  • Photographing is performed according to the first photographing parameter information and the second photographing parameter information.
  • the processor 1001 is specifically configured to:
  • the photographing is performed according to the photographing parameters corresponding to the matched second photographing parameter information.
  • the processor 1001 is further configured to:
  • first information associated with the at least two pictures, where the first information includes environmental information and/or time information;
  • the first picture is determined according to the first information associated with the at least two pictures, and the first picture is one of the at least two pictures.
  • the processor 1001 is further configured to:
  • first prompt information is used to indicate whether to adjust the second picture generated by taking a photo
  • third shooting parameter information includes shooting parameters
  • the shooting parameters include a shooting mode, an effect of the shooting mode, and the effect of the effect. at least one of a level parameter value and material information of the shooting mode.
  • the second picture is adjusted according to the third shooting parameter information.
  • the processor 1001 is further configured to:
  • the second prompt information is used to indicate whether to save the second picture generated after taking the photo
  • the shooting parameter information of the second picture is stored in a preset position in the form of a file and/or a picture.
  • the processor 1001 is specifically configured to:
  • the first shooting parameter information is acquired through a preset method, where the preset method includes at least one of a direct transmission method, an instant messaging method, and a network download method.
  • the processor 1001 is configured to execute program instructions stored in the memory 1002, and perform the following operations:
  • the second picture is generated by taking pictures according to the displayed shooting parameter information of the first picture, where the shooting parameter information is used to indicate the shooting mode, the effect of the shooting mode, the level parameter value of the effect and the material of the shooting mode at least one of the information.
  • the processor 1001 is further configured to:
  • Detecting whether the terminal device enters a target photographing mode where the target photographing mode is used to instruct to display a first picture at a preset position and take a picture according to the displayed first picture;
  • the step of displaying the first picture at the preset position of the terminal device is performed.
  • the preset position includes a preset position of a designated interface of the terminal device, wherein the designated interface includes at least one of an album interface, a main interface, a standby interface, and a camera shooting interface; or,
  • the preset position is a floating frame of the terminal device interface.
  • the preset position of the designated interface includes at least one of the following:
  • the preset position of the designated interface is the position of the first thumbnail in the album interface; or,
  • the preset position of the specified interface is the position of the last thumbnail in the album interface; or,
  • the preset position of the designated interface is the position of the thumbnail image determined according to the selection instruction in the album interface.
  • the processor 1001 is further configured to:
  • the second picture and the first picture are displayed on the interface of the terminal device in sub-areas.
  • the processor 1001 is further configured to:
  • the first picture is determined from a plurality of pictures according to the operation instruction.
  • the processor 1001 is further configured to:
  • the first picture is acquired through a sharing interface of the terminal device, where the sharing interface includes at least one of a main interface, a standby interface, a notification bar and an instant messaging software interface of the terminal device.
  • the processor 1001 is further configured to:
  • first information associated with the at least two pictures, where the first information includes environmental information and/or time information;
  • the first picture is determined according to the first information associated with the at least two pictures, where the first picture is one of the at least two pictures.
  • the processor 1001 may be a central processing unit (Central Processing Unit, CPU), and the processor 1001 may also be other general-purpose processors, digital signal processors (Digital Signal Processor, DSP) ), Application Specific Integrated Circuit (ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
  • a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
  • the memory 1004 may include read only memory and random access memory, and provides instructions and data to the processor 1001 .
  • a portion of memory 1004 may also include non-volatile random access memory.
  • the processor 1001 , the input device 1002 , the output device 1003 , and the memory 1004 described in the embodiments of the present application may perform the implementations described in the photographing methods provided in the embodiments of the present application, and may also execute the implementations described in the embodiments of the present application. The implementation manner of the described photographing device will not be repeated here.
  • the embodiments of the present application also provide a computer program product, the computer program product includes computer program code, when the computer program code is run on a computer, the computer is made to execute the method described in the various possible implementation manners above.
  • An embodiment of the present application further provides a chip, including a memory and a processor, where the memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that a chip installed with the chip is
  • the apparatus performs the method as described in the various possible embodiments above.
  • first, second, third, etc. may be used herein to describe various information, such information should not be limited by these terms. These terms are only used to distinguish the same type of information from each other.
  • first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of this document.
  • the word “if” as used herein can be interpreted as “at the time of” or “when” or “in response to determining”, depending on the context.
  • the singular forms "a,” “an,” and “the” are intended to include the plural forms as well, unless the context dictates otherwise.
  • step codes such as 101 and 102 are used for the purpose of expressing the corresponding content more clearly and briefly, and do not constitute a substantial limitation on the sequence. Those skilled in the art may 102 will be executed first and then 101, etc., but these should all fall within the protection scope of this application.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)

Abstract

本申请实施例提供了一种拍照方法、相关设备及计算机可读存储介质,其中方法包括:获取第一图片的第一拍摄参数信息,所述第一拍摄参数信息用于指示拍摄模式、所述拍摄模式的效果、所述效果的级别参数值和所述拍摄模式的素材信息中的至少一种;根据所述第一拍摄参数信息对应的拍摄参数进行拍照。通过本申请实施例可以快速选取合适的拍摄参数,从而提高拍照效率,且有助于确保拍照效果。

Description

一种拍照方法、相关设备及计算机可读存储介质 技术领域
本申请涉及拍照技术领域,尤其涉及一种拍照方法、相关设备及计算机可读存储介质。
背景技术
随着拍照技术的发展,相机中预先存储着各种各样的效果和素材,以供拍摄者选择,但是在拍摄照片过程中,一般采用两种方式进行拍照,一种基于拍摄者主动选择对应的效果和素材进行拍照,第二种利用相机中默认的设置进行拍照,前者导致拍摄者将大部分时间花费在选择效果和素材上,拍照效率较低,拍照得到的图片效果较差;后者拍照得到的图片可能无法满足拍摄者的需求。因此,如何选择合适的拍摄参数,提高拍照效率成为亟需解决的问题。
前面的叙述在于提供一般的背景信息,并不一定构成现有技术。
发明内容
本申请实施例提供了一种拍照方法、相关设备及计算机可读存储介质,可以快速选取合适的拍摄参数,从而提高拍照效率,且有助于确保拍照效果。
本申请实施例第一方面提供了一种拍照方法,应用于第一终端设备,包括:
获取第一图片的第一拍摄参数信息,所述第一拍摄参数信息用于指示拍摄模式、所述拍摄模式的效果、所述效果的级别参数值和所述拍摄模式的素材信息中的至少一种;
根据所述第一拍摄参数信息对应的拍摄参数进行拍照。
本申请实施例第二方面提供了一种拍照方法,包括:
获取第一图片的第一拍摄参数信息,所述第一拍摄参数信息用于指示拍摄模式,所述拍摄模式的效果、所述效果的级别参数值和所述拍摄模式的素材信息中的至少一种;
根据所述第一拍摄参数信息获取终端设备存储的第二拍摄参数信息,所述第二拍摄参数信息用于指示拍摄模式、所述拍摄模式的效果、所述效果的级别参数值和所述拍摄模式的素材信息中的至少一种;
根据第一拍摄参数信息和第二拍摄参数信息进行拍照。
本申请实施例第三方面提供了一种拍照方法,包括:
在终端设备的预设位置显示第一图片;
根据所述显示的第一图片的拍摄参数信息拍照生成第二图片,所述拍摄参数信息用于指示拍摄模式、所述拍摄模式的效果、所述效果的级别参数值和所述拍摄模式的素材信息中的至少一种。
本申请实施例第四方面提供了一种拍照装置,设置于第一终端设备,所述装置包括:
获取模块,用于获取第一图片的第一拍摄参数信息,所述第一拍摄参数信息用于指示拍摄模式、所述拍摄模式的效果、所述效果的级别参数值和所述拍摄模式的素材信息中的至少一种;
拍照模块,用于根据所述第一拍摄参数信息对应的拍摄参数进行拍照。
本申请实施例第五方面提供了一种拍照装置,所述装置包括:
获取模块,用于获取第一图片的第一拍摄参数信息,所述第一拍摄参数信息用于指示拍摄模式,所述拍摄模式的效果、所述效果的级别参数值和所述拍摄模式的素材信息中的至少一种;
所述获取模块,还用于根据所述第一拍摄参数信息获取终端设备存储的第二拍摄参数信息,所述第二拍摄参数信息用于指示拍摄模式、所述拍摄模式的效果、所述效果的级别参数值和所述拍摄模式的素材信息中的至少一种;
拍照模块,用于根据第一拍摄参数信息和第二拍摄参数信息进行拍照。
本申请实施例第六方面提供了一种拍照装置,所述装置包括:
显示模块,用于在终端设备的预设位置显示第一图片;
拍照模块,用于根据所述显示的第一图片的拍摄参数信息拍照生成第二图片,所述拍摄参数信息用于指示拍摄模式、所述拍摄模式的效果、所述效果的级别参数值和所述拍摄模式的素材信息中的至少一种。
本申请实施例第七方面提供了一种终端设备,其特征在于,包括处理器和存储器,其中,所述存储器用于存储计算机程序,所述计算机程序包括程序指令,所述处理器被配置用于调用所述程序指令,执行上述第一方面或第二方面或第三方面所述的方法。
本申请实施例第八方面提供了一种计算机可读存储介质,所述可读存储介质存储有计算机程序,所述计算机程序包括程序指令,所述程序指令当被处理器执行时使所述处理器执行执行上述第一方面或第二方面或第三方面所述的方法。
在本申请实施例中,第一终端设备能够通过获取第一图片的第一拍摄参数信息,如用于指示拍摄模式、拍摄模式的效果、效果的级别参数值和拍摄模式的素材信息中的至少一种的第一拍摄参数信息,进而根据第一拍摄参数信息对应的拍摄参数进行拍照,可以快速选取合适的拍摄参数,从而提高拍照效率,且有助于确保拍照效果。
附图说明
图1是本申请实施例提供的一种拍照方法的流程示意图;
图2是本申请实施例提供的另一种拍照方法的流程示意图;
图3a是本申请提供的两终端设备拍照参数不同的示意图;
图3b是本申请提供的终端设备输出对话框提示信息的示意图;
图3c是本申请提供的两终端设备设置为相同拍照参数的示意图;
图4是本申请实施例提供的又一种拍照方法的流程示意图;
图5是本申请实施例提供的再一种拍照方法的流程示意图;
图6a是本申请实施例提供的在终端设备的悬浮框显示第一图片的示意图;
图6b是本申请实施例提供的在终端设备的相机拍摄界面的右上角显示第一图片的示意图;
图6c是本申请实施例提供的一种根据选择指令在第二张缩略图的位置显示第一图片的示意图;
图6d是本申请实施例提供的一种分区域显示两个图片的示意图;
图7是本申请实施例提供的一种拍照装置的结构示意图;
图8是本申请实施例提供的另一种拍照装置的结构示意图;
图9是本申请实施例提供的又一种拍照装置的结构示意图;
图10是本申请实施例提供的一种终端设备的结构示意图。
具体实施方式
本申请的说明书和权利要求书及上述附图说明中的术语“包括”和“具有”以及它们的任何变形,意图在于覆盖不排他的包含。本申请的说明书和权利要求书或上述附图中的术语 “第一”、“第二”等是用于区别不同对象,而不是用于描述特定顺序。
本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。
在进行拍照时,生成的图片可能是基于拍摄者对相机中存储的拍摄参数选择组合生成的,或者在大部分情况下,该图片可能是基于相机中默认的拍摄参数进行拍照生成,因此得到的图片可能也无法满足拍摄者的需求。而本申请实施例提供一种拍照方法,可以通过获取某张图片的拍摄参数信息,并根据该拍摄参数信息进行拍照,提高拍照效率,从而有助于确保拍照效果。
在一种可行的实施例中,当需要获取某张图片的拍照参数信息时,第一终端设备可以向存储有该图片的第二终端设备获取该图片对应的拍摄参数信息,然后根据拍摄参数信息进行拍照,得到相同效果的图片。
请参阅图1,为本申请实施例提供的一种拍照方法的流程示意图。本实施例中所描述的拍照方法,应用于第一终端设备,包括以下步骤:
101、获取第一图片的第一拍摄参数信息,该第一拍摄参数信息用于指示拍摄模式、该拍摄模式的效果、该效果的级别参数值和该拍摄模式的素材信息中的至少一种。
其中,上述第一拍摄参数信息可以是拍摄参数对应的标识,也可以是拍摄参数。通过获取第一拍摄参数信息可以获得拍摄模式、该拍摄模式的效果、该效果的级别参数值和该拍摄模式的素材信息中的至少一种。拍摄模式可以是全景拍摄模式、人像模式、夜景人像模式、微距模式等等,该拍摄模式对应的效果可以是全景拍摄模式的效果、人像模式的效果等等,拍摄模式的素材信息可以美颜、滤镜、智能贴图、虚化等等。
可选地,该拍摄参数对应的标识可以是一组拍摄参数对应一个标识,也可以是每个拍摄参数对应一个标识。例如,拍摄参数中不同的拍摄模式会对应不同标识(或ID),拍摄模式的不同效果会对应不同的标识(或ID);又例如,一组拍摄参数包括全景模式和美颜,将该全景模式和美颜对应不同的标识。
在一种可行的实施例中,第一终端设备需要先确定获取哪一张图片,从而根据该图片获取对应的拍摄参数信息。因此,第一终端设备可以根据第一终端设备所处的环境信息确定第一图片,其中该环境信息可以环境中事物、环境光线、环境天气。
例如,第一终端设备检测当前所处的环境事物,发现该环境事物为某个著名建筑物,正好与第一图片中的环境事物相匹配,则可以确定选取第一图片。
可选地,第一终端设备根据拍摄者的风格等等,并结合环境信息确定第一图片,例如,第一终端设备统计以前拍摄者拍照时设置的拍摄参数,然后根据当前环境信息确定选取第一图片。
在一种可行的实施例中,第一终端设备可以先在预览界面生成第三图片,根据第三图片的拍照效果确定第一图片;和/或根据从第二终端设备中获取的至少两个图片与第三图片的相似度匹配结果确定第一图片。
例如,第一终端设备在拍照的时候,先随意拍一张图片(第三图片),第一终端设备根据该图片的拍照效果自动从至少两个图片中匹配确定第一图片,假设该图片的拍照效果为磨皮等级超过阈值,则第一终端设备会选择磨皮等级不超过阈值的图片(即第一图片)。再例如,第一终端设备在拍照的时候,先随意拍一张图片(第三图片),并从第二终端设备中获取两张图片,分别为图A、图B,根据该图片中事物特点与该两张图片进行匹配,若图A与拍照生成的图片相似度高于90%,则根据相似度,第一终端设备确定选择图A(即第一图片)。
在一种可行的实施例中,第一终端设备可以基于与第二终端设备建立的点对点的直传连接获取第一拍摄参数信息,其中,建立的点对点的直传可以是通过蓝牙、WIFI直连等方 式建立点对点的直传;可以通过即时通讯软件获取第一拍摄参数信息,其中,即时通信软件可以是QQ、微信、飞信等等;或者第一终端设备通过网络获取第一拍摄参数信息,这里通过网络获取可以是指通过某个浏览器获取等等;或,基于与第二终端设备的第一图片的关联信息确定第一拍摄参数信息,其中与第一图片的关联信息可以是指拍摄时间、拍摄地点等。
例如,当出去游玩时中想要获取队友拍摄的某张图片时,在近距离范围内,第一终端设备可以利用蓝牙建立点对点直传连接,获取到该图片对应的拍摄参数信息;又例如,当想要获取QQ好友拍摄的某张图片时,则第一终端设备可以通过QQ获取该图片对应的拍摄参数信息。再例如,第一终端设备可以获取与这张图片的关联信息,该关联信息为该图片的拍摄时间、拍摄模式,根据该关联信息确定出该张图片的拍摄参数信息。
在一种可行的实施例中,第一终端设备可以接收第二终端设备发送的分享信息,优选地,第二终端设备通过分享界面发送分享信息,该分享信息里面携带有第一拍摄参数信息。
进一步地,第一终端设备在检测到第二终端设备发送的分享信息,会输出提示信息,当检测到针对该提示信息的确认指令,第一终端设备接收第二终端设备发送的分享信息,优选地,第二终端设备通过分享界面发送分享信息。其中,输出提示信息的方式可以是输出对话框提示的方式或者输出语音提示的方式。
例如,该分享信息包括第一拍摄参数信息对应的拍摄参数,当检测到第二终端设备发送的分享信息,第一终端设备弹出对话框,该对话框中有接收和取消两个选项,若第一终端设备检测到对提示信息的确认指令,则接收通过分享界面发送的第一拍摄参数信息对应的拍摄参数。
在一种可行的实施例中,第一终端设备获取第一图片的第一拍摄参数信息可以是接收第二终端设备发送的从第二终端设备的第二预设位置获取的第一图片的第一拍摄参数信息。第二终端设备将第一图片的第一拍摄参数信息保存在第二预设位置,因此第一终端设备接收第二终端设备在第二预设位置获取的第一拍摄参数信息,其中,第二预设位置可以是第一图片的exif信息文件位置和/或jpeg文件位置。
在一种可行的实施例中,该第一拍摄参数信息可以是以文件形式或者图片形式呈现。
102、根据第一拍摄参数信息对应的拍摄参数进行拍照。
在一种可行的实施例中,第一拍摄参数信息包括拍摄参数对应的标识,第一终端设备在接收到拍摄参数对应的标识后,根据该标识确定拍摄参数,并根据该拍摄参数进行拍照。
进一步地,若该标识对应的拍摄参数没有存储在第一终端设备,则第一终端设备向第二终端设备(或其他存储有该标识对应的拍摄参数的设备,如服务器)发送请求消息,该请求消息用于请求该标识对应的拍摄参数,然后第一终端设备接收第二终端设备根据请求消息发送的拍摄参数,并根据接收到的拍摄参数进行拍照。
在一种可行的实施例中,第一终端设备在拍照之前,可能会获取到至少两个第一图片的第一拍摄参数信息,第一终端设备需要根据预设规则选择至少两个第一图片的第一拍摄参数信息中的一个,然后根据选择的第一图片的第一拍摄参数信息对应的拍摄参数进行拍照。
可选地,预设规则包括根据当前拍摄的环境信息确定第一拍摄参数信息的规则和按照图片效果确定第一拍摄参数信息的规则中的至少一种。
其中,该环境信息可以是环境中事物、环境光线、环境天气等等,图片效果可以是图片色彩比较亮、图片中部分物体虚化等等。
例如,第一终端设备获取到三张图片中每张图片对应的拍摄参数信息,根据当前拍摄的环境信息(如光线强度超过阈值),而第一终端设备检查到其中一张对应的拍摄参数信息可以在光线较强(光线强度超过阈值)地方使用,即该拍摄参数信息对应的拍摄参数可以 降低光线强度造成的影响或者使得光线强度在拍照过程低于阈值,第一终端设备根据当前拍摄的环境信息选择出该图片对应的拍摄参数信息,根据选择的图片的拍摄参数信息对应的拍摄参数进行拍照。
又例如,第一终端设备获取到三张图片中每张图片对应的拍摄参数信息,根据图片效果为部分事物虚化,第一终端设备发现其中一张图片对应的拍摄参数信息可以将部分事物虚化,则从三张图片中选择该图片的拍摄参数信息,并根据该拍摄参数信息对应的拍摄参数进行拍照。
在一种可行的实施例中,第一终端设备根据第一拍摄参数信息对应的拍摄参数进行拍照,得到第二图片之后,第一终端接收第二终端设备发送的请求消息,其中,该请求消息用于请求发送第二图片的拍摄参数信息,第一终端设备根据请求消息向第二终端设备发送第二图片的拍摄参数信息。
进一步地,第一终端设备根据请求消息向第二终端设备发送第二图片的拍摄参数信息可以通过分享界面向第二终端设备发送分享信息,该分享信息包括第二图片的拍摄参数信息。其中,分享界面包括第一终端设备的主界面、待机界面、通知栏和即时通信软件界面中的至少一种。
在本实施例中,第一终端设备能够通过获取第一图片的第一拍摄参数信息,如用于指示拍摄模式、拍摄模式的效果、效果的级别参数值和拍摄模式的素材信息中的至少一种的第一拍摄参数信息,进而根据第一拍摄参数信息对应的拍摄参数进行拍照,可以快速选取拍摄参数,从而提高拍照效率,且有助于确保拍照效果。
请参阅图2,为本申请实施例提供的另一种拍照方法的流程示意图。本实施例中所描述的拍照方法,应用于第一终端设备,包括:
201、获取第一图片的第一拍摄参数信息,该第一拍摄参数信息用于指示拍摄模式、该拍摄模式的效果、该效果的级别参数值和该拍摄模式的素材信息中的至少一种。
202、根据第一拍摄参数信息对应的拍摄参数进行拍照。
其中,步骤201~202的具体实现方式可以参见上述拍照方法中步骤101~102中的相关描述,此处不再赘述。
203、将拍照后生成的第二图片在预览界面进行预览,其中,预览界面为第一终端设备的相机拍摄界面。
具体的,第一终端设备在拍照之后,将拍照生成的第二图片在预览界面显示,以使得拍摄者可以提前预览图片,进而对该图片进行评估。其中,预览界面为第一终端设备的相机拍摄界面,当然该预览界面可以不只是指相机拍摄界面,还可以是其他界面如第一终端设备的主屏界面。
204、根据预览结果对第二图片进行调整。
具体的,第一终端设备对预览结果进行识别,并根据识别结果对第二图片进行调整。
在一种可行的实施例中,若预览结果不满足预设条件,则第一终端设备获取第二拍摄参数信息,根据第二拍摄参数信息对应的拍摄参数对第二图片进行调整,从而使得通过第二拍摄参数对第二图片调整满足预设条件。其中,第二拍摄参数信息包括至少一个拍摄参数,该拍摄参数包括拍摄模式、拍摄模式的效果、效果的级别参数值和拍摄模式的素材信息中的至少一种。该预设条件可以是系统设置的,也可以是拍摄者设置的。
可选地,第一终端设备可以从第二终端设备再次获取第二拍摄参数信息,例如,可以再次向第二终端设备发送消息,该消息用于请求第二拍摄参数信息;也可以从第一终端设备存储的拍摄参数信息中获取第二拍摄参数信息。
进一步地,第一终端设备根据第二拍摄参数信息对应的拍摄参数对第二图片进行调整后,输出保存第二图片的提示信息,当第一终端设备检测到针对保存第二图片的提示信息 的确认指令,则将第二图片对应的第二拍摄参数信息存储在第一预设位置。其中第一预设位置可以是指第二图片的exif信息文件位置和/或jpeg文件的位置。其中,输出保存第二图片的提示信息的方式可以是通过弹出对话框或者输出语音提示。
例如,拍照生成图片1,假设预设条件为曝光度不高于40%,第一终端设备将图片1放在预览界面,并判断该预览结果不满足预设条件,则获取第一终端设备存储的第二拍摄参数信息,该第二拍摄参数信息对应的拍摄参数为拍摄效果对应的级别参数值(曝光度为20%),根据该拍摄参数调整第二图片,在调整之后,第一终端设备输出是否保存的语音提示信息,在接收到对该提示信息的确认指令后,将该图片1的第二拍摄参数信息保存在图片1的exif信息文件位置。
又例如,拍照生成图片2,假设该预设条件为智能贴图面积不超过图片的一半,第一终端设备将图片2放在预览界面,并判断该预览结果不满足预设条件(即智能贴图已经超过图片的一半),则第一终端设备从第二终端设备获取第二拍摄参数信息,该第二拍摄参数信息对应的拍摄参数为面积小于该图片三分之一的智能贴图,并根据该拍摄参数调整第二图片,在调整完成之后,第一终端设备输出是否保存的对话框提示信息,在接收到对该提示信息的确认指令后,将该图片2的第二拍摄参数信息保存在图片2的exif信息文件位置。
需要说明的是,该第二拍摄参数信息可以是包括第一拍摄参数信息中的部分拍摄参数。若第二拍摄参数信息包括第一拍摄参数信息中的部分拍摄参数,则将第二拍摄参数信息保存就可以了。若第二拍摄参数信息不包括第一拍摄参数,则将获取的第一拍摄参数信息以及第二拍摄参数信息进行组合,生成新的拍摄参数组合,即将组合后的第一拍摄参数信息以及第二拍摄参数信形成新的拍摄参数信息都保存在预设位置,以便后续能够获取该图片完整的拍摄参数信息。
在本申请实施例中,第一终端设备能够获取第一图片的第一拍摄参数信息,并根据第一拍摄参数信息对应的拍摄参数进行拍照,进一步地,将拍照生成后的第二图片片在预览界面进行预览,第一终端设备可以根据预览结果对第二图片进行调整,可以提高对图片编辑的灵活性,从而提高拍照图片的质量。
下面结合一个具体场景对上述实施例进行详细的说明。
在一种可行的实施例中,当用户A的终端设备拍摄了一张图片,用户B的终端设备也需要同样的拍摄参数进行拍照。如图3a所示,此时用户A和用户B的两个终端设备拍照的拍摄参数不同(如图3a所示,两个终端设备中拍摄参数1、拍摄参数2和拍摄参数3对应的等级不同),然后用户A的终端设备检测到有点击分享界面(如相机应用界面的分享按钮)的操作,并选择用户B的终端设备,则两个终端设备通过WIFI连接方式建立直传连接进行拍摄参数传递,如图3b所示,当建立连接后,用户B的终端设备会弹出对话框的提示信息,该对话框提示信息包括“是否接收”、“确定”和“取消”,用户B的终端设备检测到确定指令之后,会接收用户A的终端设备发送的与该图片对应的拍摄参数(即拍摄参数1、拍摄参数2和拍摄参数3对应的等级),并在接收到拍摄参数之后生成与用户A的终端设备中相同的拍摄参数,显示效果如图3c所示,并利用该拍摄参数可以直接进行拍照。
请参阅图4,为本申请实施例提供的又一种拍照方法的流程示意图。本实施例中所描述的拍照方法,应用于终端设备,可以执行第一终端设备或者第二终端设备的步骤,该拍照方法包括:
401、获取第一图片的第一拍摄参数信息。
其中,第一拍摄参数信息用于指示拍摄模式、该拍摄模式的效果、该效果的级别参数值和该拍摄模式的素材信息中的至少一种。
在一种可行的实施例中,在获取第一图片的第一拍摄参数信息之前,终端设备获取至少两个图片,并确定至少两个图片关联的第一信息,进而根据至少两个图片关联的第一信 息确定第一图片,其中,第一图片为至少两个图片中的一个,第一信息包括环境信息和/或时间信息。可以理解为以下情况:
第一,若第一信息为环境信息,终端设备获取至少两个图片,并根据终端设当前的环境信息,确定至少两个图片关联的环境信息。终端设备判断当前的环境信息和至少两个图片中每个图片关联的环境信息是否一致,若某个图片关联的环境信息与当前环境信息一致,则确定该图片为第一图片。
第二,若第一信息为时间信息,终端设备获取至少两个图片,并根据终端设当前的时间信息确定至少两个图片关联的时间信息,终端设备判断至少两个图片中每个图片关联的时间信息与当前的时间信息是否一致,若某个图片关联的时间信息与当前时间信息一致,则确定该图片为第一图片。例如,终端设备在拍照之前,获取至少两个图片,其中,终端设备当前的时间信息为早上8点,终端设备确定至少两个图片关联的时间信息,终端设备判断至少两个图片上关联的时间信息是否与终端设备当前的时间信息(早上8点)一致,若至少两个图片中有一个图片上关联的时间信息为早上8点,则确定该图片为第一图片。
第三,若第一信息为环境信息和时间信息,终端设备获取至少两个图片,并根据终端设当前的环境信息和时间信息,确定至少两个图片关联的环境信息和时间信息,终端设备判断当前的环境信息和时间信息和至少两个图片中每个图片关联的环境信息和时间信息是否一致,若某个图片关联的环境信息和时间信息与当前的环境信息和时间信息一致,则确定该图片为第一图片。
在一种可行的实施例中,终端设备获取第一图片的第一拍摄参数信息可以通过预设方式获取该第一拍摄参数信息,其中,预设方式包括直传方式、即时通讯方式和网络下载方式中的至少一种,直传方式可以是蓝牙、WIFI直连等,即时通讯可以是QQ、微信等,网络下载可以是浏览器下载等。
可选地,终端设备获取第一图片的第一拍摄参数信息还可以是通过终端设备的分享界面获取第一图片的第一拍摄参数信息,其中,分享界面可以是终端设备的主界面、待机界面、通知栏和即时通信软件界面中的至少一种。
402、根据第一拍摄参数信息获取终端设备存储的第二拍摄参数信息。
其中,该第二拍摄参数信息用于指示拍摄模式、该拍摄模式的效果、该效果的级别参数值和该拍摄模式的素材信息中的至少一种。
具体的,终端设备可以根据第一拍摄参数获取终端设备存储的第二拍摄参数,其中,获取到的第二拍摄参数信息可以是包括第一拍摄参数信息或者获取到的第二拍摄参数信息也可以是除第一拍摄参数信息外的其他拍摄参数信息。
403、根据第一拍摄参数信息和第二拍摄参数信息进行拍照。
具体的,针对上述步骤402中,若获取到的第二拍摄参数信息包括第一拍摄参数信息,则终端设备根据第二拍摄参数信息进行拍照;若获取到的第二拍摄参数信息是除第一拍摄参数信息外的其他拍摄参数信息,则终端设备根据第一拍摄参数信息和第二拍摄参数信息进行拍照。
在一种可行的实施例中,终端设备根据第一拍摄参数信息对应拍照参数匹配第二拍摄参数信息对应的拍照参数,并根据匹配到的第二拍摄参数信息对应的拍照参数进行拍照,例如,第一拍摄参数信息对应的拍照参数为拍摄模式,该拍摄模式为全景模式,终端设备根据全景模式匹配第二拍摄参数信息对应的拍照参数,终端设备匹配到第二拍摄参数信息对应的拍照参数为全景模式,则终端设备根据匹配到的全景模式进行拍照。
在一种可行的实施例中,终端设备在根据第一拍摄参数信息和第二拍摄参数信息进行拍照之后,终端设备会输出第一提示信息,若检测到针对第一提示信息的确认指令,则获取第三拍摄参数信息,该第三拍摄参数信息包括拍摄参数,该拍摄参数包括拍摄模式、该 拍摄模式的效果、该效果的级别参数值和该拍摄模式的素材信息中的至少一种,根据该第三拍摄参数信息调整第二图片。其中,第一提示信息用于指示是否调整拍照生成的第二图片,输出第一提示信息可以是以文本框形式显示第一提示信息,也可以是通过语音输出第一提示信息,以使得拍摄者根据想要的效果能够及时调整生成的第二图片。
在一种可行的实施例中,终端设备根据第一拍摄参数信息和第二拍摄参数信息进行拍照之后,终端设备输出第二提示信息,该第二提示信息用于指示是否保存拍照后生成的第二图片,当检测到第二提示信息的确认指令时,将第二图片的拍摄参数信息以文件形式和/或图片形式存储在预设位置。
需要说明的是,当检测到第二提示信息的确认指令时,终端设备可以只保存第二图片的拍摄参数信息,也可以将第二图片和第二图片的拍摄参数信息都存储在预设位置。
在本申请实施例中,终端设备获取第一图片的第一拍摄参数信息,并根据第一拍摄参数信息获取终端设备存储的第二拍摄参数信息,进而根据第一拍摄参数信息和第二拍摄参数信息进行拍照,可以快速选择合适的拍摄参数信息,从而保证拍照效果。
请参阅图5,为本申请实施例提供的又一种拍照方法的流程示意图。本实施例中所描述的拍照方法,可以执行第一终端设备或者第二终端设备的步骤,该拍照方法包括:
501、在终端设备的预设位置显示第一图片。
具体的,终端设备先获取第一图片,并将该第一图片显示在终端设备的预设位置。
在一种可行的实施例中,上述预设位置包括终端设备的指定界面的预设位置,其中,指定界面包括相册界面、主界面、待机界面、相机拍摄界面中的至少一种;或,预设位置为终端设备界面的悬浮框。
可选地,假设指定界面为主机界面,指定界面的预设位置是主界面的整个界面,若主界面中有图片,可以将该图片作为第一图片;或者若主界面中有图片,该图片不是获取的第一图片,则可以将第一图片叠放在主界面的图片上面显示;或者,指定界面的预设位置不需要主界面的整个界面,该预设位置可以是主界面的右上角、左上角等等。
需要说明的是,待机界面的预设位置可以如主界面的预设位置设置,即可以是待机界面的整个界面或者不需要占用整个待机界面,也可以在待机界面的预设位置进行显示第一图片,如待机界面的左上角,右下角,或者中间位置。
可选地,例如,预设位置为终端设备界面的悬浮框,当终端获取到第一图片,将该第一图片显示在悬浮框中,显示效果如图6a中。
可选地,又例如,预设位置为终端设备的相机拍摄界面的右上角。终端设备获取到第一图片后,将第一图片显示在相机拍摄界面的右上角,显示效果如图6b所示。
可选地,若指定界面为相册界面,该指定界面的预设位置包括以下至少一种:指定界面的预设位置为相册界面中的第一个缩略图的位置;或,指定界面的预设位置为相册界面中的最后一个缩略图的位置;或,指定界面的预设位置为相册界面中根据选择指令确定的缩略图的位置。相册界面一般包括很多图片(即缩略图),该第一图片可以取代相册里面中的图片的位置进行显示。
例如,该第一图片可以在相册界面中的第一个缩略图的位置进行显示;又例如,终端设备检测到选择指令,假设该选择指令确定的第二张缩略图为指定界面的预设位置,该第一图片显示在第二张缩略图的位置,显示对比效果如图6c所示。
在一种可行的实施例中,第一图片可以在不同的预设位置进行显示,在不同预设位置显示第一图片的时间相同,也可以不同。不同的预设位置显示时间可以根据用户需求进行设置。例如,第一图片可以显示在两个不同的预设位置,且显示时间不同,第一个预设位置为相机拍摄界面中的右上角,预设时间可以设置较长时间,如在相机拍摄界面右上角一 直显示直到拍照完成,第二个预设位置为主界面右上角,预设时间可以设置较短时间,比如在主界面右上角显示第一图片为5分钟。
在一种可行的实施例中,终端设备根据显示的第一图片的拍摄参数信息拍照生成第二图片之后,将第二图片和第一图片分区域显示在终端设备界面,通过分区域显示两个第一图片和第二图片,能够形成对比,使用户看到拍照生成图片的效果,其中,分区域显示可以是在同一个区域显示两张图片(第一图片和第二图片),也可以在不同区域显示两张图片。
例如,在拍照生成第二图片后,可以将第一图片和第二图片显示在相机拍摄界面的上区域和下区域,显示效果如图6d所示。
在一种可行的实施例中,在终端设备中设置一目标拍照模式,该目标拍照模式用于指示在预设位置显示第一图片并根据显示的第一图片进行拍照,在终端设备的预设位置显示第一图片之前,终端设备检测终端设备是否进入目标拍照模式,若检测到进入目标拍照模式,则执行在终端设备的预设位置显示第一图片的步骤。
在一种可行的实施例中,在终端设备的预设位置显示第一图片之前,通过终端设备的分享界面获取第一图片,分享界面包括终端设备的主界面、待机界面、通知栏和即时通信软件界面中的至少一种。
或者,在终端设备的预设位置显示第一图片之前获取至少两个图片,确定至少两个图片关联的第一信息,该第一信息包括环境信息和/或时间信息,根据至少两个图片关联的第一信息确定第一图片,该第一图片为至少两个图片中的一个。
需要说明的是,上述如何获取第一图片或者从至少两个图片确定第一图片可以参见上述实施例中对应的描述,在此不再赘述。
在一种可行的实施例中,终端设备当接收到选择图片的操作指令时,根据操作指令从多张图片中确定出第一图片。其中,该选择图片的操作指令,可以分为两种:第一种就是根据该操作指令仅仅只是选择出第一图片;或者根据该操作指令在选择第一图片并确定该第一图片显示的位置。例如,终端设备接收到在相册中选择第一个图片的操作指令,根据该操作指令将该选中的第一个图片作为第一图片,并将该第一图片显示在第一个图片的位置(即终端设备的预设位置)。
502、根据显示的第一图片的拍摄参数信息拍照生成第二图片。
其中,拍摄参数信息用于指示拍摄模式、拍摄模式的效果、效果的级别参数值和拍摄模式的素材信息中的至少一种。
具体的,终端设备可以检测显示的第一图片的拍摄参数信息,然后根据第一图片的拍摄参数信息拍照生成第二图片。
在本申请实施例中,在终端设备的预设位置显示第一图片,根据显示的第一图片的拍摄参数信息拍照生成第二图片,可以比较直观地看到拍照生成的图片的效果,从而有助于拍照效果。
请参阅图7,为本申请实施例提供的一种拍照装置的结构示意图。本实施例中所描述的拍照装置,设置于第一终端设备,包括:
获取模块701,用于获取第一图片的第一拍摄参数信息,所述第一拍摄参数信息用于指示拍摄模式、所述拍摄模式的效果、所述效果的级别参数值和所述拍摄模式的素材信息中的至少一种;
拍照模块702,用于根据所述第一拍摄参数信息对应的拍摄参数进行拍照。
可选地,所述第一拍摄参数信息包括拍摄参数对应的标识,所述拍照模块702,具体用于:
根据所述拍摄参数对应的标识确定拍摄参数;
根据所述拍摄参数进行拍照。
可选地,所述获取模块701,具体用于:
基于与第二终端设备建立的点对点的直传连接获取所述第一拍摄参数信息;或,通过即时通讯软件获取所述第一拍摄参数信息;或通过网络获取所述第一拍摄参数信息;或,基于与第一图片的关联信息确定所述第一拍摄参数信息。
可选地,所述装置还包括:处理模块703,其中:
所述处理模块703,用于若所述第一拍摄参数信息对应的拍摄参数未存储在所述第一终端设备,则向第二终端设备发送请求消息,所述请求消息用于请求拍摄参数,所述拍摄参数包括拍摄模式、所述拍摄模式的效果、所述效果的级别参数值和所述拍摄模式的素材信息中的至少一种;
所述处理模块703,还用于接收第二终端设备根据所述请求消息发送的所述拍摄参数;
所述拍照模块702,还用于根据接收到的所述拍摄参数进行拍照。
可选地,所述处理模块703,还用于接收所述第二终端设备发送的分享信息,优选地,第二终端设备通过分享界面发送分享信息,所述分享信息包括所述第一拍摄参数信息。
可选地,所述处理模块703,具体用于:
若检测到第二终端设备发送的分享信息,则输出提示信息;
若检测到针对所述提示信息的确认指令,则接收所述第二终端设备发送的所述分享信息,优选地,第二终端设备通过分享界面发送分享信息。
可选地,所述拍照模块702,具体用于:
若获取到至少两个第一图片的第一拍摄参数信息,则根据预设规则选择所述至少两个第一图片的第一拍摄参数信息中的一个;
根据选择的第一图片的第一拍摄参数信息对应的拍摄参数进行拍照。
可选地,所述预设规则包括根据当前拍摄的环境信息确定第一拍摄参数信息的规则和按照图片效果确定第一拍摄参数信息的规则中的至少一种。
可选地,所述处理模块703,具体用于:
将所述拍照后生成的第二图片在预览界面进行预览,其中,所述预览界面为第一终端设备的相机拍摄界面;
根据所述预览结果对所述第二图片进行调整。
可选地,所述处理模块703,具体用于:
若所述预览结果不满足预设条件,则获取第二拍摄参数信息,所述第二拍摄参数信息包括至少一个拍摄参数,所述拍摄参数包括拍摄模式、所述拍摄模式的效果、所述效果的级别参数值和所述拍摄模式的素材信息中的至少一种;
根据所述第二拍摄参数信息对应的拍摄参数对所述第二图片进行调整。
可选地,所述处理模块703,具体用于:
输出保存第二图片的提示信息;
当检测到所述针对保存第二图片的提示信息的确认指令,则将所述第二图片对应的第二拍摄参数信息存储在第一预设位置,优选地,所述第一预设位置包括第二图片的exif信息文件位置和/或jpeg文件位置。
可选地,所述处理模块703,具体用于:
在预览界面生成第三图片;
根据所述第三图片的拍照效果确定所述第一图片;和/或,
根据从第二终端设备中获取的至少两个图片与所述第三图片的相似度匹配结果确定所述第一图片。
可选地,所述获取模块701,具体用于:
接收第二终端设备发送的从所述第二终端设备的第二预设位置获取的所述第一图片的第一拍摄参数信息。
可选地,所述处理模块703,具体用于:
接收第二终端设备发送的请求消息,所述请求消息用于请求发送所述第二图片的拍摄参数信息;
根据所述请求消息向所述第二终端设备发送所述第二图片的拍摄参数信息。
可以理解的是,本实施例的拍照装置的各功能模块可根据上述方法实施例图1和图2中的方法具体实现,其具体实现过程可以参照上述方法实施例图1和图2的相关描述,此处不再赘述。
请参阅图8,为本申请实施例提供的一种拍照装置的结构示意图。本实施例中所描述的拍照装置,包括:
获取模块801,用于获取第一图片的第一拍摄参数信息,所述第一拍摄参数信息用于指示拍摄模式,所述拍摄模式的效果、所述效果的级别参数值和所述拍摄模式的素材信息中的至少一种;
所述获取模块801,还用于根据所述第一拍摄参数信息获取终端设备存储的第二拍摄参数信息,所述第二拍摄参数信息用于指示拍摄模式、所述拍摄模式的效果、所述效果的级别参数值和所述拍摄模式的素材信息中的至少一种;
拍照模块802,用于根据第一拍摄参数信息和第二拍摄参数信息进行拍照。
可选地,所述拍照模块802,具体用于:
根据所述第一拍摄参数信息对应拍照参数匹配第二拍摄参数信息对应的拍照参数;
根据匹配到的第二拍摄参数信息对应的拍照参数进行拍照。
可选地,所述装置还包括:处理模块803,其中:
所述获取模块801,还用于获取至少两个图片;
所述处理模块803,用于确定所述至少两个图片关联的第一信息,所述第一信息包括环境信息和/或时间信息;
所述处理模块803,还用于根据所述至少两个图片关联的第一信息确定第一图片,所述第一图片为至少两图片中的一个。
可选地,所述获取模块801,具体用于:
输出第一提示信息,所述第一提示信息用于指示是否调整拍照生成的第二图片;
若检测到针对第一提示信息的确认指令,则获取第三拍摄参数信息,所述第三拍摄参数信息包括拍摄参数,所述拍摄参数包括拍摄模式、所述拍摄模式的效果、所述效果的级别参数值和所述拍摄模式的素材信息中的至少一种。
可选地,所述处理模块803,具体用于:
输出第二提示信息,所述第二提示信息用于指示是否保存拍照后生成的第二图片;
当检测到所述第二提示信息的确认指令时,将所述第二图片的拍摄参数信息以文件形式和/或图片形式存储在预设位置。
可选地,所述获取模块801,具体用于:
通过预设方式获取所述第一拍摄参数信息,所述预设方式包括直传方式、即时通讯方式和网络下载方式中的至少一种。
可以理解的是,本实施例的拍照装置的各功能模块可根据上述方法实施例图4中的方法具体实现,其具体实现过程可以参照上述方法实施例图4的相关描述,此处不再赘述。
请参阅图9,为本申请实施例提供的一种拍照装置的结构示意图。本实施例中所描述的拍照装置,包括:
显示模块901,用于在终端设备的预设位置显示第一图片;
处理模块902,用于根据所述显示的第一图片的拍摄参数信息拍照生成第二图片,所述拍摄参数信息用于指示拍摄模式、所述拍摄模式的效果、所述效果的级别参数值和所述拍摄模式的素材信息中的至少一种。
可选地,所述显示模块901,在终端设备的预设位置显示第一图片之前,具体用于:
检测所述终端设备是否进入目标拍照模式,所述目标拍照模式用于指示在预设位置显示第一图片并根据显示的第一图片进行拍照;
若检测到进入所述目标拍照模式,则执行所述在终端设备的预设位置显示第一图片的步骤。
可选地,所述预设位置包括所述终端设备的指定界面的预设位置,其中,所述指定界面包括相册界面、主界面、待机界面、相机拍摄界面中的至少一种;或,
所述预设位置为终端设备界面的悬浮框。
可选地,若指定界面为相册界面,所述指定界面的预设位置包括以下至少一种:
所述指定界面的预设位置为相册界面中的第一个缩略图的位置;或,
所述指定界面的预设位置为相册界面中的最后一个缩略图的位置;或,
所述指定界面的预设位置为相册界面中根据选择指令确定的缩略图的位置。
可选地,所述显示模块901,还用于:将所述第二图片和所述第一图片分区域显示在终端设备界面。
可选地,所述处理模块902在终端设备的预设位置显示第一图片之前,还用于:
当接收到选择图片的操作指令时,根据所述操作指令从多张图片中确定出第一图片。
可选地,所述处理模块902在终端设备的预设位置显示第一图片之前,还用于:
通过终端设备的分享界面获取第一图片,所述分享界面包括终端设备的主界面、待机界面、通知栏和即时通信软件界面中的至少一种。
可选地,所述处理模块902在终端设备的预设位置显示第一图片之前,还用于:
获取至少两个图片;
确定所述至少两个图片关联的第一信息,所述第一信息包括环境信息和/或时间信息;
根据所述至少两个图片关联的第一信息确定第一图片,所述第一图片为至少两个图片中的一个。
可以理解的是,本实施例的拍照装置的各功能模块可根据上述方法实施例图5中的方法具体实现,其具体实现过程可以参照上述方法实施例图5的相关描述,此处不再赘述。
请参阅图10,图10为本申请实施例提供的一种终端设备的结构示意图。如图10所示的本实施例中的终端设备配置有摄像头,该终端设备可以包括:一个或多个处理器1001;一个或多个输入设备1002,一个或多个输出设备1003和存储器1004。上述处理器1001、输入设备1002、输出设备1003和存储器1004通过总线1005连接。存储器1002用于存储计算机程序,所述计算机程序包括程序指令,处理器1001用于执行存储器1002存储的程序指令,执行以下操作:
获取第一图片的第一拍摄参数信息,所述第一拍摄参数信息用于指示拍摄模式、所述拍摄模式的效果、所述效果的级别参数值和所述拍摄模式的素材信息中的至少一种;
根据所述第一拍摄参数信息对应的拍摄参数进行拍照。
可选地,所述处理器1001,具体用于:
根据所述拍摄参数对应的标识确定拍摄参数;
根据所述拍摄参数进行拍照。
可选地,所述处理器1001,具体用于:
基于与第二终端设备建立的点对点的直传连接获取所述第一拍摄参数信息;或,
通过即时通讯软件获取所述第一拍摄参数信息;或,
通过网络获取所述第一拍摄参数信息;或,
基于与第一图片的关联信息确定所述第一拍摄参数信息。
可选地,所述处理器1001,还用于:
若所述第一拍摄参数信息对应的拍摄参数未存储在所述第一终端设备,则向第二终端设备发送请求消息,所述请求消息用于请求拍摄参数,所述拍摄参数包括拍摄模式、所述拍摄模式的效果、所述效果的级别参数值和所述拍摄模式的素材信息中的至少一种;
接收第二终端设备根据所述请求消息发送的所述拍摄参数;
根据接收到的所述拍摄参数进行拍照。
可选地,所述处理器1001,具体用于:
接收所述第二终端设备发送的分享信息,优选地,第二终端设备通过分享界面发送分享信息,所述分享信息包括所述第一拍摄参数信息。
可选地,所述处理器1001,具体用于:
若检测到第二终端设备发送的分享信息,则输出提示信息;
若检测到针对所述提示信息的确认指令,则接收所述第二终端设备发送的所述分享信息,优选地,第二终端设备通过分享界面发送分享信息。
可选地,所述处理器1001,具体用于:
若获取到至少两个第一图片的第一拍摄参数信息,则根据预设规则选择所述至少两个第一图片的第一拍摄参数信息中的一个;
根据选择的第一图片的第一拍摄参数信息对应的拍摄参数进行拍照。
可选地,所述预设规则包括根据当前拍摄的环境信息确定第一拍摄参数信息的规则和按照图片效果确定第一拍摄参数信息的规则中的至少一种。
可选地,所述处理器1001,还用于:
将所述拍照后生成的第二图片在预览界面进行预览,其中,所述预览界面为第一终端设备的相机拍摄界面;
根据所述预览结果对所述第二图片进行调整。
可选地,所述处理器1001,具体用于:
若所述预览结果不满足预设条件,则获取第二拍摄参数信息,所述第二拍摄参数信息包括至少一个拍摄参数,所述拍摄参数包括拍摄模式、所述拍摄模式的效果、所述效果的级别参数值和所述拍摄模式的素材信息中的至少一种;
根据所述第二拍摄参数信息对应的拍摄参数对所述第二图片进行调整。
可选地,所述处理器1001,还用于:
输出保存第二图片的提示信息;
当检测到所述针对保存第二图片的提示信息的确认指令,则将所述第二图片对应的第二拍摄参数信息存储在第一预设位置,优选地,所述第一预设位置包括第二图片的exif信息文件位置和/或jpeg文件位置。
可选地,所述处理器1001,还用于:
在预览界面生成第三图片;
根据所述第三图片的拍照效果确定所述第一图片;和/或,
根据从第二终端设备中获取的至少两个图片与所述第三图片的相似度匹配结果确定所述第一图片。
可选地,所述处理器1001,具体用于:
接收第二终端设备发送的从所述第二终端设备的第二预设位置获取的所述第一图片的第一拍摄参数信息。
可选地,所述处理器1001,还用于:
接收第二终端设备发送的请求消息,所述请求消息用于请求发送所述第二图片的拍摄参数信息;
根据所述请求消息向所述第二终端设备发送所述第二图片的拍摄参数信息。
或者,处理器1001用于执行存储器1002存储的程序指令,执行以下操作:
获取第一图片的第一拍摄参数信息,所述第一拍摄参数信息用于指示拍摄模式,所述拍摄模式的效果、所述效果的级别参数值和所述拍摄模式的素材信息中的至少一种;
根据所述第一拍摄参数信息获取终端设备存储的第二拍摄参数信息,所述第二拍摄参数信息用于指示拍摄模式、所述拍摄模式的效果、所述效果的级别参数值和所述拍摄模式的素材信息中的至少一种;
根据第一拍摄参数信息和第二拍摄参数信息进行拍照。
可选地,所述处理器1001,具体用于:
根据所述第一拍摄参数信息对应拍照参数匹配第二拍摄参数信息对应的拍照参数;
根据匹配到的第二拍摄参数信息对应的拍照参数进行拍照。
可选地,所述处理器1001,还用于:
获取至少两个图片;
确定所述至少两个图片关联的第一信息,所述第一信息包括环境信息和/或时间信息;
根据所述至少两个图片关联的第一信息确定第一图片,所述第一图片为至少两图片中的一个。
可选地,所述处理器1001,还用于:
输出第一提示信息,所述第一提示信息用于指示是否调整拍照生成的第二图片;
若检测到针对第一提示信息的确认指令,则获取第三拍摄参数信息,所述第三拍摄参数信息包括拍摄参数,所述拍摄参数包括拍摄模式、所述拍摄模式的效果、所述效果的级别参数值和所述拍摄模式的素材信息中的至少一种。
根据所述第三拍摄参数信息调整所述第二图片。
可选地,所述处理器1001,还用于:
输出第二提示信息,所述第二提示信息用于指示是否保存拍照后生成的第二图片;
当检测到所述第二提示信息的确认指令时,将所述第二图片的拍摄参数信息以文件形式和/或图片形式存储在预设位置。
可选地,所述处理器1001,具体用于:
通过预设方式获取所述第一拍摄参数信息,所述预设方式包括直传方式、即时通讯方式和网络下载方式中的至少一种。
或者,处理器1001用于执行存储器1002存储的程序指令,执行以下操作:
在终端设备的预设位置显示第一图片;
根据所述显示的第一图片的拍摄参数信息拍照生成第二图片,所述拍摄参数信息用于指示拍摄模式、所述拍摄模式的效果、所述效果的级别参数值和所述拍摄模式的素材信息中的至少一种。
可选地,所述处理器1001,还用于:
检测所述终端设备是否进入目标拍照模式,所述目标拍照模式用于指示在预设位置显示第一图片并根据显示的第一图片进行拍照;
若检测到进入所述目标拍照模式,则执行所述在终端设备的预设位置显示第一图片的步骤。
可选地,所述预设位置包括所述终端设备的指定界面的预设位置,其中,所述指定界面包括相册界面、主界面、待机界面、相机拍摄界面中的至少一种;或,
所述预设位置为终端设备界面的悬浮框。
可选地,若指定界面为相册界面,所述指定界面的预设位置包括以下至少一种:
所述指定界面的预设位置为相册界面中的第一个缩略图的位置;或,
所述指定界面的预设位置为相册界面中的最后一个缩略图的位置;或,
所述指定界面的预设位置为相册界面中根据选择指令确定的缩略图的位置。
可选地,所述处理器1001,还用于:
将所述第二图片和所述第一图片分区域显示在终端设备界面。
可选地,所述处理器1001,还用于:
当接收到选择图片的操作指令时,根据所述操作指令从多张图片中确定出第一图片。
可选地,所述处理器1001,还用于:
通过终端设备的分享界面获取第一图片,所述分享界面包括终端设备的主界面、待机界面、通知栏和即时通信软件界面中的至少一种。
可选地,所述处理器1001,还用于:
获取至少两个图片;
确定所述至少两个图片关联的第一信息,所述第一信息包括环境信息和/或时间信息;
根据所述至少两个图片关联的第一信息确定第一图片,所述第一图片为至少两个图片中的一个。
应当理解,在本申请实施例中,所称处理器1001可以是中央处理单元(Central Processing Unit,CPU),该处理器1001还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。
该存储器1004可以包括只读存储器和随机存取存储器,并向处理器1001提供指令和数据。存储器1004的一部分还可以包括非易失性随机存取存储器。
具体实现中,本申请实施例中所描述的处理器1001、输入设备1002、输出设备1003和存储器1004可执行本申请实施例提供的拍照方法所描述的实现方式,也可执行本申请实施例所描述的拍照装置的实现方式,在此不再赘述。
本申请实施例还提供一种计算机程序产品,所述计算机程序产品包括计算机程序代码,当所述计算机程序代码在计算机上运行时,使得计算机执行如上各种可能的实施方式中所述的方法。
本申请实施例还提供一种芯片,包括存储器和处理器,所述存储器用于存储计算机程序,所述处理器用于从所述存储器中调用并运行所述计算机程序,使得安装有所述芯片的设备执行如上各种可能的实施方式中所述的方法。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素,此外,本申请不同实施例中具有同样命名的部件、特征、要素可能具有相同含义,也可能具有不同含义,其具体含义需以其在该具体实施例中的解释或者进一步结合该具体实施例中上下文进行确定。
应当理解,尽管在本文可能采用术语第一、第二、第三等来描述各种信息,但这些信息不应限于这些术语。这些术语仅用来将同一类型的信息彼此区分开。例如,在不脱离本文范围的情况下,第一信息也可以被称为第二信息,类似地,第二信息也可以被称为第一 信息。取决于语境,如在此所使用的词语"如果"可以被解释成为"在……时"或"当……时"或"响应于确定"。再者,如同在本文中所使用的,单数形式“一”、“一个”和“该”旨在也包括复数形式,除非上下文中有相反的指示。应当进一步理解,术语“包含”、“包括”表明存在所述的特征、步骤、操作、元件、组件、项目、种类、和/或组,但不排除一个或多个其他特征、步骤、操作、元件、组件、项目、种类、和/或组的存在、出现或添加。此处使用的术语“或”和“和/或”被解释为包括性的,或意味着任一个或任何组合。因此,“A、B或C”或者“A、B和/或C”意味着“以下任一个:A;B;C;A和B;A和C;B和C;A、B和C”。仅当元件、功能、步骤或操作的组合在某些方式下内在地互相排斥时,才会出现该定义的例外。
需要说明的是,在本文中,采用了诸如101、102等步骤代号,其目的是为了更清楚简要地表述相应内容,不构成顺序上的实质性限制,本领域技术人员在具体实施时,可能会先执行102后执行101等,但这些均应在本申请的保护范围之内。
应该理解的是,虽然本申请实施例中的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,其可以以其他的顺序执行。而且,图中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,其执行顺序也不必然是依次进行,而是可以与其他步骤或者其他步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。
以上所揭露的仅为本申请一种较佳实施例而已,当然不能以此来限定本申请之权利范围,本领域普通技术人员可以理解实现上述实施例的全部或部分流程,并依本申请权利要求所作的等同变化,仍属于发明所涵盖的范围。

Claims (29)

  1. 一种拍照方法,其特征在于,应用于第一终端设备,所述方法包括:
    获取第一图片的第一拍摄参数信息,所述第一拍摄参数信息用于指示拍摄模式、所述拍摄模式的效果、所述效果的级别参数值和所述拍摄模式的素材信息中的至少一种;
    根据所述第一拍摄参数信息对应的拍摄参数进行拍照。
  2. 根据权利要求1所述的方法,其特征在于,所述第一拍摄参数信息包括拍摄参数对应的标识,所述根据所述第一拍摄参数信息对应的拍摄参数进行拍照,包括:
    根据所述拍摄参数对应的标识确定拍摄参数;
    根据所述拍摄参数进行拍照。
  3. 根据权利要求1或2所述的方法,其特征在于,所述获取第一图片的第一拍摄参数信息,包括:
    基于与第二终端设备建立的点对点的直传连接获取所述第一拍摄参数信息;或,
    通过即时通讯软件获取所述第一拍摄参数信息;或,
    通过网络获取所述第一拍摄参数信息;或,
    基于与第一图片的关联信息确定所述第一拍摄参数信息。
  4. 根据权利要求2所述的方法,其特征在于,所述方法还包括:
    若所述第一拍摄参数信息对应的拍摄参数未存储在所述第一终端设备,则向第二终端设备发送请求消息,所述请求消息用于请求拍摄参数,所述拍摄参数包括拍摄模式、所述拍摄模式的效果、所述效果的级别参数值和所述拍摄模式的素材信息中的至少一种;
    接收第二终端设备根据所述请求消息发送的所述拍摄参数;
    根据所述第一拍摄参数信息对应的拍摄参数进行拍照,包括:
    根据接收到的所述拍摄参数进行拍照。
  5. 根据权利要求1所述的方法,其特征在于,所述获取第一图片的第一拍摄参数信息,包括:
    接收第二终端设备发送的分享信息,所述分享信息包括所述第一拍摄参数信息。
  6. 根据权利要求5所述的方法,其特征在于,所述接收第二终端设备发送的分享信息,包括:
    若检测到第二终端设备发送的分享信息,则输出提示信息;
    若检测到针对所述提示信息的确认指令,则接收所述第二终端设备发送的所述分享信息。
  7. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    若获取到至少两个第一图片的第一拍摄参数信息,则根据预设规则选择所述至少两个第一图片的第一拍摄参数信息中的一个;
    所述根据所述拍摄参数信息对应的拍摄参数进行拍照,包括:
    根据选择的第一图片的第一拍摄参数信息对应的拍摄参数进行拍照。
  8. 根据权利要求7所述的方法,其特征在于,所述预设规则包括根据当前拍摄的环境信息确定第一拍摄参数信息的规则和按照图片效果确定第一拍摄参数信息的规则中的至少一种。
  9. 根据权利要求1所述的方法,其特征在于,所述根据所述第一拍摄参数信息对应的拍摄参数进行拍照之后,所述方法还包括:
    将所述拍照后生成的第二图片在预览界面进行预览,其中,所述预览界面为第一终端设备的相机拍摄界面;
    根据所述预览结果对所述第二图片进行调整。
  10. 根据权利要求9所述的方法,其特征在于,所述根据所述预览结果对所述第二图 片进行调整,包括:
    若所述预览结果不满足预设条件,则获取第二拍摄参数信息,所述第二拍摄参数信息包括至少一个拍摄参数,所述拍摄参数包括拍摄模式、所述拍摄模式的效果、所述效果的级别参数值和所述拍摄模式的素材信息中的至少一种;
    根据所述第二拍摄参数信息对应的拍摄参数对所述第二图片进行调整。
  11. 根据权利要求10所述的方法,其特征在于,所述根据所述第二拍摄参数信息对应的拍摄参数对所述第二图片进行调整之后,所述方法还包括:
    输出保存第二图片的提示信息;
    当检测到所述针对保存第二图片的提示信息的确认指令,则将所述第二图片对应的第二拍摄参数信息存储在第一预设位置。
  12. 根据权利要求1所述的方法,其特征在于,所述获取第一图片的第一拍摄参数信息之前,所述方法还包括:
    在预览界面生成第三图片;
    根据所述第三图片的拍照效果确定所述第一图片;和/或,
    根据获取的至少两个图片与所述第三图片的相似度匹配结果确定所述第一图片。
  13. 根据权利要求1所述的方法,其特征在于,所述获取第一图片的第一拍摄参数信息,包括:
    接收第二终端设备发送的从所述第二终端设备的第二预设位置获取的所述第一图片的第一拍摄参数信息。
  14. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    接收第二终端设备发送的请求消息,所述请求消息用于请求发送所述第二图片的拍摄参数信息;
    根据所述请求消息向所述第二终端设备发送所述第二图片的拍摄参数信息。
  15. 一种拍照方法,其特征在于,所述方法包括:
    获取第一图片的第一拍摄参数信息,所述第一拍摄参数信息用于指示拍摄模式,所述拍摄模式的效果、所述效果的级别参数值和所述拍摄模式的素材信息中的至少一种;
    根据所述第一拍摄参数信息获取终端设备存储的第二拍摄参数信息,所述第二拍摄参数信息用于指示拍摄模式、所述拍摄模式的效果、所述效果的级别参数值和所述拍摄模式的素材信息中的至少一种;
    根据第一拍摄参数信息和第二拍摄参数信息进行拍照。
  16. 根据权利要求15所述的方法,其特征在于,所述根据第一拍摄参数信息和第二拍摄参数信息进行拍照,包括:
    根据所述第一拍摄参数信息对应拍照参数匹配第二拍摄参数信息对应的拍照参数;
    根据匹配到的第二拍摄参数信息对应的拍照参数进行拍照。
  17. 根据权利要求15所述的方法,其特征在于,所述获取第一图片的第一拍摄参数信息之前,所述方法还包括:
    获取至少两个图片;
    确定所述至少两个图片关联的第一信息,所述第一信息包括环境信息和/或时间信息;
    根据所述至少两个图片关联的第一信息确定第一图片,所述第一图片为至少两个图片中的一个。
  18. 根据权利要求15所述的方法,其特征在于,所述根据第一拍摄参数信息和第二拍摄参数信息进行拍照之后,所述方法还包括:
    输出第一提示信息,所述第一提示信息用于指示是否调整拍照生成的第二图片;
    若检测到针对第一提示信息的确认指令,则获取第三拍摄参数信息,所述第三拍摄参 数信息包括拍摄参数,所述拍摄参数包括拍摄模式、所述拍摄模式的效果、所述效果的级别参数值和所述拍摄模式的素材信息中的至少一种;
    根据所述第三拍摄参数信息调整所述第二图片。
  19. 根据权利要求15所述的方法,其特征在于,所述根据第一拍摄参数信息和第二拍摄参数信息进行拍照之后,所述方法还包括:
    输出第二提示信息,所述第二提示信息用于指示是否保存拍照后生成的第二图片;
    当检测到所述第二提示信息的确认指令时,将所述第二图片的拍摄参数信息以文件形式和/或图片形式存储在预设位置。
  20. 根据权利要求15所述的方法,其特征在于,所述获取第一图片的第一拍摄参数信息,包括:
    通过预设方式获取所述第一拍摄参数信息,所述预设方式包括直传方式、即时通讯方式和网络下载方式中的至少一种。
  21. 一种拍照方法,其特征在于,所述方法包括:
    在终端设备的预设位置显示第一图片;
    根据所述显示的第一图片的拍摄参数信息拍照生成第二图片,所述拍摄参数信息用于指示拍摄模式、所述拍摄模式的效果、所述效果的级别参数值和所述拍摄模式的素材信息中的至少一种。
  22. 根据权利要求21所述的方法,其特征在于,所述在终端设备的预设位置显示第一图片之前,所述方法还包括:
    检测所述终端设备是否进入目标拍照模式,所述目标拍照模式用于指示在预设位置显示第一图片并根据显示的第一图片进行拍照;
    若检测到进入所述目标拍照模式,则执行所述在终端设备的预设位置显示第一图片的步骤。
  23. 根据权利要求21或22所述的方法,其特征在于,所述预设位置包括所述终端设备的指定界面的预设位置,其中,所述指定界面包括相册界面、主界面、待机界面、相机拍摄界面中的至少一种;或,
    所述预设位置为终端设备界面的悬浮框。
  24. 根据权利要求23所述的方法,其特征在于,若指定界面为相册界面,所述指定界面的预设位置包括以下至少一种:
    所述指定界面的预设位置为相册界面中的第一个缩略图的位置;或,
    所述指定界面的预设位置为相册界面中的最后一个缩略图的位置;或,
    所述指定界面的预设位置为相册界面中根据选择指令确定的缩略图的位置。
  25. 根据权利要求21所述的方法,其特征在于,所述根据所述显示的第一图片的拍摄参数信息拍照生成第二图片之后,所述方法还包括:
    将所述第二图片和所述第一图片分区域显示在终端设备界面。
  26. 根据权利要求21所述的方法,其特征在于,所述在终端设备的预设位置显示第一图片之前,所述方法还包括:
    通过终端设备的分享界面获取第一图片,所述分享界面包括终端设备的主界面、待机界面、通知栏和即时通信软件界面中的至少一种。
  27. 根据权利要求21所述的方法,其特征在于,所述在终端设备的预设位置显示第一图片之前,所述方法还包括:
    获取至少两个图片;
    确定所述至少两个图片关联的第一信息,所述第一信息包括环境信息和/或时间信息;
    根据所述至少两个图片关联的第一信息确定第一图片,所述第一图片为至少两个图片 中的一个。
  28. 一种终端设备,其特征在于,包括处理器和存储器,其中,所述存储器用于存储计算机程序,所述计算机程序包括程序指令指令,所述处理器被配置用于调用所述程序指令,执行上述如权利要求1至27中任一项所述的方法。
  29. 一种计算机可读存储介质,其特征在于,所述可读存储介质存储有计算机程序,所述计算机程序包括程序指令,所述程序指令当被处理器执行时使所述处理器执行执行上述如权利要求1至27中任一项所述的方法。
PCT/CN2020/103743 2020-07-23 2020-07-23 一种拍照方法、相关设备及计算机可读存储介质 Ceased WO2022016442A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202080102577.7A CN116134828B (zh) 2020-07-23 2020-07-23 一种拍照方法、相关设备及计算机可读存储介质
PCT/CN2020/103743 WO2022016442A1 (zh) 2020-07-23 2020-07-23 一种拍照方法、相关设备及计算机可读存储介质

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/103743 WO2022016442A1 (zh) 2020-07-23 2020-07-23 一种拍照方法、相关设备及计算机可读存储介质

Publications (1)

Publication Number Publication Date
WO2022016442A1 true WO2022016442A1 (zh) 2022-01-27

Family

ID=79728469

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/103743 Ceased WO2022016442A1 (zh) 2020-07-23 2020-07-23 一种拍照方法、相关设备及计算机可读存储介质

Country Status (2)

Country Link
CN (1) CN116134828B (zh)
WO (1) WO2022016442A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114666503A (zh) * 2022-03-22 2022-06-24 广州博冠信息科技有限公司 拍照方法及装置、存储介质、电子设备
CN115361369A (zh) * 2022-08-12 2022-11-18 中国联合网络通信集团有限公司 数据处理方法、装置、电子设备及计算机可读存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104639837A (zh) * 2015-02-28 2015-05-20 深圳市中兴移动通信有限公司 拍照参数设置方法及装置
CN104767941A (zh) * 2015-04-15 2015-07-08 努比亚技术有限公司 拍照方法及装置
CN106888353A (zh) * 2017-02-27 2017-06-23 联想(北京)有限公司 一种图像采集方法及设备
CN108156384A (zh) * 2017-12-29 2018-06-12 珠海市君天电子科技有限公司 图像处理方法、装置、电子设备及介质
WO2019188573A1 (ja) * 2018-03-28 2019-10-03 ソニー株式会社 演算装置、演算方法およびプログラム

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103297697A (zh) * 2013-05-30 2013-09-11 北京小米科技有限责任公司 在拍照过程中显示模板照片的方法及装置
CN104333696A (zh) * 2014-11-19 2015-02-04 北京奇虎科技有限公司 一种取景处理方法、装置及客户端
CN105208266B (zh) * 2015-08-14 2020-07-10 惠州Tcl移动通信有限公司 一种拍照方法及移动终端
CN107026966A (zh) * 2016-02-01 2017-08-08 中兴通讯股份有限公司 一种图片拍摄方法、终端及服务器
CN106454097A (zh) * 2016-10-29 2017-02-22 深圳市金立通信设备有限公司 一种拍照方法及拍照设备
CN107682627A (zh) * 2017-09-28 2018-02-09 努比亚技术有限公司 一种拍摄参数设置方法、移动终端及计算机可读存储介质
CN110971823B (zh) * 2019-11-29 2021-06-29 维沃移动通信(杭州)有限公司 一种参数调整方法及终端设备

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104639837A (zh) * 2015-02-28 2015-05-20 深圳市中兴移动通信有限公司 拍照参数设置方法及装置
CN104767941A (zh) * 2015-04-15 2015-07-08 努比亚技术有限公司 拍照方法及装置
CN106888353A (zh) * 2017-02-27 2017-06-23 联想(北京)有限公司 一种图像采集方法及设备
CN108156384A (zh) * 2017-12-29 2018-06-12 珠海市君天电子科技有限公司 图像处理方法、装置、电子设备及介质
WO2019188573A1 (ja) * 2018-03-28 2019-10-03 ソニー株式会社 演算装置、演算方法およびプログラム

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114666503A (zh) * 2022-03-22 2022-06-24 广州博冠信息科技有限公司 拍照方法及装置、存储介质、电子设备
CN115361369A (zh) * 2022-08-12 2022-11-18 中国联合网络通信集团有限公司 数据处理方法、装置、电子设备及计算机可读存储介质
CN115361369B (zh) * 2022-08-12 2024-05-31 中国联合网络通信集团有限公司 数据处理方法、装置、电子设备及计算机可读存储介质

Also Published As

Publication number Publication date
CN116134828B (zh) 2025-07-11
CN116134828A (zh) 2023-05-16

Similar Documents

Publication Publication Date Title
JP5236061B2 (ja) 連携画像撮像
JP5928455B2 (ja) ディジタル画像共有化向けディジタルカメラ
CN106095278B (zh) 一种拍照方法及移动终端
KR20180116466A (ko) 추천을 위한 카메라 메타데이터의 사용 기법
KR101528216B1 (ko) 사진 촬영 처리 방법 및 단말 장치
CN103729120A (zh) 用于产生缩略图的方法及其电子设备
JP5587390B2 (ja) 撮像装置で撮像された画像の選択方法、システム及び装置
CN104282031A (zh) 处理待输出图片的方法、装置和终端
US12499572B2 (en) Image processing method and electronic device
CN111491102A (zh) 拍照场景的检测方法、系统、移动终端及存储介质
CN104539843A (zh) 一种终端拍摄的方法
US20130227082A1 (en) Method for uploading media file, electronic device using the same, and non-transitory storage medium
WO2016197657A1 (zh) 一种拍照处理方法和装置
CN108093177B (zh) 图像获取方法、装置、存储介质及电子设备
CN110022396A (zh) 照片处理方法、装置和计算机可读存储介质
CN104954699B (zh) 一种拍摄参数设置方法和用户终端
WO2017076000A1 (zh) 夜景拍照方法、装置及移动终端
CN105827940A (zh) 一种拍照方法及电子设备
CN104580891A (zh) 一种终端拍摄的方法
CN104980719A (zh) 图像处理方法、装置以及电子设备
CN105391940B (zh) 一种图像推荐方法及装置
WO2024093545A1 (zh) 拍照方法及电子设备
WO2022016442A1 (zh) 一种拍照方法、相关设备及计算机可读存储介质
CN110809119A (zh) 拍摄方法、拍摄装置及计算机可读存储介质
WO2018161568A1 (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: 20946496

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

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 06-06-2023)

122 Ep: pct application non-entry in european phase

Ref document number: 20946496

Country of ref document: EP

Kind code of ref document: A1

WWG Wipo information: grant in national office

Ref document number: 202080102577.7

Country of ref document: CN