Aperture value adjustment method and device, electronic equipment and storage medium
By establishing a correspondence between the lens aperture value and the screen's light-transmitting radius, and adjusting the screen's light-transmitting radius using the pixel's light-transmitting state, the problem of poor photo quality caused by the fixed aperture of full-screen mobile phone lenses is solved, enabling flexible adjustment for various shooting needs.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-17
- Publication Date
- 2026-03-27
AI Technical Summary
The fixed aperture of the camera lens on full-screen phones results in poor photo quality under different lighting conditions, affecting the user experience, and existing technologies have limited effectiveness in improving this.
By determining the distance from the lens optical center to the screen, the distance from the lens optical center to the lens element, and the lens focal length, a correspondence between the aperture value and the screen's light transmission radius is established. The screen's light transmission radius is adjusted to adjust the aperture value, and the amount of light entering the camera is flexibly adjusted using the pixel's light transmission status.
With a fixed aperture, the amount of light entering the camera can be flexibly adjusted to meet the needs of various shooting scenarios and improve the shooting effect.
Smart Images

Figure CN116560161B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of device control, and in particular to an aperture value adjustment method and device, an electronic device, and a storage medium. BACKGROUND
[0002] With the gradual improvement of hardware technology of mobile devices such as mobile phones and tablet computers, users can realize the photographing function through mobile devices. Compared with professional photographing devices, the photographing effect of mobile devices needs to be optimized due to the restriction of hardware.
[0003] For example, for a full-screen mobile phone with a lens at the lower part of the screen, light first passes through the screen and then enters the lens. The lens is connected with a module firmware, and the module firmware processes the light received by the lens to realize imaging. The aperture of the lens of the full-screen mobile phone is fixed, and the light intake of the lens cannot be arbitrarily adjusted according to the shooting scene. For example, in a dark environment, the limited light intake of the lens will cause problems such as insufficient brightness of the photographed image and blurring of the image, affecting the user experience.
[0004] Therefore, in related technologies, the effect of the photographed image is improved by increasing the area of the lens sensor photosensitive device or by post-processing the photographed image. However, the improvement effect of the above scheme is limited. SUMMARY
[0005] The present application provides an aperture value adjustment method and device, an electronic device, and a storage medium, which are used to flexibly adjust the light intake and meet the photographing requirements of multiple scenes.
[0006] In a first aspect, the present application provides an aperture value adjustment method, comprising: determining a first distance from a lens optical center to a screen, a second distance from the lens optical center to a lens lens, and a lens focal length; determining a first correspondence relationship between an aperture value and a screen light radius based on a preset correspondence relationship, the first distance, and the second distance, wherein the preset correspondence relationship is a correspondence relationship between the aperture value, the lens focal length, and a lens light diameter; and adjusting the screen light radius based on the first correspondence relationship to adjust the aperture value to a target aperture value.
[0007] In a possible implementation, determining the first correspondence relationship between the aperture value and the screen light radius based on the preset correspondence relationship, the first distance, and the second distance comprises: determining a second correspondence relationship between a lens view angle and the first distance and the screen light radius; determining a third correspondence relationship between the lens view angle and the second distance and the lens light diameter; and establishing the first correspondence relationship based on the preset correspondence relationship, the second correspondence relationship, and the third correspondence relationship.
[0008] In a possible implementation, determining the second correspondence relationship between the lens view angle and the first distance and the screen half light radius comprises: establishing the second correspondence relationship between the lens view angle and the first distance and the screen half light radius based on the Pythagorean theorem and the first distance; and determining the third correspondence relationship between the lens view angle and the second distance and the lens diameter of light comprises: establishing the third correspondence relationship between the lens view angle and the second distance and the lens diameter of light based on the Pythagorean theorem and the second distance.
[0009] In a possible implementation, the first correspondence relationship is established based on the preset correspondence relationship, the second correspondence relationship and the third correspondence relationship, which comprises: obtaining a fourth correspondence relationship between the lens diameter of light and the screen half light radius, the first distance and the second distance according to the third correspondence relationship and the second correspondence relationship; and obtaining the first correspondence relationship according to the fourth correspondence relationship and the preset correspondence relationship.
[0010] In a possible implementation, the screen half light radius is adjusted to adjust the aperture value to a target aperture value based on the first correspondence relationship, which comprises: determining a screen half light radius threshold; obtaining a target screen half light radius according to the target aperture value and the first correspondence relationship; and adjusting the screen half light radius by adjusting the light transmission state of pixels to adjust the aperture value to the target aperture value if the target screen half light radius is less than or equal to the screen half light radius threshold.
[0011] In a possible implementation, the screen half light radius threshold is determined, which comprises: obtaining a lens view angle; and calculating the screen half light radius threshold based on the Pythagorean theorem, the first distance and the lens view angle.
[0012] In a possible implementation, the screen half light radius is adjusted by adjusting the light transmission state of pixels, which comprises: adjusting the pixels within the target screen half light radius to a light transmission state, and adjusting the pixels within the screen half light radius threshold but outside the target screen half light radius to a non-light transmission state, to adjust the screen half light radius.
[0013] In a second aspect, the present application provides an aperture value adjusting apparatus, comprising: an obtaining module configured to determine a first distance from a lens optical center to a screen, a second distance from the lens optical center to a lens lens, and a lens focal length; a determining module configured to determine a first correspondence between an aperture value and a screen light radius based on a preset correspondence, the first distance, and the second distance, wherein the preset correspondence is a correspondence among the aperture value, the lens focal length, and a lens light diameter; and an adjusting module configured to adjust the screen light radius based on the first correspondence to adjust the aperture value to a target aperture value.
[0014] In a possible implementation, the determining module is specifically configured to determine a second correspondence between a lens view angle and the first distance and the screen light radius; the determining module is specifically further configured to determine a third correspondence between the lens view angle and the second distance and the lens light diameter; and the determining module is specifically further configured to establish the first correspondence based on the preset correspondence, the second correspondence, and the third correspondence.
[0015] In a possible implementation, the determining module is specifically configured to establish the second correspondence between the lens view angle and the first distance and the screen light radius based on a triangle Pythagorean theorem and the first distance; and the determining module is specifically further configured to establish the third correspondence between the lens view angle and the second distance and the lens light diameter based on a triangle Pythagorean theorem and the second distance.
[0016] In a possible implementation, the determining module is specifically configured to obtain a fourth correspondence between the lens light diameter and the screen light radius, the first distance, and the second distance according to the third correspondence and the second correspondence; and the determining module is specifically further configured to obtain the first correspondence according to the fourth correspondence and the preset correspondence.
[0017] In a possible implementation, the apparatus further comprises an executing module configured to determine a screen light radius threshold; the executing module is further configured to obtain the target aperture value, to obtain a target screen light radius according to the target aperture value and the first correspondence; and the executing module is further configured to adjust the screen light radius by adjusting a light state of a pixel to adjust the aperture value to the target aperture value if the target screen light radius is less than or equal to the screen light radius threshold.
[0018] In a possible implementation, the executing module is specifically configured to obtain a lens view angle; and the executing module is specifically further configured to calculate the screen light radius threshold based on a triangle Pythagorean theorem, the first distance, and the lens view angle.
[0019] In a possible implementation, the execution module is specifically configured to adjust the pixels within the target screen light passing radius to a light passing state, and adjust the pixels within the screen light passing radius threshold outside the target screen light passing radius to a non-light passing state, so as to adjust the screen light passing radius.
[0020] In a third aspect, the present application provides an electronic device, comprising: a processor, and a memory connected with the processor in communication; the memory stores computer execution instructions; the processor executes the computer execution instructions stored in the memory to implement the method in any one of the first aspect.
[0021] In a fourth aspect, the present application provides a computer readable storage medium, wherein the computer readable storage medium stores computer execution instructions, and the computer execution instructions are executed by a processor to implement the method in any one of the first aspect.
[0022] The present application provides an aperture value adjustment method and device, electronic equipment and storage medium, comprising: determining a first distance from a lens optical center to a screen, a second distance from the lens optical center to a lens lens, and a lens focal length; determining a first correspondence between the aperture value and the screen light passing radius based on a preset correspondence, the first distance and the second distance, wherein the preset correspondence is a correspondence between the aperture value, the lens focal length and the lens light passing diameter; adjusting the screen light passing radius based on the first correspondence to adjust the aperture value to a target aperture value. The above scheme can adjust the actual aperture value under the condition of fixed aperture by adjusting the screen light passing radius, thereby flexibly adjusting the light amount and meeting the multi-scene shooting demand. BRIEF DESCRIPTION OF DRAWINGS
[0023] The accompanying drawings, which are incorporated into and form part of the specification, illustrate embodiments consistent with the present application and, together with the specification, serve to explain the principles of the application.
[0024] Figure 1 An application scenario diagram of an aperture value adjustment method provided by an embodiment of the present application;
[0025] Figure 2 A flowchart of an aperture value adjustment method provided by an embodiment of the present application;
[0026] Figure 3 A lens and screen structure diagram provided by an embodiment of the present application;
[0027] Figure 4 A flowchart of an aperture value adjustment method provided by an embodiment of the present application;
[0028] Figure 5 A lens view angle schematic diagram provided by an embodiment of the present application;
[0029] Figure 6 A pixel adjustment schematic diagram provided by an embodiment of the present application;
[0030] Figure 7 A structure schematic diagram of an aperture value adjustment device provided by an embodiment of the present application;
[0031] Figure 8 A structure schematic diagram of an aperture value adjustment device provided by an embodiment of the present application;
[0032] Figure 9 A structure schematic diagram of an electronic device provided by an embodiment of the present application.
[0033] The specific embodiments of the present application have been shown through the above-described drawings, and will be described in more detail hereinafter. These drawings and the written description are not intended to restrict the scope of the present application concept in any way, but to illustrate the present application concept to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0034] The exemplary embodiments will be described in detail herein with reference to the attached drawings. In the following description, the same numbers are used to indicate the same or similar components. The embodiments described in the following exemplary embodiments are not meant to represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present application as detailed in the appended claims.
[0035] Figure 1 An application scenario schematic diagram of an aperture value adjustment method provided by an embodiment of the present application, combined with the illustrated scenario, for example: for a full-screen mobile phone, in order to improve the screen ratio, the lens is arranged at the lower part of the screen, and when taking a photo, light enters the lens through the screen. The lens is fixed at the lower part of the screen, the aperture of the lens is fixed, and the aperture determines the amount of light entering the lens.
[0036] It should be noted that the present application does not limit the mobile device to a mobile phone, but can also be other full-screen mobile devices.
[0037] The technical solutions of the present application and the technical solutions of the present application will be described in detail below. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. In the description of the present application, unless otherwise explicitly specified and limited, each term should be understood in a broad sense in the art. The embodiments of the present application will be described below with reference to the drawings.
[0038] Figure 2 This is a flowchart illustrating an aperture value adjustment method provided in an embodiment of this application. The method includes the following steps:
[0039] S201, Determine the first distance from the lens optical center to the screen, the second distance from the lens optical center to the lens element, and the lens focal length.
[0040] As an example, the implementing entity of this embodiment can be an aperture value adjustment device, which can be implemented in various ways. For example, it can be program software, or a medium storing relevant computer programs, such as a USB flash drive; or, the device can also be a physical device that integrates or installs relevant computer programs, such as a chip, a smart terminal, a computer, a server, etc.
[0041] It should be noted that the solution in this application is for full-screen mobile devices, that is, mobile devices with the camera at the bottom of the screen (hereinafter referred to as mobile devices).
[0042] Since the mobile device's camera is located at the bottom of the screen, the camera's position cannot be changed, the camera's aperture cannot be switched, and the mobile device's first distance, second distance, and camera focal length are fixed parameters that were determined at the time the mobile device was manufactured.
[0043] Optionally, the first distance, the second distance, and the lens focal length can be obtained from the hardware information of the mobile device.
[0044] Below, in conjunction with Figure 3 Explain the structure of the lens and screen.
[0045] Figure 3 This is a schematic diagram of the lens and screen structure provided in an embodiment of this application. Figure 3 As shown, the lens is located at the bottom of the screen, with its optical center inside the lens. The first distance from the optical center to the center of the screen is L1, and the second distance from the optical center to the center of the lens element is L2. θ is half of the lens's maximum angle of view, which is the maximum range of light that the lens can cover. Point F is the intersection of the edge of the light ray and the tangent to the screen when the lens is at its maximum angle of view, and the distance from the center of the screen to point F is r1. r2 is the distance from the intersection of the line connecting the optical center of the lens and point F with the lens element to the center of the lens element, which is half of the lens's light-transmitting diameter.
[0046] S202. Based on the preset correspondence, the first distance, and the second distance, determine the first correspondence between the aperture value and the screen light-transmitting radius, wherein the preset correspondence is the correspondence between the aperture value, the lens focal length, and the lens light-transmitting diameter.
[0047] Optionally, the preset corresponding relationship is a calculation formula of the aperture value, i.e., aperture value = lens focal length / lens light diameter. The smaller the aperture value is, the larger the lens light diameter is, and the larger the lens light quantity is.
[0048] It can be understood that the aperture of the mobile device is fixed and cannot be adjusted. Through the first corresponding relationship, the aperture value can be converted into the screen light radius, so as to indirectly adjust the aperture value through the screen light radius, thereby meeting the photographing needs of the user in different scenes.
[0049] S203, adjusting the screen light radius based on the first corresponding relationship, so as to adjust the aperture value to a target aperture value.
[0050] It can be understood that for the mobile device, the screen light radius can be realized by controlling the pixels of the screen. The lens corresponding to the pixel light can pass light, and the lens corresponding to the pixel without light can not pass light. The control of the pixels of the screen can adjust the screen light radius range, thereby meeting the photographing needs of the user in multiple scenes.
[0051] The aperture value adjustment method provided by the embodiment of the present application determines a first distance from a lens optical center to a screen, a second distance from the lens optical center to a lens lens, and a lens focal length; determines a first corresponding relationship between the aperture value and a screen light radius based on a preset corresponding relationship, the first distance, and the second distance, wherein the preset corresponding relationship is a corresponding relationship among the aperture value, the lens focal length, and the lens light diameter; and adjusts the screen light radius based on the first corresponding relationship, so as to adjust the aperture value to a target aperture value. Through the above scheme, the actual aperture value can be adjusted in the case of fixed aperture, thereby flexibly adjusting the light quantity and meeting the photographing needs in multiple scenes.
[0052] On the basis of any one of the above embodiments, the following will be described in combination with Figure 4 The detailed process of adjusting the aperture value is described.
[0053] Figure 4 A flowchart of an aperture value adjustment method provided by the embodiment of the present application is shown in FIG. 1. As shown in FIG. 1, the method comprises the following steps. Figure 4
[0054] S401, determining a first distance from a lens optical center to a screen, a second distance from the lens optical center to a lens lens, and a lens focal length.
[0055] It should be noted that the execution process of S401 is described in S201, which will not be described here.
[0056] S402, establishing a second corresponding relationship among a lens view angle, the first distance, and a screen light radius based on the Pythagorean theorem and the first distance.
[0057] Specifically, referring to Figure 3 , according to the Pythagorean theorem of triangle, L1 is the first distance from the lens optical center to the screen, tanθ=r1 / L1 can be obtained, wherein θ is 1 / 2 of the lens view angle, and a second correspondence relationship between the lens view angle and the first distance and the screen half light radius is obtained.
[0058] Wherein, tanθ and r1 are variables, L1 is a fixed value, the values of tanθ and r1 after the change comply with the second correspondence relationship, and tanθ changes with the change of r1.
[0059] S403, based on the Pythagorean theorem of triangle and the second distance, a third correspondence relationship between the lens view angle and the second distance and the lens half light diameter is established.
[0060] Specifically, referring to Figure 3 , according to the Pythagorean theorem of triangle, L2 is the second distance from the lens optical center to the lens lens, tanθ=r2 / L2 can be obtained, wherein θ is 1 / 2 of the lens view angle, and r2 is 1 / 2 of the lens half light diameter, and a third correspondence relationship between the lens view angle and the second distance and the lens half light diameter is obtained.
[0061] Wherein, tanθ and r2 are variables, L2 is a fixed value, the values of tanθ and r2 after the change comply with the third correspondence relationship, tanθ changes with the change of r2, and r2 changes with the change of r1.
[0062] Optionally, S402 and S403 can be executed simultaneously.
[0063] S404, according to the third correspondence relationship and the second correspondence relationship, a fourth correspondence relationship between the lens half light diameter and the screen half light radius, the first distance and the second distance is obtained.
[0064] Optionally, the second correspondence relationship tanθ=r1 / L1 is substituted into the third correspondence relationship tanθ=r2 / L2, and the fourth correspondence relationship r2=r1*L2 / L1 is obtained, wherein r2 is 1 / 2 of the lens half light diameter, and the fourth correspondence relationship between the lens half light diameter and the screen half light radius, the first distance and the second distance is obtained.
[0065] S405, based on the preset correspondence relationship, the second correspondence relationship and the third correspondence relationship, the first correspondence relationship is established.
[0066] Optionally, the lens half light diameter=2*r2, r2=r1*L2 / L1 is substituted into the calculation formula of the aperture value, and the first correspondence relationship aperture value=f*L1 / 2r1L2 is obtained. Wherein, the lens focal length f, the first distance L1 and the second distance L2 are fixed values, and according to the first correspondence relationship, the aperture value can be calculated by the screen half light radius.
[0067] S406, acquire a target aperture value, and acquire a target screen light passing radius according to the target aperture value and the first correspondence.
[0068] Optionally, the target aperture value is determined by the mobile device according to a photographing scene. For example, if the user uses the mobile device to take a photograph in a dim environment, the light quantity needs to be increased to improve the photographing effect, and in this case, a lower target aperture value needs to be set.
[0069] Optionally, the target aperture value is determined according to a user setting. For example, if the user wants to increase the exposure of a photographed photo, the user selects a corresponding option in the mobile device, and the mobile device sets a lower aperture value corresponding to the selected option.
[0070] S407, acquire a lens view angle.
[0071] The lens view angle is the maximum range that can be covered by the lens, which is determined when the mobile device is manufactured.
[0072] The lens view angle is described below. Figure 5
[0073] The lens view angle is described below. Figure 5 The lens view angle is described below.
[0074] Optionally, according to the Pythagorean theorem, L1 is the first distance from the lens optical center to the screen, and r1=L1*tanθ, where θ is 1 / 2 of the lens view angle, and L1 and θ are fixed values, so the value of r1 can be calculated.
[0075] Figure 3 For example, in the range of the radius r1, the light can be captured by the camera.
[0076] For example, in the range of the radius r1, the light can be captured by the camera.
[0077] S409, determine whether the target screen light passing radius is less than or equal to the screen light passing radius threshold.
[0078] If yes, perform S410.
[0079] S410, adjust the pixels in the target screen light passing radius to a light passing state, and adjust the pixels outside the target screen light passing radius and within the screen light passing radius threshold to a non-light passing state.
[0080] The following describes the pixel adjustment in combination with a scene example. Figure 6 The pixel adjustment is described.
[0081] Figure 6 A pixel adjustment schematic diagram is provided for the embodiments of the present application. Wherein, R1 is a screen light passing radius threshold value, the light in the range of the circle corresponding to R1 can be captured by the lens. R2 is a target screen light passing radius, the range of the circle corresponding to R2 is calculated according to the target aperture value.
[0082] In combination with a scene example, when R2 is determined, and R2 is less than or equal to R1, the pixels in the range of R2 are adjusted to the light passing state, at this time, the light in the range of R2 can be captured by the lens, the pixels located outside the range of R2 and located in the range of R1 are adjusted to the non-light passing state, since the pixels are not light passing, the light in the corresponding range cannot be captured by the lens, thereby realizing the light amount adjustment.
[0083] Figure 7 A structure schematic diagram of an aperture value adjustment device is provided for the embodiments of the present application. As shown in the figure, the aperture value adjustment device 70 can include an acquisition module 71, a determination module 72 and an adjustment module 73, wherein, Figure 7
[0084] The acquisition module 71 is configured to determine a first distance from a lens optical center to a screen, a second distance from the lens optical center to a lens lens, and a lens focal length.
[0085] The determination module 72 is configured to determine a first corresponding relationship between an aperture value and a screen light passing radius based on a preset corresponding relationship, the first distance and the second distance, wherein the preset corresponding relationship is a corresponding relationship between the aperture value, the lens focal length and the lens light passing diameter.
[0086] The adjustment module 73 is configured to adjust the screen light passing radius based on the first corresponding relationship, so as to adjust the aperture value to a target aperture value.
[0087] Optionally, the acquisition module 71 can perform S201 in the embodiments. Figure 2
[0088] Optionally, the determination module 72 can perform S202 in the embodiments. Figure 2
[0089] Optionally, the adjustment module 73 can perform S203 in the embodiments. Figure 2
[0090] It should be noted that the aperture value adjustment device shown in the embodiments of the present application can perform the technical solutions shown in the above method embodiments, and the implementation principles and beneficial effects are similar, which will not be described here.
[0091] In one possible implementation, the determining module 72 is specifically used for:
[0092] Determine a second correspondence between the lens angle of view, the first distance, and the screen light-transmitting radius;
[0093] Determine a third correspondence between the lens angle of view, the second distance, and the lens light-transmitting diameter;
[0094] Based on the preset correspondence, the second correspondence, and the third correspondence, the first correspondence is established.
[0095] In one possible implementation, the determining module 72 is specifically used for:
[0096] Based on the Pythagorean theorem and the first distance, a second correspondence is established between the lens angle, the first distance, and the screen light transmission radius;
[0097] Based on the Pythagorean theorem and the second distance, a third correspondence is established between the lens angle of view, the second distance, and the lens light-transmitting diameter.
[0098] In one possible implementation, the determining module 72 is specifically used for:
[0099] Based on the third and second correspondences, a fourth correspondence is obtained between the lens light-transmitting diameter and the screen light-transmitting radius, the first distance, and the second distance;
[0100] The first correspondence is obtained based on the fourth correspondence and the preset correspondence.
[0101] Figure 8 This is a schematic diagram of an aperture value adjustment device provided in an embodiment of this application. Figure 7 Based on the illustrated embodiments, as Figure 8 As shown, the aperture value adjustment device 70 also includes an execution module 74.
[0102] The execution module 74 is used for:
[0103] Determine the threshold value for the screen's light transmission radius;
[0104] Obtain the target aperture value, and based on the target aperture value and the first correspondence, obtain the target screen light transmission radius;
[0105] If the target screen light transmission radius is less than or equal to the screen light transmission radius threshold, the screen light transmission radius is adjusted by adjusting the light transmission state of the pixels, so as to adjust the aperture value to the target aperture value.
[0106] In a possible implementation, the execution module 74 is specifically configured to:
[0107] obtain a lens view angle;
[0108] calculate the screen half-angle threshold based on the Pythagorean theorem, the first distance, and the lens view angle.
[0109] In a possible implementation, the execution module 74 is specifically configured to:
[0110] adjust the pixels within the target screen half-angle to a light-transmitting state, and adjust the pixels within the screen half-angle threshold but outside the target screen half-angle to a non-light-transmitting state, to adjust the screen half-angle.
[0111] Figure 9 A structural schematic diagram of an electronic device provided in an embodiment of the present application is shown in FIG. 1. The electronic device includes: Figure 9
[0112] The electronic device further includes a memory 292, and can further include a communication interface 293 and a bus 294. The processor 291, the memory 292, and the communication interface 293 can communicate with each other through the bus 294. The communication interface 293 can be used for information transmission. The processor 291 can invoke the logical instructions in the memory 292 to execute the method of the above-described embodiments.
[0113] In addition, the logical instructions in the memory 292 described above can be implemented in the form of a software functional unit and sold or used as an independent product, which can be stored in a computer-readable storage medium.
[0114] The memory 292, as a computer-readable storage medium, can be used to store software programs, computer-executable programs, such as program instructions / modules corresponding to the method in the embodiments of the present application. The processor 291 executes the functions and data processing by running the software programs, instructions, and modules stored in the memory 292, that is, implements the method in the above-described method embodiments.
[0115] The memory 292 can include a program storage area and a data storage area. The program storage area can store an operating system and at least one application required by a function; the data storage area can store data created during use of the terminal device, and the like. In addition, the memory 292 can include a high-speed random access memory, and can further include a nonvolatile memory.
[0116] The embodiment of the present application provides a kind of non-transitory computer readable storage medium, the computer readable storage medium has computer execution instruction, the computer execution instruction is executed when being handled for realizing the method as described in preceding embodiment by processor.
[0117] Other embodiments of the application will be apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. It is intended that the application cover any and all variations of the application that come within the scope of the general concept of the application and that the claims be interpreted not to be limited to the specific examples described herein. The specification and examples are to be considered exemplary only, with the true scope and spirit of the application indicated by the following claims.
[0118] It should be noted that the user information (including but not limited to user equipment information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in the present application are all information and data authorized by the user or authorized by all parties, and the collection, use and processing of related data need to comply with relevant laws, regulations and standards of relevant countries and regions, and provide corresponding operation portal for user to choose authorization or refusal.
[0119] It should be understood that the application is not limited to the precise construction that has been described and shown in the accompanying drawings, and that various modifications and changes can be made without departing from the scope thereof. The scope of the application is limited only by the claims that follow.
Claims
1. An aperture value adjustment method characterized by, The method comprises the following steps: determining a first distance from a lens optical center to a screen, a second distance from the lens optical center to a lens lens, and a lens focal length, the lens being fixedly connected to a lower portion of the screen; determining a first correspondence relationship between an aperture value and a screen half-screen radius based on a preset correspondence relationship, the first distance, and the second distance, wherein the preset correspondence relationship is a correspondence relationship among the aperture value, the lens focal length, and a lens half-screen diameter; wherein determining the first correspondence relationship comprises: determining a second correspondence relationship between a lens view angle and the first distance and the screen half-screen radius; determining a third correspondence relationship between the lens view angle and the second distance and the lens half-screen diameter; and establishing the first correspondence relationship based on the preset correspondence relationship, the second correspondence relationship, and the third correspondence relationship; wherein establishing the first correspondence relationship comprises: obtaining a fourth correspondence relationship between the lens half-screen diameter and the screen half-screen radius, the first distance, and the second distance according to the third correspondence relationship and the second correspondence relationship; and obtaining the first correspondence relationship according to the fourth correspondence relationship and the preset correspondence relationship; adjusting the screen half-screen radius based on the first correspondence relationship to adjust the aperture value to a target aperture value.
2. The method of claim 1, wherein, Determining a second correspondence relationship between a lens view angle and the first distance and the screen half-screen radius comprises: establishing the second correspondence relationship between the lens view angle and the first distance and the screen half-screen radius based on the Pythagorean theorem of a triangle and the first distance; Determining a third correspondence relationship between the lens view angle and the second distance and the lens half-screen diameter comprises: establishing the third correspondence relationship between the lens view angle and the second distance and the lens half-screen diameter based on the Pythagorean theorem of a triangle and the second distance.
3. The method according to claim 1 or 2, characterized in that, Adjusting the screen half-screen radius based on the first correspondence relationship to adjust the aperture value to a target aperture value comprises: determining a screen half-screen radius threshold; obtaining the target aperture value, and obtaining a target screen half-screen radius according to the target aperture value and the first correspondence relationship; if the target screen half-screen radius is less than or equal to the screen half-screen radius threshold, adjusting the screen half-screen radius by adjusting the light transmission state of the pixels to adjust the aperture value to the target aperture value.
4. The method of claim 3, wherein, Determining a screen half-screen radius threshold comprises: obtaining a lens view angle; calculating the screen half-screen radius threshold based on the Pythagorean theorem of a triangle, the first distance, and the lens view angle.
5. The method of claim 4, wherein, Adjusting the screen half-screen radius by adjusting the light transmission state of the pixels comprises: adjusting the pixels within the target screen half-screen radius to a light transmission state, and adjusting the pixels within the screen half-screen radius threshold outside the target screen half-screen radius to a non-light transmission state, to adjust the screen half-screen radius.
6. An aperture value adjusting apparatus characterized by comprising: The method comprises the following steps: an obtaining module is configured to determine a first distance from a lens optical center to a screen, a second distance from the lens optical center to a lens lens, and a lens focal length, the lens being fixedly connected to a lower portion of the screen; determine a first correspondence relationship between an aperture value and a screen half-screen radius based on a preset correspondence relationship, the first distance, and the second distance, wherein the preset correspondence relationship is a correspondence relationship among the aperture value, a lens focal length, and a lens half-screen diameter; the determining module is specifically configured to determine a second correspondence relationship between a lens view angle and the first distance and the screen half-screen radius, and the determining module is specifically further configured to determine a third correspondence relationship between the lens view angle and the second distance and the lens half-screen diameter, and the determining module is specifically further configured to establish the first correspondence relationship based on the preset correspondence relationship, the second correspondence relationship, and the third correspondence relationship; the determining module is specifically configured to obtain a fourth correspondence relationship among the lens half-screen diameter, the screen half-screen radius, the first distance, and the second distance according to the third correspondence relationship and the second correspondence relationship, and the determining module is specifically further configured to obtain the first correspondence relationship according to the fourth correspondence relationship and the preset correspondence relationship; the adjusting module is configured to adjust the screen half-screen radius based on the first correspondence relationship, so as to adjust the aperture value to a target aperture value.
7. The apparatus of claim 6, wherein the determining module is specifically configured to establish the second correspondence relationship between the lens view angle, the first distance, and the screen half-screen radius based on a triangle Pythagorean theorem and the first distance, and the determining module is specifically further configured to establish the third correspondence relationship between the lens view angle, the second distance, and the lens half-screen diameter based on a triangle Pythagorean theorem and the second distance. The apparatus further comprises:
8. The apparatus of claim 6 or 7, wherein, an executing module configured to determine a screen half-screen radius threshold value; the executing module is further configured to obtain the target aperture value, and obtain a target screen half-screen radius according to the target aperture value and the first correspondence relationship; the executing module is further configured to, if the target screen half-screen radius is less than or equal to the screen half-screen radius threshold value, adjust the screen half-screen radius by adjusting a light transmission state of a pixel, so as to adjust the aperture value to a target aperture value.
9. The apparatus of claim 8, wherein the executing module is specifically configured to obtain a lens view angle, and the executing module is specifically further configured to calculate the screen half-screen radius threshold value based on a triangle Pythagorean theorem, the first distance, and the lens view angle.
10. The apparatus of claim 9, wherein the executing module is specifically configured to adjust a pixel in the target screen half-screen radius to a light transmission state, and adjust a pixel in the target screen half-screen radius and in the screen half-screen radius threshold value to a non-light transmission state, so as to adjust the screen half-screen radius. comprise: a processor, and a memory connected with the processor in communication; 11. An electronic device, comprising: the memory stores computer execution instructions; the processor executes the computer execution instructions stored in the memory, so as to implement the method in any one of claims 1-5. 12. A computer-readable storage medium, characterized in that, The computer readable storage medium stores computer-executable instructions, which, when executed by a processor, implement the method according to any one of claims 1-5.
Citation Information
Patent Citations
Shooting method and electronic equipment
CN110602407A
Under-screen camera shooting method and device, storage medium and mobile terminal
CN112312032A