CN112839166A - Shooting method and device and electronic equipment - Google Patents
Shooting method and device and electronic equipment Download PDFInfo
- Publication number
- CN112839166A CN112839166A CN202011403622.0A CN202011403622A CN112839166A CN 112839166 A CN112839166 A CN 112839166A CN 202011403622 A CN202011403622 A CN 202011403622A CN 112839166 A CN112839166 A CN 112839166A
- Authority
- CN
- China
- Prior art keywords
- focusing
- image
- shooting
- preview
- distance
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/67—Focus control based on electronic image sensor signals
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/63—Control of cameras or camera modules by using electronic viewfinders
- H04N23/631—Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Studio Devices (AREA)
Abstract
The application discloses a shooting method, a shooting device and electronic equipment, and belongs to the technical field of image processing. The shooting method comprises the following steps: displaying N image windows on a shooting preview interface, wherein images in each image window are obtained by shooting based on different focusing modes, the different focusing modes correspond to different focusing objects, and N is an integer greater than or equal to 1; receiving a first input of a user to a target image window in the N image windows; responding to the first input, and controlling a camera to shoot a target image based on a target focusing mode; and the target focusing mode is a focusing mode associated with the target image window. According to the embodiment of the application, different focusing modes can be adopted for different focusing objects respectively, and the focusing effect is displayed, so that the user can preview conveniently, the user can select an ideal focusing mode to shoot according to the focusing mode, and the shooting process can be simplified.
Description
Technical Field
The application belongs to the technical field of image processing, and particularly relates to a shooting method, a shooting device and electronic equipment.
Background
Focusing is also called focusing. The camera focusing mechanism changes the positions of the object distance and the image distance, so that the process of imaging the shot object clearly is focusing. In the shooting process, if the focusing distance (namely the object distance) of the camera needs to be adjusted, a focusing object needs to be manually selected from a shooting preview image, then a shooting button is clicked to focus the selected focusing object, and a picture is shot to obtain.
After the photo is shot, the user can check the focusing effect of the photo by entering the photo album and opening the shot photo, if the focusing effect is not ideal, the user needs to switch to the shooting interface again, select the focusing object again and shoot again, and the operation process is complicated.
Disclosure of Invention
The embodiment of the application aims to provide a shooting method, a shooting device and electronic equipment, so that a user can preview a shooting effect of focusing by adopting different focusing modes in a shooting process, the user can select a focusing mode with a good effect to shoot, and a complex operation process of re-executing focusing and shooting after shooting is not ideal is avoided.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a shooting method, including:
displaying N image windows on a shooting preview interface, wherein images in each image window are obtained by shooting based on different focusing modes, the different focusing modes correspond to different focusing objects, and N is an integer greater than or equal to 1;
receiving a first input of a user to a target image window in the N image windows;
responding to the first input, and controlling a camera to shoot a target image based on a target focusing mode;
and the target focusing mode is a focusing mode associated with the target image window.
In a second aspect, an embodiment of the present application provides a shooting apparatus, including:
the display module is used for displaying N image windows on the shooting preview interface, wherein images in each image window are obtained by shooting based on different focusing modes, the different focusing modes correspond to different focusing objects, and N is an integer greater than or equal to 1;
the user input module is used for receiving first input of a user to a target image window in the N image windows;
the shooting module is used for responding to the first input and controlling a camera to shoot a target image based on a target focusing mode;
and the target focusing mode is a focusing mode associated with the target image window.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, N image windows are displayed on a shooting preview interface, wherein a preview image in each image window is obtained by shooting based on different focusing modes, the different focusing modes correspond to different focusing objects, and N is an integer greater than or equal to 1; receiving a first input of a user to a target image window in the N image windows; responding to the first input, and acquiring a target focusing mode corresponding to the target image window; controlling a camera to shoot a target image based on a target focusing mode; and the target focusing mode is a focusing mode associated with the target image window. Therefore, before the target image is shot, the preview images of a plurality of different focusing objects are displayed in the image window, and a user can adopt the focusing mode desired by the user to carry out focusing and shooting only by selecting one with ideal focusing effect from the plurality of preview images, so that the complex operation process of carrying out focusing and shooting again after the shooting is not ideal is avoided.
Drawings
Fig. 1 is a flowchart of a shooting method provided in an embodiment of the present application;
fig. 2 is one of application scene diagrams of a shooting method provided in an embodiment of the present application;
fig. 3 is a second application scenario diagram of a shooting method according to an embodiment of the present application;
fig. 4 is a third application scene diagram of a shooting method according to an embodiment of the present application;
fig. 5 is a flowchart of another shooting method provided in the embodiment of the present application;
fig. 6 is an application scene diagram of another shooting method provided in the embodiment of the present application;
fig. 7 is a structural diagram of an imaging device according to an embodiment of the present application;
fig. 8 is a block diagram of an electronic device according to an embodiment of the present disclosure;
fig. 9 is a block diagram of another electronic device provided in the embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly and completely with reference to the drawings in the embodiments of the present application, and it should be understood 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 inventive effort, shall fall within the scope of protection 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 otherwise than as shown or described herein and the terms "first," "second," and the like are used generically and do not limit the number of terms to which they may be applied, e.g., the first term may refer to one or more than one term. Further, in the specification and claims, "and/or" means at least one of the connected objects, the character "/" generally means a relationship that preceding and succeeding associated objects are an "or".
The shooting method, the shooting device and the electronic equipment provided by the embodiment of the application are described in detail through specific embodiments and application scenarios thereof in combination with the accompanying drawings.
Referring to fig. 1, which is a flowchart of a shooting method according to an embodiment of the present disclosure, as shown in fig. 1, the shooting method may include the following steps:
The shooting method provided by the embodiment of the application can be applied to shooting an application scene in which a plurality of focusing objects are arranged in a preview interface and at least one focusing object needs to be shot, and preview images adopting different focusing modes can be displayed on the shooting preview interface in advance through the image window before a user carries out shooting operation so that the user can check focusing effects through the preview images, so that when the user shoots, the user can select an ideal focusing mode from the preview images to carry out focusing and shooting according to the focusing effects of the preview images.
For example: in the case that a floret close to the shooting device, a person in a middle distance from the shooting device, and a hot air balloon far from the shooting device are included in the shooting preview interface as shown in fig. 2, the user can perform touch operation on the floret, the person, and the hot air balloon in the shooting preview interface to display 3 preview images in which the floret, the person, and the hot air balloon are respectively focused in the shooting preview interface.
Of course, in implementation, the image recognition may be performed on the shooting preview interface, and the preview images focused on all the recognized objects or the objects of the specified types are displayed in the shooting preview interface.
In an implementation, the focusing method in the embodiment of the present application is to perform optical focusing on a focused object, for example: when the fixed-focus camera is adopted to focus a shooting object which is away from the camera by a preset distance, the image distance of the camera (namely the distance between the imaging sensor and the lens of the camera) can be adjusted, so that the shooting object can clearly form an image on the imaging sensor at the image distance, and at the moment, the image distance is the image distance corresponding to the shooting object. Which has a better focusing effect than digital focusing by post-image processing.
The shooting preview interface may be an interface displayed after the camera is started, and shooting contents of the camera are displayed in the interface.
In addition, the N focusing objects corresponding to the N image windows may be selected by a user through touch input in the shooting preview interface, or recognized from the shooting preview interface through an image recognition technology. In other words, the number of the image windows is N, a value of N may be specifically determined according to the number of focusing objects of the user option, or determined according to the number of focusing objects identified in the shooting preview interface by using an image identification technology, and the different focusing manners correspond to different focusing objects, which may be understood as: the image distances or focusing angles of different focusing objects are different, a plurality of preview images acquired based on different focusing modes are formed by respectively focusing the different focusing objects, and the plurality of preview images are respectively displayed in the N image windows. In this way, the focusing manner associated with the target image window may be a focusing manner adopted when the preview image displayed in the target image window is acquired.
For example: as shown in fig. 2, when there are 3 focusing objects (respectively: hot air balloon, person, floret), 3 image windows may be displayed on the shooting preview interface, wherein a target image for focusing the hot air balloon is displayed in the first image window 21, and the image distance of the camera is short when the hot air balloon is focused (in practice, the image distance and the object distance are often negatively correlated); a target image for focusing a person is displayed in the second image window 22, and the image distance of the camera when the person is focused is medium; a target image for focusing florets is displayed in the third image window 23, and the image distance of the camera is long when the florets are focused.
Specifically, when focusing a photographic subject with a different object distance (i.e., focusing distance), in order to make the photographic subject image clearly, the image distances of the cameras are different, for example: as shown in fig. 3, when the object distance between the hot air balloon 31 and the camera 30 is 1Km (kilometer) and the object distance between the floret 32 and the camera 30 is 0.1m, in the process of focusing and shooting the hot air balloon 31, the camera 30 drives the lens to move toward the direction close to the imaging sensor to a far focus image distance matching the object distance of the hot air balloon 31, and shooting is performed; after that, in the process of focusing and photographing the floret 32, the camera 30 drives the lens to move in a direction away from the imaging sensor to a close focal image distance matching the object distance of the floret 32, and photographing is performed.
The embodiment can be applied to a shooting scene with at least two shooting objects, and the distances between any two shooting objects and the camera are different from each other in the multiple shooting objects, so that different focusing objects adopt different image distances, the focusing on different focusing objects can be realized in an optical focusing mode, and preview focusing effects under different focusing modes are displayed through image windows respectively, so that a user can conveniently identify the shooting effects for respectively focusing on different focusing objects, and accordingly, a focusing mode required by the user is selected for focusing and shooting; and moreover, by adopting an optical focusing mode, the focusing definition, softness and the like of different focusing objects can be improved, and the problems that the focusing point or the depth of field is wrong, the focusing object is not clear enough and the like in the process of adjusting the focusing object by adopting an image post-digital processing mode are solved, wherein the depth of field indicates that the images of the scenery in front of the focusing point (the direction close to the camera) and in a certain distance behind the focusing point are clear, and the sum of the front range and the rear range is called the depth of field.
In a specific implementation, the focusing object may be determined by a selection operation input by a user, or may also be a focusing object in a shooting preview interface identified by an image recognition technology or the like.
For example: when the camera is started, a shooting preview interface shown in fig. 4 is displayed, and when a user selects at least one focusing object through long-press operation or the like, or the electronic device identifies at least one focusing object through an image identification technology or the like, a preview image corresponding to each focusing object is acquired based on the focusing mode corresponding to each focusing object and is displayed in different image windows respectively.
As an optional implementation manner, before displaying the N image windows on the shooting preview interface, the method further includes:
carrying out focusing object identification on the preview image in the shooting preview interface;
generating the N image windows in case that N focusing objects are identified;
and focusing the N focusing objects respectively to acquire N preview images through a camera, wherein the N preview images are displayed in the N image windows respectively.
In a specific implementation, when a plurality of focusing objects are identified, each focusing object is focused and a preview image is acquired through a camera, and then the plurality of preview images are displayed in different image windows respectively.
In an implementation, the N focusing objects may be all focusing objects identified from the shooting preview interface, or all focusing objects of a specific type (e.g., active, static, or only people) identified from the shooting preview interface.
When the focusing object is a focusing object identified by image identification technology, etc., the image in the shooting preview interface of the camera may be identified by Artificial Intelligence (AI) when the camera is started, and one or more shooting contents (i.e., shooting objects) may be identified. For example: within the shooting preview interface as shown in fig. 4, by AI recognition, the following within the shooting preview interface are recognized: when the 3 shot contents of the person, the floret and the hot air balloon are taken, each shot content is taken as a focusing object, focusing shooting is carried out to obtain a target image, and the target image is displayed in an image window corresponding to the focusing object, namely, an interface shown in fig. 2 is displayed.
It should be noted that the image recognition technology is the same as the image recognition technology in the prior art, and is not described herein again. After the preview image is acquired, the preview image may be displayed only during shooting, but the preview image is not stored.
The embodiment can be applied to an application scene for determining the focusing objects in the shooting preview interface in an AI (artificial intelligence) recognition mode, so that the condition that a user needs to manually select each focusing object in the shooting preview interface is avoided, and the operation process of shooting preview can be simplified.
Further, the focusing the N focusing objects respectively to acquire N preview images through a camera includes:
acquiring shooting parameters of a camera, and determining the depth of field of a first focusing object according to the shooting parameters, wherein the N focusing objects comprise the first focusing object;
determining an image distance of the first focus object according to the depth of field of the first focus object;
and adjusting the image distance of the camera to the image distance of the first focusing object, focusing the first focusing object, and acquiring a focused preview image.
In a specific implementation, the focusing distance of the first focusing object may be determined according to the shooting parameters of the cameras, the distance measurement parameters of the infrared detection device, and the like, and then the depth of field may be determined according to the focusing distance, or, in a case where a plurality of cameras are provided on the electronic device, the depth of field of the first focusing object may be determined according to shooting parameters, such as relative positions of the main camera and the sub camera, and a difference in position of the first focusing object in images respectively shot by the main camera and the sub camera, by using different positions of the main camera and the sub camera.
After the depth of field of the first focused object is determined, the image distance of the first focused object can be determined according to the preset corresponding relationship between the depth of field and the image distance or the corresponding relationship between the focusing distance and the image distance, and then the first focused object is focused in a focusing mode corresponding to the image distance, and a preview image acquired by the camera is acquired and displayed in the image window.
It should be noted that, in the case that N is greater than or equal to 2, the process of acquiring the preview image may be performed once for N first focus objects, for example: when people and flowers are identified in a shooting preview interface, focusing is firstly carried out on the people so as to obtain a first preview image through shooting; focusing the flowers to obtain a second preview image by shooting; and finally, respectively displaying the first preview image and the second preview image in the two image windows.
In addition, after the image distance of the first focusing object is determined, if the user operates the target image window corresponding to the first focusing object to select the focusing mode corresponding to the target image window for shooting, the following steps are performed: and adjusting the image distance of the camera to the image distance of the first focusing object, focusing the first focusing object, acquiring a focused preview image, and shooting in the same focusing mode to obtain a target image.
In this embodiment, the image distance of the camera is adjusted to the image distance of the first focusing object, the first focusing object is focused, and the focused preview image is acquired, so that the image distance of the camera can be matched with the actual depth position of the first focusing object. Compared with the prior art, after the picture is shot, the mode of focusing the first focusing object is realized through the post-stage image processing, in the shooting process, the first focusing object is focused by adopting the optical focusing mode corresponding to the first focusing object, the focusing effect and the shooting effect of the first focusing object can be improved, and the first focusing object in the shot picture is clearer and softer.
And 102, receiving a first input of a user to a target image window in the N image windows.
In a specific implementation, the first input may be a touch input to the target image window, for example: the first input may also include a press or touch input of a photographing control by the user, where the photographing control may be a software control displayed on the photographing preview interface, or a hardware control such as a photographing button on the electronic device, and is not limited in this respect.
Of course, it may also be an operation of selecting a target image window by a hardware operation and triggering a shooting process, and is not particularly limited herein.
103, responding to the first input, and controlling a camera to shoot a target image based on a target focusing mode; and the target focusing mode is a focusing mode associated with the target image window.
In a specific implementation, the focusing manner associated with the target image window may be understood as: and shooting to obtain a focusing mode adopted by the preview image in the target image window. For example: in the application scenario shown in fig. 2, when the user clicks an image window for focusing on a person, it is determined that the focusing manner of the preview image obtained by capturing the person is the target focusing manner.
After step 103, the preview image displayed on the shooting preview interface is a preview image acquired based on the target focusing method, and for example: when the target focusing mode is to focus on the human object, the shooting preview image can be obtained by focusing on the human object on the shooting preview interface. The shooting preview image is different from the shooting preview image in the prior art in that after the target focusing mode is obtained, the shooting preview image is focused on the target focusing object according to the target focusing mode, and details are not repeated here.
In addition, the above-mentioned controlling the camera to shoot the target image based on the target focusing method can be understood as: adjusting the image distance of the camera, focusing and shooting a focusing object corresponding to the target focusing mode, displaying a shot target image in a shooting interface, and storing the target image in an album.
As an optional implementation manner, after the target focusing mode is obtained and before the photographing input is received, the user may shake the camera or change the orientation of the camera, at this time, the camera may be kept in the target focusing mode within a preset time, and the N image windows are displayed on the photographing preview interface again until the photographed image is obtained or the preset time is exceeded, so as to be selected by the user.
The preset time may be any time length such as 3 seconds or 5 seconds.
In the embodiment, when a user shakes the camera or changes the orientation of the camera, the camera can be kept in the target focusing mode, so that the user can adjust the holding gesture of the camera in the shooting process, or adjust the parameters of the camera, and the like, the situation that the selected target focusing mode fails and N image windows need to be displayed on the shooting preview interface again can be avoided, and the user can select the target focusing mode again. The operation process of photographing can be simplified.
In the embodiment of the application, N image windows are displayed on a shooting preview interface, wherein a preview image in each image window is obtained by shooting based on different focusing modes, the different focusing modes correspond to different focusing objects, and N is an integer greater than or equal to 1; receiving a first input of a user to a target image window in the N image windows; responding to the first input, and acquiring a target focusing mode corresponding to the target image window; controlling a camera to shoot a target image based on a target focusing mode; and the target focusing mode is a focusing mode associated with the target image window. Therefore, the focusing mode corresponding to the focusing object can be adopted for shooting in the process of shooting the preview, the shooting effect is previewed in the image window, a user can conveniently select the focusing mode with better effect for shooting, and the complex operation process of re-executing focusing and shooting after the shooting is not ideal is avoided.
Please refer to fig. 5, which is a flowchart of another photographing method according to an embodiment of the present application, and as shown in fig. 5, the photographing method is different from the photographing method shown in fig. 1 in that: the preview image and the target image in the shooting method shown in fig. 1 are images captured by one camera, the shooting method shown in fig. 5 is to start a shooting flow in a first shooting mode, and the preview image and the target image in the shooting method shown in fig. 5 are images obtained by performing image synthesis processing on a first preview image shot by a main camera and a target image of a target focusing object in a second preview image shot by a sub camera.
The first shooting mode may also be referred to as a focusing object enhancement mode or an AI fusion mode, and the like, and can fuse images respectively shot by the main camera and the sub-camera and enlarge the image size of the target focusing object in the shot image, or adjust the display parameters and the like of the target focusing object, so that the target focusing object is more prominent or has a better display effect in the shot image, on the basis of achieving the same beneficial effects as in the shooting method embodiment shown in fig. 1.
In addition, in practical applications, the first shooting mode may be started or closed according to an input operation of a user, and when the first shooting mode is closed, the preview image and the target image in the present embodiment may be obtained in the same manner as the preview image and the target image are obtained in the shooting method shown in fig. 1, which is not described herein again.
Specifically, as shown in fig. 5, the photographing method may include the steps of:
The process of image recognition is the same as that in the embodiment of the method shown in fig. 1, and is not described herein again.
In a specific implementation, the determining the depth of field of the second object to be focused according to the shooting parameters may specifically be: and determining the depth of field of the second focusing object according to the shooting parameters of the main camera and the auxiliary camera. The process of determining the image distance of the second object to be focused according to the depth of field is the same as the process of determining the focal distance of the first object to be focused according to the shooting parameters of the main camera and the auxiliary camera in the embodiment of the method shown in fig. 1, and details are not repeated here.
In addition, the determining the focusing distance of the second object according to the shooting parameters may be: and determining the focusing distance of the second focusing object according to the shooting parameters of the main camera and the auxiliary camera, namely determining the distance from the second focusing object to the shooting device.
In practice, the image distance, the focusing distance and the depth of field have a convertible numerical relationship, such as: according to the formula:determining a numerical conversion relation between the image distance and the focusing distance;
where v denotes a focusing distance, u denotes an image distance, and f denotes a focal length of the camera.
Therefore, in implementation, the focusing distance of the second object can be determined according to the shooting parameters, and then the image distance parameter of the second object can be directly calculated according to the focusing distance and the rated parameters of the camera (such as the focal length of the fixed-focus camera).
And 505, adjusting the image distance of the main camera to the image distance of the second focused object, focusing the second focused object, and acquiring a focused first preview image.
In a specific implementation, the image distance of the main camera is adjusted to the image distance of the first focusing object, and the first focusing object is photographed in an optical focusing manner in a first preview image photographed after the first focusing object is focused, so that the focusing effect of the first preview image is better than the focusing effect of the first focusing object in a post-image processing manner.
And step 506, shooting a second preview image through a secondary camera in a second shooting mode, wherein the second shooting mode is a shooting mode in which the second focusing object is focused and shooting parameters are pre-associated with the focusing distance of the second focusing object.
In a specific implementation, the correspondence between the second photographing mode of the sub-camera and the image distance of the main camera may be stored in advance.
Therefore, in the process of focusing and shooting the focusing objects with different focusing distances by the main camera, the image distance of the main camera is adjusted to the image distance corresponding to the focusing distance, then the focusing and shooting are carried out on the focusing objects, and the auxiliary camera can work in the second shooting mode corresponding to the image distance and the focusing distance, so that the main camera and the auxiliary camera are complementary, and the images shot by the main camera and the auxiliary camera are synthesized to provide richer shooting experience for the user.
For example: when the main camera works in the long-focus mode to focus and shoot the second focused object, the sub-camera can also work in the long-focus mode, and the image size of the second focused object in the second preview image shot by the sub-camera can be larger than the image size of the second focused object in the first preview image shot by the main camera. In this way, when the second object in focus in the second preview image is image-synthesized with the first preview image to obtain the preview image, the first object in focus in the preview image can be made clearer and an enlargement effect can be generated.
As an optional implementation manner, the second shooting mode includes any one of:
the second shooting mode is a macro shooting mode under the condition that the focusing distance of the second focusing object is smaller than or equal to a first preset focusing distance;
when the focusing distance of the second focusing object is greater than the first preset focusing distance and less than a second preset focusing distance, the second shooting mode is a wide-angle shooting mode;
and under the condition that the focusing distance of the second focusing object is greater than or equal to the second preset focusing distance, the second shooting mode is a long-focus shooting mode.
In the foregoing, when the focusing distance of the second object is less than or equal to the first preset focusing distance, the second shooting mode is a macro shooting mode, which can be understood as follows: and under the condition that the focusing distance of the second focusing object is smaller than or equal to the first preset focusing distance, starting the micro-distance auxiliary camera to shoot a second preview image, so that the second focusing object with a shorter focusing distance can be shot by the micro-distance auxiliary camera, and the shooting effect of the second focusing object is enhanced.
For example: as shown in fig. 2, when a floret close to the camera is photographed by the photographing device, the main camera and/or the sub camera can acquire a distance between the floret and the photographing device, and it is determined that the distance is smaller than or equal to a first preset focusing distance, at this time, the main camera focuses on the floret to acquire a first preview image, and the sub camera focuses on the floret in a macro photographing mode to acquire a second preview image, then, an object image of the floret in the second preview image is image-fused with the first preview image to acquire a final preview image, and the preview image is displayed in the preview window 23.
In addition, in the above case that the focusing distance of the second object is greater than the first preset focusing distance and less than the second preset focusing distance, the second shooting mode is a wide-angle shooting mode, which can be understood as: the focusing distance of the second focusing object is larger than the first preset focusing distance and smaller than the second preset focusing distance, the wide-angle auxiliary camera is started to shoot a second preview image, and therefore the second focusing object with the medium focusing distance can be shot through the wide-angle auxiliary camera, and the shooting effect of the second focusing object is enhanced.
For example: as shown in fig. 2, when a person with a medium distance to the camera is photographed by the photographing device, the main camera and/or the sub camera can acquire the distance between the person and the photographing device, and it is determined that the distance is greater than the first preset focusing distance and smaller than the second preset focusing distance, at this time, the main camera focuses on the person to acquire a first preview image, and the sub camera focuses on the person in the wide-angle photographing mode to acquire a second preview image, and then image fusion is performed between the object image of the person in the second preview image and the first preview image to acquire a final preview image, and the preview image is displayed in the preview window 22.
In addition, in the above case that the focusing distance of the second object to be focused is greater than or equal to the second preset focusing distance, the second shooting mode is a telephoto shooting mode, and it can be understood that: and starting the long-focus sub-camera to shoot a second preview image under the condition that the focusing distance of the second focusing object is greater than or equal to the second preset focusing distance, so that the second focusing object with larger focusing distance can be shot by the long-focus sub-camera, and the shooting effect of the second focusing object is enhanced.
For example: as shown in fig. 2, when the shooting device shoots a hot air balloon far away from the camera, the main camera and/or the sub camera can acquire a distance between the hot air balloon and the shooting device, and determine that the distance is greater than or equal to a second preset focusing distance, at this time, the main camera focuses on the hot air balloon to acquire a first preview image, and the sub camera focuses on the hot air balloon in a telephoto shooting mode to acquire a second preview image, then, an object image of the hot air balloon in the second preview image is image-fused with the first preview image to acquire a final preview image, and the preview image is displayed in a preview window 21.
In the second preview image captured by the sub-camera in the second capture mode corresponding to the main camera, the size of the second object to be focused may be larger than the size of the second object to be focused in the first preview image captured by the main camera, or the object image of the second object to be focused in the second preview image captured by the sub-camera may be enlarged and sharpened during image synthesis processing, and the object image of the second object to be focused after the enlarged and sharpened image synthesis processing may be combined with the first preview image, so that the obtained preview image may have a strengthening effect of enlarging and highlighting the second object to be focused in the preview image on the basis of having a good focusing effect.
The embodiment can be applied to application scenes that the electronic equipment is provided with at least two cameras, and the at least two cameras can work in different focusing modes, so that after images are respectively shot, the shot images are fused, and the shot images have the effects of micro-distance enhancement, wide-angle enhancement, long-focus enhancement and the like.
And 507, synthesizing the first preview image with an object image of a second focus object in the second preview image, and outputting a preview image.
It should be noted that, the above steps 503 to 507 are executed for the N focusing objects respectively to obtain the preview images corresponding to each of the N focusing objects respectively.
In a specific implementation, the object image of the second object in focus may be understood as: the image composed of all the pixel contents of the second object in focus, and the image composition of the object image of the second object in focus in the first preview image and the second preview image may be understood as follows: the pixel content of the second focusing object in the second preview image is obtained through cutting, image content recognition technology and the like, and the pixel content is enabled to cover the second focusing object in the first preview image, so that the image size of the second focusing object in the obtained preview image is larger than that of the second focusing object in the original first preview image, and the second focusing object in the preview image has an amplification effect.
For example: taking the preview image as an image in which the hot air balloons are focused as an example, in the preview image of the application scene shown in fig. 6, the size of the hot air balloons in the first preview window 61 is larger than the size of the hot air balloons in the first preview window 61 in the application scene shown in fig. 2.
In the process of image fusion, after the pixel content of the second focusing object in the second preview image (which may also be referred to as an object image of the second focusing object) is acquired, other image processing such as sharpening, enlarging, brightness adjusting and the like may be performed on the pixel content, and the processed pixel content and the first preview image may be subjected to image fusion, so that the second focusing object may be more emphasized in the fused preview image.
In this embodiment, the target focusing system includes a focusing system of the main camera and a second photographing mode of the sub camera. The number of the image windows is the same as the number of the preview images acquired in steps 501 to 507, and each preview image is displayed in a different image window.
As in the embodiment of the method shown in fig. 1, the target focusing manner is a focusing manner used when a preview image in a target image window is obtained, and the process of controlling the camera to capture the target image based on the target focusing manner is the same as the process of obtaining the preview image in steps 501 to 507, and the display effect of the second focused object can also be enhanced in the target image, which is not described herein again.
As an optional implementation manner, the image combining the first preview image and the object image of the second object in focus in the second preview image to output a preview image includes:
cutting the second preview image to obtain a middle preview image comprising a second focusing object;
carrying out image amplification processing and image sharpening processing on the intermediate preview image;
and synthesizing the intermediate preview image subjected to image amplification processing and image sharpening processing with the first preview image, and outputting a preview image.
In this embodiment, the second preview image is cut to obtain the intermediate preview image, so that the object image of the second object in focus in the second preview image is retained, thereby avoiding that the second preview image retains redundant image content to cause excessive occlusion on the first preview image when the second preview image is fused with the first preview image. In addition, before the image composition of the intermediate preview image and the first preview image, the intermediate preview image is further subjected to image enlargement processing and image sharpening processing, so that the second focusing object in the preview image obtained after the image composition of the intermediate preview image and the first preview image is larger in image size and clearer than other focusing objects, and the display effect of the second focusing object can be highlighted.
The embodiment of the invention not only can achieve the effect of the first embodiment, but also can generate the effect of amplifying objects with different focuses in the process of shooting the conventional landscape image, and combines AI identification and the focusing depth together, thereby meeting the shooting requirement of a user in a complex landscape shooting scene.
In the shooting method provided by the embodiment of the present application, the execution subject may be a shooting device, or a control module in the shooting device for executing the shooting method. The embodiment of the present application describes a shooting device provided in the embodiment of the present application by taking an example where the shooting device executes a loading shooting method.
Referring to fig. 7, which is a structural diagram of a camera according to an embodiment of the present disclosure, as shown in fig. 7, the camera 700 may include the following modules:
the display module 701 is configured to display N image windows on a shooting preview interface, where an image in each image window is obtained by shooting based on different focusing manners, and the different focusing manners correspond to different focusing objects, where N is an integer greater than or equal to 1;
a user input module 702, configured to receive a first input of a user to a target image window of the N image windows;
a response module 703, configured to control, in response to the first input, a camera to capture a target image based on a target focusing manner; and the target focusing mode is a focusing mode associated with the target image window.
Optionally, the photographing apparatus 700 further includes:
the image recognition module is used for carrying out focusing object recognition on the preview image in the shooting preview interface;
a generation module for generating the N image windows when N focusing objects are identified;
and the acquisition module is used for respectively focusing the N focusing objects so as to acquire N preview images through a camera, wherein the N preview images are respectively displayed in the N image windows.
Optionally, the obtaining module includes:
the first acquisition unit is used for acquiring shooting parameters of a camera and determining the depth of field of a first focusing object according to the shooting parameters, wherein the N focusing objects comprise the first focusing object;
a first determination unit configured to determine an image distance of the first focused object according to a depth of field of the first focused object;
and the first shooting unit is used for adjusting the image distance of the camera to the image distance of the first focusing object, focusing the first focusing object and acquiring a focused preview image.
Optionally, in a case where the first shooting mode is started, the obtaining module includes:
the second acquisition unit is used for acquiring shooting parameters of a camera under the condition that a second focusing object is identified, and determining the depth of field and the focusing distance of the second focusing object according to the shooting parameters, wherein the N focusing objects comprise the second focusing object;
a second determination unit, configured to determine an image distance of the second focused object according to the depth of field of the second focused object;
the second shooting unit is used for adjusting the image distance of the main camera to the image distance of the second focused object, focusing the second focused object and acquiring a focused first preview image;
a third shooting unit, configured to shoot a second preview image through a secondary camera in a second shooting mode, where the second shooting mode is a shooting mode in which focusing is performed on the second object to be focused, and a shooting parameter is pre-associated with a focusing distance of the second object to be focused;
and a combining unit configured to image-combine the first preview image with an object image of a second focused object in the second preview image, and output a preview image.
Optionally, the second shooting mode includes any one of:
the second shooting mode is a macro shooting mode under the condition that the focusing distance of the second focusing object is smaller than or equal to a first preset focusing distance;
the second shooting mode is a wide-angle shooting mode under the condition that the focusing distance of the second focusing object is greater than the first preset focusing distance and smaller than a second preset focusing distance;
and under the condition that the focusing distance of the second focusing object is greater than or equal to the second preset focusing distance, the second shooting mode is a long-focus shooting mode.
Optionally, the synthesis unit comprises:
the image cutting subunit is used for cutting the second preview image to obtain an intermediate preview image including a second focusing object;
the image processing subunit is used for carrying out image amplification processing and image sharpening processing on the intermediate preview image;
and the combining subunit is used for performing image combination on the intermediate preview image subjected to the image amplification processing and the image sharpening processing and the first preview image, and outputting a preview image.
The shooting device provided by the embodiment of the application can preview the shooting effects of multiple focusing modes in advance in the shooting process, and has the same beneficial effects as the method embodiment shown in fig. 1 or fig. 5.
The shooting device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a Network Attached Storage (NAS), a personal computer (personal computer, PC), a Television (TV), a teller machine, a self-service machine, and the like, and the embodiments of the present application are not limited in particular.
The photographing apparatus in the embodiment of the present application may be an apparatus having an operating system. The operating system may be an Android operating system, an ios operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
The shooting device provided in the embodiment of the present application can implement each process implemented by the method embodiment shown in fig. 1 or fig. 5, and can obtain the same beneficial effects as the method embodiment shown in fig. 1 or fig. 5, and for avoiding repetition, details are not repeated here.
Optionally, as shown in fig. 8, an electronic device 800 is further provided in this embodiment of the present application, and includes a processor 801, a memory 802, and a program or an instruction stored in the memory 802 and executable on the processor 801, where the program or the instruction is executed by the processor 801 to implement each process of the foregoing shooting method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
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. 9 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 900 includes, but is not limited to: a radio frequency unit 901, a network module 902, an audio output unit 903, an input unit 904, a sensor 905, a display unit 906, a user input unit 907, an interface unit 1408, a memory 909, and a processor 910.
Those skilled in the art will appreciate that the electronic device 900 may further include a power source (e.g., a battery) for supplying power to the various components, and the power source may be logically connected to the processor 910 through a power management system, so that the functions of managing charging, discharging, and power consumption are implemented through the power management system. The electronic device structure shown in fig. 9 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is not repeated here.
The display unit 906 is configured to display N image windows on the shooting preview interface, where an image in each image window is obtained by shooting based on different focusing manners, and the different focusing manners correspond to different focusing objects, where N is an integer greater than or equal to 1;
a user input unit 907 for receiving a first input of a user to a target image window of the N image windows;
a sensor 905 for controlling a camera to capture a target image based on a target focusing manner in response to the first input; and the target focusing mode is a focusing mode associated with the target image window.
Optionally, before the displaying of the N image windows on the shooting preview interface by the display unit 906, the method further includes:
a processor 910, further configured to perform focus object recognition on a preview image in the shooting preview interface; and in the event that N focusing objects are identified, generating the N image windows;
the sensor 905 is further configured to focus the N focusing objects, respectively, so as to obtain N preview images through a camera, where the N preview images are displayed in the N image windows, respectively.
Optionally, the focusing on the N focusing objects by the sensor 905 to obtain N preview images by a camera includes:
a processor 910, configured to acquire shooting parameters of a camera, and determine a depth of field of a first focus object according to the shooting parameters, where the N focus objects include the first focus object; and determining an image distance of the first focus object according to the depth of field of the first focus object;
the sensor 905 adjusts the image distance of the camera to the image distance of the first focusing object, focuses the first focusing object, and acquires a focused preview image.
Optionally, in a case where the first shooting mode is started, the focusing on the N focusing objects by the sensor 905 to acquire N preview images by the camera includes:
a processor 910, configured to obtain shooting parameters of a camera if a second object of focus is identified, and determine a depth of field and a focusing distance of the second object of focus according to the shooting parameters, where the N objects of focus include the second object of focus;
a processor 910 configured to determine an image distance of the second object in focus according to the depth of field of the second object in focus;
the sensor 905 is configured to adjust an image distance of the main camera to an image distance of the second focused object, focus the second focused object, and acquire a focused first preview image;
the sensor 905 is further configured to capture a second preview image through a secondary camera in a second capture mode, where the second capture mode is a capture mode in which the second object to be focused is focused and a capture parameter is associated with a focusing distance of the second object to be focused in advance;
and a processor 910 for image-synthesizing the first preview image and the object image of the second object in focus in the second preview image, and outputting a preview image.
Optionally, the second shooting mode includes any one of:
the second shooting mode is a macro shooting mode under the condition that the focusing distance of the second focusing object is smaller than or equal to a first preset focusing distance;
the second shooting mode is a wide-angle shooting mode under the condition that the focusing distance of the second focusing object is greater than the first preset focusing distance and smaller than a second preset focusing distance;
and under the condition that the focusing distance of the second focusing object is greater than or equal to the second preset focusing distance, the second shooting mode is a long-focus shooting mode.
Optionally, the image combining the first preview image and the object image of the second object in focus in the second preview image, executed by processor 910, outputting a preview image, including:
cutting the second preview image to obtain a middle preview image comprising a second focusing object;
carrying out image amplification processing and image sharpening processing on the intermediate preview image;
and synthesizing the intermediate preview image subjected to image amplification processing and image sharpening processing with the first preview image, and outputting a preview image.
The electronic device provided in the embodiment of the present application can perform each process in the embodiment of the shooting method shown in fig. 1 or fig. 5, and can obtain the same beneficial effect, and for avoiding repetition, the details are not repeated here.
It should be understood that, in the embodiment of the present application, the input Unit 904 may include a Graphics Processing Unit (GPU) and a microphone, and the Graphics Processing Unit processes image data of still pictures or videos obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 906 may include a display panel, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 907 includes a touch panel and other input devices. Touch panels, also known as touch screens. The touch panel may include two parts of a touch detection device and a touch controller. Other input devices 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 909 can be used to store software programs as well as various data including, but not limited to, application programs and operating systems. The processor 910 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It is to be appreciated that the modem processor described above may not be integrated into processor 910.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above shooting method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the above shooting method embodiment, and can achieve the same technical effect, and in order to avoid repetition, the description of the process is not repeated here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as a system-on-chip, or a system-on-chip.
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 identical 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 in 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, depending on the functionality 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 above embodiment method 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 embodiment. Based on such understanding, the technical solutions of the present application may be substantially or partially embodied in the form of a software product stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk), and including instructions for enabling a terminal (e.g., 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 scope of the invention as defined by the appended claims.
Claims (14)
1. A photographing method, characterized by comprising:
displaying N image windows on a shooting preview interface, wherein images in each image window are obtained by shooting based on different focusing modes, the different focusing modes correspond to different focusing objects, and N is an integer greater than or equal to 1;
receiving a first input of a user to a target image window in the N image windows;
responding to the first input, and controlling a camera to shoot a target image based on a target focusing mode;
and the target focusing mode is a focusing mode associated with the target image window.
2. The method of claim 1, wherein prior to displaying the N image windows on the capture preview interface, the method further comprises:
carrying out focusing object identification on the preview image in the shooting preview interface;
generating N image windows in the case that N focusing objects are identified;
and focusing the N focusing objects respectively to acquire N preview images through a camera, wherein the N preview images are displayed in the N image windows respectively.
3. The method according to claim 2, wherein the focusing the N focusing objects respectively to obtain N preview images through a camera comprises:
acquiring shooting parameters of a camera;
determining the depth of field of a first focusing object according to the shooting parameters, wherein the N focusing objects comprise the first focusing object;
determining an image distance of the first focus object according to the depth of field of the first focus object;
and adjusting the image distance of the camera to the image distance of the first focusing object, focusing the first focusing object, and acquiring a focused preview image.
4. The method according to claim 2, wherein in a case where the first photographing mode is started, the focusing the N focused objects respectively to acquire N preview images by a camera includes:
under the condition that a second focusing object is identified, acquiring shooting parameters of a camera, and determining the depth of field and the focusing distance of the second focusing object according to the shooting parameters, wherein the N focusing objects comprise the second focusing object;
determining an image distance of the second in-focus object according to the depth of field of the second in-focus object;
adjusting the image distance of the main camera to the image distance of the second focusing object, focusing the second focusing object, and acquiring a focused first preview image;
shooting a second preview image through a secondary camera in a second shooting mode, wherein the second shooting mode is a shooting mode in which focusing is carried out on the second focused object, and shooting parameters are pre-associated with the focusing distance of the second focused object;
and performing image synthesis on the first preview image and the object image of the second focusing object in the second preview image, and outputting a preview image.
5. The method of claim 4, wherein the second capture mode comprises at least one of:
the second shooting mode is a macro shooting mode under the condition that the focusing distance of the second focusing object is smaller than or equal to a first preset focusing distance;
under the condition that the focusing distance of the second focusing object is greater than the first preset focusing distance and smaller than a second preset focusing distance, the second shooting mode is a wide-angle shooting mode;
and under the condition that the focusing distance of the second focusing object is greater than or equal to the second preset focusing distance, the second shooting mode is a long-focus shooting mode.
6. The method of claim 4, wherein image-combining the first preview image with an object image of a second object in focus in the second preview image to output a preview image comprises:
cutting the second preview image to obtain a middle preview image comprising a second focusing object;
carrying out image amplification processing and image sharpening processing on the intermediate preview image;
and synthesizing the intermediate preview image subjected to image amplification processing and image sharpening processing with the first preview image, and outputting a preview image.
7. A camera, comprising:
the display module is used for displaying N image windows on the shooting preview interface, wherein images in each image window are obtained by shooting based on different focusing modes, the different focusing modes correspond to different focusing objects, and N is an integer greater than or equal to 1;
the user input module is used for receiving first input of a user to a target image window in the N image windows;
the shooting module is used for responding to the first input and controlling a camera to shoot a target image based on a target focusing mode;
and the target focusing mode is a focusing mode associated with the target image window.
8. The apparatus of claim 7, further comprising:
the image recognition module is used for carrying out focusing object recognition on the preview image in the shooting preview interface;
a generation module, configured to generate the N image windows when N focusing objects are identified;
and the acquisition module is used for respectively focusing the N focusing objects so as to acquire N preview images through a camera, wherein the N preview images are respectively displayed in the N image windows.
9. The apparatus of claim 8, wherein the obtaining module comprises:
the first acquisition unit is used for acquiring shooting parameters of a camera and determining the depth of field of a first focusing object according to the shooting parameters, wherein the N focusing objects comprise the first focusing object;
a first determination unit configured to determine an image distance of the first focused object according to a depth of field of the first focused object;
and the first shooting unit is used for adjusting the image distance of the camera to the image distance of the first focusing object, focusing the first focusing object and acquiring a focused preview image.
10. The apparatus of claim 8, wherein in the case that the first photographing mode is started, the obtaining module comprises:
the second acquisition unit is used for acquiring shooting parameters of a camera under the condition that a second focusing object is identified, and determining the depth of field and the focusing distance of the second focusing object according to the shooting parameters, wherein the N focusing objects comprise the second focusing object;
a second determination unit configured to determine an image distance of the second object in focus according to the depth of field of the second object in focus;
the second shooting unit is used for adjusting the image distance of the main camera to the image distance of the second focusing object, focusing the second focusing object and acquiring a focused first preview image;
a third shooting unit, configured to shoot a second preview image through a secondary camera in a second shooting mode, where the second shooting mode is a shooting mode in which focusing is performed on the second object to be focused, and a shooting parameter is pre-associated with a focusing distance of the second object to be focused;
and a combining unit configured to image-combine the first preview image with an object image of a second object in focus in the second preview image, and output a preview image.
11. The apparatus of claim 10, wherein the second capture mode comprises at least one of:
the second shooting mode is a macro shooting mode under the condition that the focusing distance of the second focusing object is smaller than or equal to a first preset focusing distance;
under the condition that the focusing distance of the second focusing object is greater than the first preset focusing distance and smaller than a second preset focusing distance, the second shooting mode is a wide-angle shooting mode;
and under the condition that the focusing distance of the second focusing object is greater than or equal to the second preset focusing distance, the second shooting mode is a long-focus shooting mode.
12. The apparatus of claim 10, wherein the synthesis unit comprises:
the image cutting subunit is used for cutting the second preview image to obtain an intermediate preview image including a second focusing object;
the image processing subunit is used for carrying out image amplification processing and image sharpening processing on the intermediate preview image;
and the combining subunit is used for performing image combination on the intermediate preview image subjected to the image amplification processing and the image sharpening processing and the first preview image, and outputting a preview image.
13. An electronic device comprising a processor, a memory and a program or instructions stored on the memory and executable on the processor, which program or instructions, when executed by the processor, carry out the steps of the photographing method according to any one of claims 1-6.
14. A readable storage medium, characterized in that the readable storage medium stores thereon a program or instructions which, when executed by a processor, implement the steps of the photographing method according to any one of claims 1-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011403622.0A CN112839166B (en) | 2020-12-02 | 2020-12-02 | Shooting method and device and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011403622.0A CN112839166B (en) | 2020-12-02 | 2020-12-02 | Shooting method and device and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112839166A true CN112839166A (en) | 2021-05-25 |
CN112839166B CN112839166B (en) | 2023-08-22 |
Family
ID=75923464
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011403622.0A Active CN112839166B (en) | 2020-12-02 | 2020-12-02 | Shooting method and device and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112839166B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114157810A (en) * | 2021-12-21 | 2022-03-08 | 西安维沃软件技术有限公司 | Shooting method, shooting device, electronic equipment and medium |
CN114500837A (en) * | 2022-01-21 | 2022-05-13 | 维沃移动通信有限公司 | Shooting method and device and electronic equipment |
CN115278030A (en) * | 2022-07-29 | 2022-11-01 | 维沃移动通信有限公司 | Shooting method and device and electronic equipment |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140092272A1 (en) * | 2012-09-28 | 2014-04-03 | Pantech Co., Ltd. | Apparatus and method for capturing multi-focus image using continuous auto focus |
CN103813098A (en) * | 2012-11-12 | 2014-05-21 | 三星电子株式会社 | Method and apparatus for shooting and storing multi-focused image in electronic device |
CN104349035A (en) * | 2013-07-25 | 2015-02-11 | 宏碁股份有限公司 | Image capturing equipment and method |
JP2015109619A (en) * | 2013-12-06 | 2015-06-11 | キヤノン株式会社 | Imaging apparatus and method for controlling the same |
CN106134176A (en) * | 2014-04-03 | 2016-11-16 | 高通股份有限公司 | System and method for multifocal imaging |
WO2017113075A1 (en) * | 2015-12-28 | 2017-07-06 | 华为技术有限公司 | Auto-focus method, device, and apparatus |
CN108076278A (en) * | 2016-11-10 | 2018-05-25 | 阿里巴巴集团控股有限公司 | A kind of Atomatic focusing method, device and electronic equipment |
CN108184070A (en) * | 2018-03-23 | 2018-06-19 | 维沃移动通信有限公司 | A kind of image pickup method and terminal |
CN109348137A (en) * | 2018-11-30 | 2019-02-15 | 努比亚技术有限公司 | Mobile terminal camera control method, device, mobile terminal and storage medium |
CN110572573A (en) * | 2019-09-17 | 2019-12-13 | Oppo广东移动通信有限公司 | Focusing method and device, electronic equipment and computer readable storage medium |
CN111182196A (en) * | 2018-11-13 | 2020-05-19 | 奇酷互联网络科技(深圳)有限公司 | Photographing preview method, intelligent terminal and device with storage function |
-
2020
- 2020-12-02 CN CN202011403622.0A patent/CN112839166B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140092272A1 (en) * | 2012-09-28 | 2014-04-03 | Pantech Co., Ltd. | Apparatus and method for capturing multi-focus image using continuous auto focus |
CN103813098A (en) * | 2012-11-12 | 2014-05-21 | 三星电子株式会社 | Method and apparatus for shooting and storing multi-focused image in electronic device |
CN104349035A (en) * | 2013-07-25 | 2015-02-11 | 宏碁股份有限公司 | Image capturing equipment and method |
JP2015109619A (en) * | 2013-12-06 | 2015-06-11 | キヤノン株式会社 | Imaging apparatus and method for controlling the same |
CN106134176A (en) * | 2014-04-03 | 2016-11-16 | 高通股份有限公司 | System and method for multifocal imaging |
WO2017113075A1 (en) * | 2015-12-28 | 2017-07-06 | 华为技术有限公司 | Auto-focus method, device, and apparatus |
CN108076278A (en) * | 2016-11-10 | 2018-05-25 | 阿里巴巴集团控股有限公司 | A kind of Atomatic focusing method, device and electronic equipment |
CN108184070A (en) * | 2018-03-23 | 2018-06-19 | 维沃移动通信有限公司 | A kind of image pickup method and terminal |
CN111182196A (en) * | 2018-11-13 | 2020-05-19 | 奇酷互联网络科技(深圳)有限公司 | Photographing preview method, intelligent terminal and device with storage function |
CN109348137A (en) * | 2018-11-30 | 2019-02-15 | 努比亚技术有限公司 | Mobile terminal camera control method, device, mobile terminal and storage medium |
CN110572573A (en) * | 2019-09-17 | 2019-12-13 | Oppo广东移动通信有限公司 | Focusing method and device, electronic equipment and computer readable storage medium |
Non-Patent Citations (1)
Title |
---|
庞鹏飞: "基于Android内核的图像视频数据保护技术", 《信息安全研究》 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114157810A (en) * | 2021-12-21 | 2022-03-08 | 西安维沃软件技术有限公司 | Shooting method, shooting device, electronic equipment and medium |
CN114157810B (en) * | 2021-12-21 | 2023-08-18 | 西安维沃软件技术有限公司 | Shooting method, shooting device, electronic equipment and medium |
CN114500837A (en) * | 2022-01-21 | 2022-05-13 | 维沃移动通信有限公司 | Shooting method and device and electronic equipment |
CN114500837B (en) * | 2022-01-21 | 2024-04-05 | 维沃移动通信有限公司 | Shooting method and device and electronic equipment |
CN115278030A (en) * | 2022-07-29 | 2022-11-01 | 维沃移动通信有限公司 | Shooting method and device and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN112839166B (en) | 2023-08-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107580178B (en) | Image processing method and device | |
WO2022089284A1 (en) | Photographing processing method and apparatus, electronic device, and readable storage medium | |
CN112887617B (en) | Shooting method and device and electronic equipment | |
CN112839166B (en) | Shooting method and device and electronic equipment | |
CN113840070B (en) | Shooting method, shooting device, electronic equipment and medium | |
WO2022161260A1 (en) | Focusing method and apparatus, electronic device, and medium | |
CN113141450A (en) | Shooting method, shooting device, electronic equipment and medium | |
CN113329172B (en) | Shooting method and device and electronic equipment | |
CN112532881A (en) | Image processing method and device and electronic equipment | |
CN112738401B (en) | Zooming method and device and electronic equipment | |
CN112087579B (en) | Video shooting method and device and electronic equipment | |
CN114449174B (en) | Shooting method and device and electronic equipment | |
CN112887624B (en) | Shooting method and device and electronic equipment | |
CN112399078A (en) | Shooting method and device and electronic equipment | |
CN113873160B (en) | Image processing method, device, electronic equipment and computer storage medium | |
CN112653841B (en) | Shooting method and device and electronic equipment | |
CN115499589A (en) | Shooting method, shooting device, electronic equipment and medium | |
CN114245018A (en) | Image shooting method and device | |
CN112887613B (en) | Shooting method and device, electronic equipment and storage medium | |
CN112367464A (en) | Image output method and device and electronic equipment | |
CN112911148B (en) | Image processing method and device and electronic equipment | |
CN114449172B (en) | Shooting method and device and electronic equipment | |
CN114827477B (en) | Method, device, electronic equipment and medium for time-lapse photography | |
CN114157810B (en) | Shooting method, shooting device, electronic equipment and medium | |
WO2023125669A1 (en) | Image processing circuit, image processing method, electronic device, and readable 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |