Camera aperture reset adjustment method, device, computer equipment and storage medium

By performing initialization processing and judging brightness statistics in the camera stepping aperture, the problem of collision mechanical position during aperture reset is solved, and the service life of the aperture is extended.

CN115567776BActive Publication Date: 2025-04-08SHENZHEN TVT DIGITAL TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202211160486.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-22
Publication Date
2025-04-08
Estimated Expiration
2042-09-22

AI Technical Summary

Technical Problem

The stepping aperture of the existing cameras is prone to collision with the mechanical position when resetting, resulting in a shortened gearbox life and damage to the aperture.

Method used

Through the power-on initialization process, save parameters and drive the aperture to move in the closing direction, determine whether the aperture position reaches the maximum mechanical stroke, obtain AE brightness statistics to determine whether the aperture is closed, and if it is closed, it is set to the reset origin.

Benefits of technology

It avoids the problem of the aperture impacting the mechanical position when resetting, and extends the service life of the aperture.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115567776B_ABST
    Figure CN115567776B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention discloses a camera aperture reset adjustment method, device, computer equipment and storage medium, wherein the method includes: power-on initialization processing; saving power-on initialization parameters; driving the aperture to move in the aperture closing direction by a unit distance each time; judging whether the current aperture position reaches the position of the set aperture maximum mechanical stroke; if the current aperture position does not reach the position of the set aperture maximum mechanical stroke, obtaining the brightness statistical information of the current AE; judging whether the aperture is already in a closed state through the brightness statistical information of the current AE; if the aperture is already in a closed state, setting the current aperture position as the aperture reset origin. The present invention avoids the problem of the aperture hitting the mechanical position, thereby greatly improving the service life of the aperture.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of cameras, and more specifically to a camera aperture reset adjustment method, device, computer equipment and storage medium. Background Art

[0002] For scenes that require high precision in camera exposure control, more and more cameras use stepper apertures. On the one hand, due to structural and cost reasons, the stepper apertures currently on the market basically do not have position sensors. On the other hand, since the automatic exposure algorithm needs to adjust the aperture frequently, it is not possible to record the aperture position in real time to the flash. Therefore, the aperture position cannot be obtained after power failure. After power-on, the origin position must be found by bumping against the mechanical position each time. Too many bumps in the way of bumping against the mechanical position to find the origin will affect the life of the stepper aperture gearbox and accelerate the damage of the stepper aperture. Summary of the invention

[0003] The purpose of the present invention is to overcome the shortcomings of the prior art and provide a camera aperture reset adjustment method, device, computer equipment and storage medium, aiming to avoid the aperture from easily hitting the mechanical position when resetting, so as to increase the service life of the aperture.

[0004] To achieve the above object, the present invention adopts the following technical solutions:

[0005] In a first aspect, a camera aperture reset adjustment method comprises:

[0006] Power-on initialization processing;

[0007] Save the parameters of power-on initialization;

[0008] The aperture is driven to move in the aperture closing direction by one unit distance each time;

[0009] Determine whether the current aperture position reaches the set aperture maximum mechanical travel position;

[0010] If the current aperture position does not reach the set aperture maximum mechanical travel position, then obtain the current AE brightness statistics information;

[0011] Determine whether the aperture is closed based on the current AE brightness statistics;

[0012] If the aperture is already in a closed state, the current aperture position is set as the aperture reset origin.

[0013] A further technical solution is: after determining whether the current aperture position reaches the set aperture maximum mechanical stroke position, the method further comprises:

[0014] If the current aperture position reaches the position of the set aperture maximum mechanical stroke, the process of setting the current aperture position as the aperture reset origin is entered.

[0015] A further technical solution is as follows: in the power-on initialization process, the power-on initialization parameters include image resolution parameters, infrared filter parameters, camera lighting parameters, exposure parameters and white balance parameters.

[0016] Its further technical solution is: after saving the power-on initialization parameters, it also includes:

[0017] Change the exposure and white balance parameters from automatic mode to manual mode, adjust the exposure time and gain to the maximum, turn off the infrared filter, and turn on the lighting.

