CN114244996A - Shooting method, shooting device and electronic equipment - Google Patents

Shooting method, shooting device and electronic equipment Download PDF

Info

Publication number
CN114244996A
CN114244996A CN202210108145.8A CN202210108145A CN114244996A CN 114244996 A CN114244996 A CN 114244996A CN 202210108145 A CN202210108145 A CN 202210108145A CN 114244996 A CN114244996 A CN 114244996A
Authority
CN
China
Prior art keywords
color filter
image data
input
data output
shooting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210108145.8A
Other languages
Chinese (zh)
Inventor
陈露兰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202210108145.8A priority Critical patent/CN114244996A/en
Publication of CN114244996A publication Critical patent/CN114244996A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/50Constructional details
    • H04N23/54Mounting of pick-up tubes, electronic image sensors, deviation or focusing coils
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • H04M1/0264Details of the structure or mounting of specific components for a camera module assembly
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/57Mechanical or electrical details of cameras or camera modules specially adapted for being embedded in other devices
    • 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/63Control of cameras or camera modules by using electronic viewfinders
    • H04N23/631Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters
    • H04N23/632Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters for displaying or modifying preview images prior to image capturing, e.g. variety of image resolutions or capturing parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N25/00Circuitry of solid-state image sensors [SSIS]; Control thereof
    • H04N25/10Circuitry of solid-state image sensors [SSIS]; Control thereof for transforming different wavelengths into image signals
    • H04N25/11Arrangement of colour filter arrays [CFA]; Filter mosaics
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/265Mixing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/52Details of telephonic subscriber devices including functional features of a camera

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Color Television Image Signal Generators (AREA)

Abstract

The application discloses a shooting method, a shooting device and electronic equipment, and belongs to the technical field of camera shooting. The method comprises the following steps: receiving a first input to a color filter array control by a user, the first input comprising a first sub-input selecting a first target color filter of a second camera; in response to the first input, outputting a captured image based on image data output by an image sensor of the first photographing device and image data output by the first target color filter.

Description

