CN111953903A - Shooting method, shooting device, electronic equipment and storage medium - Google Patents

Shooting method, shooting device, electronic equipment and storage medium Download PDF

Info

Publication number
CN111953903A
CN111953903A CN202010813057.9A CN202010813057A CN111953903A CN 111953903 A CN111953903 A CN 111953903A CN 202010813057 A CN202010813057 A CN 202010813057A CN 111953903 A CN111953903 A CN 111953903A
Authority
CN
China
Prior art keywords
terminal
target
image processing
shooting data
target shooting
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.)
Pending
Application number
CN202010813057.9A
Other languages
Chinese (zh)
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.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology 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 Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202010813057.9A priority Critical patent/CN111953903A/en
Publication of CN111953903A publication Critical patent/CN111953903A/en
Pending 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
    • H04N23/64Computer-aided capture of images, e.g. transfer from script file into camera, check of taken image quality, advice or proposal for image composition or decision on when to take image
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/665Control of cameras or camera modules involving internal camera communication with the image sensor, e.g. synchronising or multiplexing SSIS control signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof

Abstract

The disclosure relates to a shooting method, a shooting device, electronic equipment and a storage medium, wherein first target shooting data is obtained by a first terminal in response to a shooting instruction; sending the first target shooting data and the parameter information of the first target shooting data to a second terminal so that the second terminal can perform image processing on the first target shooting data according to the parameter information; and finally, the first terminal receives second target shooting data obtained by processing the first target shooting data returned by the second terminal. According to the scheme disclosed by the invention, the first terminal and the second terminal are mutually matched to execute the complete photographing process, the first target photographing data acquired by the first terminal is subjected to image processing through the second terminal and is not limited by the image processing capability of the first terminal, the first terminal can obtain a picture or a video with the photographing effect of the second terminal, the photographing effect of the first terminal is improved, and the display quality of the picture or the video photographed by the first terminal is improved.

Description