[0018] A further technical solution is: after setting the current aperture position as the aperture reset origin, the method further comprises:

[0019] Change the exposure and white balance parameters from manual mode to automatic mode, turn on the infrared filter, and turn off the lighting.

[0020] A further technical solution is: after the exposure parameter and white balance parameter adjustment mode is adjusted from manual mode to automatic mode, and the infrared filter is turned on and the lighting is turned off, the following steps are included:

[0021] Restore the previously saved power-on initialization parameters.

[0022] A further technical solution is: judging whether the aperture is in a closed state by using the current AE brightness statistical information includes:

[0023] If the current AE brightness statistics are less than or equal to the minimum brightness value of the aperture, the aperture is determined to be in a closed state; or, if the current AE brightness statistics are less than or equal to the maximum brightness value of the aperture and the number of aperture movements reaches the maximum number, the aperture is determined to be in a closed state.

[0024] In a second aspect, a camera aperture reset adjustment device includes an initialization processing unit, a storage unit, a driving unit, a first judgment unit, an acquisition unit, a second judgment unit, and a setting unit;

[0025] The initialization processing unit is used for power-on initialization processing;

[0026] The storage unit is used to store the parameters of power-on initialization;

[0027] The driving unit is used to drive the aperture to move in the aperture closing direction by a unit distance each time;

[0028] The first determination unit is used to determine whether the current aperture position reaches the set aperture maximum mechanical travel position;

[0029] The acquisition unit is used to acquire the brightness statistical information of the current AE if the current aperture position does not reach the position of the set aperture maximum mechanical stroke;

[0030] The second judgment unit is used to judge whether the aperture is in a closed state according to the brightness statistical information of the current AE;

[0031] The setting unit is used to set the current position of the aperture as the aperture reset origin if the aperture is already in a closed state.

[0032] In a third aspect, a computer device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the camera aperture reset adjustment method as described above when executing the computer program.

[0033] In a fourth aspect, a computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the processor executes the camera aperture reset adjustment method as described above.

[0034] Compared with the prior art, the beneficial effect of the present invention is that when resetting the aperture, the present invention adjusts the adjustment mode of the exposure parameter and the white balance parameter from the automatic mode to the manual mode, adjusts the exposure time and the gain to the maximum, turns off the infrared filter and turns on the lighting lamp, and then drives the aperture to move in the aperture closing direction by a unit distance each time. When the aperture is moved to a closed state, the current position of the aperture is set as the aperture reset origin. During the entire aperture reset process, the aperture will not collide with the mechanical position, thereby greatly improving the service life of the aperture.

[0035] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the following preferred embodiments are specifically cited and described in detail as follows. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying any creative work.

[0037] Figure 1 The process of the camera aperture reset adjustment method provided by the specific embodiment of the present invention Figure 1 ;

[0038] Figure 2 The process of the camera aperture reset adjustment method provided by the specific embodiment of the present invention Figure 2 ;

[0039] Figure 3 A schematic block diagram of a camera aperture reset adjustment device provided by a specific embodiment of the present invention;

[0040] Figure 4 A schematic block diagram of a computer device provided for a specific embodiment of the present invention. DETAILED DESCRIPTION

[0041] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0042] It should be understood that when used in this specification and the appended claims, the terms "include" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.

[0043] It should also be understood that the terms used in the present specification are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the present specification and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.

[0044] It should be further understood that the term "and / or" used in the present description and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0045] An embodiment of the present invention provides a camera aperture reset adjustment method. Before further describing the embodiment of the present invention in detail, the nouns and terms involved in the embodiment of the present invention are described. The nouns and terms involved in the embodiment of the present invention are applicable to the following explanations.

[0046] Stepper aperture: Use a stepper motor to control the size of the aperture blade opening to adjust the amount of light entering.

[0047] The stroke unit of the stepper aperture is expressed in steps. When the stepper motor moves one step, the motor rotates 1 / 8 of a circle, that is, the motor takes 8 steps to rotate one circle. The gear box drives the aperture blades according to a certain transmission ratio to control the aperture opening size. The general stepper aperture stroke is about 100 steps, that is, the stroke from the maximum aperture opening to the aperture closing.

