CN111669503A - Photographing method and device, electronic equipment and medium - Google Patents

Photographing method and device, electronic equipment and medium Download PDF

Info

Publication number
CN111669503A
CN111669503A CN202010605131.8A CN202010605131A CN111669503A CN 111669503 A CN111669503 A CN 111669503A CN 202010605131 A CN202010605131 A CN 202010605131A CN 111669503 A CN111669503 A CN 111669503A
Authority
CN
China
Prior art keywords
picture
target
input
image
framing
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
CN202010605131.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 CN202010605131.8A priority Critical patent/CN111669503A/en
Publication of CN111669503A publication Critical patent/CN111669503A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/62Control of parameters via user interfaces
    • 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

Landscapes

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

Abstract

The embodiment of the invention discloses a photographing method, a photographing device, electronic equipment and a medium. The photographing method comprises the following steps: displaying a shooting preview picture in a target display area in the process of framing a first object; the shooting preview picture comprises a target picture and a first viewing picture, and the target picture is a picture which is extracted from the first image and comprises a second object; the first view-finding picture is a picture obtained by finding a first object; receiving a first input; in response to the first input, a target image is obtained based on the target picture and the first viewfinder picture, the target image including a first object and a second object. By using the photographing method, the photographing device, the electronic equipment and the medium provided by the embodiment of the invention, the operation complexity of photographing a plurality of photographing objects to one image can be reduced, and the use experience of a user can be improved.

Description