Shooting method, shooting device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of image processing technologies, and in particular, to a shooting method, an apparatus, an electronic device, and a storage medium.
Background
With the popularization of electronic devices such as smart phones and smart tablet computers, the functions of the electronic devices are increasing. Among them, the camera of the electronic device is also receiving more and more attention from the user.
In the related art, the current working process of photographing by electronic equipment includes: the camera module transmits digital Image signals acquired during photographing to an Image Signal Processor (ISP), and the ISP completes effect processing on the digital images through a series of digital Image processing algorithms, wherein the effect processing mainly comprises processing such as 3A (automatic exposure, automatic focusing and automatic white balance), dead pixel correction, denoising, strong light inhibition, backlight compensation, color enhancement, lens shadow correction and the like. The quality of a picture taken by an electronic device depends mainly on the image signal processor of the electronic device. The image signal processor may be integrated inside the CPU of the electronic device, or may be a separate external image signal processor.
However, in the conventional method, when an image or video is captured by using one electronic device, the image can be processed only by using the ISP of the electronic device, and the electronic device is limited by the processing capability of the ISP itself, so that the captured image obtained by the electronic device is not good in quality and has a certain limitation.
Disclosure of Invention
The present disclosure provides a shooting method, an apparatus, an electronic device and a storage medium, so as to at least solve the problem in the related art that the electronic device is limited by the processing capability of its own ISP, which results in limitation of the shooting effect. The technical scheme of the disclosure is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a shooting method, which is applied to a first terminal, and includes:
responding to a shooting instruction, and acquiring first target shooting data, wherein the first target shooting data are shooting data output by an image processor;
sending the first target shooting data and parameter information of the first target shooting data to a second terminal so that the second terminal can perform image processing on the first target shooting data according to the parameter information;
and receiving second target shooting data obtained by processing the first target shooting data returned by the second terminal.
In one embodiment, the first subject photographic data includes a plurality of frames of first subject photographic images; the sending the first target shooting data and the parameter information of the first target shooting data to a second terminal includes:
and sending the first target shooting image and the parameter information of the corresponding frame to the second terminal frame by frame so that the second terminal performs image processing on each frame of the first target shooting image frame by frame according to each frame of the parameter information to obtain a second target shooting image of the corresponding frame.
In one embodiment, the method further comprises:
and receiving a target video file returned by the second terminal, wherein the target video file is generated by encoding a plurality of frames of second target shooting images by the second terminal.
In one embodiment, before the responding to the shooting instruction, the method further comprises:
acquiring a target user account, and sending a connection request to a second terminal corresponding to the target user account;
and establishing wireless communication connection with the second terminal according to the connection request.
In one embodiment, the obtaining the target user account includes:
displaying a plurality of user accounts through a display interface of a target application;
and acquiring the target user account from the plurality of user accounts.
In one embodiment, the presenting, through a display interface of the target application, a plurality of user accounts includes:
and displaying the image processing information of each user account through a display interface of the target application, wherein the image processing information comprises terminal association parameters and/or image processing mode information.
In one embodiment, before the sending the original image data and the parameter information of the original image data to the second terminal, the method further includes:
acquiring target image processing mode information from the displayed image processing mode information;
the sending the first target shooting data and the parameter information of the first target shooting data to a second terminal includes:
and sending the first target shooting data, the parameter information of the first target shooting data and the target image processing mode information to the second terminal so that the second terminal carries out image processing on the first target shooting data according to the parameter information and the target image processing mode information.
In one embodiment, the target image processing mode information includes image processing application information; the sending the first target shooting data, the parameter information of the first target shooting data and the target image processing mode information to the second terminal includes:
and sending the first target shooting data, the parameter information of the first target shooting data and the image processing application program information to the second terminal so as to enable the second terminal to call a corresponding image processing application program according to the image processing application program information, wherein the image processing application program is used for carrying out image processing on the first target shooting data according to the parameter information.
In one embodiment, the obtaining the target user account from the plurality of user accounts includes:
acquiring expected processing parameters of the first target shooting data;
and comparing the expected processing parameters with the image processing information of each user account to obtain target image processing information matched with the expected processing parameters, and determining the user account corresponding to the target image processing information as the target user account.
According to a second aspect of the embodiments of the present disclosure, there is provided a photographing method applied to a second terminal, including:
receiving first target shooting data and parameter information sent by a first terminal, wherein the first target shooting data are image data output by an image processor of the first terminal, and the parameter information is a parameter of the first target shooting data;
performing image processing on the first target shooting data according to the parameter information to obtain second target shooting data;
and sending the second target shooting data to the first terminal.
In one embodiment, the first subject photographic data includes a plurality of frames of first subject photographic images; the image processing of the first target shooting data according to the parameter information to obtain second target shooting data includes:
and carrying out image processing on the first target shooting image of each frame by frame according to the parameter information of each frame to obtain a second target shooting image of a corresponding frame.
In one embodiment, the method further comprises:
coding a plurality of frames of the second target shooting image to generate a target video file;
and sending the target video file to the first terminal.
In one embodiment, before the receiving the first target shooting data and the parameter information sent by the first terminal, the method further includes:
receiving a connection request sent by the first terminal, wherein the connection request carries a target user account corresponding to the second terminal, and the target user account is acquired by the first terminal from a plurality of displayed user accounts;
and establishing wireless communication connection with the first terminal according to the connection request.
In one embodiment, before the image processing of the first target captured data according to the parameter information, the method further includes:
receiving target image processing mode information sent by the first terminal, wherein the target image processing mode information is acquired by the first terminal from the displayed image processing mode information;
the image processing of the first target shooting data according to the parameter information includes:
and performing image processing on the first target shooting data according to the parameter information and the target image processing mode information.
In one embodiment, the target image processing mode information includes image processing application information; the image processing of the first target shooting data according to the parameter information and the target image processing mode information includes:
calling a corresponding image processing application program according to the image processing application program information;
and performing image processing on the first target shooting data according to the parameter information through the image processing application program.
According to a third aspect of the embodiments of the present disclosure, there is provided a photographing apparatus applied to a first terminal, including:
a first acquisition module configured to execute acquiring first target shooting data in response to a shooting instruction, the first target shooting data being shooting data output by an image processor;
the sending module is configured to send the first target shooting data and parameter information of the first target shooting data to a second terminal so that the second terminal can perform image processing on the first target shooting data according to the parameter information;
and the first receiving module is configured to execute receiving of second target shooting data obtained by performing image processing on the first target shooting data returned by the second terminal.
In one embodiment, the first subject photographic data includes a plurality of frames of first subject photographic images; the sending module is further configured to execute frame-by-frame sending of the first target captured image and the parameter information of the corresponding frame to the second terminal, so that the second terminal performs image processing on each frame of the first target captured image according to each frame of the parameter information, and a second target captured image of the corresponding frame is obtained.
In one embodiment, the apparatus further includes a second receiving module configured to perform receiving a target video file returned by the second terminal, where the target video file is generated by the second terminal by encoding multiple frames of the second target captured image.
In one embodiment, the apparatus further comprises:
the second acquisition module is configured to execute acquisition of a target user account and send a connection request to a second terminal corresponding to the target user account;
a communication connection module configured to perform establishing a wireless communication connection with the second terminal according to the connection request.
In one embodiment, the second obtaining module is further configured to execute displaying a plurality of user accounts through a display interface of the target application; and acquiring the target user account from the plurality of user accounts.
In one embodiment, the second obtaining module is further configured to execute displaying, through a display interface of the target application, image processing information of each user account, where the image processing information includes terminal association parameters and/or image processing mode information.
In one embodiment, the apparatus further comprises:
the third acquisition module is also configured to acquire target image processing mode information from the displayed image processing mode information;
the sending module is further configured to send the first target shooting data, the parameter information of the first target shooting data and the target image processing mode information to the second terminal, so that the second terminal performs image processing on the first target shooting data according to the parameter information and the target image processing mode information.
In one embodiment, the target image processing mode information includes image processing application information; the sending module is further configured to send the first target shooting data, the parameter information of the first target shooting data, and the image processing application program information to the second terminal, so that the second terminal calls a corresponding image processing application program according to the image processing application program information, and the image processing application program is used for performing image processing on the first target shooting data according to the parameter information.
In one embodiment, the second acquiring module is further configured to execute the expected processing parameters of acquiring the first target shooting data; and comparing the expected processing parameters with the image processing information of each user account to obtain target image processing information matched with the expected processing parameters, and determining the user account corresponding to the target image processing information as the target user account.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a photographing apparatus applied to a second terminal, including:
the terminal comprises a first receiving module, a second receiving module and a third receiving module, wherein the first receiving module is configured to execute receiving of first target shooting data and parameter information, the first target shooting data is image data output by an image processor of a first terminal, and the parameter information is a parameter of the first target shooting data;
the image processing module is configured to execute image processing on the first target shooting data according to the parameter information to obtain second target shooting data;
a transmission module configured to perform transmission of the second target photographing data to the first terminal.
In one embodiment, the first subject photographic data includes a plurality of frames of first subject photographic images; and the image processing module is also configured to execute frame-by-frame image processing on the first target shooting image of each frame according to the parameter information of each frame to obtain a second target shooting image of the corresponding frame.
In one embodiment, the apparatus further comprises:
the video generation module is configured to encode a plurality of frames of the second target shooting image to generate a target video file;
a video sending module configured to execute sending the target video file to the first terminal.
In one embodiment, the apparatus further comprises:
a second receiving module, configured to execute receiving of a connection request sent by the first terminal, where the connection request carries a target user account corresponding to the second terminal, and the target user account is obtained by the first terminal from the displayed multiple user accounts;
a communication connection module configured to perform establishment of a wireless communication connection with the first terminal according to the connection request
In one embodiment, the apparatus further comprises:
a third receiving module configured to perform receiving of target image processing mode information sent by the first terminal, wherein the target image processing mode information is acquired by the first terminal from the displayed image processing mode information;
the image processing module is further configured to perform image processing on the first target shooting data according to the parameter information and the target image processing mode information.
In one embodiment, the image processing module is further configured to execute calling a corresponding image processing application according to the image processing application information; and performing image processing on the first target shooting data according to the parameter information through the image processing application program.
According to a fifth aspect of embodiments of the present disclosure, there is provided an electronic apparatus including:
a processor; a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the photographing method as in any of the embodiments of the first or second aspect described above.
According to a sixth aspect of embodiments of the present disclosure, there is provided a storage medium, wherein instructions in the storage medium, when executed by a processor of an electronic device, enable the electronic device to perform a photographing method as in any one of the first or second aspects described above.
According to a seventh aspect of embodiments of the present disclosure, there is provided a computer program product comprising a computer program stored in a readable storage medium, from which at least one processor of a device reads and executes the computer program, so that the device performs the photographing method described in any one of the first or second aspects.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
responding to a shooting instruction through a first terminal, and acquiring first target shooting data; sending the first target shooting data and the parameter information of the first target shooting data to a second terminal so that the second terminal can perform image processing on the first target shooting data according to the parameter information; and finally, the first terminal receives second target shooting data obtained by processing the first target shooting data returned by the second terminal. The first terminal and the second terminal are matched with each other to execute a complete photographing process, the first target photographing data acquired by the first terminal are subjected to image processing through the second terminal, the image processing capability of the first terminal is not limited, the first terminal can obtain a picture or a video with the photographing effect of the second terminal, the photographing effect of the first terminal is improved, and the display quality of the picture or the video photographed by the first terminal is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
Fig. 1 is an application environment diagram illustrating a photographing method according to an exemplary embodiment.
Fig. 2 is a flow chart illustrating a photographing method according to an exemplary embodiment.
Fig. 3 is a flow chart illustrating establishing a wireless communication connection according to an example embodiment.
Fig. 4 a-4 b illustrate schematic diagrams of a display interface according to an exemplary embodiment.
Fig. 5 is a flowchart illustrating a photographing method according to an exemplary embodiment.
Fig. 6 is a flow chart illustrating a photographing method according to an exemplary embodiment.
Fig. 7 is a flowchart illustrating a photographing method according to an exemplary embodiment.
Fig. 8 is a flowchart illustrating a photographing method according to an exemplary embodiment.
Fig. 9 is a block diagram illustrating a photographing apparatus according to an exemplary embodiment.
Fig. 10 is a block diagram illustrating a photographing apparatus according to an exemplary embodiment.
Fig. 11 is an internal block diagram of an electronic device shown in accordance with an example embodiment.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The shooting method provided by the present disclosure can be applied to the application environment as shown in fig. 1. The application environment includes a first terminal 102 and a second terminal 104. A wireless communication connection is established between the first terminal 102 and the second terminal 104. Specifically, the first terminal 102 responds to a shooting instruction to acquire first target shooting data, wherein the first target shooting data is shooting data output by an image processor; the first terminal 102 sends the first target shooting data and parameter information of the first target shooting data to the second terminal 104, so that the second terminal 104 performs image processing on the first target shooting data according to the parameter information; the first terminal 102 receives second target shooting data obtained by performing image processing on the first target shooting data returned by the second terminal. It can be seen that: according to the method and the device, the second terminal 104 is matched with the first terminal 102 to perform image processing on the first target shooting data, the first terminal 102 can obtain the second target shooting data with the shooting effect of the second terminal 104, the second target shooting data are not limited by the image processing capacity of the first terminal 102, the first target shooting data are subjected to image processing through the second terminal 104, the shooting effect of the first terminal 102 is improved, the limitation of the first terminal 102 is broken through, and meanwhile, the shooting advantage of the second terminal is fully utilized. The first terminal 102 and the second terminal 104 may be, but are not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices.
Fig. 2 is a flowchart illustrating a photographing method according to an exemplary embodiment, which is used in the first terminal 102 of fig. 1, as shown in fig. 2, and includes the steps of:
in step S210, first target photographic data is acquired in response to a photographic instruction.
The first target shooting data is shooting data output by the image processor. The photographing may be photographing or photographing. The shooting instruction may be an instruction for shooting issued by the user to the first terminal, and the user may trigger the shooting instruction at the first terminal in the form of voice, shake, single click, double click, or the like, so that the shooting instruction includes: any one of a photographing instruction in voice form, a photographing instruction in shake form, a photographing instruction in single-click form, or a photographing instruction in double-click form. The first target photographing data may be photographing data output by an image processor of the first terminal for image processing RAW format data output by the image sensor. An Image processor (ISP) is a unit mainly used to perform Image Processing on RAW format data output by a front-end Image sensor. The ISP carries out effect processing on the original shooting data through a series of digital image processing algorithms, and the effect processing mainly comprises the processing of 3A, dead pixel correction, denoising, strong light inhibition, backlight compensation, color enhancement, lens shadow correction and the like.
Specifically, the first terminal can receive a shooting instruction in a voice form through the voice acquisition module; shooting instructions in a shaking mode can be received through a gyroscope sensor; shooting instructions in the form of single-click or double-click can also be acquired through the touch screen. Then, in response to the shooting instruction, the first terminal starts to run a shooting process according to the shooting instruction, and the image sensor of the camera assembly of the first terminal acquires the RAW format data. And carrying out image processing on the RAW format data by using an image processor to obtain first target shooting data. Illustratively, RAW format data is data that has not been processed by an image processor, and RGB represents three primary colors of red, green, and blue. Specifically, each pixel point in the first terminal camera shooting assembly samples and quantizes light to obtain an RGB value, and each pixel point only outputs one color. The RAW RGB format data is an image format that is directly output without image processing, and is arranged in an array format of bgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbg grgrgrgrgrgrgrgrgrgrgrgrgrgrgrgrgrgrgr, for example.
In step S220, the first target photographing data and parameter information of the first target photographing data are transmitted to the second terminal, so that the second terminal performs image processing on the first target photographing data according to the parameter information.
The parameter information of the first target shooting data comprises resolution, picture format and the like. The image processing capability of the second terminal is different from that of the first terminal, and the shooting effect of the picture or the video obtained by shooting through the second terminal is also different from that of the picture or the video obtained by shooting through the first terminal, the first terminal sends a data packet to the second terminal connected with the first terminal, and the data packet comprises the first target shooting data and parameter information of the first target shooting data. The second terminal carries out image processing on the first target shooting data according to the parameter information, and the shooting effect of the second terminal can be obtained through the first terminal. And the image processing performed by the second terminal may be the retouching processing such as face beautification, body beautification, makeup (makeup), face thinning, filter, cutting, saturation adjustment, brightness adjustment, definition adjustment, color temperature adjustment, highlight adjustment, sharpening, picture style adjustment, and the like, performed on the first target shooting data.
Specifically, the first terminal obtains original shooting data in a RAW format through an image sensor of a first terminal shooting assembly according to a shooting instruction, an image processor processes the original shooting data to obtain first target shooting data, and the first target shooting data correspond to parameter information such as resolution, image format and the like. And after the first terminal obtains the first target shooting data, generating a data packet according to the first target shooting data and the parameter information. Further, a wireless Communication connection is established between the second terminal and the first terminal, and may be NFC (Near Field Communication), bluetooth, WIFI, a mobile network, or the like, and the first terminal may send the data packet to the second terminal, so that the second terminal receives the data packet and performs image processing on the first target shooting data according to the parameter information.
In step S230, second target captured data obtained by image processing of the first target captured data returned by the second terminal is received.
The second target shooting data is data obtained by the second terminal after image processing is performed on the first target shooting data in the data packet, and the second target shooting data can be a photo or a video with a second terminal shooting effect. Specifically, the first terminal may send a data packet generated according to the first target shooting data and the parameter information to the second terminal, and the second terminal receives the data packet and performs image processing on the first target shooting data in the data packet according to the parameter information to obtain second target shooting data. And the second terminal returns the second target shooting data to the first terminal, and the first terminal receives the second target shooting data. Illustratively, the image processing performance of the second terminal is better than that of the first terminal, and the first target shooting data acquired by the first terminal is subjected to image repairing processing by using the image processing performance of the second terminal, so that the first terminal obtains second target shooting data with high quality. It is understood that the image processing capability of the second terminal may be an image processing capability that an application installed on the second terminal has.
In the shooting method, the first terminal responds to a shooting instruction to obtain first target shooting data; sending the first target shooting data and the parameter information of the first target shooting data to a second terminal so that the second terminal can perform image processing on the first target shooting data according to the parameter information; and finally, the first terminal receives second target shooting data obtained by processing the first target shooting data returned by the second terminal. The first terminal and the second terminal are matched with each other to execute a complete photographing process, the first target photographing data acquired by the first terminal are subjected to image processing through the second terminal, the image processing capability of the first terminal is not limited, the first terminal can obtain a picture or a video with the photographing effect of the second terminal, the photographing effect of the first terminal is improved, and the display quality of the picture or the video photographed by the first terminal is improved.
The following illustrates the effects of this example, for example, if the image processing capability of the first terminal does not match the shooting effect desired by the user, and the user desires to obtain the shooting effect of the second terminal, a wireless communication connection between the first terminal and the second terminal is established, the first terminal sends the first target shooting data obtained by shooting and the corresponding parameter information to the second terminal, and the second terminal performs image processing on the first target shooting data according to the parameter information to obtain the second target shooting data. And the second terminal returns the processed second target shooting data to the first terminal. It should be noted that the first terminal and the second terminal may be different brands of smart phones (e.g., a hua shi mobile phone and an apple mobile phone); the first terminal and the second terminal can be smart phones of the same brand and different models (for example, a mobile phone of a common style and a mobile phone of a flagship style), and the first terminal and the second terminal can be smart phones of the same brand and the same model, but the first terminal and the second terminal are respectively provided with two types of application programs (for example, a beautiful picture show and a camera without other cameras) with different image processing functions.
In an exemplary embodiment, the first subject photographic data includes a plurality of frames of the first subject photographic image. Sending the first target shooting data and the parameter information of the first target shooting data to a second terminal, comprising: and sending the first target shooting image and the parameter information of the corresponding frame to the second terminal frame by frame so that the second terminal performs image processing on the first target shooting image of each frame by frame according to the parameter information of each frame to obtain a second target shooting image of the corresponding frame.
The first target shooting data obtained when the first terminal shoots a video or continuously shoots the video comprises a plurality of frames of first target shooting images. The first subject captured image is a picture output from the first terminal image processor, and has a suffix of. Specifically, the first terminal may respond to a continuous shooting or video shooting instruction, and the first terminal may continuously shoot or video shoot multiple frames of first target shooting images. And generating a data packet according to the first target shooting image of each frame and the parameter information of the corresponding frame, namely generating the data packet frame by the first terminal, and sending the generated data packet to the second terminal frame by frame. And the second terminal receives the data packet sent by the first terminal frame by frame, and performs image processing on the first target shot image of each frame by frame according to parameter information of each frame to obtain a second target shot image of a corresponding frame.
According to the shooting method, the first terminal and the second terminal are matched with each other to execute the shooting process of the multi-frame pictures, the second terminal is used for processing the images of the first target shot by each frame acquired by the first terminal, the first terminal can obtain the multi-frame pictures with the shooting effect of the second terminal, the multi-frame pictures are not limited by the image processing capacity of the first terminal, and the shooting effect of the first terminal is improved.
In an exemplary embodiment, the photographing method further includes: and receiving a target video file returned by the second terminal, wherein the target video file is generated by encoding a plurality of frames of second target shooting images by the second terminal.
Specifically, the first terminal may respond to a shooting instruction of the video, and the first terminal may perform video shooting to obtain a plurality of frames of first target shooting images. The first terminal generates a data packet according to each frame of first target shooting data and parameter information of a corresponding frame, and the first terminal sends the multi-frame data packet to the second terminal frame by frame. And carrying out image processing on the first target shooting data in the data packet frame by frame through the second terminal. Namely, image processing is carried out on each frame of first target shooting data according to the parameter information, and a second target shooting image corresponding to the frame is obtained. And the second terminal encodes each frame of second target shooting image to obtain a target video file. And the second terminal sends the target video file to the first terminal, and the first terminal receives the target video file returned by the second terminal.
According to the shooting method, the first terminal and the second terminal are matched with each other to execute a complete video shooting process, each frame of first target shooting image acquired by the first terminal is subjected to image processing through the second terminal, the first terminal can obtain a video with the shooting effect of the second terminal, the video is not limited by the image processing capacity of the first terminal, and the shooting effect of the first terminal is improved.
Fig. 3 is a diagram illustrating a method of establishing a wireless communication connection according to an example embodiment. As shown in fig. 3, before responding to the photographing instruction, the method further includes the steps of:
step S310, a target user account is obtained, and a connection request is sent to a second terminal corresponding to the target user account.
And step S320, establishing wireless communication connection with the second terminal according to the connection request.
The first terminal may be installed with a target application (such as a courier application) for performing graphics processing, the second terminal may also be installed with a target application for performing image processing, and the image capabilities of the first terminal and the second terminal may be the same or different. When a user issues an instruction for opening a target application from a first terminal, at least one user account providing a preset service is displayed in an interface of the target application, where the target user account may be a user account selected by the user and meeting a user requirement. The preset service is a service that the second terminal provides in association with the application. The preset service may be a service in which the second terminal provides image processing for the first target photographing data of the first terminal. Specifically, a first terminal acquires a target user account through an interface of a target application installed on the first terminal, and the first terminal sends a connection request to a second terminal corresponding to the target user account. And the second terminal receives the link request and establishes wireless communication connection with the second terminal according to the connection request. The wireless Communication connection may be NFC (Near Field Communication), bluetooth, WIFI, a mobile network, or the like, and illustratively, the first terminal and the second terminal have NFC modules respectively, and the first terminal and the second terminal may transmit data in a passive mode.
In the shooting method, the wireless communication connection between the first terminal and the second terminal is established, a data channel is provided for completing the shooting process by utilizing the camera shooting component of the first terminal and the image processing application program installed on the second terminal, and the first target shooting data obtained by the first terminal and the second target shooting data obtained by the second terminal after the image processing of the first target shooting data can be transmitted.
In an exemplary embodiment, obtaining the target user account includes: displaying a plurality of user accounts through a display interface of a target application; and acquiring a target user account from a plurality of user accounts.
Specifically, a target application is installed on the first terminal, and the target application is an application program having an image processing function. When a user issues an instruction for opening the target application to the first terminal, a plurality of user accounts capable of providing the preset service are displayed in an interface of the target application. The user selects a target user account meeting the user requirement from a plurality of user accounts, and the target user account can be selected in a friend list mode or a discovered mode. In this embodiment, the user accounts corresponding to the plurality of second terminals are visually displayed through the display interface of the target application, so that the convenience of selecting the second terminals is improved, and the operation cost of the user is reduced.
In an exemplary embodiment, the displaying of the plurality of user accounts through the display interface of the target application includes: and displaying the image processing information of each user account through a display interface of the target application.
The image processing information comprises terminal related parameters and/or image processing mode information. The image processing information is used for reflecting the image processing capability of the second terminal. The image processing information may be a terminal-related parameter of the second terminal, such as a device model; the image processing information may also be image processing mode information, and the image processing mode information may be a mode for performing image processing, such as whitening, face thinning, makeup beautifying, and the like, on the first target captured image according to a capturing effect desired by the user. The image processing mode information may also include parameters used for image processing of the first target captured image according to a desired capturing effect of the user, such as parameters of whitening, face thinning, and makeup stickers. Specifically, when a user issues an instruction to open a target application to a first terminal, a plurality of user accounts and image processing information of each user account are displayed in an interface of the target application. Illustratively, as shown in fig. 4a, the interface of the target application shows the device model of each user account. As shown in fig. 4b, the interface of the target application shows the image processing mode information of each user account.
In this embodiment, the image processing information of the plurality of second terminals is visually displayed through the display interface of the target application, so that the convenience of selecting the second terminals is improved, and the operation cost of a user is reduced.
In an exemplary embodiment, as shown in fig. 5, before transmitting the first target photographing data and the parameter information of the first target photographing data to the second terminal, the photographing method further includes:
in step S510, target image processing method information is acquired from the presented image processing method information.
Specifically, when the user issues an instruction to open the target application to the first terminal, the interface of the target application displays a plurality of user accounts and image processing information of each user account, where the image processing information may be image processing mode information, and each user account may correspond to a plurality of image processing mode information, such as a whitening parameter, a face thinning parameter, a makeup sticker, and the like. And selecting target image processing mode information by the user through the plurality of image processing mode information displayed on the interface of the target application. It should be noted that the number of target image processing method information may be one or more.
In step S220, the first target shooting data and the parameter information of the first target shooting data are sent to the second terminal, which may specifically be implemented by the following steps:
in step S520, the first target photographing data, the parameter information of the first target photographing data, and the target image processing method information are transmitted to the second terminal, so that the second terminal performs image processing on the first target photographing data according to the parameter information and the target image processing method information.
Specifically, the user selects the target image processing mode information through a plurality of image processing mode information displayed on the interface of the target application. And after the first terminal obtains the first target shooting data, generating a data packet according to the first target shooting data, the parameter information of the first target shooting data and the target image processing mode information. The first terminal can send the data packet to the second terminal so that the second terminal receives the data packet, and the second terminal performs image processing on the first target shooting data according to the parameter information and the target image processing mode information. For example, the second terminal performs any one or more processing modes of beauty, body beautification, makeup (makeup), face thinning, filtering, cutting, saturation adjustment, brightness adjustment, definition adjustment, color temperature adjustment, highlight adjustment, sharpening, and picture style adjustment on the first target shooting data.
In the shooting method, the first terminal sends the first target shooting data, the parameter information of the first target shooting data and the target image processing mode information to the second terminal so that the second terminal can process the first target shooting data according to the parameter information and the target image processing mode information, the first terminal obtains the shooting effect corresponding to the target image processing mode information, and the shooting performance of the first terminal is expanded. The following illustrates the effects of this example, for example, the high-version application has a certain requirement on the installation environment, and the old model or the low-end first terminal does not support installation of the high-version application, but the first terminal has a shooting function, so that the first terminal shooting component is called to obtain the first target shooting data, and the first target shooting data of the first terminal is sent to the high-end second terminal, and the high-version application can be installed on the second terminal, so that the second terminal performs image processing on the first target shooting data of the first terminal through the high-version application, and returns the processed second target shooting data to the first terminal.
In an exemplary embodiment, the target image processing manner information includes image processing application information. The first target shooting data, the parameter information of the first target shooting data and the target image processing mode information are sent to the second terminal, and the method can be specifically realized through the following steps: and sending the first target shooting data, the parameter information of the first target shooting data and the image processing application program information to a second terminal so that the second terminal calls a corresponding image processing application program according to the image processing application program information, wherein the image processing application program is used for carrying out image processing on the first target shooting data according to the parameter information.
The image processing application information is used for instructing the second terminal to call the corresponding image processing application. Specifically, the user selects target image processing mode information through a plurality of pieces of image processing mode information displayed on an interface of the target application, and the target image processing mode information includes image processing application program information. After the first terminal obtains the first target shooting data, a data packet is generated according to the first target shooting data, parameter information of the first target shooting data and image processing application program information. The first terminal may send the data packet to the second terminal, so that the second terminal invokes a corresponding image processing application according to the image processing application information, where the image processing application is configured to perform image processing on the first target shooting data according to the parameter information. Further, a plurality of image processing applications having different photographing effects may be installed in the second terminal, and the image processing application information may indicate which image processing application the second terminal calls for image processing. It will be appreciated that invocation of an image processing application requires prior acquisition of permission to use the image processing application.
In the shooting method, the first terminal sends the first target shooting data, the parameter information of the first target shooting data and the image processing application program information to the second terminal, so that the second terminal carries out image processing on the first target shooting data according to the parameter information and the image processing application program information, the first terminal can obtain the shooting effect corresponding to the image processing application program, and the shooting performance of the first terminal is expanded.
In an exemplary embodiment, the obtaining of the target user account from the plurality of user accounts may be specifically implemented by the following steps: acquiring expected processing parameters of the first target shooting data; and comparing the expected processing parameters with the image processing information of each user account to obtain target image processing information matched with the expected processing parameters, and determining the user account corresponding to the target image processing information as the target user account.
Specifically, the second terminal performs image processing on the first target shooting data by using the expected processing parameters to obtain a shooting effect satisfied by the user, the user can set the expected processing parameters corresponding to the shooting effect, and the first terminal obtains the expected processing parameters of the first target shooting data. As described above, the first terminal displays the image processing information of each user account through the display interface of the target application, may compare the expected processing parameters with the image processing information of each user account to obtain target image processing information matched with the expected processing parameters, and determines the user account corresponding to the target image processing information as the target user account. In the embodiment, the expected processing parameters are compared with the image processing information of each user account, and the target user account which is expected to be matched with the user is determined, so that the automatic matching of the first terminal and the second terminal is realized, and the operation cost of the user is saved.
Fig. 6 is a flowchart illustrating a photographing method according to an exemplary embodiment, which is used in the second terminal 104 of fig. 1, as shown in fig. 6, and includes the steps of:
in step S610, the first target photographing data and the parameter information transmitted by the first terminal are received.
The first target shooting data is image data output by an image processor of the first terminal, and the parameter information is a parameter of the first target shooting data. The first target shot data is image data output by the image processor of the first terminal performing image processing on the original shot data. The image processor may perform image processing such as 3A (auto exposure, auto focus, auto white balance), dead pixel correction, noise removal, strong light suppression, backlight compensation, color enhancement, lens shading correction, and the like on the RGB RAW format data. The original shooting data can be RGB RAW format data which is not processed by the first terminal image, each pixel point in the first terminal shooting component samples and quantizes light to obtain RGB numerical values, each pixel point only outputs one color, and RGB represents three primary colors of red, green and blue. The RAW RGB format data is in an image format that is directly output without image processing, and is arranged in an array format of bgbgbgbgbgbgbgbgbgbgbgbgbgbgbg grgrgrgrgrgrgrgrgrgrgrgrgrgrgrgrgrgrgr, for example. The photographing may be photographing or photographing.
Specifically, a wireless Communication connection is established between the second terminal and the first terminal, and may be NFC (Near Field Communication), bluetooth, or the like. The first terminal obtains original shooting data in a RAW format through an image sensor of the first terminal shooting assembly according to a shooting instruction, and an image processor of the first terminal performs image processing on the original shooting data to output first target shooting data. And after the first terminal obtains the first target shooting data, generating a data packet according to the first target shooting data and the parameter information of the first target shooting data. The first terminal sends the data packet to the second terminal, and the second terminal receives the data packet.
In step S620, image processing is performed on the first target captured data according to the parameter information, so as to obtain second target captured data.
The second target shooting data is data obtained by the second terminal after image processing is performed on the first target shooting data, and the second target shooting data can be a photo or a video with a shooting effect of the second terminal. The image processing capability of the second terminal is different from that of the first terminal, and the shooting effect of the picture or the video obtained by shooting through the second terminal is also different from that of the picture or the video obtained by shooting through the first terminal. In particular, the first terminal may transmit the data packet to the second terminal. And the second terminal receives the data packet and performs image processing on the first target shooting data in the data packet according to the parameter information of the first target shooting data to obtain second target shooting data. The image processing performed by the second terminal may be a retouching process such as a skin beautification, a body beautification, a makeup (makeup), a face thinning, a filter, a cutting, a saturation adjustment, a brightness adjustment, a definition adjustment, a color temperature adjustment, a highlight adjustment, a sharpening, a picture style adjustment, and the like, on the first target shooting data.
In step S630, the second target photographing data is transmitted to the first terminal.
Specifically, the first terminal may send a data packet generated according to the first target shooting data and parameter information of the first target shooting data to the second terminal, and the second terminal receives the data packet and performs image processing on the first target shooting data according to the parameter information of the first target shooting data to obtain second target shooting data. And the second terminal returns the second target shooting data to the first terminal, and the first terminal receives the second target shooting data. The shooting effect of the second terminal can be obtained through the first terminal. Illustratively, the image processing performance of the second terminal is superior to that of the first terminal, and the first target shooting data acquired by the first terminal is subjected to image modifying processing such as beauty, body beautification, makeup (makeup), face thinning, filtering, cutting, saturation adjustment, brightness adjustment, definition adjustment, color temperature adjustment, highlight adjustment, sharpening, picture style adjustment and the like by utilizing the image processing performance of the second terminal, so that the first terminal obtains high-quality target shooting data. It is understood that the image processing capability of the second terminal may be an image processing capability that an application installed on the second terminal has.
In the shooting method, the second terminal receives the first target shooting data and the parameter information of the first target shooting data sent by the first terminal; image processing is carried out on the first target shooting data according to the parameter information to obtain second target shooting data; thereby transmitting the second target photographing data to the first terminal. Through the method and the device, the first terminal and the second terminal are matched with each other to execute a complete photographing process, the second terminal performs image processing on the first target photographing data acquired by the first terminal, the first terminal can obtain a picture or a video with a photographing effect of the second terminal, the picture or the video is not limited by the image processing capacity of the first terminal, the photographing effect of the first terminal is improved, and the photographing function of the second terminal is fully utilized.
In an exemplary embodiment, the first target photographic data includes a plurality of frames of the first target photographic image; performing image processing on the first target shooting data according to the parameter information to obtain second target shooting data, including: and carrying out image processing on the first target shot image of each frame by frame according to the parameter information of each frame to obtain a second target shot image of the corresponding frame.
The first target shooting data obtained when the first terminal shoots a video or continuously shoots the video comprises a plurality of frames of first target shooting images. The first subject captured image is a picture output from the first terminal image processor, and has a suffix of. Specifically, the quality of the first target shooting data output by the first terminal image processor is to be improved due to insufficient performance of the first terminal image processor. Therefore, the first terminal responds to the continuous shooting or video shooting instruction, and the first terminal continuously shoots the pictures or videos to obtain multiple frames of first target shooting images. And generating a data packet according to the first target shooting image of each frame and the parameter information of the corresponding frame, namely generating the data packet frame by the first terminal, and sending the generated data packet to the second terminal frame by frame. And the second terminal receives the data packet sent by the first terminal frame by frame, and performs image processing on the first target shot image of each frame by frame according to parameter information of each frame to obtain a second target shot image of a corresponding frame.
According to the shooting method, the technical problem that the shooting effect is poor due to the fact that the image processor of the first terminal is insufficient in performance is solved by means of the shooting performance of the second terminal, the shooting performance of the second terminal is fully utilized, the shooting capability of the first terminal is improved, the shooting performance of the first terminal is expanded, and the shooting effect is improved.
In an exemplary embodiment, the photographing method further includes: coding a plurality of frames of second target shooting images to generate a target video file; and sending the target video file to the first terminal.
Specifically, the first terminal may respond to a shooting instruction of the video, and the first terminal may perform video shooting to obtain a plurality of frames of first target shooting images. The first terminal generates a data packet according to each frame of first target shooting data and parameter information of a corresponding frame, and the first terminal sends the multi-frame data packet to the second terminal frame by frame. And carrying out image processing on the first target shooting data in the data packet frame by frame through the second terminal. Namely, image processing is carried out on each frame of first target shooting data according to the parameter information, and a second target shooting image corresponding to the frame is obtained. And the second terminal encodes each frame of second target shooting image to obtain a target video file. And the second terminal sends the target video file to the first terminal, and the first terminal receives the target video file returned by the second terminal.
In the shooting method, the first terminal and the second terminal are matched with each other to execute a complete video shooting process, each frame of first target shooting image acquired by the first terminal is subjected to image processing through the second terminal, the first terminal can obtain a video with the shooting effect of the second terminal, and the video is not limited by the image processing capacity of the first terminal, in addition, the shooting effect of the first terminal is improved, and the shooting performance of the second terminal is exerted vividly.
In an exemplary embodiment, before receiving the first target photographing data and the parameter information transmitted by the first terminal, the photographing method further includes: receiving a connection request sent by a first terminal; and establishing a wireless communication connection with the first terminal according to the connection request.
The connection request carries a target user account corresponding to the second terminal, and the target user account is acquired by the first terminal from the displayed user accounts. The first terminal may be installed with a target application (such as a courier application) for performing graphics processing, and the second terminal may also be installed with a target application for performing image processing, and the image capabilities of the two may be the same or different. When a user issues an instruction for opening a target application from a first terminal, at least one user account providing a preset service is displayed in an interface of the target application, where the target user account may be a user account selected by the user and meeting a user requirement. The preset service is a service that the second terminal provides in association with the application. The preset service may be a service in which the second terminal provides image processing for the first target photographing data of the first terminal. Specifically, a first terminal acquires a target user account through an interface of a target application installed on the first terminal, and the first terminal sends a connection request to a second terminal corresponding to the target user account. And the second terminal receives the link request and establishes wireless communication connection with the second terminal according to the connection request. The wireless Communication connection may be NFC (Near Field Communication), bluetooth, WIFI, a mobile network, or the like, and illustratively, the first terminal and the second terminal have NFC modules respectively, and the first terminal and the second terminal may transmit data in a passive mode.
In the shooting method, the wireless communication connection between the first terminal and the second terminal is established, a data channel is provided for completing the shooting process by utilizing the camera shooting component of the first terminal and the image processing application program installed on the second terminal, and the first target shooting data obtained by the first terminal and the second target shooting data obtained by the second terminal after the image processing of the first target shooting data can be transmitted.
In an exemplary embodiment, as shown in fig. 7, before the image processing of the first target photographing data according to the parameter information, the photographing method further includes:
in step 710, the target image processing method information transmitted by the first terminal is received.
In step S620, the image processing is performed on the first target captured data according to the parameter information, which may be specifically implemented by the following steps:
in step 720, image processing is performed on the first target captured data based on the parameter information and the target image processing mode information.
And the target image processing mode information is acquired by the first terminal from the displayed image processing mode information. Specifically, when the user issues an instruction to open the target application to the first terminal, the interface of the target application displays a plurality of user accounts and image processing information of each user account, where the image processing information may be image processing mode information, and each user account may correspond to a plurality of image processing mode information, such as a whitening parameter, a face thinning parameter, a makeup sticker, and the like. And selecting target image processing mode information by the user through the plurality of image processing mode information displayed on the interface of the target application. It should be noted that the number of target image processing method information may be one or more. And selecting target image processing mode information by the user through the plurality of image processing mode information displayed on the interface of the target application. And after the first terminal obtains the first target shooting data, generating a data packet according to the first target shooting data, the parameter information of the first target shooting data and the target image processing mode information. The first terminal may send the data packet to the second terminal, so that the second terminal receives the data packet, that is, the second terminal receives the target image processing mode information sent by the first terminal. And the second terminal performs image processing on the first target shooting data according to the parameter information and the target image processing mode information. For example, the second terminal performs any one or more processing modes of beauty, body beautification, makeup (makeup), face thinning, filtering, cutting, saturation adjustment, brightness adjustment, definition adjustment, color temperature adjustment, highlight adjustment, sharpening, and picture style adjustment on the first target shooting data.
In the shooting method, the second terminal receives the first target shooting data, the parameter information of the first target shooting data and the target image processing mode information sent by the first terminal, the second terminal carries out image processing on the first target shooting data according to the parameter information and the target image processing mode information, the first terminal obtains the shooting effect corresponding to the target image processing mode information, and the shooting performance of the first terminal is expanded by using the image processing function of the second terminal. The following illustrates the effects of this example, for example, the high-version application has a certain requirement on the installation environment, and the old model or the low-end first terminal does not support installation of the high-version application, but the first terminal has a shooting function, so that the first terminal shooting component is called to obtain the first target shooting data, and the first target shooting data of the first terminal is sent to the high-end second terminal, and the high-version application can be installed on the second terminal, so that the second terminal performs image processing on the first target shooting data of the first terminal through the high-version application, and returns the processed second target shooting data to the first terminal.
In an exemplary embodiment, the target image processing manner information includes image processing application information. Image processing is performed on the first target shooting data according to the parameter information and the target image processing mode information, and the image processing method comprises the following steps: calling a corresponding image processing application program according to the image processing application program information; and performing image processing on the first target shooting data according to the parameter information through an image processing application program.
The image processing application information is used for instructing the second terminal to call the corresponding image processing application. Specifically, the user selects target image processing mode information through a plurality of pieces of image processing mode information displayed on the interface of the first terminal target application, and the target image processing mode information includes image processing application program information. After the first terminal obtains the first target shooting data, a data packet is generated according to the first target shooting data, parameter information of the first target shooting data and image processing application program information. The first terminal may send the data packet to the second terminal, so that the second terminal invokes a corresponding image processing application according to the image processing application information, where the image processing application is configured to perform image processing on the first target shooting data according to the parameter information. Further, a plurality of image processing applications having different photographing effects may be installed in the second terminal, and the image processing application information may indicate which image processing application the second terminal calls for image processing. It will be appreciated that invocation of an image processing application requires prior acquisition of permission to use the image processing application.
In the shooting method, the second terminal receives the first target shooting data, the parameter information of the first target shooting data and the image processing application program information, so that the second terminal performs image processing on the first target shooting data according to the parameter information and the image processing application program information, the first terminal can obtain the shooting effect corresponding to the image processing application program, and the shooting performance of the first terminal is expanded by using the image processing function of the second terminal.
Fig. 8 is a flowchart illustrating a photographing method according to an exemplary embodiment, which is used in the first terminal 102 and the second terminal 104 of fig. 1, as shown in fig. 8, and includes the steps of:
step 801, displaying a plurality of user accounts and image processing information of each user account by a first terminal through a display interface of a target application.
Specifically, the image processing information includes terminal-related parameters and/or image processing mode information.
Step 802, a target user account is acquired from a first terminal in a plurality of user accounts.
Step 803, the first terminal sends a connection request to a second terminal corresponding to the target user account.
And step 804, the first terminal establishes wireless communication connection with the second terminal according to the connection request.
In step 805, the first terminal responds to the shooting instruction to obtain first target shooting data, and the first target shooting data is shooting data output by the image processor.
Step 806, the first terminal obtains the target image processing mode information from the displayed image processing mode information.
In step 807, the first target shooting data, the parameter information of the first target shooting data, and the target image processing mode information are sent to the second terminal.
And 808, the second terminal performs image processing on the first target shooting data according to the parameter information and the target image processing mode information to obtain second target shooting data.
And step 809, the second terminal returns the second target shooting data.
And step 810, the first terminal receives and displays the second target shooting data.
It should be understood that, although the steps in the above-described flowcharts are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a part of the steps in the above-mentioned flowcharts may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of performing the steps or the stages is not necessarily performed in sequence, but may be performed alternately or alternately with other steps or at least a part of the steps or the stages in other steps.
Fig. 9 is a block diagram illustrating a photographing apparatus according to an exemplary embodiment, which is applied to a first terminal. Referring to fig. 9, the apparatus includes a first obtaining module 902, a transmitting module 904, and a first receiving module 906. Wherein:
a first acquiring module 902 configured to execute acquiring first target photographing data in response to a photographing instruction, the first target photographing data being photographing data output by the image processor;
a sending module 904 configured to perform sending the first target photographing data and parameter information of the first target photographing data to the second terminal, so that the second terminal performs image processing on the first target photographing data according to the parameter information;
and a first receiving module 906 configured to perform receiving of second target shooting data obtained by performing image processing on the first target shooting data returned by the second terminal.
In an exemplary embodiment, the first target photographic data includes a plurality of frames of the first target photographic image; the sending module 904 is further configured to send the first target captured image and the parameter information of the corresponding frame to the second terminal frame by frame, so that the second terminal performs image processing on each frame of the first target captured image according to each frame of the parameter information, and obtains a second target captured image of the corresponding frame.
In an exemplary embodiment, the shooting device further includes a second receiving module, configured to perform receiving a target video file returned by the second terminal, where the target video file is generated by the second terminal by encoding multiple frames of second target shooting images.
In an exemplary embodiment, the photographing apparatus further includes: the second acquisition module is configured to execute acquisition of a target user account and send a connection request to a second terminal corresponding to the target user account;
and the communication connection module is configured to establish wireless communication connection with the second terminal according to the connection request.
In an exemplary embodiment, the second obtaining module is further configured to execute displaying, through a display interface of the target application, a plurality of user accounts; and acquiring a target user account from a plurality of user accounts.
In an exemplary embodiment, the second obtaining module is further configured to execute displaying, through a display interface of the target application, image processing information of each user account, where the image processing information includes terminal association parameters and/or image processing mode information.
In an exemplary embodiment, the photographing apparatus further includes: the third acquisition module is also configured to acquire target image processing mode information from the displayed image processing mode information;
the sending module 904 is further configured to send the first target shooting data, the parameter information of the first target shooting data, and the target image processing manner information to the second terminal, so that the second terminal performs image processing on the first target shooting data according to the parameter information and the target image processing manner information.
In an exemplary embodiment, the target image processing manner information includes image processing application information; the sending module 904 is further configured to send the first target shooting data, the parameter information of the first target shooting data, and the image processing application information to the second terminal, so that the second terminal calls the corresponding image processing application according to the image processing application information, and the image processing application is used for performing image processing on the first target shooting data according to the parameter information.
In an exemplary embodiment, the second acquiring module is further configured to perform acquiring the expected processing parameter of the first target photographing data; and comparing the expected processing parameters with the image processing information of each user account to obtain target image processing information matched with the expected processing parameters, and determining the user account corresponding to the target image processing information as the target user account.
Fig. 10 is a block diagram illustrating a photographing apparatus according to an exemplary embodiment, applied to a second terminal. Referring to fig. 10, the apparatus includes a first receiving module 1002, an image processing module 1004, and a transmitting module 1006. Wherein:
a first receiving module 1002 configured to perform receiving first target shooting data and parameter information, the first target shooting data being image data output by an image processor of the first terminal, and the parameter information being a parameter of the first target shooting data;
an image processing module 1004 configured to perform image processing on the first target captured data according to the parameter information, resulting in second target captured data;
a transmission module 1006 configured to perform transmission of the second target photographing data to the first terminal.
In an exemplary embodiment, the first target photographic data includes a plurality of frames of the first target photographic image; the image processing module 1004 is further configured to perform frame-by-frame image processing on each frame of the first target captured image according to each frame parameter information, so as to obtain a corresponding frame of the second target captured image.
In an exemplary embodiment, the photographing apparatus further includes: the video generation module is configured to encode a plurality of frames of second target shooting images to generate a target video file; and the video sending module is configured to send the target video file to the first terminal.
In an exemplary embodiment, the photographing apparatus further includes: the second receiving module is configured to execute receiving of a connection request sent by the first terminal, wherein the connection request carries a target user account corresponding to the second terminal, and the target user account is acquired by the first terminal from the displayed user accounts;
a communication connection module configured to perform establishment of a wireless communication connection with the first terminal according to the connection request
In an exemplary embodiment, the photographing apparatus further includes: the third receiving module is configured to execute receiving of target image processing mode information sent by the first terminal, wherein the target image processing mode information is acquired by the first terminal from the displayed image processing mode information;
and the image processing module is also configured to execute image processing on the first target shooting data according to the parameter information and the target image processing mode information.
In an exemplary embodiment, the image processing module 1004 is further configured to execute calling a corresponding image processing application according to the image processing application information; and performing image processing on the first target shooting data according to the parameter information through an image processing application program.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 11 is a block diagram illustrating an electronic device 1100 in accordance with an example embodiment. For example, the device 1100 can be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, fitness device, personal digital assistant, and the like.
Referring to fig. 11, device 1100 may include one or more of the following components: a processing component 1102, a memory 1104, a power component 1106, a multimedia component 1108, an audio component 1110, an input/output (I/O) interface 1112, a sensor component 1114, and a communications component 1116.
The processing component 1102 generally controls the overall operation of the device 1100, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 1102 may include one or more processors 1120 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 1102 may include one or more modules that facilitate interaction between the processing component 1102 and other components. For example, the processing component 1102 may include a multimedia module to facilitate interaction between the multimedia component 1108 and the processing component 1102.
The memory 1104 is configured to store various types of data to support operation at the device 1100. Examples of such data include instructions for any application or method operating on device 1100, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1104 may be implemented by any type or combination of volatile or non-volatile storage devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
A power component 1106 provides power to the various components of the device 1100. The power components 1106 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 1100.
The multimedia component 1108 includes a screen that provides an output interface between the device 1100 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1108 includes a front facing camera and/or a rear facing camera. The front-facing camera and/or the rear-facing camera may receive external multimedia data when the device 1100 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 1110 is configured to output and/or input audio signals. For example, the audio component 1110 includes a Microphone (MIC) configured to receive external audio signals when the device 1100 is in operating modes, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 1104 or transmitted via the communication component 1116. In some embodiments, the audio assembly 1110 further includes a speaker for outputting audio signals.
The I/O interface 1112 provides an interface between the processing component 1102 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 1114 includes one or more sensors for providing various aspects of state assessment for the device 1100. For example, the sensor assembly 1114 may detect the open/closed state of the device 1100, the relative positioning of components, such as a display and keypad of the device 1100, the sensor assembly 1114 may also detect a change in the position of the device 1100 or a component of the device 1100, the presence or absence of user contact with the device 1100, orientation or acceleration/deceleration of the device 1100, and a change in the temperature of the device 1100. The sensor assembly 1114 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 1114 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1114 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 1116 is configured to facilitate wired or wireless communication between the device 1100 and other devices. The device 1100 may access a wireless network based on a communication standard, such as WiFi, an operator network (such as 2G, 3G, 4G, or 5G), or a combination thereof. In an exemplary embodiment, the communication component 1116 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1116 also includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the device 1100 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 1104 comprising instructions, executable by the processor 1120 of the device 1100 to perform the method described above, is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A shooting method is applied to a first terminal, and comprises the following steps:
responding to a shooting instruction, and acquiring first target shooting data, wherein the first target shooting data are shooting data output by an image processor;
sending the first target shooting data and parameter information of the first target shooting data to a second terminal so that the second terminal can perform image processing on the first target shooting data according to the parameter information;
and receiving second target shooting data obtained by processing the first target shooting data returned by the second terminal.
2. The photographing method according to claim 1, wherein the first target photographic data includes a plurality of frames of first target photographic images; the sending the first target shooting data and the parameter information of the first target shooting data to a second terminal includes:
and sending the first target shooting image and the parameter information of the corresponding frame to the second terminal frame by frame so that the second terminal performs image processing on each frame of the first target shooting image frame by frame according to each frame of the parameter information to obtain a second target shooting image of the corresponding frame.
3. The photographing method according to claim 2, wherein the method further comprises:
and receiving a target video file returned by the second terminal, wherein the target video file is generated by encoding a plurality of frames of second target shooting images by the second terminal.
4. The photographing method according to any one of claims 1 to 3, wherein before the responding to the photographing instruction, the method further comprises:
acquiring a target user account, and sending a connection request to a second terminal corresponding to the target user account;
and establishing wireless communication connection with the second terminal according to the connection request.
5. The shooting method according to claim 4, wherein the acquiring of the target user account comprises:
displaying a plurality of user accounts through a display interface of a target application;
and acquiring the target user account from the plurality of user accounts.
6. A shooting method is applied to a second terminal and comprises the following steps:
receiving first target shooting data and parameter information sent by a first terminal, wherein the first target shooting data are image data output by an image processor of the first terminal, and the parameter information is a parameter of the first target shooting data;
performing image processing on the first target shooting data according to the parameter information to obtain second target shooting data;
and sending the second target shooting data to the first terminal.
7. A shooting device, applied to a first terminal, the device comprising:
a first acquisition module configured to execute acquiring first target shooting data in response to a shooting instruction, the first target shooting data being shooting data output by an image processor;
the sending module is configured to send the first target shooting data and parameter information of the first target shooting data to a second terminal so that the second terminal can perform image processing on the first target shooting data according to the parameter information;
and the first receiving module is configured to execute receiving of second target shooting data obtained by performing image processing on the first target shooting data returned by the second terminal.
8. A photographing apparatus applied to a second terminal, the apparatus comprising:
the terminal comprises a first receiving module, a second receiving module and a third receiving module, wherein the first receiving module is configured to execute receiving of first target shooting data and parameter information, the first target shooting data is image data output by an image processor of a first terminal, and the parameter information is a parameter of the first target shooting data;
the image processing module is configured to execute image processing on the first target shooting data according to the parameter information to obtain second target shooting data;
a transmission module configured to perform transmission of the second target photographing data to the first terminal.
9. An electronic device, comprising:
a processor; a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the photographing method according to any one of claims 1 to 6.
10. A storage medium in which instructions, when executed by a processor of an electronic device, enable the electronic device to perform the photographing method according to any one of claims 1 to 6.
CN202010813057.9A 2020-08-13 2020-08-13 Shooting method, shooting device, electronic equipment and storage medium Pending CN111953903A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010813057.9A CN111953903A (en) 2020-08-13 2020-08-13 Shooting method, shooting device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010813057.9A CN111953903A (en) 2020-08-13 2020-08-13 Shooting method, shooting device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111953903A true CN111953903A (en) 2020-11-17

