Image shooting method and device, electronic equipment and storage medium

By using an aperture smaller than the aperture threshold within a specific focus distance range, the problem of image blurring caused by the influence of aperture size on depth of field is solved, thus improving image clarity and shooting effect.

CN121603769APending Publication Date: 2026-03-03BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411178442.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-26
Publication Date
2026-03-03

AI Technical Summary

Technical Problem

In existing technologies, the effect of aperture size on depth of field results in blurred or bokeh effects in captured images, especially at different focusing distances, leading to poor image sharpness.

Method used

When the focusing distance is greater than or equal to the first focusing distance and less than the second focusing distance, a first lens that supports different apertures is used, and it is controlled to shoot with an aperture smaller than the aperture threshold, such as using the smallest aperture or determining the aperture size according to the correspondence between focusing distance and aperture.

Benefits of technology

It avoids the bokeh and blurring caused by a large aperture, improving image sharpness, especially when shooting at close range, enhancing image clarity and the shooting experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121603769A_ABST
    Figure CN121603769A_ABST
Patent Text Reader

Abstract

The invention relates to an image shooting method and device, electronic equipment and a storage medium. The image shooting method comprises the following steps: calling a first lens in response to a condition that a camera application of the electronic equipment is in a preset mode and a current focusing distance is greater than or equal to a first focusing distance and less than a second focusing distance, the first lens supporting shooting by using different apertures; and controlling the first lens to use an aperture smaller than an aperture threshold to shoot an image. According to the invention, the first lens can be controlled to shoot by using the aperture smaller than the aperture threshold value in the preset mode, and the definition of the shot image is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of image capture, and more particularly to image capture methods, apparatus, electronic devices, and storage media. Background Technology

[0002] With the development of shooting technology, automatic aperture (Auto Iris) technology has been applied to more and more electronic devices. By controlling the lens to automatically adjust the aperture size according to changes in ambient light, the amount of light entering the lens can be controlled to quickly adapt to different lighting conditions.

[0003] However, since aperture size affects the depth of field of the captured image, a large aperture will cause some areas of the captured image to be blurred, resulting in blurry content in the captured image. Summary of the Invention

[0004] To overcome the problems existing in related technologies, this disclosure provides an image capturing method, apparatus, electronic device, and storage medium.

[0005] According to a first aspect of the present disclosure, an image capturing method is provided, comprising: responding to a camera application of an electronic device being in a preset mode, and the current focusing distance being greater than or equal to a first focusing distance and less than a second focusing distance, activating a first lens, wherein the first lens supports shooting with different apertures; and controlling the first lens to use an aperture smaller than an aperture threshold to capture an image.

[0006] In one embodiment, controlling the first lens to use an aperture smaller than the aperture threshold to capture an image includes:

[0007] Control the first lens to use the smallest aperture supported by the first lens to capture an image.

[0008] In one embodiment, controlling the first lens to use an aperture smaller than an aperture threshold to capture an image includes: determining an aperture matching the current focus distance based on the correspondence between focus distance and aperture; wherein the correspondence includes an aperture smaller than an aperture threshold and includes at least two different focus distances, wherein the at least two different focus distances include a third focus distance and a fourth focus distance, the third focus distance being smaller than the fourth focus distance.

[0009] In one embodiment, the method further includes: in response to the current focusing distance being less than the first focusing distance, using a second lens to take a picture, the second lens having a wider angle of view than the first lens; in response to the focusing distance being greater than or equal to the second focusing distance, determining the aperture size of the first lens based on the lighting conditions obtained by the first lens, and controlling the first lens to use the aperture size for image capture.

[0010] In one implementation, the preset mode is a document recognition mode.

[0011] According to a second aspect of the present disclosure, an image capturing device is provided, comprising: a calling unit, configured to call a first lens in response to a camera application of an electronic device being in a preset mode and the current focusing distance being greater than or equal to a first focusing distance and less than a second focusing distance, wherein the first lens supports shooting with different apertures; and a processing unit, configured to control the first lens to use an aperture smaller than an aperture threshold to capture an image.