Photographing method and device, electronic equipment and medium
Technical Field
The embodiment of the invention relates to the technical field of electronic equipment, in particular to a photographing method, a photographing device, electronic equipment and a medium.
Background
With the gradual development of electronic devices, users tend to be kept on mind by taking pictures. If a user wants to photograph a subject at different time and in different direction on one image, a series of troublesome operations are required. For example, the user needs to move slowly from one orientation to another using the panoramic mode of the electronic apparatus to capture a plurality of subjects in different orientations onto one image. For another example, the user uses post-processing to fuse multiple objects captured at different times and different orientations into one image.
Therefore, the operation process that the user shoots a plurality of shooting objects to one image is complicated, and the use experience of the user is reduced.
Disclosure of Invention
The embodiment of the invention provides a photographing method, a photographing device, electronic equipment and a medium, which can reduce the complexity of the operation of photographing a plurality of photographing objects to one image and improve the use experience of a user.
In a first aspect, an embodiment of the present invention provides a photographing method, including:
displaying a shooting preview picture in a target display area in the process of framing a first object; the shooting preview picture comprises a target picture and a first viewing picture, and the target picture is a picture which is extracted from the first image and comprises a second object; the first view-finding picture is a picture obtained by finding a first object;
receiving a first input;
in response to the first input, a target image is obtained based on the target picture and the first viewfinder picture, the target image including a first object and a second object.
In a second aspect, an embodiment of the present invention provides a photographing apparatus, including:
the display module is used for displaying a shooting preview picture in a target display area in the process of framing a first object; the shooting preview picture comprises a target picture and a first viewing picture, and the target picture is a picture which is extracted from the first image and comprises a second object; the first view-finding picture is a picture obtained by finding a first object;
the first receiving module is used for receiving a first input;
and the shooting module is used for responding to the first input and obtaining a target image based on the target image and the first framing image, wherein the target image comprises a first object and a second object.
In a third aspect, an embodiment of the present invention provides an electronic device, which includes a processor, a memory, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the steps of the photographing method according to the first aspect are implemented.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the photographing method according to the first aspect.
In the embodiment of the invention, in the process of framing the first object, the electronic equipment not only displays the first framing picture acquired in the framing process in the shooting preview picture displayed in the target display area, but also displays the picture including the second object extracted from the first image, so that a user can obtain the target image including the first object and the second object based on the target picture and the first framing picture, namely, the first object and the second object can be directly shot into one picture when the user shoots, the later-stage image processing is not needed, the electronic equipment does not need to be slowly moved to shoot the picture in a panoramic mode, the operation complexity of shooting a plurality of shooting objects into one picture is reduced, and the use experience of the user is improved.
Drawings
The present invention will be better understood from the following description of specific embodiments thereof taken in conjunction with the accompanying drawings, in which like or similar reference characters designate like or similar features.
Fig. 1 is a schematic flowchart of a photographing method according to an embodiment of the present invention;
FIG. 2 is a schematic illustration of a first image provided in one embodiment of the invention;
FIG. 3 is a diagram illustrating a preview screen for shooting according to an embodiment of the present invention;
fig. 4 is a schematic flowchart of a photographing method according to another embodiment of the present invention;
FIG. 5 is a flowchart illustrating a photographing method according to another embodiment of the present invention;
fig. 6 is a schematic diagram of a shooting preview screen according to another embodiment of the present invention;
fig. 7 is a schematic structural diagram of a photographing apparatus according to an embodiment of the present invention;
fig. 8 is a schematic diagram of a hardware structure of an electronic device implementing various embodiments of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The user's demand for taking a picture sometimes has the desire to take a plurality of shooting objects in different directions at different times on one picture, so as to obtain a more entertaining picture.
For example, a user wants to take a picture of all steps of the first crawling process of a baby, and one method adopted may be: the panoramic mode of the electronic equipment is started, and the camera of the electronic equipment is slowly moved to the position of the baby, so that each step in the first crawling process of the baby is recorded in the picture. However, in the panoramic shooting mode, the user needs to aim at the shooting object to move slowly, the shooting requirement is high, and once the electronic equipment shakes or deviates in the moving process, the finally shot image is easy to generate a fault.
For another example, if the user wants to take a picture of all steps of the first crawling process of the baby, the processing method can be further adopted: the user shoots a plurality of pictures in the crawling process of the baby, and then synthesizes the plurality of pictures into one picture through later-stage processing.
However, in both the panoramic photographing method and the post-processing method, a user needs to perform a series of complicated operations to finally photograph a plurality of photographing objects in different directions on one image, so that the user experience is low.
In order to solve the above problem, embodiments of the present invention provide a photographing method, an apparatus, an electronic device, and a medium, which can reduce the complexity of an operation of photographing a plurality of subjects to a single image, and improve the user experience.
Fig. 1 is a schematic flow chart of a photographing method according to an embodiment of the present invention. As shown in fig. 1, the photographing method includes:
in step S110, a shooting preview screen is displayed in the target display area while the first object is being framed.
The shooting preview picture comprises a target picture and a first viewing picture, and the target picture is a picture which is extracted from the first image and comprises a second object; the first finder screen is a screen obtained by finding a first object.
In some embodiments of the present invention, a display position of the target screen in the target display area remains unchanged during the framing of the first object.
In some embodiments of the invention, the first object may be an object, e.g., a street light, a mailbox, a signal light, a tree, etc.; the first object may also be a human or an animal, and the second object may also be an object, an animal or a human;
the first image can be a shot photo, and can also be a viewfinder captured in the process of shooting the photo;
the target display area may be a full screen of the electronic device or a partial area in the screen of the electronic device.
As an example, as shown in fig. 2, fig. 2 is a schematic view of a first image provided in an embodiment of the present invention, where the first image includes A, B and C, and taking a second object in the first image as "a", as an example, if a user is viewing "F" while the user is viewing the first object (e.g., F), as shown in fig. 3, and fig. 3 is a schematic view of a shooting preview screen provided in an embodiment of the present invention, a shooting preview screen of an electronic device displays "a" extracted from the first image and a first viewing screen during shooting of the second object "F", where the first viewing screen includes "F", "D", and "E". At this time, "a" is displayed in the upper layer of the first finder screen.
S120, receiving a first input.
In some embodiments of the present invention, the first input may be a click input of the user to take a photo, or a long-press input of the user to take a photo, which is not limited herein.
S130, responding to the first input, and obtaining a target image based on the target picture and the first framing picture.
Wherein the target image comprises a first object and a second object.
In some embodiments of the present invention, after receiving the first input, the electronic device may obtain a target image including the first object and the second object through the target screen and the first finder screen because the shooting preview screen includes the target screen and the first finder screen.
In the embodiment of the invention, in the process of framing the first object, the electronic equipment not only displays the first framing picture acquired in the framing process in the shooting preview picture displayed in the target display area, but also displays the picture including the second object extracted from the first image, so that a user can obtain the target image including the first object and the second object based on the target picture and the first framing picture, namely, the user can directly shoot the first object and the second object into one picture without image processing in the later period or slowly moving the electronic equipment to shoot the picture in the panoramic mode, the operation complexity of shooting a plurality of shooting objects into one picture is reduced, and the use experience of the user is improved.
In some embodiments of the present invention, in the case that the first image is a viewfinder frame captured during the process of taking a picture, before S110, the following steps may be further included:
and framing the second object to obtain a second framing picture comprising the second object, and taking the second framing picture as the first image. Wherein the second object is the same as the first object.
In the embodiment of the present invention, since the second object is the same as the first object, for example, both the first through-view picture and the second through-view picture include A, B and C pictures. Accordingly, in the case where "a" is the second object, two "a" (one is the first object "a" in the first finder screen and one is the second object "a" in the second finder screen), and "B" and "C" in the first finder screen are displayed in the captured preview screen of the electronic apparatus. Therefore, a plurality of same objects can be obtained through shooting, the interest of the target image is improved, the interest of the user is increased when the image is shot, and the use experience of the user is improved.
In some embodiments of the present invention, before using the photographing method provided by the embodiments of the present invention, a user is required to first turn on a function of the electronic device, which can implement the photographing method provided by the embodiments of the present invention. Therefore, a Graphic Processing Unit (GPU) and a Central Processing Unit (CPU) in the electronic device can identify the target picture selected by the user, and when the target picture and the first framing picture are shot on one picture, a target image with smooth and unobtrusive fusion transition of the edges of the target picture and the first framing picture can be obtained.
In order to meet different use requirements of the user for different shooting objects, in other embodiments of the present invention, a shooting method is further provided, where the user may select a target picture displayed in a shooting preview picture in the first image according to his or her use requirement, as shown in fig. 4.
As shown in fig. 4, fig. 4 is a schematic flow chart of a photographing method according to another embodiment of the present invention. The photographing method comprises the following steps:
s210, a second input to a second object in the first image is received.
In some embodiments of the present invention, the second input may be a click input, and the second input may also be a long-press input, which is not limited herein. The user may also perform a second input on a partial region of the second object, for example, in a case that the second object is a tree, the user may perform the second input on a branch of the tree, or may select another region according to a requirement of the user, which is not limited herein.
And S220, responding to the second input, and extracting the target picture from the first image.
In some embodiments of the present invention, after the user selects the second object, the electronic device may extract the target frame including the second object from the first image.
The number of the second objects may be multiple, and the first image is a photograph including A, B and C. The user may click on the second objects "a" and "B" and then the electronic device extracts the target picture including "a" from the first image and extracts the target picture including "B" from the first image.
At this time, after the electronic device extracts the target picture including "a" from the first image and extracts the target picture including "B" from the first image, the electronic device enters a framing state so that the user can frame the first object.
In step S230, a shooting preview screen is displayed in the target display area while the first object is being framed.
The shooting preview picture comprises a target picture and a first viewing picture, and the target picture is a picture which is extracted from the first image and comprises a second object; the first finder screen is a screen obtained by finding a first object.
S240, receiving a first input.
And S250, responding to the first input, and obtaining a target image based on the target image and the first viewing image.
Wherein the target image comprises a first object and a second object.
S230 to S250 are the same as S110 to S130 in the embodiment shown in fig. 1, and are not described herein again.
In the embodiment of the invention, before framing the first object, the user can select the target picture included in the shooting preview picture according to the use requirement of the user, so that the user can obtain different target images according to different use requirements of the user, further obtain different shooting preview pictures and obtain the target images including the first object and the second object meeting the requirement of the user. In addition, the shooting preview picture displayed on the target display area comprises the target picture and the first view-finding picture meeting the requirements of the user, so that the user can directly shoot the first object and the second object into one picture without image processing in the later period or slowly moving the electronic equipment to shoot the picture in the panoramic mode, the operation complexity of shooting a plurality of shooting objects into one picture is reduced, and the use experience of the user is improved.
One way in which the present invention S220 may be implemented is described below with some embodiments of the present invention.
In some embodiments of the present invention, S220 may further include the steps of:
responding to the second input, and acquiring input parameters of the second input;
determining a target extraction range based on the input parameters of the second input;
and extracting the target picture in the first image according to the target extraction range.
In some embodiments of the invention, the input parameters include, but are not limited to, the following: the input strength of the second input, the input time of the second input, the input trajectory of the second input, and so on.
As an example, taking the second input as a pressing input and the obtained input parameter as a pressing time as an example, if the user presses the second object for a long time, the second input is a continuous input. At this time, the time period corresponding to the period from the start of the second input to the end of the second input is the input time corresponding to the second input.
If the second object is "a", the first area where the second object is located may be an area where the outline of "a" is located.
Therefore, the step of extracting the target picture in the first image may specifically include:
the electronic device starts expanding the range of the first area toward a preset surrounding area of the outline of the 'a' centering on the area where the outline of the 'a' is located after responding to the second input. The preset surrounding area may be a certain area of the outline of the "a" outward, and the area range of the preset surrounding area may be set as required, and is not limited at all again. The area range of the first area can be identified by using the boundary identification, so that a user can know the current range of the first area conveniently.
Wherein, in some embodiments, the expanding manner may be periodic diffusion. For example, in the process that the user presses the second object "a" for a long time, the area where the outline of "a" is located is used as the center, and the area gradually expands towards the preset surrounding area of the outline of "a"; and after the data is diffused to the outermost peripheral area in the preset peripheral area, the data is expanded to the preset peripheral area of the outline of the 'A' gradually by taking the area where the outline of the 'A' is located as the center, and the cycle is repeated until the user stops long press input.
When the user stops the second input, the size of the first area is the target extraction range of the second object. For example, when the user stops the long press input, the area where the first area has passed the outline of "a" expands to the area including "B" around "a". At this time, the target extraction range is a region including "a" and surrounding "B".
In other embodiments, the manner of enlargement may also be a manual adjustment by the user. For example, the user enlarges or reduces the range of the first area by adjusting the boundary identifier of the first area.
In the embodiment of the invention, the electronic equipment can determine the target extraction range by acquiring the input parameters of the second input, so that the user can adjust the second input of the user, continuously adjust the target extraction range, and further extract the target pictures with different target extraction ranges from the first image, thereby meeting different use requirements of the user and improving the use experience of the user.
Next, in order to meet the user's requirement for composition between the target picture and the first view picture included in the shooting preview picture, in some embodiments of the present invention, another shooting method is further provided, and please refer to fig. 5 specifically.
As shown in fig. 5, fig. 5 is a schematic flowchart of a photographing method according to still another embodiment of the present invention. The photographing method comprises the following steps:
in S310, a shooting preview screen is displayed in the target display area while the first object is being framed.
The shooting preview picture comprises a target picture and a first viewing picture, and the target picture is a picture which is extracted from the first image and comprises a second object; the first finder screen is a screen obtained by finding a first object.
S310 is the same as S110 in the embodiment shown in fig. 1, and is not described herein again.
S320, a third input to the target screen is received.
The third input may be a click input of the user or a press input, which is not described herein again.
And S330, responding to the third input, and editing the target picture according to the editing mode corresponding to the third input.
The specific implementation of S330 will be described in detail below.
S340, receiving a first input.
S340 is the same as S120 in the embodiment shown in fig. 1, and is not described herein again.
And S350, responding to the first input, and obtaining a target image based on the edited target picture and the first view-finding picture.
In the embodiment of the invention, after the shooting preview picture is displayed, the user can adjust the target picture, so that the first viewing picture and the target picture included in the shooting preview picture can meet the composition requirement of the user, and a picture meeting the requirement of the user can be shot subsequently, thereby improving the operability and the use experience of the user.
In some embodiments of the present invention, before S320, the photographing method may further include the steps of:
a fourth input to the target display is received.
The fourth input may be a click input of the user or a press input, which is not described herein again.
In response to a fourth input, the target screen is displayed in an editable state.
In some embodiments, the target screen may be displayed in an editable state in a blinking manner, or an editing identifier may be displayed around the target screen, so that the user can know that the current target screen is in the editable state after seeing the identifier.
In some embodiments of the invention, S330 specifically comprises at least one of:
cutting a target picture according to a preset mode;
adjusting display parameters of a target picture; wherein the display parameter includes at least one of a display position and a display size;
adjusting image parameters of a target picture; the image parameters include at least one of depth of field, brightness, and color bit depth.
Some implementations of S330 are described in detail below by some embodiments of the invention. It should be noted that implementations of S330 include, but are not limited to, implementations in the following examples.
In some embodiments, an implementable manner of S330 may be that the electronic device clips the target screen in a preset manner in response to the fourth input.
For example, in a case that the third input is a continuous input, the electronic device may zoom the target screen into the second area with the second area of the target screen as a center to implement clipping of the target screen in the process of the continuous input of the third input; when the fourth input stops inputting, the clipping of the target picture can be stopped.
As another example, the target screen may be manually cut by the user. For example, if the target frame is identified by the boundary identifier, the user may crop the target frame by adjusting the boundary identifier.
In the embodiment of the invention, the user can continuously adjust the target picture by taking the second area of the target picture as the center and shrinking the target picture into the second area so as to cut the target picture, or manually cutting the target picture by the user, so that the target picture meeting different use requirements of the user is obtained, the target image meeting different requirements of the user is finally obtained, and the use experience of the user is further improved.
In some embodiments, an implementable manner of S330 may also be that the electronic device adjusts a display parameter of the target screen on the shooting preview screen in response to a third input by the user; wherein the display parameters include: at least one of a display position and/or a display size.
For example, with continued reference to fig. 3, the shooting preview screen shown in fig. 3 displays "a", "F", "D", and "E". At this time, the user can adjust the display position of the target screen "a" on the photographing preview screen. For example, as shown in fig. 6, the display position of the target screen "a" on the shooting preview screen is rotated by moving both hands around the other side, and fig. 6 is a schematic view of the shooting preview screen according to another embodiment of the present invention. As can be seen from the shooting preview screen shown in fig. 3 and 6, the user adjusts the display position of "a" by rotation.
For another example, the user may pinch the two fingers to reduce the display size of the target screen, or may expand the display presence of the target screen by opening the two fingers.
In the embodiment of the invention, the user can adjust the display position and/or the display size of the target picture, so that the target picture meeting different use requirements of the user is obtained, the target image meeting different requirements of the user is finally obtained, and the use experience of the user is further improved.
In some embodiments, an implementation manner of S330 may also be that the electronic device adjusts an image parameter of the target screen in response to the fourth input. Among them, the image parameters include, but are not limited to, the following: depth of field, luminance and chrominance depth.
In the embodiment of the invention, the user adjusts the image parameters of the target picture, so that when the subsequent electronic equipment shoots the target picture and the first framing picture on one picture, the target picture with smooth and unobtrusive fusion transition of the edges of the target picture and the first framing picture can be obtained, thereby improving the use experience of the user.
Based on the specific implementation manner of the photographing method provided by the embodiment, correspondingly, the invention further provides a photographing device. Please refer to fig. 7.
Fig. 7 is a schematic structural diagram of a photographing apparatus according to an embodiment of the present invention. As shown in fig. 7, the photographing apparatus includes:
a display module 510, configured to display a shooting preview screen in a target display area during a process of framing a first object; the shooting preview picture comprises a target picture and a first viewing picture, and the target picture is a picture which is extracted from the first image and comprises a second object; the first view-finding picture is a picture obtained by finding a first object;
a first receiving module 520 for receiving a first input;
a photographing module 530 configured to obtain a target image based on the target picture and the first view picture in response to a first input, the target image including a first object and a second object.
In the embodiment of the invention, in the process of framing the first object, the electronic equipment not only displays the first framing picture acquired in the framing process in the shooting preview picture displayed in the target display area, but also displays the picture including the second object extracted from the first image, so that a user can obtain the target image including the first object and the second object based on the target picture and the first framing picture, namely, the first object and the second object can be directly shot into one picture when the user shoots, the later-stage image processing is not needed, the electronic equipment does not need to be slowly moved to shoot the picture in a panoramic mode, the operation complexity of shooting a plurality of shooting objects into one picture is reduced, and the use experience of the user is improved.
In some embodiments of the present invention, the photographing apparatus further comprises:
the second receiving module is used for receiving a second input of a second object in the first image before the shooting preview picture is displayed in the target display area;
and the extraction module is used for responding to a second input and extracting the target picture from the first image.
In some embodiments of the invention, the extraction module comprises:
the acquisition unit is used for responding to the second input and acquiring the input parameters of the second input;
a determination unit configured to determine a target extraction range based on the input parameter of the second input;
and the extracting unit is used for extracting the target picture in the first image according to the target extracting range.
In some embodiments of the present invention, the photographing apparatus further comprises:
a third receiving module, configured to receive a third input to the target screen after the shooting preview screen is displayed in the target display area and before the first input is received;
the editing module is used for responding to the third input and editing the target picture according to an editing mode corresponding to the third input;
the shooting module 530 is specifically configured to:
and responding to the first input, and obtaining a target image based on the edited target picture and the first framing picture.
In some embodiments of the invention, the editing module is specifically for at least one of:
cutting a target picture according to a preset mode;
adjusting display parameters of a target picture; wherein the display parameter includes at least one of a display position and a display size;
adjusting image parameters of a target picture; the image parameters include at least one of depth of field, brightness, and color bit depth.
In some embodiments of the present invention, the photographing apparatus further comprises:
the view finding module is used for finding a view of a second object before the first object is found to obtain a second view finding picture comprising the second object, and the second view finding picture is used as a first image;
wherein the second object is the same as the first object.
In some embodiments of the present invention, a display position of the target screen in the target display area remains unchanged during the framing of the first object.
Each module in the electronic device provided in the embodiment of the present invention has a function of implementing the method/step of the electronic device in the embodiment shown in fig. 1, 4, and 5, and can achieve the technical effect corresponding to the embodiment shown in fig. 1, 4, and 5, and is not described herein again for brevity.
Fig. 8 is a schematic diagram of a hardware structure of an electronic device implementing various embodiments of the present invention.
The electronic device 600 includes, but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, a processor 610, and a power supply 611. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 8 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The display unit 606 is configured to display a shooting preview screen in the target display area during the process of framing the first object; the shooting preview picture comprises a target picture and a first viewing picture, and the target picture is a picture which is extracted from the first image and comprises a second object; the first view-finding picture is a picture obtained by finding a first object; a user input unit 607 for receiving a first input; the processor 610 is configured to obtain a target image based on the target picture and the first finder picture in response to a first input, where the target image includes a first object and a second object.
In the embodiment of the invention, in the process of framing the first object, the electronic equipment not only displays the first framing picture acquired in the framing process in the shooting preview picture displayed in the target display area, but also displays the picture including the second object extracted from the first image, so that a user can obtain the target image including the first object and the second object based on the target picture and the first framing picture, namely, the first object and the second object can be directly shot into one picture when the user shoots, the later-stage image processing is not needed, the electronic equipment does not need to be slowly moved to shoot the picture in a panoramic mode, the operation complexity of shooting a plurality of shooting objects into one picture is reduced, and the use experience of the user is improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 601 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 610; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 601 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. Further, the radio frequency unit 601 may also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 602, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 603 may convert audio data received by the radio frequency unit 601 or the network module 602 or stored in the memory 609 into an audio signal and output as sound. Also, the audio output unit 603 may also provide audio output related to a specific function performed by the electronic apparatus 600 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 603 includes a speaker, a buzzer, a receiver, and the like.
The input unit 604 is used to receive audio or video signals. The input Unit 604 may include a Graphics Processing Unit (GPU) 6041 and a microphone 6042, and the Graphics processor 6041 processes image data of a still picture or video obtained by an image capturing apparatus (such as a camera) in a video capture mode or an image capture mode. The processed image frames may be displayed on the display unit 606. The image frames processed by the graphic processor 6041 may be stored in the memory 609 (or other storage medium) or transmitted via the radio frequency unit 601 or the network module 602. The microphone 6042 can receive sound, and can process such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 601 in case of the phone call mode.
The electronic device 600 also includes at least one sensor 605, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 6061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 6061 and/or the backlight when the electronic apparatus 600 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 605 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 606 is used to display information input by the user or information provided to the user. The Display unit 606 may include a Display panel 6061, and the Display panel 6061 may be configured by a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 607 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 607 includes a touch panel 6071 and other input devices 6072. Touch panel 6071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 6071 using a finger, stylus, or any suitable object or accessory). The touch panel 6071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 610, receives a command from the processor 610, and executes the command. In addition, the touch panel 6071 can be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The user input unit 607 may include other input devices 6072 in addition to the touch panel 6071. Specifically, the other input devices 6072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 6071 can be overlaid on the display panel 6061, and when the touch panel 6071 detects a touch operation on or near the touch panel 6071, the touch operation is transmitted to the processor 610 to determine the type of the touch event, and then the processor 610 provides a corresponding visual output on the display panel 6061 according to the type of the touch event. In some embodiments, although the touch panel 6071 and the display panel 6061 are two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 6071 and the display panel 6061 may be integrated to implement the input and output functions of the electronic device, which is not limited herein.
The interface unit 608 is an interface for connecting an external device to the electronic apparatus 600. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 608 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the electronic device 600 or may be used to transmit data between the electronic device 600 and external devices.
The memory 609 may be used to store software programs as well as various data. The memory 609 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 609 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 610 is a control center of the electronic device, connects various parts of the whole electronic device by using various interfaces and lines, performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 609, and calling data stored in the memory 609, thereby performing overall monitoring of the electronic device. Processor 610 may include one or more processing units; preferably, the processor 610 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 610.
The electronic device 600 may further include a power supply 611 (e.g., a battery) for supplying power to the various components, and preferably, the power supply 611 may be logically connected to the processor 610 via a power management system, such that the power management system may be used to manage charging, discharging, and power consumption.
In addition, the electronic device 600 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides an electronic device, which includes a processor 610, a memory 609, and a computer program stored in the memory 609 and capable of running on the processor 610, where the computer program is executed by the processor 610 to implement each process of the foregoing photographing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the embodiment of the photographing management method, and can achieve the same technical effect, and in order to avoid repetition, the detailed description is omitted here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
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.
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 invention may be embodied in the form of a 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, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (12)