Shooting method, shooting device and electronic equipment
Technical Field
The application belongs to the technical field of camera shooting, and particularly relates to a shooting method, a shooting device and electronic equipment.
Background
With the development of science and technology, the shooting function of the mobile terminal is more and more powerful. In order to obtain images with different shooting effects, the mobile terminal is usually implemented by an internal and external color filter array. In the image processing process, the image processing can be performed only according to the color filters in the color filter array, so that the obtained image shooting effect is limited, the shooting experience of a user is limited, and the shooting requirement of the user cannot be met.
Disclosure of Invention
The embodiment of the application aims to provide a shooting method, a shooting device and electronic equipment, which can obtain images with various shooting effects and meet diversified shooting requirements of users.
In a first aspect, an embodiment of the present application provides a shooting method, where the method includes:
receiving a first input to a color filter array control by a user, the first input comprising a first sub-input selecting a first target color filter of a second camera;
in response to the first input, outputting a captured image based on image data output by an image sensor of the first photographing device and image data output by the first target color filter.
In a second aspect, an embodiment of the present application provides a shooting apparatus, where the method includes:
a first receiving module for receiving a first input to a color filter array control by a user, the first input comprising a first sub-input selecting a first target color filter of a second camera;
a first output module for outputting a captured image based on image data output by an image sensor of the first photographing device and image data output by the first target color filter in response to the first input.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, the shooting mode of the color filter of the second shooting device can be newly added and selected under the original shooting mode of the first shooting device, so that multiple shooting modes are realized, images with multiple shooting effects can be obtained, and the shooting requirements of users can be better met.
Drawings
Fig. 1 is a schematic flowchart of a shooting method provided in an embodiment of the present application;
FIG. 2 is a schematic view of a preview shooting interface to which the shooting method provided in the embodiment of the present application is applied;
fig. 3 is a second schematic view of a preview interface for shooting according to the shooting method provided in the embodiment of the present application;
FIG. 4 is a schematic structural diagram of a color filter array to which the photographing method according to the embodiment of the present application is applied;
FIG. 5 is a schematic diagram of image data processing to which the photographing method provided by the embodiment of the present application is applied;
fig. 6 is a third schematic view of a shooting preview interface for applying the shooting method provided by the embodiment of the present application;
FIG. 7 is a fourth schematic view of a preview interface of a shooting method according to an embodiment of the present disclosure;
FIG. 8 is a fifth schematic view of a preview interface of shooting with the shooting method provided by the embodiment of the present application;
FIG. 9 is a sixth schematic view of a preview interface for shooting with the shooting method according to the embodiment of the present application;
fig. 10 is a schematic structural diagram of a shooting device provided in an embodiment of the present application;
fig. 11 is a schematic structural diagram of an electronic device implementing an embodiment of the present application;
fig. 12 is a hardware schematic diagram of an electronic device implementing the embodiments of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The shooting method, the shooting device and the electronic device provided by the embodiment of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Fig. 1 is a schematic flowchart of a shooting method provided in an embodiment of the present application. Referring to fig. 1, an embodiment of the present application provides a shooting method, which may include: step 110 and step 120.
Step 110, receiving a first input to a color filter array control by a user, the first input comprising a first sub-input selecting a first target color filter of a second camera;
step 120, in response to the first input, outputting a captured image based on image data output by the image sensor of the first camera and image data output by the first target color filter.
It should be noted that an execution main body of the shooting method provided in the embodiment of the present application may be an intelligent electronic device or other terminals having a shooting (or recording) function, such as a mobile phone, a tablet Computer, a notebook Computer, a palm Computer, a vehicle-mounted electronic device, a wearable device, a Personal Computer (PC), a smart television, and the like.
The following describes a technical solution of the present application in detail by taking an example in which a first imaging device is used as an execution subject to implement the imaging method provided in the embodiments of the present application.
In the related art, image sensors generally employ a certain mode to collect image data, and a BGR mode and a Color Filter Array (CFA) mode are commonly used. The BGR mode is an image data mode in which processing such as display and compression can be directly performed, and the cost is high. In order to reduce the cost and reduce the volume, the image sensor in the current terminal mostly adopts a CFA mode, that is, a color filter array or an external display Chip (display Integrated Circuit Chip) is covered on the surface of the pixel array. There are various color filter arrays, including, for example: a RYYB color filter array, an RGBW color filter array, an RGGB color filter array, and so on. The most widely used today is the Bayer format filter array that satisfies the RGGB law. The number of green pixels in the Bayer pattern filter array is twice the number of red or blue pixels because the peak of the human eye's sensitivity to the visible spectrum is in the mid-band, corresponding exactly to the green spectral component. Conventional Complementary Metal Oxide Semiconductor (CMOS) sensors use an RGGB format color filter array. The embodiment of the application adopts the color filter array externally connected with the multicolor to process the image of the shot object.
Optionally, before step 110, the user may enter the shooting preview interface through a camera function of the first shooting device or an application program with a shooting function, and the user may perform a shooting operation in the shooting preview interface.
Optionally, a color filter array control is disposed in the shooting preview interface of the first shooting device. In step 110, the color filter array control is a control for selecting a target color filter, and may be used to select a color filter of the second camera and obtain output image data of the color filter of the second camera. In this step, in the case where the first photographing device is communicatively connected to the second photographing device, the first photographing device may acquire image data output by the color filter of the second photographing device by receiving a first input to the color filter array control by a user.
In a practical implementation, the first input may comprise a plurality of sub-inputs, wherein the first sub-input may be an input selecting a first target color filter of the second camera. The first target color filter is a color filter selected by the user according to needs or preferences. For example: the first sub-input may be a press, click, or slide of a color filter array control, among other inputs. The user may select the first target color filter by long-pressing the color filter array control, may select the first target color filter by clicking the color filter array control, or may select the first target color filter by a sliding operation. In addition, the user can also adjust the selection of the first target color filter at any time according to the requirement. For example: the user clicks the color filter array control to select the first target color filter, and the previous selection of the first target color filter can be cancelled by clicking the input again.
For example: as shown in fig. 2, the control 210 in the page 1 is a function switch control corresponding to the color filter array, and the control 211 is a photographing control for generating a photographed image. The user clicks the control 210 to enter the page 2, and a "collaborative shooting" control 212 is displayed, where the "collaborative shooting" control 212 is used to trigger the first shooting device to enter a collaborative shooting mode, and the collaborative shooting mode is a mode in which multiple shooting devices are used for shooting. After the user clicks the "collaborative shooting" control 212, the control 213 is displayed, and the control 213 indicates that a second shooting device can be connected with the first shooting device at this time. If a plurality of second cameras are available for communication connection, a plurality of controls 213 are correspondingly displayed on the page 2. Controls 213 are used to communicatively couple the first camera with one or more second cameras. The user clicks on control 213 and displays control 214, control 214 indicating that the first camera is communicatively coupled to the second camera, and displays color filter array control 215. The user clicks on the color filter array control 215 and the color filter of the second camera may be selected. Finally, the photographing control 211 is clicked to complete image photographing, and a photographed image is obtained.
It is appreciated that in the event that the first camera is not communicatively coupled to the second camera, the user may select the color filter of the first camera via the color filter array control. In the case where the first camera is communicatively connected to the second camera, the user may also select a color filter of the second camera through a color filter array control. Therefore, the user can select more color filters, and diversification of shooting modes is realized.
The embodiment of the application can be applied to the following scenes:
when the first shooting device shoots the sky, the shooting object comprises the white cloud and the sun. The user wants to obtain an image highlighting the white clouds and the sun without the white color filter and the gold color filter in the first photographing device, the user can communicatively connect the first photographing device and the second photographing device and select the white color filter and the gold color filter in the second photographing device. Based on the image data output from the image sensor of the first photographing device, the image data output from the white color filter and the gold color filter of the second photographing device, a photographed image with enhanced white and gold color effects can be obtained.
The shooting method provided by the embodiment of the application can make full use of the image data output by the color filter of the second shooting device by controlling the second shooting device under the condition that the image data output by the color filter of the first shooting device is limited, can make up the deficiency of the color filter of the first shooting device, and can control the color filter of the second shooting device through the color filter array control of the first shooting device on the premise of not changing the filter structure of the first shooting device, so that more color filters can be selected, and the interactivity and interestingness of the shooting function are improved. The method comprises the steps that a first shooting device is arranged on a base, a second shooting device is arranged on the base, a color filter is arranged on the color filter, and the color filter is arranged on the second shooting device.
In one embodiment, the first input further comprises a second sub-input and a third sub-input; the second sub-input is the input for switching a second camera controlled by the color filter array control to the first camera, and the third sub-input is the input for selecting a second target color filter of the first camera;
outputting a captured image based on image data output by an image sensor of a first photographing device and image data output by a target color filter, including:
a photographed image is output based on image data output from an image sensor of a first photographing device, image data output from a first target color filter, and image data output from a second target color filter.
Optionally, the first input further comprises a second sub-input and a third sub-input.
The second sub-input may be an input to switch a second camera controlled by the color filter array control to the first camera. The second sub-input may be an input such as pressing, clicking or sliding a target control, where the target control is used to switch the shooting device controlled by the color filter array control. Taking fig. 3 as an example, the second sub-input may be a press, click or slide input to the control 214. The user can press the control 214 for a long time to switch the second shooting device controlled by the color filter array control to the first shooting device, the user can also click the control 214 to switch the second shooting device controlled by the color filter array control to the first shooting device, and the user can also switch the second shooting device controlled by the color filter array control to the first shooting device through the sliding operation of the control 214. After the switch is completed, color filter array control 215 is displayed. The color filter array control 215 at this time is used to control the color filter array control of the first camera.
The third sub-input is an input that selects a second target color filter of the first camera. Wherein, the third sub-input may be a press, click or slide input to the color filter array control. As shown in fig. 3, the user may select the second target color filter by long-pressing the color filter array control 215, the user may select the second target color filter by clicking on the color filter array control 215, and the user may select the second target color filter by a sliding operation on the clicking color filter array control 215. In addition, the user can also adjust the selection of the second target color filter at any time according to the requirement. For example: the user clicks the color filter array control to select the second target color filter, and the previous selection of the second target color filter can be cancelled by clicking the input again.
Alternatively, the first photographing device superimposes the image data output from the image sensor, the image data output from the first target color filter, and the image data output from the second target color filter, and outputs the superimposed image data, whereby a photographed image can be output. The shot image is an image which is shot completely, namely, the image is generated after the first shooting device selects the first target color filter and clicks the shooting control.
The embodiment of the application can be applied to the following scenes:
when the first shooting device shoots the sky, the shooting object comprises the white cloud and the sun. The user can carry out communication connection with the first shooting device and the second shooting device, and select the white color filter and the golden color filter in the second shooting device, and when the user looks over the shooting preview image at the first shooting device, the user finds that the color of the sun and the white cloud is enhanced, and the color of the sky also needs to be enhanced. At this time, the user can directly select the blue color filter of the first shooting device to process the image, and then the image data output by the image sensor of the first shooting device is combined, so that the shot image with enhanced blue, white and golden color effects can be obtained.
According to the shooting method provided by the embodiment of the application, the second shooting device controlled by the color filter array control is switched back to the first shooting device, so that the shooting flexibility is improved; the image data output by the color filter of the first shooting device and the image data output by the color filter of the second shooting device can be fused, the utilization rate of the image data in different shooting devices can be improved, the image effect is further enriched, and the user experience is improved.
In one embodiment, the color filter array control comprises at least one control area, one control area corresponding to a color filter of one color;
the first sub-input is the sub-input of a user to a first control area in the at least one control area;
the second sub-input is the sub-input of the control identification by the user, and the control identification is used for switching the shooting device controlled by the color filter array control;
the first input is received when the first camera is in communication with the second camera.
Alternatively, the color filter array control may include at least one control area, each control area corresponding to a color filter controlling one color. The color type and the number of the color filters contained in the color filter array control are consistent with the color type and the number of the color filters contained in the color filter array, and a user can directly select a target color filter through the color filter array control. As shown in fig. 3, control 215 is a color filter array control. Each grid represents a control area, i.e. a color filter for one color, for example: the control area 1 can control a red color filter, the control area 2 can control a blue color filter, the control area 3 can control a green color filter, the control area 4 can control a yellow color filter, the control area N-1 can control a purple color filter, the control area N can control a white color filter and the like, and N can represent the number of the color filters. The color filter array control may control the color filters of all colors in the terminal.
It is understood that the color filter array is provided in each of the first photographing device and the second photographing device. The color filter array may include a predetermined number of color filters, and the colors of the color filters are different from each other. For example, the color filter may be composed of color filters corresponding to a plurality of colors, such as red, orange, yellow, green, cyan, blue, violet, and white. The color filters in the color filter array may be arranged in a non-overlapping arrangement, as shown in fig. 4. Therefore, the color filter array control can be correspondingly set according to the configuration and arrangement mode of the color filter array, for example: the color of each control area of the color filter array control is set to be the color of the color filter which is correspondingly controlled, so that the user can conveniently select the color.
Optionally, the color filter array may further include a white light transmitter, and since the white light transmitter does not filter light, the amount of light entering may be increased, so that the image brightness and the image signal-to-noise ratio may be significantly enhanced.
In this embodiment, the user may determine the first target color filter corresponding to the first control area through the first sub-input. The first control region may correspond to a single color filter of one color or multiple color filters of different colors.
The first sub-input may be a press, click, or slide input. The user can select the first target color filter by long pressing the first control area in the color filter array control, the user can select the first target color filter by clicking the first control area in the color filter array control, and the user can also determine the first target color filter through sliding operation, namely the first target color filter corresponding to the first control area through which the sliding track passes. As shown in fig. 2, the color filter array control 215 includes N control areas, each control area is labeled with a number, and assuming that the image area corresponding to the number 1 is the first control area and the first target color filter corresponding to the first control area is the red color filter, the user can select the red color filter of the second camera by clicking the first control area in the color filter array control 215.
In this embodiment, the second sub-input is a sub-input of the control identifier by the user. The control identification is used for switching the shooting device controlled by the color filter array control, namely the control identification can switch a second shooting device controlled by the color filter array control into a first shooting device and also can switch the first shooting device controlled by the color filter array control into a second shooting device.
The second sub-input may be input such as pressing, clicking or sliding of the control identifier. As shown in FIG. 3, control 214 is a control identifier. After entering the collaborative shooting mode, the user clicks the control indicator 214 for the first time, selects a communication connection with the second shooting device, and displays the color filter array control 215, where the color filter array control 215 on the page controls the color filter of the second shooting device. As shown in FIG. 3, the user again clicks on the control indicator 214, at which point the color filter array control 215 on the page controls the color filter of the first camera.
Optionally, the first sub-input and the second sub-input in the first input are both inputs made by a user when the first photographing apparatus and the second photographing apparatus are in communication connection. Under the condition that the first shooting device is in communication connection with the second shooting device, a user can select a first target color filter of the second shooting device through a first sub-input of a first control area in at least one control area in the color filter array control; and the second shooting device controlled by the color filter array control can be switched to the first shooting device through the second sub-input of the control identification.
According to the shooting method provided by the embodiment of the application, the accurate control of the color filter is realized through the first sub-input, and the image processing efficiency can be improved; and the switching control of the color filter control can be controlled through the second sub-input, so that the expansion of the shooting mode of the first shooting device is realized under the condition that the structure of the first shooting device is not required to be changed.
In one embodiment, outputting a captured image based on image data output by an image sensor of a first photographing device and image data output by a first target color filter includes:
superposing image data output by an image sensor of a first shooting device and image data output by a first target color filter to obtain superposed image data;
based on the image data after the superimposition processing, a captured image is output.
Alternatively, the format of the output image data of the color filter of each color in the color filter array may be in accordance with the format of the output image data of the image sensor, so that the image data output from the image sensor may be superimposed with the image data output from the first target color filter. When the formats of the image data output by the image sensor and the image data output by the color filter are not consistent, the image data output by the image sensor and the image data output by the color filter are processed before superposition, so that the processed image data can be superposed.
Alternatively, before the user does not complete the shooting, the superimposed image data is output as a shooting preview image and displayed on a shooting preview interface. In the case where the user finishes shooting, the superimposed image data is output as a shot image.
For example: the user selects the color filter c, the color filter d, and the color filter e of the second photographing apparatus through the first photographing apparatus, and selects the color filter a and the color filter b of the first photographing apparatus. As shown in fig. 5, in the first photographing device, image data output from the color filter a, the color filter b, the color filter c, the color filter d, and the color filter e, respectively, and image data output from the image sensor are subjected to superimposition processing, and superimposed image data is acquired. Based on the image data of the superimposed area, a shot image can be acquired.
According to the shooting method provided by the embodiment of the application, the image data of the color filter of the second shooting device can be superposed on the image data output by the first shooting device, so that the first shooting device can obtain a new image with a new shooting effect, and meanwhile, the sharing of the image data among different shooting devices is realized.
In one embodiment, the photographing method further includes:
receiving control information sent by a second shooting device; the control information is used for the second shooting device to control a third target color filter of the first shooting device to output image data;
in a case where a second input to the color filter array control by the user is received and the second input is an input to select a fourth target color filter of the first photographing device, outputting a photographed image based on image data output by the image sensor of the first photographing device, image data output by the third target color filter, and image data output by the fourth target color filter in response to the second input;
in a case where an input that the user selects the fourth target color filter is not received, a photographed image is output based on image data output by the image sensor of the first photographing apparatus and image data output by the third target color filter.
Optionally, the first photographing apparatus receives control information transmitted by the second photographing apparatus. The control information may control the third target color filter of the first photographing device to output the image data. The control information may be that the second camera may select the color filter through the second camera color filter array control to control the first camera to select the third target color filter in a case where the first camera and the second camera are communicatively connected. The process of selecting the color filter by the second camera may be either synchronous control or asynchronous control.
For example: when the first photographing device and the second photographing device are in communication connection, a user selects the color filter a and the color filter b of the second photographing device at the second photographing device, and then sends corresponding control information to the first terminal, so that after the first photographing device receives the control information, the first photographing device can determine that the third target color filter is the color filter a and the color filter b, and respectively acquire image data output by the color filter a and the color filter b.
Alternatively, after the first camera determines the third target color filter according to the control information, the user may select whether to continue to select the color filter of the first camera according to the requirement, that is, the following situations are divided:
the first situation is as follows: in the event that the user determines to continue selecting the color filter of the first camera, a second input to the color filter array control by the user is received. The second input may be a press, click, or slide of a color filter array control, among other inputs. For example: the user can select the fourth target color filter by long pressing the color filter array control, the user can select the fourth target color filter by clicking the color filter array control, and the user can select the fourth target color filter by sliding operation on the clicked color filter array control. In addition, the user can also adjust the selection of the fourth target color filter at any time according to the requirement. For example: the user clicks the color filter array control to select the fourth target color filter, and the previous selection of the fourth target color filter can be cancelled by clicking the input again.
And responding to the second input, and after clicking the photographing control by the user, overlapping the image data output by the image sensor of the first photographing device, the image data output by the third target color filter and the image data output by the fourth target color filter to obtain the overlapped image data. And outputs a photographed image based on the superimposed image data.
Case two: and under the condition that the user determines not to select the color filter of the first shooting device, the user can directly click the shooting control, and the image data output by the image sensor of the first shooting device and the image data output by the third target color filter are subjected to superposition processing to obtain superposed image data. And outputs a photographed image based on the superimposed image data.
According to the shooting method provided by the embodiment of the application, the second shooting device controls the first shooting device by receiving the control information of the second shooting device, so that the second shooting device can participate in the image processing process of the first shooting device. On the premise of not changing the color filter structure of the first shooting device, a brand-new shooting interaction mode is established, and the shooting interestingness of the shooting device is increased.
In one embodiment, the first camera may release the control and communication connection with the second camera through the control identification. Because the control identification can be used for switching the shooting device controlled by the color filter array control, the control identification can be realized by setting different inputs when the control identification is in contact control operation. For example: when a user clicks the control identification, the shooting device controlled by the color filter array control can be switched; when the user presses the control identification for a long time, the communication connection can be released. As shown in fig. 6, the user may press the control indicator 214 for a long time to trigger and display the "release control" control 610, and click the "release control" control 610 to release the control connection relationship between the first camera and the second camera. In addition, by long pressing the control indicator 214, a "disconnect" control 611 may also be displayed, and by clicking the "disconnect" control 611, the "collaborative shooting" mode may be exited. In actual implementation, the "control release" control 610 and the "control disconnect" control 611 may be displayed simultaneously or separately, and the present application is not limited in particular.
In one embodiment, at least two pieces of control information sent by at least two second photographing devices are received;
in the case where the at least two pieces of control information are the same, determining a color filter indicated by the control information as a fifth target color filter of the first photographing device;
in the case where the at least two pieces of control information are different, determining any one of at least two color filters indicated by the at least two pieces of control information as a fifth target color filter of the first photographing apparatus;
in a case where a third input to the color filter array control by the user is received and the third input is an input to select a sixth target color filter of the first photographing device, outputting a photographed image based on image data output by the image sensor of the first photographing device, image data output by the fifth target color filter, and image data output by the sixth target color filter in response to the third input;
in a case where an input that the user selects the sixth target color filter is not received, a photographed image is output based on the image data output by the image sensor of the first photographing apparatus and the image data output by the fifth target color filter.
Alternatively, the first photographing apparatus may be simultaneously in communication connection with two or more second photographing apparatuses. The communication connection between the first photographing device and the plurality of second photographing devices is the same as the communication connection between the first photographing device and one second photographing device, and is not described herein again. As shown in fig. 7, after entering the "collaborative shooting" mode, the shooting preview interface displays a control 213 and a control 710, illustrating that two second shooting devices can be connected to the first shooting device at this time. As shown in fig. 8, the user may click controls corresponding to the two second cameras, so as to complete the communication connection between the first camera and the two second cameras. The specific process is as follows: after clicking the control 213, the control 214 is displayed and the control 213 cancels the display, which indicates that the first camera is in communication connection with the first second camera. Then click on control 710, display control 810, and cancel display control 714, indicating that the first camera is communicatively coupled to two second cameras.
Alternatively, when the first imaging apparatus and the plurality of second imaging apparatuses are connected to each other by communication, the first imaging apparatus may control any one of the imaging apparatuses individually, or may cancel the control and communication connection with any one of the imaging apparatuses. The manner of releasing the control and communication connection relationship is the same as that in the above embodiment, and is not described herein again.
Alternatively, in a case where the first photographing apparatus and the plurality of second photographing apparatuses are communicatively connected, the first photographing apparatus may receive control information transmitted by the plurality of second photographing apparatuses, respectively. The first photographing device needs to select the fifth target color filter among the control information respectively transmitted from the at least two photographing devices, and there are two cases as follows:
the first situation is as follows: in all the control information transmitted by the plurality of second photographing apparatuses, if all the control information is the same, the color filter indicated by the same control information is also the same, and the color filter indicated by the control information is determined as the fifth target color filter of the first photographing apparatus.
For example: the first shooting device and the two second shooting devices are in communication connection, and the control information sent by the two second shooting devices instructs the first shooting device to select the color filter a and the color filter b. The fifth target color filters are color filter a and color filter b.
Case two: in the case where at least two pieces of control information in all pieces of control information are different, an optional one or more color filters among the color filters indicated by all pieces of control information are determined as a fifth target color filter of the first photographing device.
For example: the first shooting device is in communication connection with two second shooting devices, and the control information sent by the first second shooting device instructs the first shooting device to select the color filter a and the color filter b. The control information sent by the second camera instructs the first camera to select color filter c and color filter d. The fifth target color filter comprises at least one of: color filter a, color filter b, color filter c, color filter d.
Alternatively, after the first camera determines the fifth target color filter according to the control information, the user may select whether to continue to select the color filter of the first camera according to the requirement, that is, the following situations are divided:
the first situation is as follows: in the event that the user determines to continue selecting the color filter of the first camera, a third input to the color filter array control by the user is received. The third input may be a press, click, or slide of a color filter array control, among other inputs. For example: the user can select the sixth target color filter by long pressing the color filter array control, the user can select the sixth target color filter by clicking the color filter array control, and the user can select the sixth target color filter by sliding operation on the clicked color filter array control. In addition, the user can also adjust the selection of the sixth target color filter at any time according to the requirement. For example: the user clicks the color filter array control to select the sixth target color filter, and the previous selection of the sixth target color filter can be cancelled by clicking the input again.
And responding to the second input, and after clicking the photographing control by the user, overlapping the image data output by the image sensor of the first photographing device, the image data output by the fifth target color filter and the image data output by the sixth target color filter to obtain the overlapped image data. And outputs a photographed image based on the superimposed image data.
Case two: and under the condition that the user determines not to select the color filter of the first shooting device, the user can directly click the shooting control, and the image data output by the image sensor of the first shooting device and the image data output by the fifth target color filter are subjected to superposition processing to obtain superposed image data. And outputs a photographed image based on the superimposed image data.
According to the shooting method provided by the embodiment of the application, the plurality of second shooting devices can participate in the image processing process of the first shooting device by receiving the control information of the plurality of second shooting devices, and a user can select from different control information, so that the requirements of the user can be effectively met.
In one embodiment, the photographing method further includes:
and sending shared information to the at least one second shooting device, wherein the shared information is used for sharing the image data in the shooting preview interface of the first shooting device to the at least one second shooting device.
Optionally, a shared editing control is arranged in the shooting preview interface of the first shooting device. The shared editing control may share image data in the capture preview interface of the first camera with at least one second camera. In the case where the first photographing apparatus is communicatively connected with the second photographing apparatus, the first photographing apparatus may share image data output by the color filter of the second photographing apparatus by receiving an input of a user to the shared editing control.
For example: as shown in fig. 9, the control 210 in the page 1 is a function switch control corresponding to the color filter array, and the control 211 is a photographing control for generating a photographed image. The user clicks on control 210, page 2, and the "share edit" control 910 is displayed. After clicking the "share edit" control 910, a control 911 is displayed, and the control 911 can be used for sharing image data with a plurality of second photographing apparatuses. After the user clicks the control 911, the shooting preview interfaces of all the second shooting devices performing sharing editing are the same as those of the first shooting device.
According to the shooting method provided by the embodiment of the application, the first shooting device and the plurality of second shooting devices can share the image data of the shooting preview interface, the shooting function of the shooting devices is enriched, and the shooting interest and the practicability are improved.
In one embodiment, after sending the shared information to the at least one second camera, the method further includes:
receiving first image data sent by a second shooting device; the first image data is image data output by a color filter of the second shooting device;
a photographed image is output based on the first image data and image data output from the image sensor of the first photographing device.
Optionally, after the sharing information is sent to at least one second shooting device, a master user device for sharing editing is determined in the first shooting device and all second shooting devices for sharing editing, and image processing is completed by the master user shooting device. In this embodiment, if the first camera is determined as the master user device, the first camera may receive the first image data transmitted by any of the second cameras that perform the shared editing. The first image data is the image data output by the color filter of the second shooting device.
Optionally, the image data output by the image sensor of the first photographing device and the first image data are subjected to superposition processing, and image data after the superposition processing is obtained. And outputting the shot image of the main user equipment based on the image data after the superposition processing. And if any one of the second shooting devices for performing shared editing selects a color filter, the color filter array controls on the shooting preview interfaces of other shooting devices for performing shared editing are also operated correspondingly, and the output results of the shooting preview interfaces of all the shooting devices are the result of fusion of the image data output by the image sensor of the main user equipment and the image data output by the color filter selected by the second shooting device, so that shared editing is realized. And the shooting image is generated after the main user equipment clicks the shooting control.
Alternatively, if a plurality of second photographing devices performing shared editing select a color filter, the output results of the photographing preview interfaces of all the photographing devices are the result of superimposing the image data output by the image sensor of the master user equipment with the image data output by the color filter selected by all the second photographing devices.
According to the shooting method provided by the embodiment of the application, the first shooting device and the plurality of second shooting devices can edit the image data of the shooting preview interface together, the shooting function of the shooting devices is enriched, and the shooting interest and the practicability are improved.
In one embodiment, after sending the shared information to the at least one second camera, the method further includes:
receiving second image data sent by a second shooting device, wherein the second image data is an image generated after the second shooting device carries out superposition processing on the image data in the shooting preview interface of the first shooting device and the image data output by the color filter of the second shooting device;
the second image data is displayed or stored.
Optionally, after the shared information is sent to the at least one second photographing apparatus, the image data of the photographing preview interface for performing shared editing is the same. In the case where the first photographing device is the master user apparatus, the second photographing device may select a color filter to perform image processing on the image data of the photographing preview interface. The image processing process specifically comprises the following steps: and the second shooting device carries out superposition processing on the image data in the shooting preview interface of the first shooting device and the image data output by the color filter of the second shooting device to obtain the superposed image data. After the user clicks the photographing control of the second photographing device, second image data can be generated and stored. The second photographing apparatus may display the second image data on the photographing preview interface and transmit the second image data to the first photographing apparatus. And enabling the first shooting device to carry out superposition processing on the image data output by the image sensor of the first shooting device and the second image data, and acquiring the image data after the superposition processing. And outputting the shot image of the main user equipment based on the image data after the superposition processing. It is understood that other secondary cameras performing sharing editing also synchronously display the captured image of the primary user device.
According to the shooting method provided by the embodiment of the application, under the condition that the first shooting device is the master user equipment, the second shooting device can edit the image data of the shooting preview interface, and the flexibility of sharing and editing the image data is improved.
In one embodiment, the photographing method further includes:
the captured image is transmitted to at least one second capture device.
Alternatively, the first photographing apparatus transmits the generated photographed image to at least one second photographing apparatus so that the second photographing apparatus communicatively connected with the first photographing apparatus can acquire the photographed image generated by the first photographing apparatus.
According to the shooting method provided by the embodiment of the application, the shot image is sent to the at least one second shooting device, so that the image can be synchronously shot among different shooting devices, and the image data can be shared among different shooting devices.
Fig. 10 is a schematic structural diagram of a shooting device according to an embodiment of the present application. Referring to fig. 10, an embodiment of the present application provides a photographing apparatus, which may include: a first receiving module 1110 and a first outputting module 1120.
A first receiving module 1110 for receiving a first input to a color filter array control by a user, the first input comprising a first sub-input selecting a first target color filter of a second camera;
a first output module 1120 configured to output a captured image based on the image data output by the image sensor of the first photographing apparatus and the image data output by the first target color filter in response to the first input.
The camera provided by the embodiment of the application can be under the limited condition of the image data of the color filter output of the first camera, through controlling the second camera, and make full use of the image data of the color filter output of the second camera, can make up the deficiency of the color filter of the first camera, under the premise of not changing the filter structure of the first camera, can control the color filter of the second camera through the color filter array control of the first camera, realize the selection of more color filters, and improve the interactivity and the interest of the shooting function. The method comprises the steps that a first shooting device is arranged on a base, a second shooting device is arranged on the base, a color filter is arranged on the color filter, and the color filter is arranged on the second shooting device.
In one embodiment, the first input further comprises a second sub-input and a third sub-input; the second sub-input is an input for switching a second camera controlled by the color filter array control to the first camera, and the third sub-input is an input for selecting a second target color filter of the first camera;
the first output module 1120 is specifically configured to:
outputting the photographed image based on the image data output from the image sensor of the first photographing device, the image data output from the first target color filter, and the image data output from the second target color filter.
In one embodiment, the photographing apparatus further includes:
a second receiving module (not shown in the figure) for receiving control information sent by a second shooting device; the control information is used for the second shooting device to control a third target color filter of the first shooting device to output image data;
a second output module (not shown in the figure) for outputting the photographed image based on the image data output by the image sensor of the first photographing device, the image data output by the third target color filter, and the image data output by the fourth target color filter in response to a second input of the user to the color filter array control in a case where the second input is an input of selecting the fourth target color filter of the first photographing device;
a third output module (not shown in the figure) for outputting the photographed image based on the image data output by the image sensor of the first photographing apparatus and the image data output by the third target color filter, in a case where an input that the user selects the fourth target color filter is not received.
In one embodiment, the photographing apparatus further includes:
a third receiving module (not shown in the figure) for receiving at least two pieces of control information sent by at least two second shooting devices;
a first determining module (not shown in the figure) for determining the color filter indicated by the control information as a fifth target color filter of the first photographing device if the at least two pieces of control information are the same;
a second determining module (not shown in the figure) for determining any one of the at least two color filters indicated by the at least two pieces of control information as a fifth target color filter of the first photographing device if the at least two pieces of control information are different;
a fourth output module (not shown in the figure) for outputting the photographed image based on the image data output by the image sensor of the first photographing device, the image data output by the fifth target color filter, and the image data output by the sixth target color filter in response to a third input when the third input to the color filter array control by the user is received and the third input is an input for selecting the sixth target color filter of the first photographing device;
a fifth output module (not shown in the figure) for outputting the photographed image based on the image data output by the image sensor of the first photographing apparatus and the image data output by the fifth target color filter, in a case where an input that the user selects the sixth target color filter is not received.
In one embodiment, the photographing apparatus further includes:
and a sharing module (not shown in the figure) for sending shared information to the at least one second photographing device, wherein the shared information is used for sharing the image data in the photographing preview interface of the first photographing device to the at least one second photographing device.
In one embodiment, the photographing apparatus further includes:
a fourth receiving module (not shown in the figure) for receiving the first image data sent by a second shooting device; the first image data is image data output by a color filter of the second shooting device;
a sixth output module (not shown in the figure) for outputting a photographed image based on the image data output from the image sensor of the first photographing apparatus and the first image data.
In one embodiment, the photographing apparatus further includes:
a fifth receiving module (not shown in the figure) for receiving second image data sent by a second shooting device, wherein the second image data is an image generated after the second shooting device performs superposition processing on the image data in the shooting preview interface of the first shooting device and the image data output by the color filter of the second shooting device;
and a storage module (not shown in the figure) for displaying or storing the second image data.
In one embodiment, the photographing apparatus further includes:
a sending module (not shown in the figure) for sending the shot image to at least one second shooting device.
In an embodiment, the first output module 1120 is specifically configured to:
superposing the image data output by the image sensor of the first shooting device and the image data output by the first target color filter to obtain superposed image data;
and outputting the shot image based on the image data after the superposition processing.
In one embodiment, the color filter array control comprises at least one control area, one control area corresponding to a color filter of one color;
the first sub-input is a sub-input of a user to a first control area in the at least one control area;
the second sub-input is a sub-input of a control identifier by a user, and the control identifier is used for switching a shooting device controlled by the color filter array control;
the first input is received when the first shooting device is in communication connection with the second shooting device.
The shooting device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The photographing apparatus in the embodiment of the present application may be an apparatus having an operating system. The operating system may be an Android (Android) operating system, an IOS operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
The shooting device provided in the embodiment of the present application can implement each process implemented by the method embodiments of fig. 1 to 9, and is not described here again to avoid repetition.
Optionally, as shown in fig. 11, an electronic device 1100 is further provided in an embodiment of the present application, and includes a processor 1101, a memory 1102, and a program or an instruction stored in the memory 1102 and executable on the processor 1101, where the program or the instruction is executed by the processor 1101 to implement each process of the foregoing shooting method embodiment, and can achieve the same technical effect, and no repeated description is provided here to avoid repetition.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 12 is a schematic hardware structure diagram of an electronic device implementing an embodiment of the present application.
The electronic device 1200 includes, but is not limited to: radio frequency unit 1201, network module 1202, audio output unit 1203, input unit 1204, sensors 1205, display unit 1206, user input unit 1207, interface unit 1208, memory 1209, and processor 1210.
Those skilled in the art will appreciate that the electronic device 1200 may further comprise a power source (e.g., a battery) for supplying power to the various components, and the power source may be logically connected to the processor 1210 via a power management system, so as to implement functions of managing charging, discharging, and power consumption via the power management system. The electronic device structure shown in fig. 12 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is not repeated here.
Wherein, the user input unit 1207 is configured to:
receiving a first input to a color filter array control by a user, the first input comprising a first sub-input selecting a first target color filter of a second camera;
a processor 1210 configured to:
in response to the first input, outputting a captured image based on image data output by an image sensor of the first photographing device and image data output by the first target color filter.
The electronic equipment provided by the embodiment of the application can be under the limited condition of the image data of the color filter output of the first shooting device, through controlling the second shooting device, and make full use of the image data of the color filter output of the second shooting device, can make up the deficiency of the color filter of the first shooting device, under the premise of not changing the filter structure of the first shooting device, can control the color filter of the second shooting device through the color filter array control of the first shooting device, realize the selection of more color filters, and improve the interactivity and the interestingness of the shooting function. The method comprises the steps that a first shooting device is arranged on a base, a second shooting device is arranged on the base, a color filter is arranged on the color filter, and the color filter is arranged on the second shooting device.
Optionally, the first input further comprises a second sub-input and a third sub-input; the second sub-input is an input for switching a second camera controlled by the color filter array control to the first camera, and the third sub-input is an input for selecting a second target color filter of the first camera;
a processor 1210 further configured to:
outputting the photographed image based on the image data output from the image sensor of the first photographing device, the image data output from the first target color filter, and the image data output from the second target color filter.
Optionally, the processor 1210 is further configured to:
receiving control information sent by a second shooting device; the control information is used for the second shooting device to control a third target color filter of the first shooting device to output image data;
in a case where a second input to the color filter array control by a user is received and the second input is an input to select a fourth target color filter of the first photographing device, outputting the photographed image based on image data output by an image sensor of the first photographing device, image data output by the third target color filter, and image data output by the fourth target color filter in response to the second input;
outputting the photographed image based on the image data output by the image sensor of the first photographing apparatus and the image data output by the third target color filter without receiving an input of a user selecting the fourth target color filter.
Optionally, the processor 1210 is further configured to:
receiving at least two pieces of control information sent by at least two second shooting devices;
determining a color filter indicated by the control information as a fifth target color filter of the first photographing device in case that the at least two pieces of control information are the same;
in the case that the at least two pieces of control information are different, determining any one filter of at least two color filters indicated by the at least two pieces of control information as a fifth target color filter of the first photographing apparatus;
in a case where a third input to the color filter array control by a user is received and the third input is an input to select a sixth target color filter of the first photographing device, outputting the photographed image based on image data output by an image sensor of the first photographing device, image data output by the fifth target color filter, and image data output by the sixth target color filter in response to the third input;
outputting the photographed image based on the image data output by the image sensor of the first photographing apparatus and the image data output by the fifth target color filter without receiving an input of a user selecting the sixth target color filter.
Optionally, the processor 1210 is further configured to:
and sending sharing information to at least one second shooting device, wherein the sharing information is used for sharing the image data in the shooting preview interface of the first shooting device to the at least one second shooting device.
Optionally, the processor 1210 is further configured to:
receiving first image data sent by a second shooting device; the first image data is image data output by a color filter of the second shooting device;
outputting a captured image based on the first image data and image data output by the image sensor of the first photographing apparatus.
Optionally, the processor 1210 is further configured to:
receiving second image data sent by a second shooting device, wherein the second image data is an image generated after the second shooting device carries out superposition processing on image data in a shooting preview interface of the first shooting device and image data output by a color filter of the second shooting device;
displaying or storing the second image data.
Optionally, the processor 1210 is further configured to:
and sending the shot image to at least one second shooting device.
Optionally, the processor 1210 is further configured to:
superposing the image data output by the image sensor of the first shooting device and the image data output by the first target color filter to obtain superposed image data;
and outputting the shot image based on the image data after the superposition processing.
Optionally, the processor 1210 is further configured to:
the color filter array control comprises at least one control area, and one control area corresponds to a color filter of one color;
the first sub-input is a sub-input of a user to a first control area in the at least one control area;
the second sub-input is a sub-input of a control identifier by a user, and the control identifier is used for switching a shooting device controlled by the color filter array control;
the first input is received when the first shooting device is in communication connection with the second shooting device.
It should be understood that, in the embodiment of the present application, the input Unit 1204 may include a Graphics Processing Unit (GPU) 12041 and a microphone 12042, and the Graphics Processing Unit 12041 processes image data of still pictures or videos obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 1206 may include a display panel 12061, and the display panel 12061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1207 includes a touch panel 12071 and other input devices 12072. A touch panel 12071, also referred to as a touch screen. The touch panel 12071 may include two parts of a touch detection device and a touch controller. Other input devices 12072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 1209 may be used to store software programs as well as various data, including but not limited to application programs and an operating system. Processor 1210 may integrate an application processor, which handles primarily the operating system, user interface, applications, etc., and a modem processor, which handles primarily wireless communications. It is to be appreciated that the modem processor described above may not be integrated into processor 1210.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above shooting method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the above shooting method embodiment, and can achieve the same technical effect, and the details are not repeated here to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (15)