[0012] In one embodiment, the processing unit controls the first lens to use an aperture smaller than the aperture threshold to capture an image in the following manner: controlling the first lens to use the smallest aperture supported by the first lens to capture an image.

[0013] In one embodiment, the processing unit controls the first lens to use an aperture smaller than the aperture threshold to capture an image in the following manner: based on the correspondence between the focusing distance and the aperture, an aperture matching the current focusing distance is determined; wherein the correspondence includes an aperture smaller than the aperture threshold and includes at least two different focusing distances, wherein the at least two different focusing distances include a third focusing distance and a fourth focusing distance, the third focusing distance being smaller than the fourth focusing distance.

[0014] In one embodiment, the calling unit is further configured to: in response to the current focusing distance being less than the first focusing distance, use a second lens to take a picture, wherein the angle of view of the second lens is greater than that of the first lens; the processing unit is further configured to: in response to the focusing distance being greater than or equal to the second focusing distance, determine the aperture size of the first lens based on the light conditions obtained by the first lens, and control the first lens to use the aperture size to perform the image taking operation.

[0015] In one implementation, the preset mode is a document recognition mode.

[0016] According to a third aspect of the present disclosure, an image capturing apparatus is provided, comprising:

[0017] A processor; a memory for storing processor-executable instructions; wherein the processor is configured to execute the image capturing method described in the first aspect or any embodiment of the first aspect.

[0018] According to a fourth aspect of the present disclosure, a storage medium is provided, the storage medium storing instructions that, when executed by a processor of a terminal, enable the terminal to perform the method described in the first aspect or any one of the embodiments of the first aspect.

[0019] The technical solutions provided by the embodiments of this disclosure may include the following beneficial effects: when the electronic device is in a preset mode, and it is detected that the focusing distance of the electronic device is greater than or equal to the first focusing distance and less than the second focusing distance, the first lens that supports shooting with different apertures is invoked, and the first lens is controlled to use an aperture smaller than the aperture threshold to shoot the image, so as to avoid the phenomenon of blurring caused by using a large aperture and improve the clarity of the captured image.

[0020] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description

[0021] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.

[0022] Figure 1 This is a flowchart illustrating an image capturing method according to an exemplary embodiment.

[0023] Figure 2 This is a schematic diagram illustrating a document recognition pattern according to an exemplary embodiment.

[0024] Figure 3 This is a flowchart illustrating an image capturing method according to an exemplary embodiment.

[0025] Figure 4 This is a flowchart illustrating an image capturing method according to an exemplary embodiment.

[0026] Figure 5 This is a schematic diagram illustrating the correspondence between focus distance and aperture according to an exemplary embodiment.

[0027] Figure 6 This is a schematic diagram illustrating a shooting process in a related art according to an exemplary embodiment.

[0028] Figure 7 This is a schematic diagram illustrating a shooting process according to an exemplary embodiment.

[0029] Figure 8 This is an image rendering illustrating a method of controlling a first lens to take a picture using a default aperture, according to an exemplary embodiment.

[0030] Figure 9 This is an image rendering illustrating, according to an exemplary embodiment, how to control a first lens to use an aperture smaller than the aperture threshold for shooting.

[0031] Figure 10 This is a block diagram illustrating an image capturing device according to an exemplary embodiment.

[0032] Figure 11 This is a block diagram illustrating an apparatus for image capture according to an exemplary embodiment. Detailed Implementation

[0033] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure.

[0034] In the accompanying drawings, the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The described embodiments are some, but not all, of the embodiments of this disclosure. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain this disclosure, and should not be construed as limiting this disclosure. All other embodiments obtained by those skilled in the art based on the embodiments of this disclosure without inventive effort are within the scope of protection of this disclosure. The embodiments of this disclosure will be described in detail below with reference to the accompanying drawings.

