CN114222059A - Photographing method, photographing processing method, system, equipment and storage medium - Google Patents

Photographing method, photographing processing method, system, equipment and storage medium Download PDF

Info

Publication number
CN114222059A
CN114222059A CN202111395860.6A CN202111395860A CN114222059A CN 114222059 A CN114222059 A CN 114222059A CN 202111395860 A CN202111395860 A CN 202111395860A CN 114222059 A CN114222059 A CN 114222059A
Authority
CN
China
Prior art keywords
shooting
photographing
depth
field
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111395860.6A
Other languages
Chinese (zh)
Inventor
薛国飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Spreadtrum Semiconductor Nanjing Co Ltd
Original Assignee
Spreadtrum Semiconductor Nanjing 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 Spreadtrum Semiconductor Nanjing Co Ltd filed Critical Spreadtrum Semiconductor Nanjing Co Ltd
Priority to CN202111395860.6A priority Critical patent/CN114222059A/en
Publication of CN114222059A publication Critical patent/CN114222059A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/95Computational photography systems, e.g. light-field imaging systems
    • H04N23/958Computational photography systems, e.g. light-field imaging systems for extended depth of field imaging
    • H04N23/959Computational photography systems, e.g. light-field imaging systems for extended depth of field imaging by adjusting depth of field during image capture, e.g. maximising or setting range based on scene characteristics
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/95Computational photography systems, e.g. light-field imaging systems
    • H04N23/951Computational photography systems, e.g. light-field imaging systems by using two or more images to influence resolution, frame rate or aspect ratio
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/265Mixing

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Studio Devices (AREA)

Abstract

The invention discloses a photographing and photographing processing method, a photographing and photographing processing system, a photographing and photographing processing device and a storage medium, wherein the photographing processing method comprises the following steps: after receiving a photographing request, acquiring the depth of field of photographing; shooting at different positions within the shooting depth range to obtain a plurality of collected images; and fusing the plurality of collected images to obtain a shot picture. After the photographing is started, a plurality of collected images are rapidly collected within the range of the depth of field at equal intervals or in other modes, the images are fused by an image fusion algorithm, the result is used as the final photographed picture, the depth of field information of the images is fully utilized, the quality of the images is improved by carrying out image fusion on the images with different depths of field, and the effect of preventing the image content from being lost as much as possible is achieved.

Description

Photographing method, photographing processing method, system, equipment and storage medium
Technical Field
The invention belongs to the technical field of photographing processing, and particularly relates to a photographing method, a photographing system, photographing equipment and a storage medium.
Background
With the continuous development of the smart phone technology, the smart phone brings great convenience to daily life, the most obvious technology is the photographing technology, and the photographing technology is more and more intelligent at present. Generally, a mobile phone lens is provided with an optical system, the optical system has a certain depth of field, the depth of field refers to a front-back distance range of a shot object measured by imaging which can obtain a clear image in front of a camera lens, the middle of the depth of field contains a focus position, and based on an imaging principle of the optical system, the imaging at the focus position is the clearest.
At present, in mobile phone photographing technologies in the market, a clear imaging range is improved by increasing the depth of field, and then the quality of a final image is improved, but due to the limitation of an optical system, when the depth of field is large, although the clear imaging range is large, if two photographed objects are far away from each other in a photographed long scene, the two photographed objects cannot be clearly photographed even at a focusing position, at this time, objects of other focal planes are blurred, although the clear imaging range is increased by the method, some information in the photographed two-dimensional image is lost, information outside the focal plane cannot be retained on an image, and therefore the quality of the photographed image is low.
Disclosure of Invention
The present invention provides a method, system, device and storage medium for photographing and photographing processing, so as to overcome the above-mentioned defects in the prior art.
The invention solves the technical problems through the following technical scheme:
a photographing processing method comprises the following steps:
after receiving a photographing request, acquiring the depth of field of photographing;
shooting at different positions within the shooting depth range to obtain a plurality of collected images;
and fusing the plurality of collected images to obtain a shot picture.
Preferably, the capturing and acquiring a plurality of captured images at different positions within the depth of field includes:
presetting shooting parameters, wherein the shooting parameters comprise the collection number of image collection;
and shooting and acquiring a plurality of collected images at equal intervals within the range of the shooting depth of field based on the collected number.
Preferably, the capturing and acquiring a plurality of captured images at different positions within the depth of field includes:
acquiring a shot focusing position;
determining a plurality of shooting positions based on the focus position and the shooting depth, the shooting positions including the focus position;
and shooting at the plurality of shooting positions to acquire a plurality of acquired images.
Preferably, the photographing processing method further includes:
presetting shooting parameters, wherein the shooting parameters comprise the collection number of image collection;
the determining a plurality of shooting positions based on the focus position and the shooting depth, the shooting positions including the focus position, includes:
determining the plurality of shooting positions based on the acquisition number, the focus position, and the shooting depth;
the distance between the focus position and the two adjacent shooting positions between the closest position of the depth of field in the shooting depth of field range is the same, and the distance between the focus position and the two adjacent shooting positions between the farthest position of the depth of field in the shooting depth of field range is the same.
Preferably, the fusing the plurality of captured images to obtain the shot picture comprises:
and fusing the plurality of collected images based on a contrast pyramid algorithm to obtain the shot picture.
A photographing method, the photographing method comprising:
receiving a photographing request of a user;
acquiring the depth of field of shooting;
shooting at different positions within the shooting depth range to obtain a plurality of collected images;
fusing the plurality of collected images to obtain a shot picture;
and saving the shot picture.
Preferably, the photographing method further comprises:
responding to a user request to determine a target shooting mode;
and generating prompt information, wherein the prompt information is used for prompting a user to keep the same position for shooting.
A photograph processing system, the photograph processing system comprising:
the depth of field acquisition module is used for acquiring the shooting depth of field after receiving the shooting request;
the acquisition module is used for shooting at different positions in the shooting depth range to acquire a plurality of acquired images;
and the fusion module is used for fusing the plurality of collected images to obtain a shot picture.
Preferably, the photographing processing system further comprises:
the device comprises a presetting module, a processing module and a display module, wherein the presetting module is used for presetting shooting parameters, and the shooting parameters comprise the acquisition number of image acquisition;
the acquisition module is used for acquiring a plurality of acquired images based on the acquisition number in the equal-interval position within the range of the shooting depth of field.
Preferably, the photographing processing system further comprises:
a focusing position obtaining module for obtaining the focusing position of the shooting;
a shooting position determination module for determining a plurality of shooting positions based on the focus position and the shooting depth, the shooting positions including the focus position;
the acquisition module is used for shooting at the shooting positions to acquire a plurality of acquired images.
Preferably, the photographing processing system further comprises:
the device comprises a presetting module, a processing module and a display module, wherein the presetting module is used for presetting shooting parameters, and the shooting parameters comprise the acquisition number of image acquisition;
the shooting position determining module is used for determining the plurality of shooting positions based on the acquisition number, the focusing position and the shooting depth;
the distance between the focus position and the two adjacent shooting positions between the closest position of the depth of field in the shooting depth of field range is the same, and the distance between the focus position and the two adjacent shooting positions between the farthest position of the depth of field in the shooting depth of field range is the same.
Preferably, the fusion module is configured to fuse the plurality of collected images based on a contrast pyramid algorithm to obtain the shot picture.
A photographing system, the photographing system comprising:
the interaction module is used for receiving a photographing request of a user;
the shooting module is used for acquiring the shooting depth of field and shooting at different positions within the range of the shooting depth of field to acquire a plurality of collected images;
the image processing module is used for fusing the plurality of collected images to obtain a shot picture;
and the storage module is used for storing the shot picture.
Preferably, the interaction module is further configured to determine a target shooting mode in response to a user request;
the photographing system further includes:
and the display module is used for generating prompt information, and the prompt information is used for prompting a user to keep the same position for shooting.
An electronic device comprises a camera, a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the processor realizes the photographing processing method when executing the computer program;
and/or the processor implements the above-mentioned photographing method when executing the computer program.
A computer-readable storage medium on which a computer program is stored, the computer program implementing the above-described photographing processing method when executed by a processor;
and/or the computer program realizes the above photographing method when being executed by a processor.
The positive progress effects of the invention are as follows: after the photographing is started, a plurality of collected images are rapidly collected within the range of the depth of field at equal intervals or in other modes, the images are fused by an image fusion algorithm, the result is used as the final photographed picture, the depth of field information of the images is fully utilized, the quality of the images is improved by carrying out image fusion on the images with different depths of field, and the effect of preventing the image content from being lost as much as possible is achieved.
Drawings
Fig. 1 is a flowchart of a photographing processing method according to embodiment 1 of the present invention.
Fig. 2 is a flowchart of a first specific implementation manner of step 12 in the photographing processing method according to embodiment 1 of the present invention.
Fig. 3 is a flowchart of a second specific implementation manner of step 12 in the photographing processing method in embodiment 1 of the present invention.
Fig. 4 is a flowchart of a third specific implementation manner of step 12 in the photographing processing method in embodiment 1 of the present invention.
Fig. 5 is a flowchart of a photographing method according to embodiment 2 of the present invention.
Fig. 6 is a schematic block diagram of a photographing processing system according to embodiment 3 of the present invention.
Fig. 7 is a block diagram of a photographing processing system according to embodiment 4 of the present invention.
Fig. 8 is a schematic structural diagram of an electronic device according to embodiment 5 of the present invention.
Detailed Description
The invention is further illustrated by the following examples, which are not intended to limit the scope of the invention.
Example 1
A photographing processing method, as shown in fig. 1, the photographing processing method includes:
step 11, after receiving a photographing request, acquiring the depth of field of photographing;
it should be noted that, in general optical systems, the depth of field is a distance range between the front and rear of a subject measured by imaging that can obtain a clear image in front of a photographing lens, and this value may be obtained by a device in an existing terminal.
Step 12, shooting at different positions within the range of shooting depth of field to obtain a plurality of collected images;
the lens can be controlled to image at different positions in the depth of field range by moving the lens motor, and images obtained on the ccd target surface are collected by the ccd (photosensitive element), so that objects at different far and near positions can be in a focusing position, and different images collected by the camera are clearest because different objects are shot at the focusing position.
And step 13, fusing the plurality of collected images to obtain a shot picture.
Specifically, the plurality of collected images are fused based on a contrast pyramid algorithm to obtain the shot picture. For example, a region-based contrast pyramid image fusion method is preferably used. Firstly, selecting a window, solving Laplace energy of the same pixel position of all collected images, taking the maximum value of the Laplace energy as a clear pixel point of the pixel position, and marking the position of the pixel point in a mask image; then, optimizing the mask image by using a filtering algorithm and removing noise to obtain the position and mark of a clear area in each acquired image, and constructing a mask pyramid image by pyramid decomposition; calculating the collected source images by using a contrast pyramid algorithm, and acquiring a contrast pyramid image after each source image is calculated; then, utilizing the clear area marked in the mask image pyramid and each layer of image of the contrast pyramid; and finally, reconstructing a full-clear image by using the fused contrast pyramid and the bottom layer image.
In this embodiment, a first specific implementation manner of step 12 is provided, and as shown in fig. 2, specifically includes:
step 1211, presetting shooting parameters, wherein the shooting parameters comprise the collection number of image collection;
and 1212, shooting and acquiring a plurality of collected images based on the collected number at equal intervals within the shooting depth range.
Wherein, the collection quantity is bigger, and the picture that finally fuses and obtain is clearer, compromises data processing speed and complexity, can set for or provide the port that sets up to collection quantity as required, carries out self-setting by the user, for example: the set collection number is 10, the obtained shooting depth of field is 50mm, then shooting is carried out at intervals of 5mm to obtain one collected image, and 10 images are obtained by moving from the farthest position to the nearest position of the depth of field in the depth of field range for 9 times.
In this embodiment, a second specific implementation manner of step 12 is provided, and as shown in fig. 3, specifically includes:
1221, acquiring a focusing position of shooting;
in the ordinary photographing, the lens motor is usually used for moving within the range of the depth of field and acquiring pictures, the acquired pictures are calculated by using a definition evaluation function, the definition evaluation function of each picture is compared, and finally, the position with the highest definition is selected as a focusing position.
Step 1222, determining a plurality of shooting positions based on the focus position and the shooting depth, wherein the shooting positions comprise the focus position;
the optimal picture obtained by the definition evaluation function in the prior art is considered, and other collected images are comprehensively fused to improve the definition of the final picture.
And step 1223, shooting at a plurality of shooting positions to acquire a plurality of collected images.
In this embodiment, a third specific implementation manner of step 12 is provided, and as shown in fig. 4, specifically includes:
step 1231, acquiring a focusing position of shooting;
step 1232, presetting shooting parameters, wherein the shooting parameters comprise the collection number of image collection;
step 1232, determining a plurality of shooting positions based on the collection number, the focusing position and the shooting depth of field;
step 1234, a plurality of captured images are captured at a plurality of capture locations.
The distance between the focus position and the two adjacent shooting positions between the closest position of the depth of field in the shooting depth of field range is the same, and the distance between the focus position and the two adjacent shooting positions between the farthest position of the depth of field in the shooting depth of field range is the same.
Such as: the set collection number is 10, the acquired shooting depth of field is 50mm, the focusing position is 23mm, and according to the proportion principle, 23/50 is equal to 4.6, 5 images are collected at equal intervals between 0mm and 23mm, namely, one collected image is collected at every 4.6mm, 5 images are collected at equal intervals between 23mm and 50mm, namely, one collected image is collected at every 5.4 mm. It should be noted that the above is only an example of the method for determining the shooting position, and other methods such as setting according to a preset step length may also be adopted.
In the embodiment, after the photographing is started, a plurality of collected images are rapidly collected within the range of the depth of field at equal intervals or in other modes, the plurality of images are fused by an image fusion algorithm, the result is used as the final photographed picture, the depth of field information of the images is fully utilized, the quality of the images is improved by carrying out image fusion on the images with different depths of field, and the effect of preventing the image content from being lost as much as possible is achieved.
Example 2
A photographing method, as shown in fig. 5, the photographing method comprising:
step 21, responding to a user request to determine a target shooting mode;
and step 22, generating prompt information, wherein the prompt information is used for prompting a user to keep the same position for shooting. Such as: the prompt message is 'keep the mobile phone still as much as possible', and the like.
It should be noted that, in addition to prompting the user to keep the mobile phone still as much as possible, the photographing scene needs to be changed in consideration of environmental factors such as manual problems possibly brought in the photographing process. Therefore, this scheme can also combine to use current "anti-shake" technique, and its principle is that the camera lens module is "suspension" in camera inside, and the shake of camera is detected to the cooperation gyroscope again, and when the camera took place to remove, the control lens module removed for image sensor and the image skew that the hand trembled and cause offset the compensation for when camera or fuselage take place to remove, still can gather the picture of original scene, thereby guarantee that a plurality of image scenes of gathering do not change.
Step 23, receiving a photographing request of a user;
step 24, acquiring the depth of field of shooting;
step 25, shooting at different positions within the range of shooting depth of field to obtain a plurality of collected images;
step 26, fusing a plurality of collected images to obtain a shot picture;
and step 27, storing the shot picture.
In the embodiment, a photographing mode is set in mobile phone photographing, when the mode is selected, a user is prompted to keep the mobile phone still as much as possible, photographing is started, a plurality of collected images are rapidly collected at equal intervals or in other modes within the depth of field range, the images are fused through an image fusion algorithm, the result is used as the final photographed image, the depth of field information of the images is fully utilized, the quality of the images is improved through image fusion of the images with different depths of field, and the effect of preventing image content from being lost as much as possible is achieved.
Example 3
A photographing processing system, as shown in fig. 6, the photographing processing system comprising:
the depth of field acquisition module 1 is used for acquiring the shooting depth of field after receiving the shooting request;
it should be noted that, in general optical systems, the depth of field is a distance range between the front and rear of a subject measured by imaging that can obtain a clear image in front of a photographing lens, and this value may be obtained by a device in an existing terminal.
The acquisition module 2 is used for shooting at different positions within the shooting depth range to acquire a plurality of acquired images;
the lens can be controlled to image at different positions in the depth of field range by moving the lens motor, and images obtained on the ccd target surface are collected by the ccd (photosensitive element), so that objects at different far and near positions can be in a focusing position, and different images collected by the camera are clearest because different objects are shot at the focusing position.
And the fusion module 3 is used for fusing the plurality of collected images to obtain a shot picture.
Specifically, the fusion module 3 is configured to fuse the plurality of collected images based on a contrast pyramid algorithm to obtain the shot picture. For example, a region-based contrast pyramid image fusion method is preferably used. Firstly, selecting a window, solving Laplace energy of the same pixel position of all collected images, taking the maximum value of the Laplace energy as a clear pixel point of the pixel position, and marking the position of the pixel point in a mask image; then, optimizing the mask image by using a filtering algorithm and removing noise to obtain the position and mark of a clear area in each acquired image, and constructing a mask pyramid image by pyramid decomposition; calculating the collected source images by using a contrast pyramid algorithm, and acquiring a contrast pyramid image after each source image is calculated; then, utilizing the clear area marked in the mask image pyramid and each layer of image of the contrast pyramid; and finally, reconstructing a full-clear image by using the fused contrast pyramid and the bottom layer image.
In this embodiment, referring to fig. 6, the photographing processing system further includes:
the preset module 4 is used for presetting shooting parameters, and the shooting parameters comprise the acquisition number of image acquisition;
the acquisition module 2 is used for acquiring a plurality of acquired images based on the acquisition number in the equal interval position within the range of the shooting depth of field.
Wherein, the collection quantity is bigger, and the picture that finally fuses and obtain is clearer, compromises data processing speed and complexity, can set for or provide the port that sets up to collection quantity as required, carries out self-setting by the user, for example: the set collection number is 10, the obtained shooting depth of field is 50mm, then shooting is carried out at intervals of 5mm to obtain one collected image, and 10 images are obtained by moving from the farthest position to the nearest position of the depth of field in the depth of field range for 9 times.
In this embodiment, referring to fig. 6, the photographing processing system further includes:
a focus position acquisition module 5 for acquiring a focus position of the photographing;
in the ordinary photographing, the lens motor is usually used for moving within the range of the depth of field and acquiring pictures, the acquired pictures are calculated by using a definition evaluation function, the definition evaluation function of each picture is compared, and finally, the position with the highest definition is selected as a focusing position.
A shooting position determination module 6, configured to determine a plurality of shooting positions based on the focus position and the shooting depth, where the shooting positions include the focus position;
the optimal picture obtained by the definition evaluation function in the prior art is considered, and other collected images are comprehensively fused to improve the definition of the final picture.
The acquisition module 2 is used for shooting at the plurality of shooting positions to acquire a plurality of acquired images.
In this embodiment, the shooting position determining module 6 is configured to determine the plurality of shooting positions based on the acquisition number, the focus position, and the shooting depth;
the distance between the focus position and the two adjacent shooting positions between the closest position of the depth of field in the shooting depth of field range is the same, and the distance between the focus position and the two adjacent shooting positions between the farthest position of the depth of field in the shooting depth of field range is the same.
Such as: the set collection number is 10, the acquired shooting depth of field is 50mm, the focusing position is 23mm, and according to the proportion principle, 23/50 is equal to 4.6, 5 images are collected at equal intervals between 0mm and 23mm, namely, one collected image is collected at every 4.6mm, 5 images are collected at equal intervals between 23mm and 50mm, namely, one collected image is collected at every 5.4 mm. It should be noted that the above is only an example of the method for determining the shooting position, and other methods such as setting according to a preset step length may also be adopted.
In the embodiment, after the photographing is started, a plurality of collected images are rapidly collected within the range of the depth of field at equal intervals or in other modes, the plurality of images are fused by an image fusion algorithm, the result is used as the final photographed picture, the depth of field information of the images is fully utilized, the quality of the images is improved by carrying out image fusion on the images with different depths of field, and the effect of preventing the image content from being lost as much as possible is achieved.
Example 4
A photographing system, as shown in fig. 7, the photographing system comprising:
the interaction module 71 is configured to receive a photographing request of a user;
the photographing module 72 is configured to acquire a depth of field of photographing, and photograph at different positions within the range of the depth of field of photographing to acquire a plurality of collected images;
an image processing module 73, configured to fuse the multiple captured images to obtain a captured picture;
and the storage module 74 is used for storing the shot photos.
In this embodiment, the interaction module is further configured to determine a target shooting mode in response to a user request;
the photographing system further includes:
and a display module 75, configured to generate a prompt message, where the prompt message is used to prompt a user to keep the same position for shooting. Such as: the prompt message is 'keep the mobile phone still as much as possible', and the like.
It should be noted that, in addition to prompting the user to keep the mobile phone still as much as possible, the photographing scene needs to be changed in consideration of environmental factors such as manual problems possibly brought in the photographing process. Therefore, this scheme can also combine to use current "anti-shake" technique, and its principle is that the camera lens module is "suspension" in camera inside, and the shake of camera is detected to the cooperation gyroscope again, and when the camera took place to remove, the control lens module removed for image sensor and the image skew that the hand trembled and cause offset the compensation for when camera or fuselage take place to remove, still can gather the picture of original scene, thereby guarantee that a plurality of image scenes of gathering do not change.
In the embodiment, a photographing mode is set in mobile phone photographing, when the mode is selected, a user is prompted to keep the mobile phone still as much as possible, photographing is started, a plurality of collected images are rapidly collected at equal intervals or in other modes within the depth of field range, the images are fused through an image fusion algorithm, the result is used as the final photographed image, the depth of field information of the images is fully utilized, the quality of the images is improved through image fusion of the images with different depths of field, and the effect of preventing image content from being lost as much as possible is achieved.
Example 5
An electronic device includes a camera, a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the photographing processing method of embodiment 1 or the photographing method of embodiment 2 when executing the computer program.
Fig. 8 is a schematic structural diagram of an electronic device provided in this embodiment. FIG. 8 illustrates a block diagram of an exemplary electronic device 90 suitable for use in implementing embodiments of the present invention. The electronic device 90 shown in fig. 8 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiment of the present invention.
As shown in fig. 8, the electronic device 90 may take the form of a general purpose computing device, which may be a server device, for example. The components of the electronic device 90 may include, but are not limited to: at least one processor 91, at least one memory 92, and a bus 93 that connects the various system components (including the memory 92 and the processor 91).
The bus 93 includes a data bus, an address bus, and a control bus.
Memory 92 may include volatile memory, such as Random Access Memory (RAM)921 and/or cache memory 922, and may further include Read Only Memory (ROM) 923.
Memory 92 may also include a program tool 925 having a set (at least one) of program modules 924, such program modules 924 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
The processor 91 executes various functional applications and data processing by running a computer program stored in the memory 92.
The electronic device 90 may also communicate with one or more external devices 94 (e.g., keyboard, pointing device, etc.). Such communication may be through an input/output (I/O) interface 95. Also, the electronic device 90 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet) via a network adapter 96. The network adapter 96 communicates with the other modules of the electronic device 90 via the bus 93. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the electronic device 90, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID (disk array) systems, tape drives, and data backup storage systems, etc.
It should be noted that although in the above detailed description several units/modules or sub-units/modules of the electronic device are mentioned, such a division is merely exemplary and not mandatory. Indeed, the features and functionality of two or more of the units/modules described above may be embodied in one unit/module, according to embodiments of the application. Conversely, the features and functions of one unit/module described above may be further divided into embodiments by a plurality of units/modules.
Example 6
A computer-readable storage medium on which a computer program is stored, the computer program being executed by a processor to implement the photographing processing method of embodiment 1 or the photographing method of embodiment 2.
More specific examples, among others, that the readable storage medium may employ may include, but are not limited to: a portable disk, a hard disk, random access memory, read only memory, erasable programmable read only memory, optical storage device, magnetic storage device, or any suitable combination of the foregoing.
In a possible implementation manner, the present invention can also be implemented in a form of a program product, which includes a program code, and when the program product runs on a terminal device, the program code is configured to enable the terminal device to execute a photographing processing method according to embodiment 1 or a photographing method according to embodiment 2.
Where program code for carrying out the invention is written in any combination of one or more programming languages, the program code may be executed entirely on the user device, partly on the user device, as a stand-alone software package, partly on the user device and partly on a remote device or entirely on the remote device.
While specific embodiments of the invention have been described above, it will be appreciated by those skilled in the art that this is by way of example only, and that the scope of the invention is defined by the appended claims. Various changes and modifications to these embodiments may be made by those skilled in the art without departing from the spirit and scope of the invention, and these changes and modifications are within the scope of the invention.