1. A method of taking a picture, comprising:
displaying a shooting preview picture in a target display area in the process of framing a first object; the shooting preview picture comprises a target picture and a first framing picture, wherein the target picture is a picture which is extracted from a first image and comprises a second object; the first view-finding picture is a picture obtained by finding a view of the first object;
receiving a first input;
in response to the first input, obtaining a target image based on the target picture and the first viewfinder picture, the target image including the first object and the second object.
2. The method according to claim 1, wherein before displaying the shooting preview screen in the target display area, further comprising:
receiving a second input to the second object in the first image;
in response to the second input, the target picture is extracted from the first image.
3. The method of claim 2, wherein said extracting the target picture from the first image in response to the second input comprises:
responding to the second input, and acquiring input parameters of the second input;
determining a target extraction range based on the input parameters of the second input;
and extracting the target picture in the first image according to the target extraction range.
4. The method according to claim 1, further comprising, after the displaying the photographing preview screen in the target display area and before the receiving the first input:
receiving a third input to the target picture;
responding to the third input, and editing the target picture according to an editing mode corresponding to the third input;
the obtaining a target image based on the target picture and the first viewfinder picture in response to the first input includes:
and responding to the first input, and obtaining the target image based on the edited target picture and the first viewing picture.
5. The method of claim 4, wherein the editing the target screen comprises at least one of:
cutting the target picture according to a preset mode;
adjusting display parameters of the target picture; wherein the display parameter comprises at least one of a display position and a display size;
adjusting image parameters of the target picture; the image parameters include at least one of depth of field, brightness, and color bit depth.
6. The method of claim 1, further comprising:
before framing the first object, framing the second object to obtain a second framing picture comprising the second object, and taking the second framing picture as the first image;
wherein the second object is the same as the first object.
7. The method according to claim 1, wherein a display position of the target screen in the target display area remains unchanged during the framing of the first object.
8. A photographing apparatus, comprising:
the display module is used for displaying a shooting preview picture in a target display area in the process of framing a first object; the shooting preview picture comprises a target picture and a first framing picture, wherein the target picture is a picture which is extracted from a first image and comprises a second object; the first view-finding picture is a picture obtained by finding a view of the first object;
the first receiving module is used for receiving a first input;
and the shooting module is used for responding to the first input and obtaining a target image based on the target image and the first framing image, wherein the target image comprises the first object and the second object.
9. The apparatus of claim 8, further comprising:
a second receiving module, configured to receive a second input to the second object in the first image before the target display area displays the shooting preview screen;
and the extracting module is used for responding to the second input and extracting the target picture from the first image.
10. The apparatus of claim 9, wherein the extraction module comprises:
an acquisition unit, configured to acquire an input parameter of the second input in response to the second input;
a determination unit configured to determine a target extraction range based on the input parameter of the second input;
and the extracting unit is used for extracting the target picture in the first image according to the target extracting range.
11. An electronic device comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the photographing method according to any one of claims 1 to 7 when executing the computer program.
12. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the photographing method according to any one of claims 1 to 7.
CN202010605131.8A 2020-06-29 2020-06-29 Photographing method and device, electronic equipment and medium Pending CN111669503A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010605131.8A CN111669503A (en) 2020-06-29 2020-06-29 Photographing method and device, electronic equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010605131.8A CN111669503A (en) 2020-06-29 2020-06-29 Photographing method and device, electronic equipment and medium