[0035] The image capture method provided in this disclosure is applied to the field of computer vision. The image capture method provided in this disclosure is mainly used when the camera application of an electronic device is in a preset mode, and when it detects that the current focusing distance is greater than or equal to a first focusing distance and less than a second focusing distance, it controls the first lens to use a small aperture for image capture. With the development of electronic device technology, more and more electronic devices have lenses with adjustable aperture sizes, enabling the images obtained by the electronic device through the capture operation to meet the imaging requirements.

[0036] In related technologies, controlling the aperture size of a lens during a shooting scene is primarily based on adjusting the aperture size according to the lighting conditions of the shooting environment, thereby controlling the amount of light entering the lens and performing the shooting operation. However, due to the optical characteristics of lenses, aperture size affects the depth of field. While a large aperture can increase the amount of light entering the lens, it also results in a shallower depth of field. This makes it easier for objects with significant changes in focus distance to be blurred, resulting in only part of the acquired image being clearly visible while other parts are blurred, thus producing a noticeable bokeh effect.

[0037] In view of this, the present disclosure provides an image capturing method, which, when the current focusing distance is between a first focusing distance and a second focusing distance, calls a lens with aperture size condition function and uses a first lens with an aperture smaller than the threshold to capture the image, thereby avoiding blurring of the captured image due to a large aperture.

[0038] Figure 1 This is a flowchart illustrating an image capturing method according to an exemplary embodiment, such as... Figure 1 As shown, it includes the following steps.

[0039] In step S11, in response to the camera application of the electronic device being in a preset mode, and the current focus distance being greater than or equal to the first focus distance and less than the second focus distance, the first lens is invoked.

[0040] In this embodiment of the disclosure, the first focusing distance is used to characterize the focusing distance threshold for lens switching. It can be configured that when the current focusing distance is detected to be greater than or equal to the first focusing distance, the first lens is used for shooting; when the current focusing distance is detected to be less than the first focusing distance, other lenses in the electronic device are used for shooting.

[0041] In this embodiment of the disclosure, the second focusing distance is used to characterize the focusing distance threshold of the aperture adjustment strategy. It can be configured that when the current focusing distance is detected to be greater than or equal to the first focusing distance and less than the second focusing distance, the first lens is controlled to use aperture adjustment strategy 1 for shooting; and when the current focusing distance is detected to be greater than the second focusing distance, the first lens is controlled to use aperture adjustment strategy 2 for shooting.

[0042] In this embodiment, the first lens supports shooting with different apertures. The camera application of the electronic device can be a built-in camera application or a third-party application installed on the electronic device. The preset mode can be a mode primarily focused on achieving a high degree of clarity, such as a document recognition mode or an object recognition mode.

[0043] In this embodiment, the image capture method can be applied to the document recognition mode in the camera application of electronic devices, ensuring that the captured document image does not suffer from the blurring effect caused by a large aperture, thus improving the processing effect of image cropping and Optical Character Recognition (OCR) operations based on the acquired document image. The document mode function mainly uses image processing and text recognition technologies. Image processing mainly uses an intelligent scanning engine to perceive the image and restore the layout, such as noise reduction, binarization, and tilt correction, to improve the accuracy and speed of text recognition. The text recognition technology uses OCR technology to recognize and extract the text in the image and convert it into an editable text format, making it convenient for users to edit and organize.

[0044] In step S12, the first lens is controlled to use an aperture smaller than the aperture threshold to capture an image.

[0045] In this embodiment, the aperture threshold is a preset aperture information representing a small aperture. For example, in a traditional shooting scenario, the aperture f-value used by the first lens in the preset mode is f / 1.42, so the preset aperture can be set to f / 4.0. Here, the f-value (f-stop), also known as the aperture value, is a numerical value used to characterize the size of the lens aperture, representing the ratio of the diameter of the lens aperture opening to the lens focal length. An aperture of f / 4.0 is smaller than an aperture of f / 1.42. It should be understood that the specific aperture parameters described above are for illustrative purposes only, and this embodiment does not limit the lens threshold or the specific aperture value of an aperture smaller than the aperture threshold.