1. A shooting method is applied to a first shooting device and is characterized by comprising the following steps:
receiving a first input to a color filter array control by a user, the first input comprising a first sub-input selecting a first target color filter of a second camera;
in response to the first input, outputting a captured image based on image data output by an image sensor of the first photographing device and image data output by the first target color filter.
2. The photographing method according to claim 1, wherein the first input further includes a second sub-input and a third sub-input; the second sub-input is an input for switching a second camera controlled by the color filter array control to the first camera, and the third sub-input is an input for selecting a second target color filter of the first camera;
the outputting a photographed image based on image data output from an image sensor of the first photographing device and image data output from the target color filter, including:
outputting the photographed image based on the image data output from the image sensor of the first photographing device, the image data output from the first target color filter, and the image data output from the second target color filter.
3. The photographing method according to claim 1, wherein the method further comprises:
receiving control information sent by a second shooting device; the control information is used for the second shooting device to control a third target color filter of the first shooting device to output image data;
in a case where a second input to the color filter array control by a user is received and the second input is an input to select a fourth target color filter of the first photographing device, outputting the photographed image based on image data output by an image sensor of the first photographing device, image data output by the third target color filter, and image data output by the fourth target color filter in response to the second input;
outputting the photographed image based on the image data output by the image sensor of the first photographing apparatus and the image data output by the third target color filter without receiving an input of a user selecting the fourth target color filter.
4. The photographing method according to claim 1, further comprising:
receiving at least two pieces of control information sent by at least two second shooting devices;
determining a color filter indicated by the control information as a fifth target color filter of the first photographing device in case that the at least two pieces of control information are the same;
in the case that the at least two pieces of control information are different, determining any one of at least two color filters indicated by the at least two pieces of control information as a fifth target color filter of the first photographing apparatus;
in a case where a third input to the color filter array control by a user is received and the third input is an input to select a sixth target color filter of the first photographing device, outputting the photographed image based on image data output by an image sensor of the first photographing device, image data output by the fifth target color filter, and image data output by the sixth target color filter in response to the third input;
outputting the photographed image based on the image data output by the image sensor of the first photographing apparatus and the image data output by the fifth target color filter without receiving an input of a user selecting the sixth target color filter.
5. The photographing method according to claim 1, wherein the method further comprises:
and sending sharing information to at least one second shooting device, wherein the sharing information is used for sharing the image data in the shooting preview interface of the first shooting device to the at least one second shooting device.
6. The photographing method according to claim 5, further comprising, after the transmitting the shared information to the at least one second photographing apparatus:
receiving first image data sent by a second shooting device; the first image data is image data output by a color filter of the second shooting device;
outputting a captured image based on the first image data and image data output by the image sensor of the first photographing apparatus.
7. The photographing method according to claim 5, further comprising, after the transmitting the shared information to the at least one second photographing apparatus:
receiving second image data sent by a second shooting device, wherein the second image data is an image generated after the second shooting device carries out superposition processing on image data in a shooting preview interface of the first shooting device and image data output by a color filter of the second shooting device;
displaying or storing the second image data.
8. The photographing method according to any one of claims 1 to 4, wherein the method further comprises:
and sending the shot image to at least one second shooting device.
9. The photographing method according to claim 1, wherein the outputting a photographed image based on the image data output from the image sensor of the first photographing apparatus and the image data output from the first target color filter includes:
superposing the image data output by the image sensor of the first shooting device and the image data output by the first target color filter to obtain superposed image data;
and outputting the shot image based on the image data after the superposition processing.
10. The photographing method according to claim 2, wherein the color filter array control includes at least one control area, one control area corresponding to a color filter of one color;
the first sub-input is a sub-input of a user to a first control area in the at least one control area;
the second sub-input is a sub-input of a control identifier by a user, and the control identifier is used for switching a shooting device controlled by the color filter array control;
the first input is received when the first shooting device is in communication connection with the second shooting device.
11. A photographing apparatus applied to a first photographing apparatus, comprising:
a first receiving module for receiving a first input to a color filter array control by a user, the first input comprising a first sub-input selecting a first target color filter of a second camera;
a first output module for outputting a captured image based on image data output by an image sensor of the first photographing device and image data output by the first target color filter in response to the first input.
12. The camera of claim 11, wherein the first input further comprises a second sub-input and a third sub-input; the second sub-input is an input for switching a second camera controlled by the color filter array control to the first camera, and the third sub-input is an input for selecting a second target color filter of the first camera;
the first output module is specifically configured to:
outputting the photographed image based on the image data output from the image sensor of the first photographing device, the image data output from the first target color filter, and the image data output from the second target color filter.
13. The camera of claim 11, further comprising:
the second receiving module is used for receiving control information sent by a second shooting device; the control information is used for the second shooting device to control a third target color filter of the first shooting device to output image data;
a second output module for outputting the photographed image based on the image data output by the image sensor of the first photographing apparatus, the image data output by the third target color filter, and the image data output by the fourth target color filter in response to a second input of the color filter array control by a user when the second input is received;
a third output module for outputting the photographed image based on the image data output by the image sensor of the first photographing apparatus and the image data output by the third target color filter, in a case where an input that the user selects the fourth target color filter is not received.
14. The camera of claim 11, further comprising:
and the sharing module is used for sending sharing information to at least one second shooting device, and the sharing information is used for sharing the image data in the shooting preview interface of the first shooting device to the at least one second shooting device.
15. An electronic device, comprising a processor, a memory and a program or instructions stored on the memory and executable on the processor, which when executed by the processor, implement the steps of the photographing method according to any one of claims 1-10.
CN202210108145.8A 2022-01-28 2022-01-28 Shooting method, shooting device and electronic equipment Pending CN114244996A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210108145.8A CN114244996A (en) 2022-01-28 2022-01-28 Shooting method, shooting device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210108145.8A CN114244996A (en) 2022-01-28 2022-01-28 Shooting method, shooting device and electronic equipment