Publications (1)

Publication Number Publication Date
CN111669503A true CN111669503A (en) 2020-09-15

Family

ID=72390327

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010605131.8A Pending CN111669503A (en) 2020-06-29 2020-06-29 Photographing method and device, electronic equipment and medium

Country Status (1)

Country Link
CN (1) CN111669503A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112532887A (en) * 2020-12-18 2021-03-19 惠州Tcl移动通信有限公司 Shooting method, device, terminal and storage medium
CN112672057A (en) * 2020-12-25 2021-04-16 维沃移动通信有限公司 Shooting method and device
CN112714253A (en) * 2020-12-28 2021-04-27 维沃移动通信有限公司 Video recording method and device, electronic equipment and readable storage medium
CN113473004A (en) * 2021-06-16 2021-10-01 维沃移动通信(杭州)有限公司 Shooting method and device
CN113873080A (en) * 2021-09-27 2021-12-31 维沃移动通信有限公司 Multimedia file acquisition method and device
WO2022063023A1 (en) * 2020-09-23 2022-03-31 维沃移动通信有限公司 Video shooting method, video shooting apparatus, and electronic device
WO2023125362A1 (en) * 2021-12-29 2023-07-06 影石创新科技股份有限公司 Image display method and apparatus, and electronic device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090175609A1 (en) * 2008-01-08 2009-07-09 Sony Ericsson Mobile Communications Ab Using a captured background image for taking a photograph
CN103442181A (en) * 2013-09-06 2013-12-11 深圳市中兴移动通信有限公司 Image processing method and image processing device
CN103916587A (en) * 2012-12-28 2014-07-09 三星电子株式会社 Photographing device for producing composite image and method using the same
CN109461117A (en) * 2018-10-30 2019-03-12 维沃移动通信有限公司 A kind of image processing method and mobile terminal
CN110365907A (en) * 2019-07-26 2019-10-22 维沃移动通信有限公司 A kind of photographic method, device and electronic equipment
CN110545385A (en) * 2019-09-23 2019-12-06 维沃移动通信有限公司 image processing method and terminal equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090175609A1 (en) * 2008-01-08 2009-07-09 Sony Ericsson Mobile Communications Ab Using a captured background image for taking a photograph
CN103916587A (en) * 2012-12-28 2014-07-09 三星电子株式会社 Photographing device for producing composite image and method using the same
CN103442181A (en) * 2013-09-06 2013-12-11 深圳市中兴移动通信有限公司 Image processing method and image processing device
CN109461117A (en) * 2018-10-30 2019-03-12 维沃移动通信有限公司 A kind of image processing method and mobile terminal
CN110365907A (en) * 2019-07-26 2019-10-22 维沃移动通信有限公司 A kind of photographic method, device and electronic equipment
CN110545385A (en) * 2019-09-23 2019-12-06 维沃移动通信有限公司 image processing method and terminal equipment

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022063023A1 (en) * 2020-09-23 2022-03-31 维沃移动通信有限公司 Video shooting method, video shooting apparatus, and electronic device
CN112532887A (en) * 2020-12-18 2021-03-19 惠州Tcl移动通信有限公司 Shooting method, device, terminal and storage medium
CN112532887B (en) * 2020-12-18 2022-08-05 惠州Tcl移动通信有限公司 Shooting method, device, terminal and storage medium
CN112672057A (en) * 2020-12-25 2021-04-16 维沃移动通信有限公司 Shooting method and device
CN112714253A (en) * 2020-12-28 2021-04-27 维沃移动通信有限公司 Video recording method and device, electronic equipment and readable storage medium
CN112714253B (en) * 2020-12-28 2022-08-26 维沃移动通信有限公司 Video recording method and device, electronic equipment and readable storage medium
CN113473004A (en) * 2021-06-16 2021-10-01 维沃移动通信(杭州)有限公司 Shooting method and device
CN113473004B (en) * 2021-06-16 2023-05-23 维沃移动通信(杭州)有限公司 Shooting method and device
CN113873080A (en) * 2021-09-27 2021-12-31 维沃移动通信有限公司 Multimedia file acquisition method and device
CN113873080B (en) * 2021-09-27 2022-12-13 维沃移动通信有限公司 Multimedia file acquisition method and device
WO2023125362A1 (en) * 2021-12-29 2023-07-06 影石创新科技股份有限公司 Image display method and apparatus, and electronic device