[0046] In this embodiment, the aperture size affects the distance at which a clear image can be obtained during shooting. For example, f / 4.0 can clearly capture objects between 12cm and 20cm, while f / 1.42 can only clearly capture objects between 18cm and 20cm. Therefore, using a smaller aperture allows for the acquisition of a clear image with more details. Consequently, this embodiment can reduce the blurring caused by depth-of-field effects and improve the clarity of the captured image.

[0047] In this embodiment of the disclosure, when it is detected that the current focusing distance is less than the first focusing distance or the current focusing distance is greater than or equal to the second focusing distance, an image can be captured using a lens other than the first lens or by using the first lens to determine the aperture based on other factors.

[0048] In this embodiment of the disclosure, in response to the camera application of the electronic device being in a preset mode and the current focusing distance being less than the first focusing distance, a second lens is used for image capture. The second lens has a larger field of view (FOV) than the first lens; for example, the second lens could be an ultra-wide-angle lens in the electronic device, capable of providing a very wide field of view, allowing for the capture of a wider scene when the current focusing distance is less than the first focusing distance.

[0049] In one exemplary embodiment, the document recognition pattern in the camera application is as follows: Figure 2 As shown, Figure 2 This is a schematic diagram illustrating a document recognition pattern according to an exemplary embodiment. Figure 2 In the viewfinder, the video stream data captured by the lens can be displayed. When the trigger operation of the circular shutter button is detected, the image stream data captured by the lens is obtained and saved. It should be understood that the document recognition mode can be a special shooting mode based on user triggering within the camera application, or it can be the only application containing this function, directly using the document recognition mode to take pictures in response to the application's launch.

[0050] In this embodiment of the disclosure, in response to the camera application of the electronic device being in a preset mode and the focusing distance being greater than or equal to a second focusing distance, the aperture size of the first lens is determined based on the lighting conditions acquired by the first lens, and the first lens is controlled to use the aperture size for image capture. As the focusing distance increases, the blurring effect caused by a large aperture weakens. When the focusing distance is greater than the second focusing distance, the first lens can be controlled to adjust the aperture based on the lighting conditions of the shooting environment. For example, if the lighting in the shooting environment is detected to be greater than a preset lighting threshold, the aperture can be reduced to decrease the amount of light entering the first lens and avoid overexposure of the captured image; if the lighting in the shooting environment is detected to be less than the preset lighting threshold, the aperture can be increased to increase the amount of light entering the first lens and avoid underexposure of the captured image.

[0051] It should be understood that the image quality of the second lens of an electronic device is inferior to that of the first lens. When shooting at close range, the shooting lens automatically switches from the first lens to the second lens. Due to hardware differences, the image quality of the second lens is significantly less clear than that of the first lens. In this embodiment, an aperture smaller than the aperture threshold can be used for shooting. Compared to traditional solutions, this allows for shooting at a closer focusing distance using the first lens, enhancing the clarity of the captured image. For example, in traditional solutions, controlling the first lens to use the default aperture only allows for image shooting at a focusing distance greater than 15cm. The image shooting method provided in this disclosure, which controls the first lens to use an aperture smaller than the aperture threshold, allows for shooting at a focusing distance of 12cm-20cm, avoiding the image jump caused by switching lenses at 15cm and improving the shooting experience.

[0052] In this embodiment of the disclosure, the aperture smaller than the aperture threshold can be the smallest aperture supported by the first lens.

[0053] Figure 3 This is a flowchart illustrating an image capturing method according to an exemplary embodiment, such as... Figure 3 As shown, it includes the following steps.

[0054] Figure 3 Step S21 and Figure 1 The steps in step S11 are the same and will not be repeated here. Please refer to the relevant descriptions in the above embodiments. The following only describes the differences.

