CN111953904A - 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
CN111953904A
CN111953904A CN202010813059.8A CN202010813059A CN111953904A CN 111953904 A CN111953904 A CN 111953904A CN 202010813059 A CN202010813059 A CN 202010813059A CN 111953904 A CN111953904 A CN 111953904A
Authority
CN
China
Prior art keywords
terminal
shooting data
target
image
image processing
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.)
Granted
Application number
CN202010813059.8A
Other languages
Chinese (zh)
Other versions
CN111953904B (en
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 CN202010813059.8A priority Critical patent/CN111953904B/en
Publication of CN111953904A publication Critical patent/CN111953904A/en
Application granted granted Critical
Publication of CN111953904B publication Critical patent/CN111953904B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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 original shooting data are acquired by a first terminal in response to a shooting instruction; sending the original shooting data and the parameter information of the image sensor to a second terminal connected with the first terminal so that the second terminal calls a second image processor, wherein the second image processor is used for carrying out image processing on the original shooting data according to the parameter information; and finally, the first terminal receives target shooting data obtained by processing the original shooting data returned by the second terminal. The method and the device have the advantages that the first terminal and the second terminal are matched with each other to execute the complete photographing process, the original 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 the picture or the 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 Processor (ISP), and the ISP completes effect processing on the digital Image through a series of digital Image processing algorithms, which mainly include processing such as 3A (automatic exposure, automatic focusing, automatic white balance), dead pixel correction, denoising, strong light suppression, backlight compensation, color enhancement, lens shading correction, and the like. The quality of the pictures taken by an electronic device depends mainly on the image processor of the electronic device. The image processor may be integrated in the CPU of the electronic device, or may be a separate external image 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 embodiments of the present disclosure, there is provided a photographing method applied to a first terminal having a first image processor, including:
responding to a shooting instruction, and acquiring original shooting data, wherein the original shooting data is shooting data collected by an image sensor;
sending the original shooting data and the parameter information of the image sensor to a second terminal so that the second terminal calls a second image processor, wherein the second image processor is used for carrying out image processing on the original shooting data according to the parameter information, and the first image processor is different from the second image processor;
and receiving target shooting data obtained by processing the original shooting data returned by the second terminal.
In one embodiment, the number of the original shot data is multiple frames; the sending the raw shooting data and the parameter information of the image sensor to a second terminal includes:
and sending the original shooting data and the parameter information of the corresponding frame to the second terminal frame by frame so as to enable the second terminal to call the second image processor frame by frame, wherein the second image processor is used for carrying out image processing on the original shooting data of each frame by frame according to the parameter information of each frame to obtain a 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 the target shot image 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 an application program;
and acquiring the target user account from the plurality of user accounts.
In one embodiment, the displaying, through a display interface of an application program, a plurality of user accounts includes:
and displaying the image processing information of each user account through a display interface of the application program, wherein the image processing information comprises terminal association parameters and/or image processing mode information.
In one embodiment, before the sending the raw photographing data and the parameter information of the image sensor to the second terminal, the method further comprises:
acquiring target image processing mode information from the displayed image processing mode information;
the sending the raw shooting data and the parameter information of the image sensor to a second terminal includes:
and sending the original shooting data, the parameter information of the image sensor and the target image processing mode information to the second terminal so that the second terminal carries out image processing on the original shooting data according to the parameter information of the image sensor and the target image processing mode information.
In one embodiment, the obtaining the target user account from the plurality of user accounts includes:
acquiring expected processing parameters of original 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 having a second image processor, including:
receiving original shooting data and parameter information sent by a first terminal, wherein the first terminal is provided with a first image processor, the first image processor is different from a second image processor, the original shooting data is shooting data acquired by an image sensor of the first terminal, and the parameter information is parameters of the image sensor of the first terminal;
performing image processing on the original shooting data according to the parameter information through the second image processor to obtain target shooting data;
and sending the target shooting data to the first terminal.
In one embodiment, the number of the original shot data is multiple frames; the image processing, by the second image processor, the original shooting data according to the parameter information to obtain target shooting data includes:
and performing image processing on the original shooting data of each frame by frame through the second image processor frame by frame according to the parameter information of each frame to obtain a target shooting image of the corresponding frame.
In one embodiment, the method further comprises:
coding a plurality of frames of the target shot image to generate a target video file;
and sending the target video file to the first terminal.
In one embodiment, before the receiving the raw photographing data and the parameter information transmitted 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 user accounts displayed by the first terminal;
and establishing wireless communication connection with the first terminal according to the connection request.
In one embodiment, before the receiving the raw photographing data and the parameter information transmitted by the first terminal, 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 image processing mode information displayed by the first terminal;
the image processing of the original shot data according to the parameter information includes:
and carrying out image processing on the original shooting data according to the parameter information and the target image processing mode information.
According to a third aspect of the embodiments of the present disclosure, there is provided a photographing apparatus applied to a first terminal having a first image processor, the apparatus including:
the first acquisition module is configured to execute the steps of responding to a shooting instruction and acquiring original shooting data, wherein the original shooting data are shooting data collected by an image sensor;
a sending module configured to execute sending the raw shooting data and the parameter information of the image sensor to a second terminal so as to enable the second terminal to call a second image processor, wherein the second image processor is used for performing image processing on the raw shooting data according to the parameter information, and the first image processor is different from the second image processor;
and the first receiving module is configured to execute receiving of target shooting data obtained by performing image processing on the original shooting data returned by the second terminal.
In one embodiment, the number of the original shot data is multiple frames; the sending module is further configured to execute frame-by-frame sending of the original shooting data and parameter information of the corresponding frame to the second terminal, so that the second terminal calls the second image processor frame-by-frame, and the second image processor is used for performing image processing on the original shooting data of each frame-by-frame according to the parameter information of each frame, so as to obtain a target shooting image of the corresponding frame.
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 encoding multiple frames of the target captured image by the second terminal.
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 an application program; 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 application program, 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:
a third obtaining module configured to perform obtaining target image processing mode information from the displayed image processing mode information;
the sending module is further configured to send the raw shooting data, the parameter information of the image sensor and the target image processing mode information to the second terminal, so that the second terminal performs image processing on the raw shooting data according to the parameter information of the image sensor and the target image processing mode information.
In one embodiment, the second acquiring module is further configured to execute expected processing parameters for acquiring raw photographic 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 having a second image processor, the apparatus including:
the first receiving module is configured to receive original shooting data and parameter information sent by a first terminal, the first terminal is provided with a first image processor, the first image processor is different from the second image processor, the original shooting data is shooting data collected by an image sensor of the first terminal, and the parameter information is a parameter of the image sensor of the first terminal;
the image processing module is configured to execute image processing on the original shooting data according to the parameter information through the second image processor to obtain target shooting data;
a transmission module configured to perform transmission of the target photographing data to the first terminal.
In one embodiment, the number of the original shot data is multiple frames; the image processing module is further configured to execute frame-by-frame passing through the second image processor, and perform image processing on the original shooting data of each frame-by-frame according to the parameter information of each frame to obtain a 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 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 a plurality of user accounts displayed by the first terminal;
a communication connection module configured to perform establishing 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, where the target image processing mode information is obtained by the first terminal from image processing mode information displayed by the first terminal;
the image processing module is further configured to perform image processing on the original shooting data according to the parameter information and the target image processing mode information.
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 original shooting data; sending the original shooting data and the parameter information of the image sensor to a second terminal connected with the first terminal so that the second terminal calls a second image processor, wherein the second image processor is used for carrying out image processing on the original shooting data according to the parameter information; and finally, the first terminal receives target shooting data obtained by processing the original shooting data returned by the second terminal. The method and the device have the advantages that the first terminal and the second terminal are matched with each other to execute the complete photographing process, the original 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 the picture or the 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 flow chart illustrating establishing a wireless communication connection according to an example embodiment.
Fig. 8 is a flowchart illustrating a photographing method according to an exemplary embodiment.
Fig. 9 is a flowchart illustrating a photographing method according to an exemplary embodiment.
FIG. 10a is a block diagram of a camera shown according to an exemplary embodiment.
FIG. 10b is a block diagram of a camera shown in accordance with 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 obtain original shooting data, wherein the original shooting data is shooting data collected by an image sensor; the first terminal 102 sends the original shooting data and the parameter information of the image sensor to the second terminal 104, so that the second terminal 104 calls a second image processor, the second image processor is used for carrying out image processing on the original shooting data according to the parameter information, and the first image processor is different from the second image processor; the first terminal 102 receives target shooting data obtained by performing image processing on the original shooting data returned by the second terminal 104. It can be seen that: according to the method, the original shooting data are obtained through the camera shooting component of the first terminal 102, the target shooting data are obtained by utilizing the second terminal 104 to perform image processing on the original shooting data, and the target shooting data are returned to the first terminal 102, namely the shooting process of the method is completed by the cooperation of the first terminal 102 and the second terminal 104, the first terminal 102 can obtain the target shooting data with the shooting effect of the second terminal 104, the target shooting data are not limited by the image processing capacity of the first terminal 102, the improvement of the shooting effect of the first terminal 102 is realized by performing image processing on the original shooting data through the second terminal 104, and the limitation of the first terminal 102 is broken. 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, in response to a photographing instruction, raw photographing data is acquired.
The shooting can be photographing or shooting. 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 RAW shooting data is shooting data collected by an image sensor, for example, the RAW shooting data may be RAW format data formed by converting captured scenes from light to electricity by the image sensor of the first terminal camera assembly. The camera assembly may be a camera mounted on the first terminal, and includes a lens (lens), an image sensor (sensor), and the like. The parameter information of the image sensor may include any one or more of a black spot, a focal length, an exposure time, an aperture, image sensor correction information, and the like of the image sensor. An Image processor (ISP) is a unit mainly used to perform Image Processing on raw captured 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 RAW shooting data in a RAW format is acquired through an image sensor of a camera assembly of the first terminal. Illustratively, the RAW shot data may be RGB RAW format data which is not processed by the first terminal image, RGB representing 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 raw photographing data and the parameter information of the image sensor are transmitted to the second terminal.
Wherein the first image processor is different from the second image processor. Therefore, the image processing capability of the second terminal is different from that of the first terminal, and the shooting effect of the picture or video obtained by shooting through the second terminal is also different from that of the picture or 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 is generated by the original shooting data and the parameter information of the image sensor. The data packet may instruct the second terminal to invoke the second image processor to perform image processing on the raw shot data. The image processing means performing 3A (auto exposure, auto focus, auto white balance), dead pixel correction, noise reduction, strong light suppression, backlight compensation, color enhancement, lens shading correction, and the like on RGB RAW format data.
Specifically, the first terminal acquires RAW shooting data in a RAW format through an image sensor of the first terminal camera module according to the shooting instruction, and after the first terminal acquires the RAW shooting data, the first terminal may not perform image processing on the RAW shooting data and generate a data packet according to the RAW shooting data and parameter information of the image sensor. Further, 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, so that the first terminal may send the raw shooting data and the parameter information of the image sensor to the second terminal, so that the second terminal invokes a second image processor, and the second image processor is configured to perform image processing on the raw shooting data according to the parameter information of the image sensor.
In step S230, target captured data obtained by image processing of the original captured data returned by the second terminal is received.
The target shooting data is data obtained by image processing of the original shooting data by a second image processor of the second terminal, and the target shooting data is a picture or a video with the shooting effect of the second terminal. Specifically, the first terminal may send the original shooting data and the parameter information of the image sensor to the second terminal, and the second terminal receives the original shooting data and the parameter information of the image sensor and calls the second image processor to perform image processing on the original shooting data to obtain the target shooting data. The second terminal returns the target shooting data to the first terminal, and the first terminal receives the target shooting data. Illustratively, the image processing performance of the second terminal is better than that of the first terminal, and the second image processor of the second terminal is used for carrying out white balance, noise reduction, sharpening and the like on the original shooting data acquired by the first terminal so as to enable the first terminal to obtain high-quality target shooting data. It is to be understood that the image processing capability of the second terminal may be the capability of the image processor of the second terminal.
In the shooting method, the first terminal responds to a shooting instruction to obtain original shooting data; sending the original shooting data and the parameter information of the image sensor to a second terminal connected with the first terminal so that the second terminal calls a second image processor, wherein the second image processor is used for carrying out image processing on the original shooting data according to the parameter information; and finally, the first terminal receives target shooting data obtained by processing the original shooting data returned by the second terminal. The method and the device have the advantages that the first terminal and the second terminal are matched with each other to execute the complete photographing process, the original 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 the picture or the 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 technical problem that the shooting effect is poor due to the fact that the performance of the image processor of the first terminal is insufficient is solved, the shooting capability of the first terminal is improved, and meanwhile the shooting performance of the first terminal is expanded.
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 original shooting data obtained by shooting and the parameter information of the image sensor to the second terminal, the second terminal performs image processing on the original shooting data through its own second image processor, and the second image processor performs image processing on the original shooting data according to the parameter information of the image sensor. And the second terminal returns the processed 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 (such as a common mobile phone in hua and a flagship mobile phone in hua) with the same brand and different models.
In an exemplary embodiment, the number of raw shot data is multiple frames; sending the original shooting data and the parameter information of the image sensor to a second terminal, comprising: and sending the original shooting data and the parameter information of the corresponding frame to the second terminal frame by frame so as to enable the second terminal to call a second image processor frame by frame, wherein the second image processor is used for carrying out image processing on the original shooting data of each frame by frame according to the parameter information of each frame so as to obtain a target shooting image of the corresponding frame.
The original shooting data obtained when the first terminal shoots the video or continuously shoots the video is multi-frame shooting data. It can be understood that: the original shooting data obtained when the first terminal shoots the video comprises a plurality of frames of original shooting images. The original shot image is an original picture obtained by the first terminal camera assembly, and the suffix name is generally. Specifically, when the first terminal shoots a video, a plurality of frames of originally shot images are obtained. And generating a data packet for each frame of the original shot image, namely generating the data packet by the first terminal frame by frame according to the original shot image of each frame and the parameter information of the image sensor, and sending the generated data packet to the second terminal frame by frame. And the second image processor performs image processing on the original shooting data of each frame by frame according to parameter information of each frame to obtain a target shooting image of the 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 all the frames of original shot images 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 the second terminal by coding a plurality of frames of target shot images.
Specifically, the first terminal may respond to a shooting instruction of the video, and the first terminal may perform video shooting to obtain multiple frames of original shooting data. The first terminal generates a data packet according to each frame of original shooting data and parameter information of the image sensor corresponding to the frame, and the first terminal sends the multi-frame data packet to the second terminal frame by frame. And the second terminal calls a second image processor, and the second image processor performs image processing on the original shooting data frame by frame, namely, the second terminal performs image processing on each frame of original shooting data according to the parameter information of the image sensor to obtain a target shooting image of a corresponding frame. And the second terminal encodes each frame of 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 original shooting data acquired by the first terminal is subjected to image processing through the second image processor of 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 on the raw 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 using the image sensor of the first terminal and the second image processor on the second terminal, and the original shooting data obtained by the first terminal and the target shooting data obtained by the second terminal after the image processing of the original 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 on the original shooting data according to a shooting effect desired by a user, such as a portrait mode, an HDR (High-Dynamic Range) mode, a professional mode, and the like. The image processing mode information may also include parameters used for image processing of the original shot data according to a shooting effect desired by the user, such as an effect parameter in a portrait mode, a beauty parameter, and the like. 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 raw photographing data and the parameter information of the image sensor 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 an effect parameter and a beauty parameter in a portrait mode. 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 original shooting data and the parameter information of the image sensor are sent to the second terminal, which may specifically be implemented by the following steps:
in step S520, the raw photographing data, the parameter information of the image sensor, and the target image processing method information are transmitted to the second terminal, so that the second terminal performs image processing on the raw photographing data according to the parameter information of the image sensor 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. After the first terminal obtains the original shooting data, a data packet is generated according to the original shooting data, the parameter information of the image sensor and the target image processing mode information. The first terminal can send the data packet to the second terminal so that the second terminal can receive the data packet, and the second terminal performs image processing on the original shooting data according to the parameter information of the image sensor and the target image processing mode information. For example, the second terminal performs any one or more of human image, HDR, and professional processing on the original captured data.
In the shooting method, the first terminal sends the original shooting data, the parameter information of the image sensor and the target image processing mode information to the second terminal so that the second terminal carries out image processing on the original shooting data according to the parameter information of the image sensor 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.
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 original 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 original shot 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 original shot 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, as shown in fig. 6, the photographing method being used in the second terminal 104 of fig. 1, the second terminal having a second image processor, including the steps of:
in step S610, raw photographing data and parameter information transmitted by a first terminal are received.
The first terminal is provided with a first image processor, the first image processor is different from the second image processor, the original shooting data are shooting data collected by an image sensor of the first terminal, and the parameter information is parameters of the image sensor of the first terminal. An Image processor (ISP) is a unit mainly used to perform Image Processing on raw captured 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. 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 assembly 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. 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 RAW shot data may be RGB RAW format data formed by converting captured scenes from light to electricity by an image sensor of the first terminal camera assembly. RGB represents the three primary colors of red, green and blue.
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 acquires RAW shooting data in a RAW format through an image sensor of the first terminal camera assembly according to the shooting instruction, and after the first terminal acquires the RAW shooting data, the first terminal may not perform image processing on the RAW shooting data. The first terminal sends the original shooting data and the parameter information of the image sensor to the second terminal, and the second terminal sends the original shooting data and the parameter information of the image sensor.
In step S620, performing image processing on the original photographing data according to the parameter information by using a second image processor to obtain target photographing data;
the target shooting data is data obtained by the second terminal after image processing is performed on the original shooting data, and the target shooting data can be a photo or a video with the shooting effect of the second terminal. The image processing means performing 3A (auto exposure, auto focus, auto white balance), dead pixel correction, noise reduction, strong light suppression, backlight compensation, color enhancement, lens shading correction, and the like on RGB RAW format data. 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. Specifically, the first terminal may transmit raw photographing data and parameter information of the image sensor to the second terminal. And the second terminal receives the original shooting data and the parameter information of the image sensor, and performs image processing on the original shooting data according to the parameter information of the image sensor through the second image processor to obtain target shooting data.
In step S630, the target photographing data is transmitted to the first terminal.
Specifically, the first terminal may send the original shooting data and the parameter information of the image sensor to the second terminal, and the second terminal receives the original shooting data and the parameter information of the image sensor, and performs image processing on the original shooting data in the data packet according to the parameter information of the image sensor by using the second image processor, so as to obtain the target shooting data. The second terminal returns the target shooting data to the first terminal, and the first terminal receives the 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 better than that of the first terminal, and the original shooting data acquired by the first terminal is subjected to white balance, noise reduction, sharpening 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 to be understood that the image processing capability of the second terminal may be the capability of the second image processor of the second terminal.
In the shooting method, the second terminal receives original shooting data and parameter information sent by the first terminal connected with the second terminal, and the second image processor performs image processing on the original shooting data according to the parameter information to obtain target shooting data; and finally, the second terminal sends the target shooting data to the first terminal. The first terminal and the second terminal are matched with each other to execute a complete photographing process, the original photographing data acquired by the first terminal are subjected to image processing through the second image processor of the second 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 number of raw shot data is multiple frames. And performing image processing on the original shooting data according to the parameter information through a second image processor to obtain target shooting data, wherein the image processing comprises the following steps: and performing image processing on the original shooting data of each frame by frame through a second image processor according to the parameter information of each frame by frame to obtain a target shooting image of the corresponding frame.
The original shooting data obtained when the first terminal shoots the video comprises a plurality of frames of original shooting images. The original shot image is an original picture obtained by the first terminal camera assembly, and the suffix name is generally. Specifically, when the first terminal shoots a video, a plurality of frames of originally shot images are obtained. And generating a data packet for each frame of the original shot image, namely generating the data packet by the first terminal frame by frame according to each frame of the original shot image, 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 original shot image in the data packet to obtain a target shot image of a corresponding frame.
Further, parameter information of the first terminal image sensor can be acquired, a data packet is generated according to each frame of original shot image and the parameter information of the first terminal image sensor, the first terminal sends a plurality of frames of data packets to the second terminal frame by frame, and image processing is carried out on the original shot image in the data packet through a second image processor of the second terminal. The second image processor performs image processing on each frame of the original photographed image according to the parameter information of the image sensor.
According to the shooting method, the second terminal and the first terminal are matched with each other to execute the shooting process of the multi-frame pictures, each frame of original shot image obtained by the first terminal is subjected to image processing through the second 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: coding the multi-frame target shooting image 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 multiple frames of original shooting data. The first terminal generates a data packet according to each frame of original 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 original shooting data in the data packet frame by frame through the second terminal. Namely, image processing is carried out on each frame of original shooting data according to the parameter information, and a target shooting image of a corresponding frame is obtained. And the second terminal encodes each frame of 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 original shooting data acquired by the first terminal is subjected to image processing through the second terminal, the first terminal can acquire 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.
Fig. 7 is a diagram illustrating a method of establishing a wireless communication connection according to an example embodiment. As shown in fig. 7, before receiving the raw photographing data and the parameter information transmitted by the first terminal, the photographing method further includes:
step S710, receiving a connection request sent by the first terminal.
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 user accounts displayed by the first terminal.
And step S720, establishing 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 on the raw 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 original shooting data obtained by the first terminal and the target shooting data obtained by the second terminal after the image processing of the original shooting data can be transmitted.
In an exemplary embodiment, as shown in fig. 8, before receiving the raw photographing data and the parameter information transmitted by the first terminal, the photographing method further includes:
in step 810, the target image processing method information transmitted by the first terminal is received.
In step S620, image processing is performed on the original captured data according to the parameter information to obtain target captured data, which may specifically be implemented by the following steps:
in step 820, image processing is performed on the original captured data according to the parameter information and the target image processing mode information to obtain target captured data.
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 an effect parameter and a beauty parameter in a portrait mode. 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. After the first terminal obtains the original shooting data, a data packet is generated according to the original shooting data, the parameter information of the image sensor 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 processes the original shot data according to the parameter information of the image sensor and the target image processing mode information. For example, the second terminal performs any one or more of human image, HDR, and professional processing on the original captured data.
In the shooting method, the second terminal receives original shooting data, parameter information of the image sensor and target image processing mode information sent by the first terminal, the second terminal carries out image processing on the original shooting data according to the parameter information and the target image processing mode information, the first terminal obtains a 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.
Fig. 9 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 901, displaying a plurality of user accounts and image processing information of each user account by the first terminal through a display interface of the target application.
Specifically, the image processing information includes terminal-related parameters and/or image processing mode information.
Step 902, a target user account is acquired from a first terminal in a plurality of user accounts.
Step 903, the first terminal sends a connection request to a second terminal corresponding to the target user account.
And step 904, the first terminal establishes a wireless communication connection with the second terminal according to the connection request.
Step 905, the first terminal responds to the shooting instruction to acquire original shooting data, wherein the original shooting data are shooting data acquired by the image sensor.
Step 906, the first terminal acquires the target image processing mode information from the displayed image processing mode information.
Step 907, sending the original shooting data, the parameter information of the image sensor and the target image processing mode information to the second terminal.
And 908, the second terminal performs image processing on the original shot data according to the parameter information of the image sensor and the target image processing mode information.
In step 909, the second terminal returns the target shooting data.
And step 910, the first terminal receives and displays the 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. 10a is a block diagram of a camera, according to an exemplary embodiment, applied to a first terminal. Referring to fig. 10a, the apparatus includes a first obtaining module 1002a, a transmitting module 1004a, and a first receiving module 1006 a. Wherein:
a first obtaining module 1002a configured to perform obtaining original shooting data in response to a shooting instruction, where the original shooting data is shooting data collected by an image sensor;
a sending module 1004a configured to execute sending the raw shooting data and the parameter information of the image sensor to a second terminal so as to enable the second terminal to call a second image processor, wherein the second image processor is used for performing image processing on the raw shooting data according to the parameter information, and the first image processor is different from the second image processor;
a first receiving module 1006a configured to receive target shooting data obtained by performing image processing on the raw shooting data returned by the second terminal.
In an exemplary embodiment, the number of the raw shot data is a plurality of frames; the sending module 1004a is further configured to execute sending the original shooting data and the parameter information of the corresponding frame to the second terminal frame by frame, so that the second terminal calls the second image processor frame by frame, and the second image processor is configured to perform image processing on the original shooting data of each frame by frame according to the parameter information of each frame, so as to obtain a target shooting image of the corresponding frame.
In an exemplary 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 encoding a plurality of frames of the target captured image by the second terminal.
In an exemplary 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 an exemplary embodiment, the second obtaining module is further configured to execute displaying, through a display interface of an application program, a plurality of user accounts; and acquiring the target user account from the plurality of user accounts.
In an exemplary embodiment, the second obtaining module is further configured to execute displaying, through a display interface of the application program, 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 apparatus further comprises: a third obtaining module configured to perform obtaining target image processing mode information from the displayed image processing mode information;
the sending module is further configured to send the raw shooting data, the parameter information of the image sensor and the target image processing mode information to the second terminal, so that the second terminal performs image processing on the raw shooting data according to the parameter information of the image sensor and the target image processing mode information.
In an exemplary embodiment, the second acquiring module is further configured to perform acquiring desired processing parameters of the raw shot 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. 10b is a block diagram of a photographing apparatus according to an exemplary embodiment, applied to a second terminal having a second image processor. Referring to fig. 10b, the apparatus includes a first receiving module 1002b, an image processing module 1004b, and a transmitting module 1006 b. Wherein:
a first receiving module 1002b configured to perform receiving of original shooting data and parameter information sent by a first terminal, where the first terminal has a first image processor, the first image processor is different from the second image processor, the original shooting data is shooting data collected by an image sensor of the first terminal, and the parameter information is a parameter of the image sensor of the first terminal;
an image processing module 1004b configured to perform image processing on the original photographing data according to the parameter information by the second image processor to obtain target photographing data;
a sending module 1006b configured to execute sending the target photographing data to the first terminal.
In an exemplary embodiment, the number of the raw shot data is a plurality of frames; the image processing module 1004b is further configured to execute frame-by-frame passing through the second image processor, and perform image processing on the original shooting data of each frame-by-frame according to the parameter information of each frame to obtain a target shooting image of a corresponding frame.
In an exemplary embodiment, the apparatus further comprises: the video generation module is configured to encode a plurality of frames of the 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 an exemplary 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 a plurality of user accounts displayed by the first terminal;
a communication connection module configured to perform establishing a wireless communication connection with the first terminal according to the connection request.
In an exemplary embodiment, the apparatus further comprises: a third receiving module, configured to perform receiving of target image processing mode information sent by the first terminal, where the target image processing mode information is obtained by the first terminal from image processing mode information displayed by the first terminal;
the image processing module is further configured to perform image processing on the original shooting data according to the parameter information and the target image processing mode information.
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 photographing method applied to a first terminal having a first image processor, the method comprising:
responding to a shooting instruction, and acquiring original shooting data, wherein the original shooting data is shooting data collected by an image sensor;
sending the original shooting data and the parameter information of the image sensor to a second terminal so that the second terminal calls a second image processor, wherein the second image processor is used for carrying out image processing on the original shooting data according to the parameter information, and the first image processor is different from the second image processor;
and receiving target shooting data obtained by processing the original shooting data returned by the second terminal.
2. The photographing method according to claim 1, wherein the number of the original photographing data is a plurality of frames; the sending the raw shooting data and the parameter information of the image sensor to a second terminal includes:
and sending the original shooting data and the parameter information of the corresponding frame to the second terminal frame by frame so as to enable the second terminal to call the second image processor frame by frame, wherein the second image processor is used for carrying out image processing on the original shooting data of each frame by frame according to the parameter information of each frame to obtain a 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 the target shot image 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 an application program;
and acquiring the target user account from the plurality of user accounts.
6. A photographing method applied to a second terminal having a second image processor, the method comprising:
receiving original shooting data and parameter information sent by a first terminal, wherein the first terminal is provided with a first image processor, the first image processor is different from a second image processor, the original shooting data is shooting data acquired by an image sensor of the first terminal, and the parameter information is parameters of the image sensor of the first terminal;
performing image processing on the original shooting data according to the parameter information through the second image processor to obtain target shooting data;
and sending the target shooting data to the first terminal.
7. A camera apparatus applied to a first terminal having a first image processor, the apparatus comprising:
the first acquisition module is configured to execute the steps of responding to a shooting instruction and acquiring original shooting data, wherein the original shooting data are shooting data collected by an image sensor;
a sending module configured to execute sending the raw shooting data and the parameter information of the image sensor to a second terminal so as to enable the second terminal to call a second image processor, wherein the second image processor is used for performing image processing on the raw shooting data according to the parameter information, and the first image processor is different from the second image processor;
and the first receiving module is configured to execute receiving of target shooting data obtained by performing image processing on the original shooting data returned by the second terminal.
8. A photographing apparatus applied to a second terminal having a second image processor, the apparatus comprising:
the first receiving module is configured to receive original shooting data and parameter information sent by a first terminal, the first terminal is provided with a first image processor, the first image processor is different from the second image processor, the original shooting data is shooting data collected by an image sensor of the first terminal, and the parameter information is a parameter of the image sensor of the first terminal;
the image processing module is configured to execute image processing on the original shooting data according to the parameter information through the second image processor to obtain target shooting data;
a transmission module configured to perform transmission of the 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.
CN202010813059.8A 2020-08-13 2020-08-13 Shooting method, shooting device, electronic equipment and storage medium Active CN111953904B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010813059.8A CN111953904B (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
CN202010813059.8A CN111953904B (en) 2020-08-13 2020-08-13 Shooting method, shooting device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111953904A true CN111953904A (en) 2020-11-17
CN111953904B CN111953904B (en) 2022-08-12

Family

ID=73341861

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010813059.8A Active CN111953904B (en) 2020-08-13 2020-08-13 Shooting method, shooting device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111953904B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113115112A (en) * 2021-06-16 2021-07-13 上海齐感电子信息科技有限公司 Verification platform and verification method
CN113781341A (en) * 2021-09-03 2021-12-10 北京达佳互联信息技术有限公司 Image processing method, image processing device, electronic equipment and storage medium
CN114244996A (en) * 2022-01-28 2022-03-25 维沃移动通信有限公司 Shooting method, shooting device and electronic equipment
WO2023225900A1 (en) * 2022-05-25 2023-11-30 北京小米移动软件有限公司 Image processing method, mobile terminal and imaging system

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003259130A (en) * 2002-03-01 2003-09-12 Ricoh Co Ltd Image processor with image data code data control function
JP2006011648A (en) * 2004-06-23 2006-01-12 Sony Corp Information signal processor, functional block constituting the same and method for controlling its functional block
CN102484779A (en) * 2009-08-24 2012-05-30 三星电子株式会社 Method and apparatus for sharing functions between devices via a network
CN103092808A (en) * 2011-10-31 2013-05-08 联想(北京)有限公司 Device sharing method
CN104219452A (en) * 2014-09-25 2014-12-17 联想(北京)有限公司 Information processing method and electronic device
US20150036020A1 (en) * 2013-08-05 2015-02-05 Nvidia Corporation Method for sharing original photos along with final processed image
CN107705275A (en) * 2017-09-08 2018-02-16 维沃移动通信有限公司 A kind of photographic method and mobile terminal
CN109167930A (en) * 2018-10-11 2019-01-08 Oppo广东移动通信有限公司 Image display method, device, electronic equipment and computer readable storage medium
WO2019213882A1 (en) * 2018-05-09 2019-11-14 华为技术有限公司 Lending of local processing capability of interconnected terminals

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003259130A (en) * 2002-03-01 2003-09-12 Ricoh Co Ltd Image processor with image data code data control function
JP2006011648A (en) * 2004-06-23 2006-01-12 Sony Corp Information signal processor, functional block constituting the same and method for controlling its functional block
CN102484779A (en) * 2009-08-24 2012-05-30 三星电子株式会社 Method and apparatus for sharing functions between devices via a network
CN103092808A (en) * 2011-10-31 2013-05-08 联想(北京)有限公司 Device sharing method
US20150036020A1 (en) * 2013-08-05 2015-02-05 Nvidia Corporation Method for sharing original photos along with final processed image
CN104219452A (en) * 2014-09-25 2014-12-17 联想(北京)有限公司 Information processing method and electronic device
CN107705275A (en) * 2017-09-08 2018-02-16 维沃移动通信有限公司 A kind of photographic method and mobile terminal
WO2019213882A1 (en) * 2018-05-09 2019-11-14 华为技术有限公司 Lending of local processing capability of interconnected terminals
CN109167930A (en) * 2018-10-11 2019-01-08 Oppo广东移动通信有限公司 Image display method, device, electronic equipment and computer readable storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王磊: "分布式拼接屏系统设计方案", 《信息技术》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113115112A (en) * 2021-06-16 2021-07-13 上海齐感电子信息科技有限公司 Verification platform and verification method
CN113781341A (en) * 2021-09-03 2021-12-10 北京达佳互联信息技术有限公司 Image processing method, image processing device, electronic equipment and storage medium
CN113781341B (en) * 2021-09-03 2024-02-27 北京达佳互联信息技术有限公司 Image processing method, device, electronic equipment and storage medium
CN114244996A (en) * 2022-01-28 2022-03-25 维沃移动通信有限公司 Shooting method, shooting device and electronic equipment
WO2023225900A1 (en) * 2022-05-25 2023-11-30 北京小米移动软件有限公司 Image processing method, mobile terminal and imaging system

Also Published As

Publication number Publication date
CN111953904B (en) 2022-08-12

Similar Documents

Publication Publication Date Title
CN111953904B (en) Shooting method, shooting device, electronic equipment and storage medium
CN109345485B (en) Image enhancement method and device, electronic equipment and storage medium
CN108419016B (en) Shooting method and device and terminal
CN111953903A (en) Shooting method, shooting device, electronic equipment and storage medium
CN110677734B (en) Video synthesis method and device, electronic equipment and storage medium
CN108040204B (en) Image shooting method and device based on multiple cameras and storage medium
CN111340731A (en) Image processing method and device, electronic equipment and storage medium
EP3813011A1 (en) Method and device for processing image
US11222235B2 (en) Method and apparatus for training image processing model, and storage medium
CN105791790A (en) Image processing method and apparatus
CN111343386B (en) Image signal processing method and device, electronic device and storage medium
CN107527072B (en) Method and device for determining similar head portrait and electronic equipment
CN112188096A (en) Photographing method and device, terminal and storage medium
CN111835941B (en) Image generation method and device, electronic equipment and computer readable storage medium
CN111698414B (en) Image signal processing method and device, electronic device and readable storage medium
CN117441341A (en) Image processing method, device, mobile terminal and storage medium
CN111586296B (en) Image capturing method, image capturing apparatus, and storage medium
CN111835977B (en) Image sensor, image generation method and device, electronic device, and storage medium
CN108769513B (en) Camera photographing method and device
CN107707819B (en) Image shooting method, device and storage medium
CN114339022A (en) Camera shooting parameter determining method and neural network model training method
CN110784721A (en) Picture data compression method and device, electronic equipment and storage medium
CN111225158B (en) Image generation method and device, electronic equipment and computer readable storage medium
CN118018835A (en) Image capturing method, image capturing device, image capturing apparatus, and storage medium
CN116993575A (en) Image processing method, device, equipment and medium

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
GR01 Patent grant
GR01 Patent grant