Publications (1)

Publication Number Publication Date
CN114244996A true CN114244996A (en) 2022-03-25

Family

ID=80747437

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210108145.8A Pending CN114244996A (en) 2022-01-28 2022-01-28 Shooting method, shooting device and electronic equipment

Country Status (1)

Country Link
CN (1) CN114244996A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103092808A (en) * 2011-10-31 2013-05-08 联想(北京)有限公司 Device sharing method
CN109167930A (en) * 2018-10-11 2019-01-08 Oppo广东移动通信有限公司 Image display method, device, electronic equipment and computer readable storage medium
CN110971823A (en) * 2019-11-29 2020-04-07 维沃移动通信(杭州)有限公司 Parameter adjusting method and terminal equipment
CN111953904A (en) * 2020-08-13 2020-11-17 北京达佳互联信息技术有限公司 Shooting method, shooting device, electronic equipment and storage medium
CN113726943A (en) * 2021-08-31 2021-11-30 维沃移动通信有限公司 Control method and electronic device
CN116996763A (en) * 2023-08-31 2023-11-03 阿维塔科技(重庆)有限公司 Camera control method and system and electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103092808A (en) * 2011-10-31 2013-05-08 联想(北京)有限公司 Device sharing method
CN109167930A (en) * 2018-10-11 2019-01-08 Oppo广东移动通信有限公司 Image display method, device, electronic equipment and computer readable storage medium
CN110971823A (en) * 2019-11-29 2020-04-07 维沃移动通信(杭州)有限公司 Parameter adjusting method and terminal equipment
CN111953904A (en) * 2020-08-13 2020-11-17 北京达佳互联信息技术有限公司 Shooting method, shooting device, electronic equipment and storage medium
CN113726943A (en) * 2021-08-31 2021-11-30 维沃移动通信有限公司 Control method and electronic device
CN116996763A (en) * 2023-08-31 2023-11-03 阿维塔科技(重庆)有限公司 Camera control method and system and electronic equipment