Similar Documents

Publication Publication Date Title
CN108513070B (en) Image processing method, mobile terminal and computer readable storage medium
CN111541845B (en) Image processing method and device and electronic equipment
CN111355889B (en) Shooting method, shooting device, electronic equipment and storage medium
CN111669503A (en) Photographing method and device, electronic equipment and medium
CN108471498B (en) Shooting preview method and terminal
CN110365907B (en) Photographing method and device and electronic equipment
CN111182205B (en) Photographing method, electronic device, and medium
CN108111754B (en) Method for determining image acquisition mode and mobile terminal
CN110602401A (en) Photographing method and terminal
CN109639969B (en) Image processing method, terminal and server
CN110933306A (en) Method for sharing shooting parameters and electronic equipment
CN110213440B (en) Image sharing method and terminal
CN108924412B (en) Shooting method and terminal equipment
CN111416940A (en) Shooting parameter processing method and electronic equipment
CN109194839B (en) Display control method, terminal and computer readable storage medium
CN111177420B (en) Multimedia file display method, electronic equipment and medium
CN108335258B (en) Image processing method and device of mobile terminal
CN109102555B (en) Image editing method and terminal
CN109819168B (en) Camera starting method and mobile terminal
CN108108079B (en) Icon display processing method and mobile terminal
CN109819166B (en) Image processing method and electronic equipment
CN110798621A (en) Image processing method and electronic equipment
CN109361874B (en) Photographing method and terminal
CN108984143B (en) Display control method and terminal equipment
CN111246102A (en) Shooting method, shooting device, electronic equipment and storage 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200915

RJ01 Rejection of invention patent application after publication