[0055] In step S22, the first lens is controlled to use the smallest aperture supported by the first lens to capture an image.

[0056] In this embodiment, the smaller the aperture, the greater the depth of field of the first lens. Depth of field (DoF) is the depth of the space in front of and behind the focal point of the object being photographed, where the image is relatively sharp. Therefore, the smallest aperture usable by the first lens can be used for image acquisition, allowing the most sharp objects to be captured during close-up shooting.

[0057] In this embodiment, the aperture size corresponding to the current focusing distance can also be determined by the correspondence between focusing distance and aperture. When the electronic device is in a preset mode and the current focusing distance is greater than or equal to the first focusing distance and less than the second focusing distance, the aperture size corresponding to the current focusing distance can be determined by the correspondence. This allows for appropriately increasing the aperture of the document when the distance between the electronic device and the object being photographed is relatively far, thereby increasing the amount of light entering the first lens and improving the quality of the captured image.

[0058] Figure 4 This is a flowchart illustrating an image capturing method according to an exemplary embodiment, such as... Figure 4 As shown, it includes the following steps.

[0059] Figure 4 Step S31 and Figure 1 The steps in step S11 are the same and will not be repeated here. Please refer to the relevant descriptions in the above embodiments. The following only describes the differences.

[0060] In step S32, based on the correspondence between focusing distance and aperture, an aperture that matches the current focusing distance is determined.

[0061] In this embodiment of the disclosure, the correspondence includes an aperture smaller than the aperture threshold and includes at least two different focusing distances, wherein the at least two different focusing distances include a third focusing distance and a fourth focusing distance, the third focusing distance being smaller than the fourth focusing distance, and the third focusing distance being smaller than the fourth focusing distance.

[0062] In an exemplary embodiment, the correspondence between focusing distance and aperture is as follows: Figure 5 As shown, Figure 5 This is a schematic diagram illustrating the correspondence between focusing distance and aperture according to an exemplary embodiment. Figure 5 In this example, the object being photographed is a paper document, the first focusing distance is 12cm, the second focusing distance is 20cm, and the aperture threshold is f / 1.42. Therefore, the aperture can be set to f / 4.0 for a focusing distance of 12cm-15cm, f / 2.8 for a focusing distance of 15cm-18cm, and f / 2.0 for a focusing distance of 18cm-20cm.

[0063] In one exemplary embodiment, taking a document recognition mode as a preset mode as an example, the document recognition mode shooting method in the related art is as follows: Figure 6 As shown, Figure 6 This is a schematic diagram illustrating a shooting process in a related art according to an exemplary embodiment.

[0064] exist Figure 6In this system, when the camera application of an electronic device is triggered to take a picture in document recognition mode, it uses the original image magnification (1x) and uses a laser autofocus sensor to obtain the current focus distance. It determines whether the current focus distance is less than 15cm (the first focus distance). If the current focus distance is less than 15cm, it uses the ultra-wide-angle lens (the second lens) to take the picture, including displaying a preview in the viewfinder and acquiring the corresponding image content in response to the image acquisition operation. If the current focus distance is greater than or equal to 15cm, it uses the main camera lens (the first lens) to take the picture, including displaying a preview in the viewfinder and acquiring the corresponding image content in response to the image acquisition operation. In response to the image content obtained using the main camera lens or the ultra-wide-angle lens, the intelligent scanning engine performs image perception and layout reconstruction. The reconstructed image content is then processed using OCR technology to recognize and extract text from the image and convert it into an editable text format for easy editing and organization by the user.

[0065] In one exemplary embodiment, taking a document recognition mode as a preset mode as an example, the document recognition mode image capturing method in this embodiment of the disclosure is as follows: Figure 7 As shown, Figure 7 This is a schematic diagram illustrating a shooting process according to an exemplary embodiment.