[0048] The present invention is described in detail below through specific embodiments.

[0049] like Figure 1 As shown, a camera aperture reset adjustment method is applied to a camera with a stepping aperture, and the method includes the following steps S10-S70.

[0050] S10, power-on initialization processing.

[0051] During the power-on initialization process, the parameters initialized include image resolution parameters, infrared filter parameters, camera lighting parameters, exposure parameters, and white balance parameters. Among them, the exposure parameters include av, tv, and sv. av refers to a quantitative unit of aperture size, tv is a quantitative unit of exposure time, and sv is a quantitative unit of sensor gain and ISP digital gain.

[0052] S20, saving the power-on initialization parameters.

[0053] The purpose of saving is to facilitate restoring parameters after the reset process is completed.

[0054] In one embodiment, if Figure 2 As shown, after step S20, the following steps are also included:

[0055] S25, adjusting the exposure parameter and white balance parameter adjustment mode from automatic mode to manual mode, adjusting the exposure time and gain to the maximum, turning off the infrared filter and turning on the lighting.

[0056] The purpose of this is to overexposure the image coming out of the image sensor.

[0057] S30, driving the aperture to move in the aperture closing direction by a unit distance each time.

[0058] In this embodiment, driving the aperture to move is to drive the stepper motor of the stepper aperture to move. One unit of distance is the distance of one step of the stepper motor. Therefore, the distance moved by the stepper motor each time is the same, which is the distance of one step.

[0059] It should be noted that the unit length of a unit distance can be set according to actual conditions, and this application does not limit this.

[0060] S40, determining whether the current aperture position reaches the set aperture maximum mechanical travel position.

[0061] The position of the maximum mechanical stroke of the aperture is preset. In the present embodiment, each step of the stepper aperture in the direction of aperture closing can be counted by a set counter. The number of steps recorded by the counter can be used to know the current position of the aperture and the distance traveled. Knowing the current position of the aperture can be compared with the position of the maximum mechanical stroke of the aperture. If there is still a certain distance between the current position of the aperture and the position of the maximum mechanical stroke of the aperture, it means that the current position of the aperture is not yet the position of the maximum mechanical stroke of the aperture.

[0062] S50. If the current aperture position does not reach the position of the set aperture maximum mechanical stroke, obtain the brightness statistical information of the current AE; if the current aperture position reaches the position of the set aperture maximum mechanical stroke, execute step S70.

[0063] The current AE brightness statistics can be obtained through the camera's ISP processor.

[0064] S60: Determine whether the aperture is in a closed state based on the current AE brightness statistics information.

[0065] In one embodiment, step S60 specifically includes:

[0066] S601. If the current AE brightness statistics are less than or equal to the minimum brightness value of the aperture, the aperture is determined to be in a closed state; or, if the current AE brightness statistics are less than or equal to the maximum brightness value of the aperture, and the number of aperture movements reaches the maximum number, the aperture is determined to be in a closed state.

[0067] S70: If the aperture is already in a closed state, the current position of the aperture is set as the aperture reset origin.

[0068] In one embodiment, if Figure 2 As shown, after step S70, the following steps are also included:

[0069] S80, adjusting the exposure parameter and the white balance parameter from the manual mode to the automatic mode, turning on the infrared filter and turning off the lighting.

[0070] In one embodiment, if Figure 2 As shown, after step S80, the following steps are also included:

[0071] S90: Restore the previously saved power-on initialization parameters.

[0072] When resetting the aperture, the present invention adjusts the adjustment mode of the exposure parameter and the white balance parameter from the automatic mode to the manual mode, adjusts the exposure time and the gain to the maximum, turns off the infrared filter and turns on the lighting lamp, and then drives the aperture to move in the aperture closing direction by a unit distance each time. When the aperture is moved to a closed state, the current position of the aperture is set as the aperture reset origin. During the entire aperture reset process, the aperture will not collide with the mechanical position, thereby greatly improving the service life of the aperture.