Claims (16)

1. A photographing processing method is characterized by comprising the following steps:
after receiving a photographing request, acquiring the depth of field of photographing;
shooting at different positions within the shooting depth range to obtain a plurality of collected images;
and fusing the plurality of collected images to obtain a shot picture.
2. The photographing processing method according to claim 1, wherein the photographing at different positions within the photographing depth range to acquire the plurality of captured images specifically comprises:
presetting shooting parameters, wherein the shooting parameters comprise the collection number of image collection;
and shooting and acquiring a plurality of collected images at equal intervals within the range of the shooting depth of field based on the collected number.
3. The photographing processing method according to claim 1, wherein the photographing at different positions within the photographing depth range to acquire the plurality of captured images specifically comprises:
acquiring a shot focusing position;
determining a plurality of shooting positions based on the focus position and the shooting depth, the shooting positions including the focus position;
and shooting at the plurality of shooting positions to acquire a plurality of acquired images.
4. The photo processing method as claimed in claim 3, wherein the photo processing method further comprises:
presetting shooting parameters, wherein the shooting parameters comprise the collection number of image collection;
the determining a plurality of shooting positions based on the focus position and the shooting depth, the shooting positions including the focus position, includes:
determining the plurality of shooting positions based on the acquisition number, the focus position, and the shooting depth;
the distance between the focus position and the two adjacent shooting positions between the closest position of the depth of field in the shooting depth of field range is the same, and the distance between the focus position and the two adjacent shooting positions between the farthest position of the depth of field in the shooting depth of field range is the same.
5. The photo processing method of claim 1, wherein said fusing the plurality of captured images to obtain a captured photo comprises:
and fusing the plurality of collected images based on a contrast pyramid algorithm to obtain the shot picture.
6. A photographing method, comprising:
receiving a photographing request of a user;
acquiring the depth of field of shooting;
shooting at different positions within the shooting depth range to obtain a plurality of collected images;
fusing the plurality of collected images to obtain a shot picture;
and saving the shot picture.
7. The photographing method according to claim 6, wherein the photographing method further comprises:
responding to a user request to determine a target shooting mode;
and generating prompt information, wherein the prompt information is used for prompting a user to keep the same position for shooting.
8. A photograph processing system, characterized in that the photograph processing system comprises:
the depth of field acquisition module is used for acquiring the shooting depth of field after receiving the shooting request;
the acquisition module is used for shooting at different positions in the shooting depth range to acquire a plurality of acquired images;
and the fusion module is used for fusing the plurality of collected images to obtain a shot picture.
9. The photo processing system of claim 8, further comprising:
the device comprises a presetting module, a processing module and a display module, wherein the presetting module is used for presetting shooting parameters, and the shooting parameters comprise the acquisition number of image acquisition;
the acquisition module is used for acquiring a plurality of acquired images based on the acquisition number in the equal-interval position within the range of the shooting depth of field.
10. The photo processing system of claim 8, further comprising:
a focusing position obtaining module for obtaining the focusing position of the shooting;
a shooting position determination module for determining a plurality of shooting positions based on the focus position and the shooting depth, the shooting positions including the focus position;
the acquisition module is used for shooting at the shooting positions to acquire a plurality of acquired images.
11. The photo processing system of claim 10, further comprising:
the device comprises a presetting module, a processing module and a display module, wherein the presetting module is used for presetting shooting parameters, and the shooting parameters comprise the acquisition number of image acquisition;
the shooting position determining module is used for determining the plurality of shooting positions based on the acquisition number, the focusing position and the shooting depth;
the distance between the focus position and the two adjacent shooting positions between the closest position of the depth of field in the shooting depth of field range is the same, and the distance between the focus position and the two adjacent shooting positions between the farthest position of the depth of field in the shooting depth of field range is the same.
12. The photo processing system of claim 8, wherein the fusion module is configured to fuse the plurality of captured images based on a contrast pyramid algorithm to obtain the captured photo.
13. A photographing system, comprising:
the interaction module is used for receiving a photographing request of a user;
the shooting module is used for acquiring the shooting depth of field and shooting at different positions within the range of the shooting depth of field to acquire a plurality of collected images;
the image processing module is used for fusing the plurality of collected images to obtain a shot picture;
and the storage module is used for storing the shot picture.
14. The photographing system of claim 13, wherein the interaction module is further configured to determine a target photographing mode in response to a user request;
the photographing system further includes:
and the display module is used for generating prompt information, and the prompt information is used for prompting a user to keep the same position for shooting.
15. An electronic device comprising a camera, a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor implements the photo processing method of any one of claims 1 to 5 when executing the computer program;
and/or the processor, when executing the computer program, implements the photographing method of claim 6 or 7.
16. A computer-readable storage medium on which a computer program is stored, the computer program, when being executed by a processor, implementing the photographing processing method according to any one of claims 1 to 5;
and/or the computer program, when being executed by a processor, implements the photographing method of claim 6 or 7.
CN202111395860.6A 2021-11-23 2021-11-23 Photographing method, photographing processing method, system, equipment and storage medium Pending CN114222059A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111395860.6A CN114222059A (en) 2021-11-23 2021-11-23 Photographing method, photographing processing method, system, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111395860.6A CN114222059A (en) 2021-11-23 2021-11-23 Photographing method, photographing processing method, system, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114222059A true CN114222059A (en) 2022-03-22

Family

ID=80697993

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111395860.6A Pending CN114222059A (en) 2021-11-23 2021-11-23 Photographing method, photographing processing method, system, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114222059A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117692795A (en) * 2024-02-04 2024-03-12 苏州苏映视图像软件科技有限公司 Depth image fusion system and method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102348058A (en) * 2010-07-27 2012-02-08 三洋电机株式会社 Electronic equipment
CN103685962A (en) * 2013-12-27 2014-03-26 广东欧珀移动通信有限公司 Mobile terminal picture shooting method and system
JP2014068088A (en) * 2012-09-25 2014-04-17 Sharp Corp Imaging apparatus and imaging apparatus control method
WO2021052487A1 (en) * 2019-09-18 2021-03-25 华为技术有限公司 Method and apparatus for obtaining extended depth of field image, and electronic device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102348058A (en) * 2010-07-27 2012-02-08 三洋电机株式会社 Electronic equipment
JP2014068088A (en) * 2012-09-25 2014-04-17 Sharp Corp Imaging apparatus and imaging apparatus control method
CN103685962A (en) * 2013-12-27 2014-03-26 广东欧珀移动通信有限公司 Mobile terminal picture shooting method and system
WO2021052487A1 (en) * 2019-09-18 2021-03-25 华为技术有限公司 Method and apparatus for obtaining extended depth of field image, and electronic device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117692795A (en) * 2024-02-04 2024-03-12 苏州苏映视图像软件科技有限公司 Depth image fusion system and method
CN117692795B (en) * 2024-02-04 2024-05-03 苏州苏映视图像软件科技有限公司 Depth image fusion system and method

Similar Documents

Publication Publication Date Title
JP6803899B2 (en) Image processing methods, image processing equipment and electronic devices
US10997696B2 (en) Image processing method, apparatus and device
CN109348089B (en) Night scene image processing method and device, electronic equipment and storage medium
WO2018201809A1 (en) Double cameras-based image processing device and method
CN108898567B (en) Image noise reduction method, device and system
US10015469B2 (en) Image blur based on 3D depth information
CN101416219B (en) Foreground/background segmentation in digital images
US8754963B2 (en) Processing images having different focus
KR20170106325A (en) Method and apparatus for multiple technology depth map acquisition and fusion
WO2017045558A1 (en) Depth-of-field adjustment method and apparatus, and terminal
EP3627821B1 (en) Focusing method and apparatus for realizing clear human face, and computer device
CN102907083A (en) Image capturing apparatus, image processing apparatus, image processing method, and image processing program
CN111131698B (en) Image processing method and device, computer readable medium and electronic equipment
JP2014168227A (en) Image processing apparatus, imaging apparatus, and image processing method
WO2019037038A1 (en) Image processing method and device, and server
KR20210028218A (en) Image processing methods and devices, electronic devices and storage media
JP2007157063A (en) Image processor, image processing method and computer program
CN109618102B (en) Focusing processing method and device, electronic equipment and storage medium
CN113875219B (en) Image processing method and device, electronic equipment and computer readable storage medium
CN111586308B (en) Image processing method and device and electronic equipment
US9995905B2 (en) Method for creating a camera capture effect from user space in a camera capture system
CN110278366A (en) A kind of panoramic picture weakening method, terminal and computer readable storage medium
CN114222059A (en) Photographing method, photographing processing method, system, equipment and storage medium
JP2009047498A (en) Stereoscopic imaging device, control method of stereoscopic imaging device, and program
KR20120022918A (en) Method of capturing digital images and image capturing apparatus

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