[0066] exist Figure 7 In this system, when the camera application of an electronic device is triggered to take a picture in document recognition mode, it uses the original image magnification (1x) and uses a laser autofocus sensor to obtain the current focus distance. It determines whether the current focus distance is less than 12cm (the first focus distance). If the current focus distance is less than 12cm, it uses the ultra-wide-angle lens (the second lens) to take the picture, including displaying a preview in the viewfinder and acquiring the corresponding image content in response to an image acquisition operation. If the current focus distance is greater than or equal to 12cm, it uses the main camera lens (the first lens) to take the picture and further determines whether the current focus distance is greater than or equal to 12cm (the first focus distance) and less than 20cm (the second focus distance). If the current focus distance is greater than or equal to 12cm and less than 20cm, it controls the main camera to determine the aperture based on the correspondence between focus distance and aperture. In this correspondence, the closer the distance, the smaller the aperture; the farther the distance, the larger the aperture. The picture taking includes displaying a preview in the viewfinder and acquiring the corresponding image content in response to an image acquisition operation. If the current focusing distance is greater than 20cm, the main camera will determine the aperture based on the lighting conditions and use that aperture to take a picture. The shooting includes displaying a preview in the viewfinder and acquiring the corresponding image content in response to the image acquisition operation.

[0067] In one exemplary embodiment, taking document recognition mode as an example, the effect of image capture using the default aperture is as follows: Figure 8 As shown, Figure 8 This is an image rendering illustrating how to control a first lens to take a picture using a default aperture, according to an exemplary embodiment. Figure 8 In the previous example, due to the use of the default aperture, there was a phenomenon where the image content corresponding to the current focus distance (i.e., the text at the bottom) was clear, while the image content not corresponding to the current focus distance (i.e., the text at the top) was blurry. However, this disclosure achieves the same effect by using an aperture smaller than the aperture threshold for image capture. Figure 9 As shown, Figure 9 This is an image effect diagram illustrating, according to an exemplary embodiment, controlling a first lens to use an aperture smaller than the aperture threshold for shooting. Figure 9 In this process, by using an aperture smaller than the aperture threshold for shooting, the focusing distance range that can capture clear image content is increased, resulting in all text content in the obtained image being clear.

[0068] In this embodiment of the present disclosure, when the camera application of the electronic device is in a preset mode and detects that the current focusing distance is greater than or equal to the first focusing distance and less than the second focusing distance, the first lens that can adjust the aperture size is controlled to use an aperture smaller than the aperture threshold for shooting, thereby reducing the blurring phenomenon caused by the large aperture during shooting and improving the clarity of the captured image.

[0069] Based on the same concept, embodiments of this disclosure also provide an image capturing device.

[0070] It is understood that the image capturing device provided in this disclosure includes hardware structures and / or software modules corresponding to each function in order to achieve the above-mentioned functions. In conjunction with the units and algorithm steps of the various examples disclosed in this disclosure, this disclosure can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed by hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the technical solutions of this disclosure.

[0071] Figure 10 This is a block diagram illustrating an image capturing device 100 according to an exemplary embodiment. (Refer to...) Figure 10 The device includes a calling unit 101 and a processing unit 102.

[0072] Calling unit 101 is used to call the first lens in response to the camera application of the electronic device being in a preset mode and the current focus distance being greater than or equal to the first focus distance and less than the second focus distance. The first lens supports shooting with different apertures.

[0073] The processing unit 102 is used to control the first lens to use an aperture smaller than the aperture threshold to capture images.

[0074] In one embodiment, the processing unit 102 controls the first lens to use an aperture smaller than the aperture threshold to capture an image in the following manner: controlling the first lens to use the smallest aperture supported by the first lens to capture an image.

[0075] In one embodiment, the processing unit 102 controls the first lens to use an aperture smaller than the aperture threshold to capture an image in the following manner: based on the correspondence between the focusing distance and the aperture, an aperture matching the current focusing distance is determined; wherein the correspondence includes an aperture smaller than the aperture threshold and includes at least two different focusing distances, wherein the at least two different focusing distances include a third focusing distance and a fourth focusing distance, the third focusing distance being smaller than the fourth focusing distance, and the third focusing distance being smaller than the fourth focusing distance.

[0076] In one embodiment, the calling unit 101 is further configured to: in response to the current focusing distance being less than the first focusing distance, use a second lens to take a picture, wherein the angle of view of the second lens is greater than that of the first lens.

[0077] In one embodiment, the processing unit 102 is further configured to: in response to a focusing distance greater than or equal to a second focusing distance, determine the aperture size of the first lens based on the lighting conditions acquired by the first lens, and control the first lens to use the aperture size for image capture.

[0078] In one embodiment, the preset mode is a document recognition mode.

[0079] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.

[0080] Figure 11 This is a block diagram illustrating an image capturing device 200 according to an exemplary embodiment. For example, device 200 may be a mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical device, fitness equipment, personal digital assistant, etc.

[0081] Reference Figure 11The device 200 may include one or more of the following components: processing component 202, memory 204, power component 206, multimedia component 208, audio component 210, input / output (I / O) interface 212, sensor component 214, and communication component 216.

[0082] Processing component 202 typically controls the overall operation of device 200, such as operations associated with display, telephone calls, data communication, camera operation, and recording. Processing component 202 may include one or more processors 220 to execute instructions to perform all or part of the steps of the methods described above. Furthermore, processing component 202 may include one or more modules to facilitate interaction between processing component 202 and other components. For example, processing component 202 may include a multimedia module to facilitate interaction between multimedia component 208 and processing component 202.

[0083] Memory 204 is configured to store various types of data to support the operation of device 200. Examples of such data include instructions for any application or method operating on device 200, contact data, phonebook data, messages, pictures, videos, etc. Memory 204 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.

[0084] The power supply component 206 provides power to the various components of the device 200. The power supply component 206 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power to the device 200.

[0085] Multimedia component 208 includes a screen that provides an output interface between the device 200 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of the touch or swipe action but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 208 includes a front-facing camera and / or a rear-facing camera. When the device 200 is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or the rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.

[0086] Audio component 210 is configured to output and / or input audio signals. For example, audio component 210 includes a microphone (MIC) configured to receive external audio signals when device 200 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 204 or transmitted via communication component 216. In some embodiments, audio component 210 also includes a speaker for outputting audio signals.

[0087] I / O interface 212 provides an interface between processing component 202 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.

[0088] Sensor assembly 214 includes one or more sensors for providing status assessments of various aspects of device 200. For example, sensor assembly 214 may detect the on / off state of device 200, the relative positioning of components such as the display and keypad of device 200, changes in the position of device 200 or a component of device 200, the presence or absence of user contact with device 200, the orientation or acceleration / deceleration of device 200, and temperature changes of device 200. Sensor assembly 214 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 214 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 214 may also include an accelerometer, a gyroscope, a magnetometer, a pressure sensor, or a temperature sensor.

[0089] Communication component 216 is configured to facilitate wired or wireless communication between device 200 and other devices. Device 200 can access wireless networks based on communication standards, such as WiFi, 2G, or 3G, or combinations thereof. In one exemplary embodiment, communication component 216 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 216 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.

[0090] In an exemplary embodiment, the apparatus 200 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the methods described above.

[0091] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 204 including instructions, which can be executed by a processor 220 of the device 200 to perform the above-described method. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.

[0092] It is understood that in this disclosure, "multiple" refers to two or more, and other quantifiers are similar. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, and B alone. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. The singular forms "a," "the," and "the" are also intended to include the plural forms unless the context clearly indicates otherwise.

[0093] It is further understood that the terms "first," "second," etc., are used to describe various types of information, but this information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another, and do not indicate a specific order or degree of importance. In fact, the expressions "first," "second," etc., are completely interchangeable. For example, without departing from the scope of this disclosure, first information can also be referred to as second information, and similarly, second information can also be referred to as first information.