[0073] Figure 3 A schematic block diagram of a camera aperture reset and adjustment device provided in an embodiment of the present invention; corresponding to the above-mentioned camera aperture reset and adjustment method, an embodiment of the present invention further provides a camera aperture reset and adjustment device 100.

[0074] like Figure 3 As shown, the camera aperture reset adjustment device 100 includes an initialization processing unit 110 , a storage unit 120 , a driving unit 130 , a first judgment unit 140 , an acquisition unit 150 , a second judgment unit 160 and a setting unit 170 .

[0075] The initialization processing unit 110 is used for power-on initialization processing.

[0076] During the power-on initialization process, the parameters initialized include image resolution parameters, infrared filter parameters, camera lighting parameters, exposure parameters, and white balance parameters. Among them, the exposure parameters include av, tv, and sv. av refers to a quantitative unit of aperture size, tv is a quantitative unit of exposure time, and sv is a quantitative unit of sensor gain and ISP digital gain.

[0077] The storage unit 120 is used to store the parameters for power-on initialization.

[0078] The purpose of saving is to facilitate restoring parameters after the reset process is completed.

[0079] In one embodiment, the camera aperture reset adjustment device 100 further includes a first adjustment unit.

[0080] The first adjustment unit is used to adjust the exposure parameter and the white balance parameter adjustment mode from the automatic mode to the manual mode, adjust the exposure time and the gain to the maximum, turn off the infrared filter and turn on the lighting lamp.

[0081] The purpose of this is to overexposure the image coming out of the image sensor.

[0082] The driving unit 130 is used to drive the aperture to move in the aperture closing direction by a unit distance each time.

[0083] In this embodiment, driving the aperture to move is to drive the stepper motor of the stepper aperture to move. One unit of distance is the distance of one step of the stepper motor. Therefore, the distance moved by the stepper motor each time is the same, which is the distance of one step.

[0084] It should be noted that the unit length of a unit distance can be set according to actual conditions, and this application does not limit this.

[0085] The first judging unit 140 is used to judge whether the current aperture position reaches the set aperture maximum mechanical travel position.

[0086] The position of the maximum mechanical stroke of the aperture is preset. In the present embodiment, each step of the stepper aperture in the direction of aperture closing can be counted by a set counter. The number of steps recorded by the counter can be used to know the current position of the aperture and the distance traveled. Knowing the current position of the aperture can be compared with the position of the maximum mechanical stroke of the aperture. If there is still a certain distance between the current position of the aperture and the position of the maximum mechanical stroke of the aperture, it means that the current position of the aperture is not yet the position of the maximum mechanical stroke of the aperture.

[0087] The acquisition unit 150 is used to acquire the brightness statistical information of the current AE if the current aperture position does not reach the position of the set aperture maximum mechanical stroke.

[0088] The current AE brightness statistics can be obtained through the camera's ISP processor.

[0089] The second judging unit 160 is used to judge whether the aperture is in a closed state according to the brightness statistical information of the current AE.

[0090] In one embodiment, the second determination unit 160 includes a determination module.

[0091] A determination module is used to determine that the aperture is in a closed state if the current AE brightness statistics are less than or equal to the minimum brightness value of the aperture; or, if the current AE brightness statistics are less than or equal to the maximum brightness value of the aperture and the number of aperture movements reaches a maximum number, determine that the aperture is in a closed state.

[0092] The setting unit 170 is used to set the current position of the aperture as the aperture reset origin if the aperture is already in a closed state.

[0093] In one embodiment, the camera aperture reset adjustment device 100 further includes a second adjustment unit.

[0094] The second adjustment unit is used to adjust the exposure parameter and the white balance parameter adjustment mode from the manual mode to the automatic mode, and to turn on the infrared filter and turn off the lighting lamp.

[0095] In one embodiment, the camera aperture reset adjustment device 100 further includes a recovery unit.

[0096] The recovery unit is used to restore the previously saved power-on initialization parameters.

[0097] The camera aperture reset adjustment device can be implemented in the form of a computer program. Figure 4 Runs on the computer device shown.