Similar Documents

Publication Publication Date Title
CN112135046B (en) Video shooting method, video shooting device and electronic equipment
CN113132704B (en) Image processing method, device, terminal and storage medium
CN113014803A (en) Filter adding method and device and electronic equipment
CN113794829B (en) Shooting method and device and electronic equipment
CN112565865A (en) Image processing method and device and electronic equipment
CN113794834B (en) Image processing method and device and electronic equipment
WO2022237839A1 (en) Photographing method and apparatus, and electronic device
CN112437232A (en) Shooting method, shooting device, electronic equipment and readable storage medium
CN112399237A (en) Screen display control method and device and electronic equipment
CN113709519A (en) Method and equipment for determining live broadcast shielding area
CN112702531B (en) Shooting method and device and electronic equipment
CN113794831A (en) Video shooting method and device, electronic equipment and medium
CN112734661A (en) Image processing method and device
CN112437237A (en) Shooting method and device
CN114244996A (en) Shooting method, shooting device and electronic equipment
WO2022247766A1 (en) Image processing method and apparatus, and electronic device
CN101420528B (en) Digital image processing apparatus capable of displaying color distribution chart and method of operating the same
WO2022262848A1 (en) Image processing method and apparatus, and electronic device
CN113489867A (en) Shooting method and device and electronic equipment
US20220137275A1 (en) Color filter structure, related photographing method, device, terminal, and storage medium
CN114125319A (en) Image sensor, camera module, image processing method and device and electronic equipment
CN111835977B (en) Image sensor, image generation method and device, electronic device, and storage medium
CN113596329A (en) Photographing method and photographing apparatus
CN113286085A (en) Display control method and device and electronic equipment
CN113542599A (en) Image shooting method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination