CN111669504B - Image shooting method and device and electronic equipment - Google Patents

Image shooting method and device and electronic equipment Download PDF

Info

Publication number
CN111669504B
CN111669504B CN202010605419.5A CN202010605419A CN111669504B CN 111669504 B CN111669504 B CN 111669504B CN 202010605419 A CN202010605419 A CN 202010605419A CN 111669504 B CN111669504 B CN 111669504B
Authority
CN
China
Prior art keywords
image
shooting
area
parameters
preview interface
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.)
Active
Application number
CN202010605419.5A
Other languages
Chinese (zh)
Other versions
CN111669504A (en
Inventor
孙青煜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN202010605419.5A priority Critical patent/CN111669504B/en
Publication of CN111669504A publication Critical patent/CN111669504A/en
Application granted granted Critical
Publication of CN111669504B publication Critical patent/CN111669504B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/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 application discloses an image shooting method, an image shooting device and electronic equipment, and belongs to the technical field of communication, wherein the method comprises the following steps: receiving a first input of image shooting parameters by a user, wherein the image shooting parameters comprise: enlarging the area; receiving a second input of the user; capturing a first image in response to the second input; and shooting a second image under the condition that the difference between the shooting preview interface and the target parameter of the object in the amplification area in the first image is larger than a first threshold value. According to the image shooting method, the target parameters of the objects in the enlarged area in the shooting preview interface are enlarged, so that the characteristics of the objects in the enlarged area in the image are more obvious, and the images are convenient to compare to highlight the difference.

Description

Image shooting method and device and electronic equipment
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to an image shooting method and device and electronic equipment.
Background
With the development of the image technology of the electronic device, the photographing function provided by the camera of the electronic device is more and more abundant, and the continuous photographing function becomes the basic function of the camera of the electronic device. The continuous shooting function can finish shooting tens or even tens of images in a short time, and a user can take a snapshot or interesting shooting by the aid of the continuous shooting function of the camera.
Although the continuous shooting function of the camera can shoot a large number of images in a short time, the shooting time interval is small when the images are shot, so that most of images in a group of continuous shooting images have no obvious difference, and the value of most of images in the group of continuous shooting images is not reserved.
Disclosure of Invention
The embodiment of the application aims to provide an image shooting method, which can solve the problem that the difference of images in the existing continuous shooting image is not obvious.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present application provides an image capturing method, where the method includes: receiving a first input of image shooting parameters by a user, wherein the image shooting parameters comprise: enlarging the area; receiving a second input of the user; capturing a first image in response to the second input; and shooting a second image under the condition that the difference between the shooting preview interface and the target parameter of the object in the amplification area in the first image is larger than a first threshold value.
In a second aspect, an embodiment of the present application provides an image capturing apparatus, where the apparatus includes: the device comprises a first receiving module, a first input module and a second receiving module, wherein the first input module is used for receiving a first input of image shooting parameters by a user, and the image shooting parameters comprise: enlarging the area; the second receiving module is used for receiving a second input of the user; a first photographing module for photographing a first image in response to the second input; and the second shooting module is used for shooting a second image under the condition that the difference between the shooting preview interface and the target parameter of the object in the amplification area in the first image is larger than a first threshold value.
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 computer-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, first input of a user on image shooting parameters is received, and the image shooting parameters are determined; capturing a first image in response to a second input by the user; and shooting a second image under the condition that the difference of the target parameters of the objects in the enlarged area in the first image in the shooting preview interface is larger than a first threshold value. By amplifying the target parameters of the objects in the amplification area in the shooting preview interface, the characteristics of the objects in the amplification area in the image can be more obvious, and the difference can be highlighted when a plurality of images are compared.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
FIG. 1 is a flow chart illustrating the steps of an image capture method according to an embodiment of the present application;
FIG. 2 is one of the schematic views of an image capture parameter setting interface;
FIG. 3 is a schematic view of an enlarged area selection interface;
FIG. 4 is a second schematic view of an image capture parameter setting interface;
fig. 5 is a block diagram showing a configuration of an image capturing apparatus according to an embodiment of the present application;
fig. 6 is a block diagram showing a configuration of an electronic apparatus according to an embodiment of the present application;
fig. 7 is a schematic diagram illustrating a hardware configuration of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described 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, 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 application.
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 image capturing method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Referring to fig. 1, a flowchart illustrating steps of an image capturing method according to an embodiment of the present application is shown.
The image shooting method of the embodiment of the application comprises the following steps:
step 101: a first input of image capturing parameters by a user is received.
The first input is a relevant setting operation for image capturing parameters. The image capturing parameters may include, but are not limited to: and enlarging the area. Further, the image capturing parameters may further include: magnification factor, number of continuous shots, etc.
After a camera is opened to display a shooting preview interface, an image shooting parameter setting list can be triggered and displayed in the shooting preview interface through preset operation, and image shooting parameters such as an amplification factor, the number of continuous shooting sheets and the like are set in the setting list.
The zooming-in area is an area to be adjusted in the shooting preview interface, and the target parameters in the zooming-in area in the subsequent shot images are zoomed in by the set zooming factor times. For example: the magnification factor is 3, the target parameter in the magnified area in the captured image is magnified by 3 times. The enlargement area can be defined in the shooting preview interface by the user, and can also be dynamically determined according to the pressing force of the user on the pressing operation executed at a certain position in the shooting preview interface. If the user does not perform the setting operation regarding the enlargement area, the entire shooting preview interface is set as the enlargement area by default. The enlargement area may be provided as one or more. If the user does not set the image shooting parameters such as the amplification factor, the continuous shooting number and the like, the target parameters in the amplification area can be amplified by adopting the default amplification factor of the system, and continuous shooting can be carried out by adopting the default continuous shooting number of the system.
The enlargement area is specified based on a first input from a user, and if other image capturing parameters such as an enlargement factor and the number of continuous shots are set in the first input, the enlargement area is specified and the enlargement factor and the number of continuous shots are specified.
The enlarged region can be a part of the face region of a person to be shot in the person preview interface, and correspondingly, an object in the enlarged region is the face region in the enlarged region; for example: the enlargement area may be a face and mouth area in the shooting preview interface, accordingly, an object in the enlargement area is a mouth, and the target parameter may be a mouth angle raising angle. The zoom-in area may also be a partial area in a preview interface for photographing other non-static objects, for example: the enlargement area may be an area corresponding to a puppy tail in a shooting preview interface including the puppy, an object in the enlargement area may be the puppy tail, and accordingly, the target parameter may be an arc of the puppy tail.
Step 102: a second input by the user is received.
In a specific implementation process, the image capturing device may automatically perform image capturing after determining the image capturing parameters in response to the first input, and may further perform a second input by the user to manually trigger image capturing. When the user manually triggers the image shooting, the image shooting device can be triggered to shoot the first image by executing the second input on the first control.
The first control may be an entity key for triggering image shooting, or may be a virtual key preset in the shooting preview interface for triggering image shooting. The second input may be a long press operation or a single click operation on the first control, etc. And the user manually executes second input to the first control to trigger the image shooting device to shoot the image, so that the controllability of image shooting can be improved.
Step 103: in response to a second input, a first image is captured.
The first image is the first frame image shot in the continuous shooting process.
Step 104: and shooting a second image under the condition that the difference between the target parameters of the objects in the enlarged area in the shooting preview interface and the first image is larger than a first threshold value.
The corresponding amplifiable parameters are different when the types of the shot objects are different, the corresponding amplifiable parameters of the objects of different types are preset in the system, and the amplifiable parameters of the objects in the amplification area are target parameters.
Taking the shot object as the portrait of the person as an example, the enlargeable parameters are expression-related parameters such as: mouth angle lift angle, eyebrow curvature, eye opening angle, etc. And if the amplification area is the area corresponding to the mouth of the shooting object, the target parameter is the mouth angle raising angle.
And under the condition that the object in the enlarged region is a whole or partial face, the target parameters are used for representing the micro expression of the face. Therefore, the micro expression of the person can be continuously shot by the image shooting method provided by the embodiment of the application.
In the case where the object within the magnified region is an object, the target parameters are used to characterize the dynamic changes of the object. Therefore, the image shooting method provided by the embodiment of the application can be used for continuously shooting the micro-changes of the dynamically changing objects.
The image shooting method provided in the embodiment of the application is to shoot details in one or more specific amplification areas in an image after carrying out exaggeration processing. The image shooting method can be applied to shooting scenes of single images, continuous shooting scenes, macro shooting scenes, dynamic photo slow-lens shooting scenes and the like.
Taking the application to a continuous shooting scene as an example, after a plurality of images are continuously shot by the image shooting method provided in the embodiment of the application, the target parameters of the objects in the amplification areas in the shot images are all amplified, so that the characteristics of the objects in the amplification areas in the images are more obvious, and the difference of the images obtained by continuous shooting is conveniently compared and analyzed.
The image shooting method provided by the embodiment of the application receives first input of an image shooting parameter from a user, and determines the image shooting parameter; capturing a first image in response to a second input by the user; and shooting a second image under the condition that the difference of the target parameters of the objects in the enlarged area in the first image in the shooting preview interface is larger than a first threshold value. By amplifying the target parameters of the objects in the amplification area in the shooting preview interface, the characteristics of the objects in the amplification area in the image can be more obvious, and the difference can be highlighted when a plurality of images are compared.
In an alternative embodiment, the step of receiving a first input of image capturing parameters by a user comprises the sub-steps of:
the method comprises the following steps that firstly, first setting operation of a user on an amplification factor and the number of continuous shooting is received;
in this alternative embodiment, the description will be given by taking the example of continuously shooting the images of the persons and recognizing and amplifying the differences in the areas by the micro expression. As shown in the schematic diagram of the image capturing parameter setting interface shown in fig. 2, a user may trigger the system to display an image parameter setting interface in the capturing preview interface, where the image parameter setting interface includes: the user can adjust the continuous shooting number and the expression amplification factor by sliding the corresponding adjusting control.
Fig. 2 shows an image capturing parameter setting interface only by way of example, and in a specific implementation process, the image capturing parameter setting interface is not limited to adjusting the number of continuous shots and the expression magnification factor by sliding the adjustment control, and a target value may also be directly input.
And a second step of receiving the selection operation of the user on the enlarged area in the shooting preview interface.
The selection operation may be a pressing operation on the shooting preview interface, an operation of manually defining an enlarged region in the shooting preview interface, or an operation of defining an enlarged region in the shooting preview interface by using an enlarged region setting frame provided in the system.
In the manner of selecting the enlargement area by performing the pressing operation in the shooting preview interface, the enlargement area may be specifically determined by the pressing position and the pressing time length of the pressing operation, and may also be determined by the pressing position and the pressing force degree of the pressing operation. As shown in the enlarged region selection interface diagram shown in fig. 3, enlarged regions of different sizes may be selected by the user by performing pressing operations for different lengths of time in the photographing preview interface. The area of the magnified region may be proportional to the length of the press as shown in fig. 3. The area of the magnified region may also be inversely related to the length of the compression. The enlarged region may be circular, square or any suitable shape. One or more zooming-in areas can be selected in the shooting preview interface, and the selection flow of each zooming-in area is the same.
When the enlargement area is a circle and the enlargement area is determined according to the pressing operation in the shooting preview interface, the pressing position of the pressing operation is used as the center, the extension radius is determined based on the pressing time length, and the circle area which is formed by taking the center as the circle center and the extension radius as the radius is used as the enlargement area. When the enlargement area is a square and is determined according to the pressing operation in the shooting preview interface, the pressing position of the pressing operation is taken as the center, the length of the extending side is determined based on the pressing time length, and the square area which is formed by taking the center as the center of the square and the length of the extending side as the side length is taken as the enlargement area.
In the optional embodiment, the user can select the enlarged area by performing simple pressing operation in the shooting preview interface, so that the user can operate the area conveniently.
If the enlargement area is selected in the shooting preview interface, the selected enlargement area can be cancelled through the preset operation. The preset operation may be a long-press operation on the selected enlargement area, or a long-press operation on an area other than the selected enlargement area in the shooting preview interface.
In an optional embodiment, in a case that the image capturing parameter includes a magnification factor, after the step of capturing the first image in response to the second input, a magnified area in the capturing preview interface may be further magnified and displayed by the magnification factor.
The enlarged area in the shooting preview interface is displayed after being enlarged, so that the characteristics of the object in the enlarged area can be highlighted, and a user can conveniently find the change of the object in the enlarged area.
It should be noted that, when the image capturing method shown in this embodiment of the present application is used for continuous capturing, except for the first frame of image, that is, the first image, each subsequent image performs image capturing after amplifying the target parameter of the object in the amplified region according to the amplification factor, so that the difference of the object characteristics in the amplified region can be highlighted. After the continuous shooting is finished, a continuous shooting image set can be generated and stored in an album. By enlarging the target parameter of the object in the enlargement area, the adjacent images can show a significant difference although the shooting time interval is short.
In the embodiment of the application, an automatic shooting mechanism is triggered by target parameter detection based on local difference amplification of the shot image. In this optional embodiment, the image capturing parameters further include: a first threshold value; after the step of receiving the first input of the image capturing parameters by the user, the method further comprises the following steps:
adjusting target parameters of the object in the enlarged area in the shooting preview interface according to the first threshold and the enlargement coefficient; and displaying the adjusted shooting preview interface.
Taking the image shooting method provided by the embodiment of the present application as an example, as shown in the schematic diagram of the image shooting parameter setting interface in fig. 4, in the image shooting parameter setting interface, a user needs to set the number of continuous shots, a first threshold and an amplification factor, and when the system detects that the variation of the target parameter of the object in the amplification area in the shooting preview interface exceeds the first threshold set by the user through a preset algorithm, such as a micro expression algorithm, the image shooting is automatically performed.
The user may also adjust the first threshold or the magnification factor after displaying the adjusted shooting preview interface. In the optional embodiment, when the user adjusts the first threshold or the amplification factor in the process of setting the image shooting parameters, the target parameters of the object in the shooting preview interface are adjusted and displayed in the shooting preview picture in real time according to the adjusted image shooting parameters, so that the user can conveniently check the adjustment effect.
Optionally, in a case that a difference between the target parameter of the object in the enlarged area in the shooting preview interface and the target parameter of the object in the enlarged area in the first image is larger than a first threshold, when the second image is shot, detecting a parameter value variation of the target parameter of the object in the enlarged area in the shooting preview interface; and when the parameter value variation is larger than the first threshold value, the amplification area is amplified, and then a second image is shot.
In the process of continuous shooting in the optional mode, the image shooting device automatically detects the change condition of the target parameters of the objects in the enlarged area in the shooting preview interface, and shoots an image every time the change quantity of the target parameters of the objects in the enlarged area exceeds a first threshold value until the number of the continuous shooting images reaches a preset continuous shooting number, or ends the continuous shooting when receiving a shooting stopping instruction. Optionally, the number of the currently shot images is displayed above the screen in the continuous shooting process, so that a user can know the current continuous shooting progress conveniently.
The mechanism for optionally automatically shooting each second image by the image shooting device through detecting the parameter value variation of the target parameter can ensure that the shot images have obvious difference, thereby improving the reserved value of the shot images. The optional image shooting method can be applied to shooting of the head portrait of the person and also can be applied to capturing of moving objects in a plurality of static backgrounds such as meteors, blossoms, birds and the like.
The image shooting method provided by the embodiment of the application receives first input of an image shooting parameter from a user, and determines the image shooting parameter; capturing a first image in response to a second input by the user; and shooting a second image under the condition that the difference of the target parameters of the objects in the enlarged area in the first image in the shooting preview interface is larger than a first threshold value. By amplifying the target parameters of the objects in the amplification area in the shooting preview interface, the characteristics of the objects in the amplification area in the image can be more obvious, and the difference can be highlighted when a plurality of images are compared. In addition, according to the image shooting method provided by the embodiment of the application, the second image shooting mechanism is automatically triggered by detecting the parameter value variation of the target parameter, so that the shot second images can be ensured to have obvious differences, and the reserved value of the shot images is improved.
In the image capturing method provided by the embodiment of the present application, the execution subject may be an image capturing apparatus, and the control module in the image capturing apparatus is used for executing the method for capturing the image. The image capturing apparatus provided in the embodiment of the present application is described with a method for performing image capturing by an image capturing apparatus as an example.
Fig. 5 is a block diagram of an image capturing apparatus for implementing an embodiment of the present application.
The image capturing apparatus 500 according to the embodiment of the present application includes:
a first receiving module 501, configured to receive a first input of an image capturing parameter from a user, where the image capturing parameter includes: enlarging the area;
a second receiving module 502, configured to receive a second input of the user;
a first photographing module 503 for photographing a first image in response to the second input;
and a second shooting module 504, configured to shoot a second image when a difference between the shooting preview interface and the target parameter of the object in the zoom-in region in the first image is greater than a first threshold.
Optionally, the image capturing parameters further include: an amplification factor; the device further comprises:
and the first display module is used for displaying the enlarged area in the shooting preview interface after the first shooting module shoots the first image in response to the second input and enlarging the enlarged area according to the enlargement factor.
Optionally, the image capturing parameters further include: a first threshold value; the device further comprises: the adjusting module is used for adjusting the target parameters of the object in the amplification area in the shooting preview interface according to the first threshold and the amplification factor after the first receiving module receives the first input of the image shooting parameters from the user; and the second display module is used for displaying the adjusted shooting preview interface.
Optionally, the second photographing module includes: the detection submodule is used for detecting the parameter value variable quantity of the target parameter of the object in the amplification area in the shooting preview interface; and the shooting submodule is used for shooting a second image after the amplification area is amplified under the condition that the parameter value variation is larger than the first threshold value.
Optionally, in a case that the object in the enlarged region is a whole or partial face, the target parameter is used for representing a micro expression of the face; and in the case that the object in the amplification area is an object, the target parameter is used for representing the dynamic change of the object.
The image shooting device provided by the embodiment of the application determines the image shooting parameters by receiving the first input of the user to the image shooting parameters; capturing a first image in response to a second input by the user; and shooting a second image under the condition that the difference of the target parameters of the objects in the enlarged area in the first image in the shooting preview interface is larger than a first threshold value. By amplifying the target parameters of the objects in the amplification area in the shooting preview interface, the characteristics of the objects in the amplification area in the image can be more obvious, and the difference can be highlighted when a plurality of images are compared.
The image capturing 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 image capturing 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, and embodiments of the present application are not limited specifically.
The image capturing apparatus provided in the embodiment of the present application can implement each process implemented by the method embodiments of fig. 1 to 4, and is not described herein again to avoid repetition.
Optionally, referring to fig. 6, an electronic device 600 is further provided in the embodiment of the present application, and includes a processor 601, a memory 602, and a program or an instruction stored in the memory 602 and executable on the processor 601, where the program or the instruction is executed by the processor 601 to implement each process of the image capturing 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 devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.
Fig. 7 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 700 includes, but is not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, and a processor 710.
Those skilled in the art will appreciate that the electronic device 700 may also include a power supply (e.g., a battery) for powering the various components, and the power supply may be logically coupled to the processor 710 via a power management system, such that the functions of managing charging, discharging, and power consumption may be performed via the power management system. The electronic device structure shown in fig. 7 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 omitted here.
Wherein the user input unit 707 is configured to receive a first input of image capturing parameters by a user, wherein the image capturing parameters include: enlarging the area; receiving a second input of the user;
a processor 710 for invoking the input unit 704 to capture a first image in response to the second input; the input unit 704 is a camera in the embodiment of the present application; and calling the input unit 704 to shoot a second image when the difference between the shooting preview interface and the target parameter of the object in the amplification area in the first image is larger than a first threshold value.
In the embodiment of the application, the electronic equipment receives first input of an image shooting parameter from a user and determines the image shooting parameter; capturing a first image in response to a second input by the user; and shooting a second image under the condition that the difference of the target parameters of the objects in the enlarged area in the first image in the shooting preview interface is larger than a first threshold value. By amplifying the target parameters of the objects in the amplification area in the preview interface, the characteristics of the objects in the amplification area in the image can be more obvious, and the difference can be highlighted when a plurality of images are compared. Optionally, the image capturing parameters further include: amplification factor, processor 710 is further configured to: after the first image is shot in response to the second input, zooming in the zooming-in area in the shooting preview interface according to the zooming-in coefficient;
and the display unit 706 is configured to display the shooting preview interface after the enlargement area is enlarged.
Optionally, the image capturing parameters further include: a first threshold value; processor 710 is further configured to: after the user input unit 707 receives a first input of an image shooting parameter by a user, adjusting a target parameter of an object in the magnified area in the shooting preview interface according to the first threshold and the magnification factor;
the display unit 706 is further configured to display the adjusted shooting preview interface.
Optionally, the processor 710 is specifically configured to: detecting parameter value variation of a target parameter of an object in the amplification area in a shooting preview interface;
when the parameter value variation is larger than the first threshold, the zoom-in area is enlarged, and then input section 704 is called to capture a second image.
Optionally, in a case that the object in the enlarged region is a whole or partial face, the target parameter is used for representing a micro expression of the face; and in the case that the object in the amplification area is an object, the target parameter is used for representing the dynamic change of the object.
It should be understood that in the embodiment of the present application, the input Unit 704 may include a Graphics Processing Unit (GPU) 7041 and a microphone 7042, and the Graphics Processing Unit 7041 processes image data of still pictures or videos obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The display unit 706 may include a display panel 7061, and the display panel 7061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 707 includes a touch panel 7071 and other input devices 7072. The touch panel 7071 is also referred to as a touch screen. The touch panel 7071 may include two parts of a touch detection device and a touch controller. Other input devices 7072 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. Memory 709 may be used to store software programs as well as various data, including but not limited to applications and operating systems. Processor 710 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 710.
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-mentioned image capturing 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 image capturing 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 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 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 (8)

1. An image capturing method, characterized by comprising:
receiving a first input of image shooting parameters by a user, wherein the image shooting parameters comprise: enlarging the area;
receiving a second input of the user;
capturing a first image in response to the second input;
shooting a second image under the condition that the difference between the shooting preview interface and the target parameter of the object in the amplification area in the first image is larger than a first threshold value;
wherein the image capturing parameters further comprise: an amplification factor; the zooming-in area is an area to be adjusted in the shooting preview interface, the zooming-in parameters of the object in the zooming-in area are the target parameters, and different types of the object correspond to different zooming-in parameters; after the step of capturing a first image in response to the second input, the method further comprises:
amplifying the amplification area in the shooting preview interface according to the amplification factor and then displaying the amplification area;
the step of displaying the amplified area in the shooting preview interface after amplifying according to the amplification factor comprises the following steps:
and amplifying the target parameters of the objects in the amplification area according to the amplification factor for each subsequent image except the first image, and then displaying.
2. The method of claim 1, wherein the image capture parameters further comprise: a first threshold value; after the step of receiving a first input of image capturing parameters by a user, the method further comprises:
adjusting target parameters of the object in the amplification area in the shooting preview interface according to the first threshold and the amplification factor;
and displaying the adjusted shooting preview interface.
3. The method of claim 2, wherein the step of capturing the second image in the case that the difference between the target parameters of the subject in the magnified region in the capture preview interface and the first image is greater than a first threshold value comprises:
detecting parameter value variation of a target parameter of an object in the amplification area in a shooting preview interface;
and under the condition that the parameter value variation is larger than the first threshold value, a second image is shot after the amplification area is amplified.
4. The method of claim 1, wherein:
under the condition that the object in the enlarged region is a whole or partial human face, the target parameter is used for representing the micro expression of the human face;
and in the case that the object in the amplification area is an object, the target parameter is used for representing the dynamic change of the object.
5. An image capturing apparatus, characterized in that the apparatus comprises:
the device comprises a first receiving module, a first input module and a second receiving module, wherein the first input module is used for receiving a first input of image shooting parameters by a user, and the image shooting parameters comprise: enlarging the area;
the second receiving module is used for receiving a second input of the user;
a first photographing module for photographing a first image in response to the second input;
the second shooting module is used for shooting a second image under the condition that the difference between the shooting preview interface and the target parameter of the object in the amplification area in the first image is larger than a first threshold value;
wherein the image capturing parameters further comprise: an amplification factor; the zooming-in area is an area to be adjusted in the shooting preview interface, the zooming-in parameters of the object in the zooming-in area are the target parameters, and different types of the object correspond to different zooming-in parameters; the device further comprises:
the first display module is used for displaying the enlarged area in the shooting preview interface after the first shooting module responds to the second input and shoots the first image according to the enlargement factor;
wherein the first display module is further configured to:
and amplifying the target parameters of the objects in the amplification area according to the amplification factor for each subsequent image except the first image, and then displaying.
6. The apparatus of claim 5, wherein the image capture parameters further comprise: a first threshold value; the device further comprises:
the adjusting module is used for adjusting the target parameters of the object in the amplification area in the shooting preview interface according to the first threshold and the amplification factor after the first receiving module receives the first input of the image shooting parameters from the user;
and the second display module is used for displaying the adjusted shooting preview interface.
7. The apparatus of claim 6, wherein the second capture module comprises:
the detection submodule is used for detecting the parameter value variable quantity of the target parameter of the object in the amplification area in the shooting preview interface;
and the shooting submodule is used for shooting a second image after the amplification area is amplified under the condition that the parameter value variation is larger than the first threshold value.
8. The apparatus of claim 5, wherein:
under the condition that the object in the enlarged region is a whole or partial human face, the target parameter is used for representing the micro expression of the human face;
and in the case that the object in the amplification area is an object, the target parameter is used for representing the dynamic change of the object.
CN202010605419.5A 2020-06-29 2020-06-29 Image shooting method and device and electronic equipment Active CN111669504B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010605419.5A CN111669504B (en) 2020-06-29 2020-06-29 Image shooting method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010605419.5A CN111669504B (en) 2020-06-29 2020-06-29 Image shooting method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN111669504A CN111669504A (en) 2020-09-15
CN111669504B true CN111669504B (en) 2021-11-05

Family

ID=72390325

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010605419.5A Active CN111669504B (en) 2020-06-29 2020-06-29 Image shooting method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN111669504B (en)

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010157119A (en) * 2008-12-26 2010-07-15 Fujitsu Ltd Monitoring device, monitoring method, and monitoring program
KR101599871B1 (en) * 2009-02-11 2016-03-04 삼성전자주식회사 Photographing apparatus and photographing method
US9373187B2 (en) * 2012-05-25 2016-06-21 Nokia Corporation Method and apparatus for producing a cinemagraph
WO2016017987A1 (en) * 2014-07-31 2016-02-04 Samsung Electronics Co., Ltd. Method and device for providing image
CN107483834B (en) * 2015-02-04 2020-01-14 Oppo广东移动通信有限公司 Image processing method, continuous shooting method and device and related medium product
CN104869283B (en) * 2015-05-11 2018-12-14 联想(北京)有限公司 A kind of image pickup method and electronic equipment
CN105516610A (en) * 2016-02-19 2016-04-20 深圳新博科技有限公司 Method and device for shooting local dynamic image

Also Published As

Publication number Publication date
CN111669504A (en) 2020-09-15

Similar Documents

Publication Publication Date Title
CN112135046B (en) Video shooting method, video shooting device and electronic equipment
CN112954210B (en) Photographing method and device, electronic equipment and medium
CN112954214B (en) Shooting method, shooting device, electronic equipment and storage medium
CN112312016B (en) Shooting processing method and device, electronic equipment and readable storage medium
US11216075B2 (en) Method, apparatus and device for triggering shooting mode, and storage medium
CN112954193B (en) Shooting method, shooting device, electronic equipment and medium
CN112911147B (en) Display control method, display control device and electronic equipment
CN113794829B (en) Shooting method and device and electronic equipment
CN112738401B (en) Zooming method and device and electronic equipment
CN113923350A (en) Video shooting method and device, electronic equipment and readable storage medium
CN113014798A (en) Image display method and device and electronic equipment
CN113259743A (en) Video playing method and device and electronic equipment
CN112929566B (en) Display control method, display control device, electronic apparatus, and medium
CN111669504B (en) Image shooting method and device and electronic equipment
CN114173029B (en) Shooting method and device and electronic equipment
CN114245017A (en) Shooting method and device and electronic equipment
CN115499589A (en) Shooting method, shooting device, electronic equipment and medium
CN112584110B (en) White balance adjusting method and device, electronic equipment and storage medium
CN112887624B (en) Shooting method and device and electronic equipment
CN112887607B (en) Shooting prompting method and device
CN112492205B (en) Image preview method and device and electronic equipment
CN112333389B (en) Image display control method and device and electronic equipment
CN112165584A (en) Video recording method, video recording device, electronic equipment and readable storage medium
CN113271378A (en) Image processing method and device and electronic equipment
CN112584040A (en) Image display method and device and electronic equipment

Legal Events

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