[0098] See also Figure 4 , Figure 4 5 is a schematic block diagram of a computer device provided in an embodiment of the present application. The computer device 500 may be a server, wherein the server may be an independent server or a server cluster composed of multiple servers.

[0099] like Figure 4 As shown, the computer device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the camera aperture reset adjustment method as described above are implemented.

[0100] The computer device 700 may be a terminal or a server. The computer device 700 includes a processor 720 , a memory, and a network interface 750 connected via a system bus 710 , wherein the memory may include a non-volatile storage medium 730 and an internal memory 740 .

[0101] The non-volatile storage medium 730 can store an operating system 731 and a computer program 732. When the computer program 732 is executed, the processor 720 can execute any camera aperture reset adjustment method.

[0102] The processor 720 is used to provide computing and control capabilities and support the operation of the entire computer device 700.

[0103] The internal memory 740 provides an environment for the operation of the computer program 732 in the non-volatile storage medium 730. When the computer program 732 is executed by the processor 720, the processor 720 can execute any camera aperture reset adjustment method.

[0104] The network interface 750 is used for network communication, such as sending assigned tasks, etc. Those skilled in the art will appreciate that Figure 4The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device 700 to which the solution of the present application is applied. The specific computer device 700 may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components. The processor 720 is used to run the program code stored in the memory to implement the following steps:

[0105] The camera aperture reset adjustment method comprises:

[0106] Power-on initialization processing;

[0107] Save the parameters of power-on initialization;

[0108] The aperture is driven to move in the aperture closing direction by one unit distance each time;

[0109] Determine whether the current aperture position reaches the set aperture maximum mechanical travel position;

[0110] If the current aperture position does not reach the set aperture maximum mechanical travel position, then obtain the current AE brightness statistics information;

[0111] Determine whether the aperture is closed based on the current AE brightness statistics;

[0112] If the aperture is already in a closed state, the current aperture position is set as the aperture reset origin.

[0113] In one embodiment, after determining whether the current aperture position reaches the set aperture maximum mechanical travel position, the method further includes:

[0114] If the current aperture position reaches the position of the set aperture maximum mechanical stroke, the process of setting the current aperture position as the aperture reset origin is entered.

[0115] In one embodiment: in the power-on initialization process, the power-on initialization parameters include image resolution parameters, infrared filter parameters, camera lighting parameters, exposure parameters and white balance parameters.

[0116] In one embodiment, after saving the power-on initialization parameters, the method further includes:

[0117] Change the exposure and white balance parameters from automatic mode to manual mode, adjust the exposure time and gain to the maximum, turn off the infrared filter, and turn on the lighting.

[0118] In one embodiment, after setting the current aperture position as the aperture reset origin, the method further includes:

[0119] Change the exposure and white balance parameters from manual mode to automatic mode, turn on the infrared filter, and turn off the lighting.

[0120] In one embodiment, after adjusting the exposure parameter and the white balance parameter from the manual mode to the automatic mode, and turning on the infrared filter and turning off the lighting, the method includes:

[0121] Restore the previously saved power-on initialization parameters.

[0122] In one embodiment, the step of determining whether the aperture is in a closed state based on the brightness statistics of the current AE includes:

[0123] If the current AE brightness statistics are less than or equal to the minimum brightness value of the aperture, the aperture is determined to be in a closed state; or, if the current AE brightness statistics are less than or equal to the maximum brightness value of the aperture and the number of aperture movements reaches the maximum number, the aperture is determined to be in a closed state.

[0124] It should be understood that in the embodiment of the present application, the processor 720 may be a central processing unit (CPU), and the processor 720 may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0125] Those skilled in the art will understand that Figure 4 The structure of the computer device 700 shown in the figure does not constitute a limitation on the computer device 700, and the computer device 700 may include more or less components than shown in the figure, or combine some components, or arrange the components differently.

[0126] In another embodiment of the present invention, a computer-readable storage medium is provided. The computer-readable storage medium may be a non-volatile computer-readable storage medium. The computer-readable storage medium stores a computer program, wherein when the computer program is executed by a processor, the camera aperture reset adjustment method disclosed in the embodiment of the present invention is implemented.