Family

ID=73341858

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010813057.9A Pending CN111953903A (en) 2020-08-13 2020-08-13 Shooting method, shooting device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111953903A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113691729A (en) * 2021-08-27 2021-11-23 维沃移动通信有限公司 Image processing method and device
CN114885192A (en) * 2021-02-05 2022-08-09 北京小米移动软件有限公司 Video processing method, video processing apparatus, and storage medium
WO2023025196A1 (en) * 2021-08-25 2023-03-02 维沃移动通信(杭州)有限公司 Image processing method and apparatus, and electronic device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102484779A (en) * 2009-08-24 2012-05-30 三星电子株式会社 Method and apparatus for sharing functions between devices via a network
CN104837043A (en) * 2015-05-14 2015-08-12 腾讯科技(北京)有限公司 Method for processing multimedia information and electronic equipment
CN105052122A (en) * 2013-01-24 2015-11-11 株式会社尼康 Imaging device
CN105657249A (en) * 2015-12-16 2016-06-08 东莞酷派软件技术有限公司 Image processing method and user terminal
CN106775902A (en) * 2017-01-25 2017-05-31 北京奇虎科技有限公司 A kind of method and apparatus of image procossing, mobile terminal
WO2019213882A1 (en) * 2018-05-09 2019-11-14 华为技术有限公司 Lending of local processing capability of interconnected terminals

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102484779A (en) * 2009-08-24 2012-05-30 三星电子株式会社 Method and apparatus for sharing functions between devices via a network
CN105052122A (en) * 2013-01-24 2015-11-11 株式会社尼康 Imaging device
CN104837043A (en) * 2015-05-14 2015-08-12 腾讯科技(北京)有限公司 Method for processing multimedia information and electronic equipment
CN105657249A (en) * 2015-12-16 2016-06-08 东莞酷派软件技术有限公司 Image processing method and user terminal
CN106775902A (en) * 2017-01-25 2017-05-31 北京奇虎科技有限公司 A kind of method and apparatus of image procossing, mobile terminal
WO2019213882A1 (en) * 2018-05-09 2019-11-14 华为技术有限公司 Lending of local processing capability of interconnected terminals

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114885192A (en) * 2021-02-05 2022-08-09 北京小米移动软件有限公司 Video processing method, video processing apparatus, and storage medium
WO2023025196A1 (en) * 2021-08-25 2023-03-02 维沃移动通信(杭州)有限公司 Image processing method and apparatus, and electronic device
CN113691729A (en) * 2021-08-27 2021-11-23 维沃移动通信有限公司 Image processing method and device
CN113691729B (en) * 2021-08-27 2023-08-22 维沃移动通信有限公司 Image processing method and device

