CN115460345A - Image acquisition method, device, equipment and storage medium - Google Patents

Image acquisition method, device, equipment and storage medium Download PDF

Info

Publication number
CN115460345A
CN115460345A CN202210945188.1A CN202210945188A CN115460345A CN 115460345 A CN115460345 A CN 115460345A CN 202210945188 A CN202210945188 A CN 202210945188A CN 115460345 A CN115460345 A CN 115460345A
Authority
CN
China
Prior art keywords
sensitivity
shutter time
preset
preset threshold
image acquisition
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
CN202210945188.1A
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.)
Meizu Technology Co Ltd
Original Assignee
Meizu Technology 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 Meizu Technology Co Ltd filed Critical Meizu Technology Co Ltd
Priority to CN202210945188.1A priority Critical patent/CN115460345A/en
Publication of CN115460345A publication Critical patent/CN115460345A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Studio Devices (AREA)
  • Exposure Control For Cameras (AREA)

Abstract

The present disclosure relates to an image acquisition method, apparatus, device and storage medium, the method comprising: acquiring the sensitivity of a photosensitive element in the current environment; comparing the sensitivity to a first preset threshold; in response to the sensitivity being greater than or equal to the first preset threshold, shortening an automatic shutter time corresponding to the sensitivity to a preset shutter time corresponding to the sensitivity; and responding to an image acquisition instruction input by a user, and acquiring the image at the sensitivity and the preset shutter time. This is disclosed through when the light sensitivity of light sensing element is greater than or equal to first preset threshold value under the current environment who obtains, shortens shutter time to the preset shutter time that corresponds with light sensitivity to carry out image acquisition with current light sensitivity and the preset shutter time after shortening after the user inputs image acquisition instruction, can make the shutter time of shooing shorten under the dim scene, reduce because of the piece blur that the equipment shake of shooing leads to, promote user's the experience of shooing.

Description

Image acquisition method, device, equipment and storage medium
Technical Field
The present disclosure relates to the field of image technologies, and in particular, to an image acquisition method, an image acquisition apparatus, an image acquisition device, and a storage medium.
Background
With the development of electronic technology, devices with image acquisition functions, such as mobile phones, tablet computers, cameras and the like, are gradually popularized, more and more people choose to record life in a photographing mode, but due to the fact that photographing environments are complex and changeable, in a dark scene, the shutter time of an automatic mode of the camera is long, the stability of the devices needs to be guaranteed, fuzzy photos can be avoided, and a photographer needs to have a certain photographing foundation and is not friendly to ordinary users. Therefore, how to solve the problem that the image collected in a dark scene is easy to blur, and the improvement of the photographing experience of the user is a technical problem to be solved.
Disclosure of Invention
In order to solve the technical problem, the present disclosure provides an image capturing method, an image capturing apparatus, an image capturing device, and a storage medium.
A first aspect of an embodiment of the present disclosure provides an image acquisition method, including:
acquiring the sensitivity of a photosensitive element in the current environment;
comparing the sensitivity to a first preset threshold;
in response to the sensitivity being greater than or equal to the first preset threshold, shortening an automatic shutter time corresponding to the sensitivity to a preset shutter time corresponding to the sensitivity;
and responding to an image acquisition instruction input by a user, and acquiring the image at the sensitivity and the preset shutter time.
A second aspect of the embodiments of the present disclosure provides an image capturing apparatus, including:
the acquisition module is used for acquiring the sensitivity of the photosensitive element in the current environment;
the first comparison module is used for comparing the sensitivity with a first preset threshold value;
a shortening module, configured to shorten an automatic shutter time corresponding to the sensitivity to a preset shutter time corresponding to the sensitivity in response to the sensitivity being greater than or equal to the first preset threshold;
and the first acquisition module is used for responding to an image acquisition instruction input by a user and acquiring the image at the sensitivity and the preset shutter time.
A third aspect of embodiments of the present disclosure provides a computer device comprising a memory and a processor, and a computer program, wherein the memory has stored therein the computer program, which when executed by the processor, implements the image acquisition method as described in the first aspect above.
A fourth aspect of embodiments of the present disclosure provides a computer-readable storage medium, in which a computer program is stored, which, when executed by a processor, implements the image acquisition method of the first aspect as described above.
Compared with the prior art, the technical scheme provided by the embodiment of the disclosure has the following advantages:
in the image capturing method, the image capturing device, the image capturing apparatus and the storage medium provided by the embodiment of the disclosure, when the acquired sensitivity of the photosensitive element in the current environment is greater than or equal to the first preset threshold, the shutter time is shortened to the preset shutter time corresponding to the sensitivity, and the current sensitivity and the shortened preset shutter time are used for image capturing after the user inputs the image capturing instruction, so that in the automatic mode of the image capturing apparatus in a dark scene, the longer shutter time is shortened to the preset shutter time corresponding to the sensitivity, the preset shutter time can avoid the occurrence of the phenomenon of blurring caused by the shaking of the shooting apparatus, even in an environment with insufficient light, the user can easily capture clear pictures, and the shooting experience of the user is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
In order to more clearly illustrate the embodiments or technical solutions in the prior art of the present disclosure, the drawings used in the description of the embodiments or prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 is a flowchart of an image acquisition method provided by an embodiment of the present disclosure;
FIG. 2 is a flow chart of a method of determining a number of times an instruction is received provided by an embodiment of the present disclosure;
FIG. 3 is a flow chart of a method for reducing shutter time provided by an embodiment of the present disclosure;
fig. 4 is a flowchart of a method for compensating sensitivity according to an embodiment of the disclosure;
fig. 5 is a schematic structural diagram of an image capturing device according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of a computer device according to an embodiment of the present disclosure.
Detailed Description
In order that the above objects, features and advantages of the present disclosure may be more clearly understood, aspects of the present disclosure will be further described below. It should be noted that the embodiments and features of the embodiments of the present disclosure may be combined with each other without conflict.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present disclosure, but the present disclosure may be practiced in other ways than those described herein; it is to be understood that the embodiments disclosed in the specification are only a few embodiments of the present disclosure, and not all embodiments.
Fig. 1 is a flowchart of an image capturing method provided by an embodiment of the present disclosure, which may be performed by an image capturing apparatus. As shown in fig. 1, the image capturing method provided in this embodiment includes the following steps:
and S101, acquiring the sensitivity of the photosensitive element in the current environment.
The photosensitive element in the embodiments of the present disclosure may be understood as an electronic element capable of converting light entering a lens into an analog electrical signal, and is a core component of a camera, a mobile phone, or other terminal devices with an image capturing function to implement the image capturing function.
The sensitivity in the embodiments of the present disclosure may be understood as a parameter for measuring the sensitivity to light, and in the case where other parameters are not changed, the higher the sensitivity, the higher the sheet luminance, and in the automatic mode, when the ambient luminance is lower, the sensitivity of the photosensitive element is increased, and conversely, the sensitivity is decreased, in order to ensure a sufficient light input amount.
In the embodiment of the disclosure, the image acquisition device can acquire a specific value of the sensitivity of the photosensitive element under the current ambient brightness.
And S102, comparing the sensitivity with a first preset threshold value.
The first preset threshold in the embodiment of the present disclosure may be understood as a preset sensitivity threshold for determining whether the current environment is a dim environment, for example, the first preset threshold may be 2000, and is not limited herein.
In the embodiment of the present disclosure, the image capturing apparatus may compare the obtained sensitivity of the photosensitive element with a first preset threshold.
And S103, in response to the sensitivity being greater than or equal to the first preset threshold, shortening the automatic shutter time corresponding to the sensitivity to a preset shutter time corresponding to the sensitivity.
The shutter time in the embodiments of the present disclosure may be understood as a time when light can enter the photosensitive element, and under the condition that other parameters are not changed, the longer the shutter time is, the higher the brightness of the formed film is, and under the automatic mode, when the ambient brightness is lower, the shutter time may be extended to ensure a sufficient light entering amount, and vice versa.
The automatic shutter time in the embodiment of the present disclosure may be understood as a shutter time corresponding to sensitivity determined by the image capturing apparatus according to the sensitivity in the automatic mode, and the preset shutter time may be understood as a preset shutter time after shortening the automatic shutter time corresponding to the sensitivity, for example, the automatic shutter time may be 1/33 second and the preset shutter time may be 1/66 second when the sensitivity is 2000, which is not limited herein.
In the embodiment of the disclosure, a corresponding relationship exists among the ambient brightness, the light sensitivity of the photosensitive element and the shutter time in the automatic mode, when the ambient brightness is darker, the light sensitivity in the automatic mode is higher, and the shutter time is also longer, so that it is ensured that there is enough light entering amount in a dark scene, and the final filming brightness is higher, but when the ambient brightness is too dark, the shutter time is too long, which may cause the natural vibration of the human body to be captured by the image acquisition device, and further cause the filming blur.
In an embodiment of the disclosure, the image capturing apparatus may shorten an automatic shutter time corresponding to the sensitivity in the automatic mode to a preset shutter time corresponding to the sensitivity when it is determined that the sensitivity of the photosensitive element is greater than or equal to the first preset threshold.
In an exemplary implementation manner of the embodiment of the disclosure, when it is determined that the sensitivity of the photosensitive element is greater than or equal to the first preset threshold, the image capturing device may acquire a corresponding relationship between the sensitivity and the preset shutter time, which is pre-stored in the database, and determine the preset shutter time corresponding to the current sensitivity according to the corresponding relationship, so as to shorten the automatic shutter time to the preset shutter time.
And S104, responding to an image acquisition instruction input by a user, and acquiring the image according to the sensitivity and the preset shutter time.
The image capturing instruction in the embodiment of the present disclosure may be understood as an instruction for performing an image capturing operation, and for example, the image capturing instruction may be a voice instruction, a gesture instruction, a touch instruction, and the like, which is not limited herein.
In the embodiment of the disclosure, the image capturing apparatus may perform an image capturing operation according to the current sensitivity and the preset shutter time after receiving an image capturing instruction input by a user.
According to the embodiment of the disclosure, by acquiring the sensitivity of the photosensitive element in the current environment, comparing the sensitivity with the first preset threshold, and in response to the sensitivity being greater than or equal to the first preset threshold, shortening the automatic shutter time corresponding to the sensitivity to the preset shutter time corresponding to the sensitivity, and in response to an image acquisition instruction input by a user, acquiring an image by using the sensitivity and the preset shutter time, in an automatic mode of the image acquisition equipment in a dark scene, shortening the longer shutter time to the preset shutter time corresponding to the sensitivity, the preset shutter time can avoid the occurrence of a blurring phenomenon caused by shaking of the image acquisition equipment, even in an environment with insufficient light, the user can easily take clear pictures, and the photographing experience of the user is improved.
Fig. 2 is a flowchart of a method for determining a number of times of receiving an instruction according to an embodiment of the present disclosure, and as shown in fig. 2, on the basis of the above embodiment, the number of times of receiving an instruction may be determined by the following method.
S201, determining the times of receiving the image acquisition instruction in the current time period.
The current time period in the embodiment of the present disclosure may be understood as a time period in which the current time is located, and the current time period may be a preset time period, for example, twenty-four hours before the current time may be used as the current time period, and the current day, that is, a time period from the current date zero to the current time may also be used as the current time period, and the like, which is not limited herein.
In the embodiment of the disclosure, the image capturing device may determine the number of times of the image capturing instruction received within the current time period.
In an exemplary implementation manner of the embodiment of the disclosure, the image capturing apparatus may preset a log file for recording information of a received image capturing instruction, when the image capturing instruction is received, record information including receiving time in the log file, and when the number of times of receiving the image capturing instruction in a current time period needs to be determined, search for the image capturing instruction of the receiving time in the current time period in the log file, and count a search result to obtain the number of times of receiving the image capturing instruction in the current time period.
And S202, responding to the zero times, and comparing the sensitivity with a first preset threshold value.
In this embodiment, the image capturing device may compare the sensitivity of the photosensitive element in the current environment with a first preset threshold when the number of times of receiving the image capturing instruction in the current time period is zero.
And S203, responding to the condition that the number of times is not zero, and when the image acquisition instruction is acquired, acquiring the image by using the sensitivity and the automatic shutter time corresponding to the sensitivity.
In the embodiment of the present disclosure, when the number of times of receiving the image capture instruction in the current time period is not zero, after receiving the image capture instruction input by the user, the image capture device may perform the image capture operation according to the current sensitivity and the unreduced automatic shutter time corresponding to the sensitivity.
The method and the device for acquiring the images in the dark environment have the advantages that the number of times of receiving the image acquisition instruction in the current time period is determined, the light sensitivity is compared with the first preset threshold when the response number is zero, the image acquisition is performed according to the automatic shutter time corresponding to the light sensitivity and the light sensitivity when the response number is not zero when the image acquisition instruction is acquired, whether the user frequently performs image acquisition can be judged according to the number of times of the image acquisition instruction received in the current time period, if the number is zero, the user does not frequently perform image acquisition, the shutter time needs to be shortened to avoid blurring of the images in the dark environment, if the number is not zero, the user frequently takes the images, certain shooting basis is provided, and the stability of the device can be more noticed when the user takes the images in the dark environment, so that the shutter time does not need to be shortened to avoid blurring of the images, different image acquisition strategies can be executed for different users, and the shooting experience of the user is further improved.
Fig. 3 is a flowchart of a method for shortening a shutter time according to an embodiment of the present disclosure, and as shown in fig. 3, on the basis of the above embodiment, the shutter time can be shortened as follows.
And S301, in response to the sensitivity being greater than or equal to the first preset threshold, comparing the sensitivity with a second preset threshold.
The second preset threshold in the embodiment of the present disclosure may be understood as a preset sensitivity threshold for determining the degree of darkness of the current environment, and the second preset threshold is greater than the first preset threshold, for example, when the first preset threshold is 2000, the second preset threshold may be 3000, and is not limited herein. In the automatic mode, the ambient brightness corresponding to the second preset threshold is darker than the ambient brightness corresponding to the first preset threshold, and the automatic shutter time corresponding to the second preset threshold is longer than the automatic shutter time corresponding to the first preset threshold.
In the embodiment of the disclosure, the image capturing apparatus may continue to compare the sensitivity with a second higher preset threshold when the sensitivity of the photosensitive element in the current environment is greater than or equal to the first preset threshold.
And S302, in response to that the sensitivity is smaller than the second preset threshold, shortening the automatic shutter time corresponding to the sensitivity to a first preset shutter time.
The first preset shutter time in the embodiments of the present disclosure may be understood as a preset shutter time corresponding to a sensitivity greater than a first preset threshold and less than a second preset threshold, for example, when the first preset threshold is 2000 and the second preset threshold is 3000, the first preset shutter time may be 1/66 second, and is not limited herein.
In an embodiment of the disclosure, the image capturing apparatus may shorten an automatic shutter time corresponding to the sensitivity in the automatic mode to a preset first preset shutter time corresponding to the sensitivity when it is determined that the sensitivity of the photosensitive element is less than the second preset threshold.
And S303, in response to the sensitivity being greater than or equal to the second preset threshold, shortening the automatic shutter time corresponding to the sensitivity to a second preset shutter time, wherein the first preset threshold is smaller than the second preset threshold, and the first preset shutter time is greater than the second preset shutter time.
The second preset shutter time in the embodiments of the present disclosure may be understood as a preset shutter time corresponding to a sensitivity greater than or equal to a second preset threshold, and the first preset shutter time is greater than the second preset shutter time, for example, when the second preset threshold is 3000, the second preset shutter time may be 1/100 second, and is not limited herein.
In the embodiment of the present disclosure, the image capturing apparatus may shorten an automatic shutter time corresponding to the sensitivity in the automatic mode to a preset second preset shutter time corresponding to the sensitivity when it is determined that the sensitivity of the photosensitive element is greater than or equal to a second preset threshold.
The embodiment of the disclosure compares the sensitivity with a second preset threshold in response to the sensitivity being greater than or equal to the first preset threshold, shortens the automatic shutter time corresponding to the sensitivity to the first preset shutter time in response to the sensitivity being less than the second preset threshold, and shortens the automatic shutter time corresponding to the sensitivity to the second preset shutter time in response to the sensitivity being greater than or equal to the second preset threshold, wherein the first preset threshold is less than the second preset threshold, and the first preset shutter time is greater than the second preset shutter time, so that the corresponding relationship between the sensitivity and the preset shutter time can be further subdivided, and the photographing experience of the user is further improved.
Fig. 4 is a flowchart of a method for compensating sensitivity according to an embodiment of the disclosure. As shown in fig. 4, on the basis of the above embodiment, the sensitivity can be compensated by the following method.
S401, determining a sensitivity compensation amount corresponding to a preset shutter time based on a corresponding relation between the preset shutter time and the sensitivity compensation amount.
The sensitivity compensation amount in the embodiment of the present disclosure may be understood as a parameter for compensating the sensitivity to increase the sensitivity of the photosensitive element.
In the embodiment of the disclosure, after the shutter time is shortened from the automatic shutter time to the preset shutter time, the total light input amount is reduced, and the sheeting luminance is reduced.
In the embodiment of the present disclosure, the image capturing apparatus may determine the sensitivity compensation amount corresponding to the preset shutter time according to a preset correspondence relationship between the shutter time and the sensitivity compensation amount after determining the shortened preset shutter time.
In an exemplary implementation manner of the embodiment of the disclosure, the image capturing apparatus may obtain a corresponding relationship between a shutter time and a sensitivity compensation amount, which is pre-stored in a database, after determining the shortened preset shutter time, and determine the sensitivity compensation amount corresponding to the preset shutter time according to the corresponding relationship, for example, the database may be stored locally, or may be stored in a cloud, which is not limited herein.
And S402, compensating the sensitivity according to the sensitivity compensation amount.
In the embodiment of the present disclosure, the image capturing apparatus may add the sensitivity compensation amount to the sensitivity in the current automatic mode after determining the sensitivity compensation amount corresponding to the preset shutter time, and use the calculation result as a new sensitivity to compensate the sensitivity.
According to the embodiment of the disclosure, the sensitivity compensation amount corresponding to the preset shutter time is determined based on the corresponding relation between the preset shutter time and the sensitivity compensation amount, and the sensitivity is compensated according to the sensitivity compensation amount, so that the sensitivity can be improved through the sensitivity compensation amount after the automatic shutter time in the automatic mode is shortened to the preset shutter time, and therefore, the problem of reduction of the sheeting brightness caused by shortening of the shutter time is solved to a certain extent, and the user experience is further improved.
Fig. 5 is a schematic structural diagram of an image capturing device according to an embodiment of the present disclosure. As shown in fig. 5, the image capturing apparatus 500 includes: the system comprises an acquisition module 510, a first comparison module 520, a shortening module 530 and a first acquisition module 540, wherein the acquisition module 510 is used for acquiring the sensitivity of the photosensitive element in the current environment; a first comparing module 520, configured to compare the sensitivity with a first preset threshold; a shortening module 530, configured to shorten an automatic shutter time corresponding to the sensitivity to a preset shutter time corresponding to the sensitivity in response to the sensitivity being greater than or equal to the first preset threshold, and a first acquiring module 540, configured to perform image acquisition with the sensitivity and the preset shutter time in response to an image acquisition instruction input by a user.
Optionally, the image capturing apparatus 500 further includes: the first determining module is used for determining the times of receiving the image acquisition instruction in the current time period; a second comparing module, configured to compare the sensitivity with a first preset threshold in response to the number of times being zero; and the second acquisition module is used for responding to the condition that the times are not zero, and performing image acquisition by using the sensitivity and the automatic shutter time corresponding to the sensitivity when the image acquisition instruction is acquired.
Optionally, the shortening module 530 includes: a comparison unit configured to compare the sensitivity with a second preset threshold in response to the sensitivity being greater than or equal to the first preset threshold; a first shortening unit, configured to shorten an automatic shutter time corresponding to the sensitivity to a first preset shutter time in response to the sensitivity being less than the second preset threshold; and a second shortening unit, configured to shorten an automatic shutter time corresponding to the sensitivity to a second preset shutter time in response to the sensitivity being greater than or equal to the second preset threshold, where the first preset threshold is smaller than the second preset threshold, and the first preset shutter time is greater than the second preset shutter time.
Optionally, the image capturing apparatus 500 further includes: a second determination module configured to determine a sensitivity compensation amount corresponding to a preset shutter time based on a correspondence between the preset shutter time and the sensitivity compensation amount; and the compensation module is used for compensating the sensitivity according to the sensitivity compensation amount.
The image capturing device provided by this embodiment can perform the method described in any of the above embodiments, and the performing manner and the beneficial effects are similar, and are not described herein again.
Fig. 6 is a schematic structural diagram of a computer device according to an embodiment of the present disclosure.
As shown in fig. 6, the computer device may include a processor 610 and a memory 620 having stored computer program instructions.
Specifically, the processor 610 may include a Central Processing Unit (CPU), or an Application Specific Integrated Circuit (ASIC), or may be configured to implement one or more Integrated circuits of the embodiments of the present Application.
Memory 620 may include a mass storage for information or instructions. By way of example, and not limitation, memory 620 may include a Hard Disk Drive (HDD), a floppy Disk Drive, flash memory, an optical Disk, a magneto-optical Disk, tape, or a Universal Serial Bus (USB) Drive or a combination of two or more of these. Memory 620 may include removable or non-removable (or fixed) media, where appropriate. Memory 620 may be internal or external to the integrated gateway device, where appropriate. In a particular embodiment, the memory 620 is a non-volatile solid-state memory. In a particular embodiment, memory 620 includes Read-Only Memory (ROM). The ROM may be mask-programmed ROM, programmable ROM (PROM), erasable PROM (Electrically Erasable PROM, EPROM), electrically Erasable PROM (Electrically Erasable PROM, EEPROM), electrically Alterable ROM (Electrically Alterable ROM, EAROM), or flash memory, or a combination of two or more of these, where appropriate.
The processor 610 reads and executes the computer program instructions stored in the memory 620 to perform the steps of the image acquisition method provided by the embodiments of the present disclosure.
In one example, the computer device may also include a transceiver 630 and a bus 640. As shown in fig. 6, the processor 610, the memory 620 and the transceiver 630 are connected via a bus 640 to communicate with each other.
Bus 640 includes hardware, software, or both. By way of example and not limitation, a BUS may include an Accelerated Graphics Port (AGP) or other Graphics BUS, an Enhanced Industry Standard Architecture (EISA) BUS, a Front-Side BUS (Front Side BUS, FSB), a Hyper Transport (HT) Interconnect, an Industry Standard Architecture (ISA) BUS, an infiniband Interconnect, a Low Pin Count (LPC) BUS, a memory BUS, a microchannel Architecture (MCA) BUS, a Peripheral Control Interconnect (PCI) BUS, a PCI-Express (PCI-X) BUS, a Serial Advanced Technology Attachment (Attachment) BUS, a Local Electronics Standard Association (vldo) BUS, a Local Association BUS, a BUS, or a combination of two or more of these as appropriate. Bus 640 may include one or more buses, where appropriate. Although specific buses are described and shown in the embodiments of the application, any suitable buses or interconnects are contemplated by the application.
The disclosed embodiments also provide a computer-readable storage medium, which may store a computer program, and when the computer program is executed by a processor, the processor is enabled to implement the image acquisition method provided by the disclosed embodiments.
The storage medium may, for example, include a memory 620 of computer program instructions executable by the processor 610 of the image capture device to perform the image capture methods provided by embodiments of the present disclosure. Alternatively, the storage medium may be a non-transitory computer readable storage medium, for example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a Compact Disc read only Memory (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, and the like. The computer programs described above may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + +, or the like, as well as conventional procedural programming languages, such as the "C" programming language or similar programming languages, for performing the operations of embodiments of the present disclosure. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, 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 phrases "comprising a," "8230," "8230," or "comprising" does not exclude the presence of additional like elements in a process, method, article, or apparatus that comprises the element.
The foregoing are merely exemplary embodiments of the present disclosure, which enable those skilled in the art to understand or practice the present disclosure. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the disclosure. Thus, the present disclosure is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. An image acquisition method, comprising:
acquiring the sensitivity of a photosensitive element in the current environment;
comparing the sensitivity to a first preset threshold;
in response to the sensitivity being greater than or equal to the first preset threshold, shortening an automatic shutter time corresponding to the sensitivity to a preset shutter time corresponding to the sensitivity;
and responding to an image acquisition instruction input by a user, and acquiring the image at the sensitivity and the preset shutter time.
2. The method according to claim 1, wherein before comparing the sensitivity to a first preset threshold, the method further comprises:
determining the times of receiving image acquisition instructions in the current time period;
in response to the number of times being zero, comparing the sensitivity to a first preset threshold;
and responding to the non-zero times, and when the image acquisition instruction is acquired, acquiring the image by using the sensitivity and the automatic shutter time corresponding to the sensitivity.
3. The method according to claim 1, wherein the shortening the automatic shutter time corresponding to the sensitivity to the preset shutter time corresponding to the sensitivity in response to the sensitivity being greater than or equal to the first preset threshold comprises:
in response to the sensitivity being greater than or equal to the first preset threshold, comparing the sensitivity to a second preset threshold;
in response to the sensitivity being less than the second preset threshold, shortening the automatic shutter time corresponding to the sensitivity to a first preset shutter time;
and in response to the sensitivity being greater than or equal to the second preset threshold, shortening the automatic shutter time corresponding to the sensitivity to a second preset shutter time, wherein the first preset threshold is less than the second preset threshold, and the first preset shutter time is greater than the second preset shutter time.
4. The method of claim 1, wherein in response to a user-input image capture command, prior to image capture at the sensitivity and the preset shutter time, the method further comprises:
determining a sensitivity compensation amount corresponding to a preset shutter time based on a corresponding relationship between the preset shutter time and the sensitivity compensation amount;
and compensating the sensitivity according to the sensitivity compensation amount.
5. An image acquisition apparatus, comprising:
the acquisition module is used for acquiring the sensitivity of the photosensitive element in the current environment;
the first comparison module is used for comparing the sensitivity with a first preset threshold value;
a shortening module, configured to shorten an automatic shutter time corresponding to the sensitivity to a preset shutter time corresponding to the sensitivity in response to the sensitivity being greater than or equal to the first preset threshold;
and the first acquisition module is used for responding to an image acquisition instruction input by a user and acquiring the image at the sensitivity and the preset shutter time.
6. The apparatus of claim 5, further comprising:
the first determining module is used for determining the times of receiving the image acquisition instruction in the current time period;
a second comparing module, configured to compare the sensitivity with a first preset threshold in response to the number of times being zero;
and the second acquisition module is used for responding to the condition that the times are not zero, and performing image acquisition by using the sensitivity and the automatic shutter time corresponding to the sensitivity when the image acquisition instruction is acquired.
7. The apparatus of claim 5, wherein the shortening module comprises:
a comparison unit configured to compare the sensitivity with a second preset threshold in response to the sensitivity being greater than or equal to the first preset threshold;
a first shortening unit, configured to shorten an automatic shutter time corresponding to the sensitivity to a first preset shutter time in response to the sensitivity being less than the second preset threshold;
and a second shortening unit, configured to shorten an automatic shutter time corresponding to the sensitivity to a second preset shutter time in response to the sensitivity being greater than or equal to the second preset threshold, where the first preset threshold is smaller than the second preset threshold, and the first preset shutter time is greater than the second preset shutter time.
8. The apparatus of claim 5, further comprising:
a second determining module, configured to determine a sensitivity compensation amount corresponding to a preset shutter time based on a correspondence between the preset shutter time and the sensitivity compensation amount;
and the compensation module is used for compensating the sensitivity according to the sensitivity compensation amount.
9. A computer device, comprising: a memory; a processor; and a computer program; wherein the computer program is stored in the memory and configured to be executed by the processor to implement the method of any one of claims 1-4.
10. A computer-readable storage medium, characterized in that a computer program is stored in the storage medium, which computer program, when being executed by a processor, carries out the image acquisition method as claimed in any one of the claims 1 to 4.
CN202210945188.1A 2022-08-08 2022-08-08 Image acquisition method, device, equipment and storage medium Pending CN115460345A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210945188.1A CN115460345A (en) 2022-08-08 2022-08-08 Image acquisition method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210945188.1A CN115460345A (en) 2022-08-08 2022-08-08 Image acquisition method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115460345A true CN115460345A (en) 2022-12-09

Family

ID=84296237

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210945188.1A Pending CN115460345A (en) 2022-08-08 2022-08-08 Image acquisition method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115460345A (en)

Similar Documents

Publication Publication Date Title
CN109005366B (en) Night scene shooting processing method and device for camera module, electronic equipment and storage medium
CN109218628B (en) Image processing method, image processing device, electronic equipment and storage medium
WO2020038072A1 (en) Exposure control method and device, and electronic device
US11532076B2 (en) Image processing method, electronic device and storage medium
JP5054063B2 (en) Electronic camera, image processing apparatus, and image processing method
WO2020038074A1 (en) Exposure control method and apparatus, and electronic device
WO2020038087A1 (en) Method and apparatus for photographic control in super night scene mode and electronic device
JP6272486B2 (en) Image processing apparatus, imaging apparatus, image processing method, and program
CN109218627A (en) Image processing method, device, electronic equipment and storage medium
US8558935B2 (en) Scene information displaying method and apparatus and digital photographing apparatus using the scene information displaying method and apparatus
CN109040523B (en) Artifact eliminating method and device, storage medium and terminal
CN104917959A (en) Photographing method and terminal
CN107690804B (en) Image processing method and user terminal
CN109361853B (en) Image processing method, image processing device, electronic equipment and storage medium
EP3496391B1 (en) Method and device for capturing image and storage medium
CN109618102B (en) Focusing processing method and device, electronic equipment and storage medium
CN105227857A (en) A kind of method and apparatus of automatic exposure
CN113810604B (en) Document shooting method, electronic device and storage medium
CN110708463B (en) Focusing method, focusing device, storage medium and electronic equipment
US20180376064A1 (en) Method and apparatus for focusing
CN113228622A (en) Image acquisition method, image acquisition device and storage medium
CN111970437A (en) Text shooting method, wearable device and storage medium
US10972676B2 (en) Image processing method and electronic device capable of optimizing hdr image by using depth information
CN114390212B (en) Photographing preview method, electronic device and storage medium
WO2023071933A1 (en) Camera photographing parameter adjustment method and apparatus and electronic device

Legal Events

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