[0127] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, the specific working process of the above-described equipment, devices and units can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here. Those of ordinary skill in the art can appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented with electronic hardware, computer software or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to the function. Whether these functions are executed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present invention.

[0128] In the several embodiments provided by the present invention, it should be understood that the disclosed equipment, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. Units with the same function may also be combined into one unit. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interfaces, devices or units, or may be an electrical, mechanical or other form of connection.

[0129] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiments of the present invention.

[0130] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0131] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), disk or optical disk and other media that can store program codes.

[0132] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.

Claims

1. A camera aperture reset adjustment method, characterized in that: include: Power-on initialization processing; Save the parameters of power-on initialization; The aperture is driven to move in the aperture closing direction by one unit distance each time; Determine whether the current aperture position reaches the set aperture maximum mechanical travel position; If the current aperture position does not reach the set aperture maximum mechanical travel position, then obtain the current AE brightness statistics information; Determine whether the aperture is closed based on the current AE brightness statistics; If the aperture is already in a closed state, the current aperture position is set as the aperture reset origin; In the power-on initialization process, the power-on initialization parameters include image resolution parameters, infrared filter parameters, camera lighting parameters, exposure parameters and white balance parameters; After the power-on initialization parameters are saved, the method further includes: Change the exposure and white balance parameters from automatic mode to manual mode, adjust the exposure time and gain to the maximum, turn off the infrared filter, and turn on the lighting.

2. The camera aperture reset adjustment method according to claim 1, characterized in that: After determining whether the current aperture position reaches the set aperture maximum mechanical stroke position, the method further includes: If the current aperture position reaches the position of the set aperture maximum mechanical stroke, the process of setting the current aperture position as the aperture reset origin is entered.

3. The camera aperture reset adjustment method according to claim 1, characterized in that: After setting the current aperture position as the aperture reset origin, the method further includes: Change the exposure and white balance parameters from manual mode to automatic mode, turn on the infrared filter, and turn off the lighting.

4. The camera aperture reset adjustment method according to claim 3, characterized in that: After the exposure parameter and the white balance parameter are adjusted from the manual mode to the automatic mode, and the infrared filter is turned on and the lighting is turned off, the following steps are included: Restore the previously saved power-on initialization parameters.

5. The camera aperture reset adjustment method according to claim 1, characterized in that: The method of judging whether the aperture is already in a closed state by using the brightness statistics of the current AE includes judging that the aperture is in a closed state if the brightness statistics of the current AE is less than or equal to the minimum brightness value of the aperture; or judging that the aperture is in a closed state if the brightness statistics of the current AE is less than or equal to the maximum brightness value of the aperture and the number of movements of the aperture reaches a maximum number.

6. A camera aperture reset adjustment device, which, when in operation, executes the camera aperture reset adjustment method according to any one of claims 1 to 5, characterized in that: It includes an initialization processing unit, a storage unit, a driving unit, a first judgment unit, an acquisition unit, a second judgment unit and a setting unit; The initialization processing unit is used for power-on initialization processing; The storage unit is used to store the parameters of power-on initialization; The driving unit is used to drive the aperture to move in the aperture closing direction by a unit distance each time; The first determination unit is used to determine whether the current aperture position reaches the set aperture maximum mechanical travel position; The acquisition unit is used to acquire the brightness statistical information of the current AE if the current aperture position does not reach the position of the set aperture maximum mechanical stroke; The second judgment unit is used to judge whether the aperture is in a closed state according to the brightness statistical information of the current AE; The setting unit is used to set the current position of the aperture as the aperture reset origin if the aperture is already in a closed state.

7. A computer device, characterized in that: The method comprises a memory, a processor and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the method for resetting and adjusting the aperture of a camera as claimed in any one of claims 1 to 5 is implemented.

8. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and the computer program includes program instructions. When the program instructions are executed by a processor, the processor executes the camera aperture reset adjustment method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Self-adaptive image shooting method and self-adaptive image shooting device

    CN106534660A