[0094] It can be further understood that, unless otherwise specified, "connection" includes both direct connections where no other components exist between the two parties and indirect connections where other components exist between them.

[0095] It is further understood that although operations are described in a specific order in the accompanying drawings in the embodiments of this disclosure, this should not be construed as requiring these operations to be performed in the specific order or serial order shown, or requiring all of the shown operations to be performed to obtain the desired result. In certain environments, multitasking and parallel processing may be advantageous.

[0096] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein.

[0097] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.

Claims

1. An image capturing method, characterized in that, include: In response to the camera application of the electronic device being in a preset mode, and the current focus distance being greater than or equal to a first focus distance and less than a second focus distance, the first lens is invoked, wherein the first lens supports shooting with different apertures; Control the first lens to use an aperture smaller than the aperture threshold to capture images.

2. The method according to claim 1, characterized in that, The control of the first lens to use an aperture smaller than the aperture threshold to capture images includes: Control the first lens to use the smallest aperture supported by the first lens to capture an image.

3. The method according to claim 1, characterized in that, The control of the first lens to use an aperture smaller than the aperture threshold to capture images includes: Based on the correspondence between focusing distance and aperture, determine the aperture that matches the current focusing distance; The corresponding relationship includes an aperture smaller than the aperture threshold and at least two different focusing distances, wherein the at least two different focusing distances include a third focusing distance and a fourth focusing distance, the third focusing distance being smaller than the fourth focusing distance.

4. The method according to claim 1, characterized in that, The method further includes: In response to the current focusing distance being less than the first focusing distance, a second lens is used for shooting, and the second lens has a wider field of view than the first lens; In response to the focusing distance being greater than or equal to the second focusing distance, the aperture size of the first lens is determined based on the lighting conditions obtained by the first lens, and the first lens is controlled to use the aperture size for image capture.

5. The method according to claim 1, characterized in that, The preset mode is a document recognition mode.

6. An image capturing device, characterized in that, include: The calling unit is used to call the first lens in response to the camera application of the electronic device being in a preset mode and the current focus distance being greater than or equal to the first focus distance and less than the second focus distance, wherein the first lens supports shooting with different apertures; The processing unit is used to control the first lens to use an aperture smaller than the aperture threshold to capture images.

7. The apparatus according to claim 6, characterized in that, The processing unit controls the first lens to use an aperture smaller than the aperture threshold to capture images in the following manner: Control the first lens to use the smallest aperture supported by the first lens to capture an image.

8. The apparatus according to claim 6, characterized in that, The processing unit controls the first lens to use an aperture smaller than the aperture threshold to capture images in the following manner: Based on the correspondence between focusing distance and aperture, determine the aperture that matches the current focusing distance; The corresponding relationship includes an aperture smaller than the aperture threshold and at least two different focusing distances, wherein the at least two different focusing distances include a third focusing distance and a fourth focusing distance, the third focusing distance being smaller than the fourth focusing distance.

9. The apparatus according to claim 6, characterized in that, The calling unit is also used for: In response to the current focusing distance being less than the first focusing distance, a second lens is used for shooting, and the second lens has a wider field of view than the first lens; The processing unit is also used for: In response to the focusing distance being greater than or equal to the second focusing distance, the aperture size of the first lens is determined based on the lighting conditions obtained by the first lens, and the first lens is controlled to use the aperture size for image capture.

10. The apparatus according to claim 6, characterized in that, The preset mode is a document recognition mode.

11. An electronic device, characterized in that, include: processor; Memory used to store processor-executable instructions; The processor is configured to perform the method described in any one of claims 1 to 5.

12. A storage medium, characterized in that, The storage medium stores instructions that, when executed by the terminal's processor, enable the terminal to perform the method described in any one of claims 1 to 5.