Similar Documents

Publication Publication Date Title
US10565763B2 (en) Method and camera device for processing image
CN109345485B (en) Image enhancement method and device, electronic equipment and storage medium
RU2630167C1 (en) Method and device for switching colour range mode
CN111953904B (en) Shooting method, shooting device, electronic equipment and storage medium
CN109360261B (en) Image processing method, image processing device, electronic equipment and storage medium
CN106210496B (en) Photo shooting method and device
CN110677734B (en) Video synthesis method and device, electronic equipment and storage medium
CN111953903A (en) Shooting method, shooting device, electronic equipment and storage medium
CN107341777B (en) Picture processing method and device
CN112114765A (en) Screen projection method and device and storage medium
CN111343386B (en) Image signal processing method and device, electronic device and storage medium
CN105357449A (en) Shooting method and device, and image processing method and apparatus
CN107527072B (en) Method and device for determining similar head portrait and electronic equipment
CN111835941B (en) Image generation method and device, electronic equipment and computer readable storage medium
US11252341B2 (en) Method and device for shooting image, and storage medium
CN111698414B (en) Image signal processing method and device, electronic device and readable storage medium
CN111835977B (en) Image sensor, image generation method and device, electronic device, and storage medium
CN108769513B (en) Camera photographing method and device
CN110784721A (en) Picture data compression method and device, electronic equipment and storage medium
CN114418865A (en) Image processing method, device, equipment and storage medium
CN111225158B (en) Image generation method and device, electronic equipment and computer readable storage medium
CN112217989A (en) Image display method and device
CN116993575A (en) Image processing method, device, equipment and medium
CN116419075A (en) Image data processing method, device and storage medium
CN115514875A (en) Image processing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20201117

RJ01 Rejection of invention patent application after publication