Automatic zooming system
By designing the control test module, automatic control module and control evaluation module in the automatic zoom system, generating a comparison table and optimizing the zoom control logic, the existing system's low efficiency and long response time are solved, and efficient and low response time zoom control is achieved.
Patent Information
- Application Number
- CN202510440325.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-09
- Publication Date
- 2025-06-13
AI Technical Summary
The existing automatic zoom system is low in efficiency and has high computing power dependence, resulting in a long zoom response time.
Design an automatic zoom system, including a control test module, an automatic control module and a control evaluation module, and perform control test analysis, automatic control analysis and control status evaluation of lens zoom parameters, generate a comparison table and optimize the zoom control logic to improve control efficiency and response speed.
It realizes automatic zoom control with high efficiency and low response time, improving the timeliness and accuracy of zoom control.
Smart Images

Figure CN120151653A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of zoom control, involves data analysis technology, and specifically is an automatic zoom system. Background Art
[0002] A zoom system refers to a system that adjusts the focal length and magnification by changing the distance between internal optical elements of a lens, so as to achieve the focusing and zoom effects on objects at different distances and sizes. Such a system usually adjusts the relative positions of lens groups through mechanical structures (such as manual knobs, electric drive devices) to change the focal length and magnification.
[0003] The prior art generally performs automatic zoom control by combining external parameters with real-time detection of clarity. This method has low efficiency and high computing power dependence, and the image transmission and processing process is complicated, increasing the zoom response time.
[0004] In view of the above technical problems, this application proposes a solution. Summary of the Invention
[0005] The purpose of the present invention is to provide an automatic zoom system to solve the problems of low efficiency and high computing power dependence of the existing automatic zoom system; The technical problem to be solved by the present invention is: how to provide an automatic zoom system with high efficiency and low response.
[0006] The purpose of the present invention can be achieved by the following technical solutions: An automatic zoom system includes a control test module, an automatic control module, and a control evaluation module connected in sequence. The control test module, the automatic control module, and the control evaluation module are all communicatively connected to a storage module, and the control evaluation module is also communicatively connected to the control test module; The control test module is used to perform control test analysis on the zoom parameters of the lens: mark the lens as the test object, allocate a number of test images to the test object, obtain the distance between the test image and the test object and mark it as the test distance value, mark the matching value of the test distance value, and send the matching values of all test distance values to the storage module for storage; The storage module is used to store test data and generate a comparison table; The automatic control module is used to perform automatic control analysis on the zoom parameters of the lens: when the test object takes an image, first obtain the distance between the shooting target and the test object and mark it as the control distance value, and perform zoom control on the test object through the control distance value; The control evaluation module is used to evaluate and analyze the zoom control state of the lens.
[0007] Furthermore, the specific process of marking the matching value of the test distance value includes: retrieving the proportion of the test image in the lens and marking it as the occupancy value, obtaining the clarity of the test object's image through the modulation transfer function and marking it as the clarity value; controlling the lens focal length to increase uniformly within the focal length range until the occupancy value exceeds a certain value, marking the process of uniformly increasing the focal length as the test process, and marking the focal length at the moment when the clarity value is the largest during the test process as the matching value of the test distance value.
[0008] Furthermore, the specific process of the storage module generating the comparison table includes: forming a distance range from the maximum and minimum values of the test distance value of the test object, dividing the distance range into several distance intervals, marking the test distance values within the distance interval as distance evaluation values, calculating the variance of the matching values corresponding to all distance evaluation values within the same distance interval to obtain a normalization coefficient, and determining whether the division of the distance interval is reasonable through the normalization coefficient. When it is reasonable, marking the maximum value of the matching values corresponding to all distance evaluation values within the distance interval as the normalization pairing value of the distance interval, and generating a comparison table from the distance interval and the normalization pairing value.
[0009] Furthermore, the specific process of determining whether the division of the distance interval is reasonable includes: comparing the normalization coefficient with a preset normalization threshold: if the normalization coefficients of all distance intervals are less than the normalization threshold, it is determined that the interval division is reasonable; otherwise, it is determined that the interval division is unreasonable, and the distance interval is re-divided and the number of divisions of the distance interval increases proportionally; until the normalization coefficients of all distance intervals are less than the normalization threshold.
[0010] Furthermore, the specific process of performing zoom control on the test object includes: retrieving the normalization pairing value of the corresponding distance interval in the comparison table by controlling the distance value, performing zoom control on the test object according to the normalization pairing value, obtaining the clarity of the recorded test object's image through the modulation transfer function and marking it as the recorded value after the control is completed, generating a control cycle, and uploading the recorded value generated during the control cycle to the control evaluation module at the end of the control cycle.
[0011] Furthermore, the specific process of the control evaluation module evaluating and analyzing the zoom control state of the lens includes: retrieving the normalization pairing value of the distance interval corresponding to the control process of the recorded value, marking the difference between the normalization pairing value and the recorded value as the deviation value of the recorded value, summing and averaging the deviation values of all recorded values during the control cycle to obtain a deviation coefficient, and determining whether the zoom control state of the test object during the control cycle meets the requirements through the deviation coefficient.
[0012] Further, the specific process for determining whether the zoom control state of the test object within the control period meets the requirements includes: obtaining the deviation threshold through the storage module, and comparing the deviation coefficient with the deviation threshold. If the deviation coefficient is less than the deviation threshold, it is determined that the zoom control state of the test object within the control period meets the requirements. If the deviation coefficient is greater than or equal to the deviation threshold, it is determined that the zoom control state of the test object within the control period does not meet the requirements, a retest signal is generated and sent to the control test module.
[0013] The present invention has the following beneficial effects: 1. Through the control test module, the zoom parameters of the lens can be controlled and tested and analyzed. Test images with different external parameters are allocated to the test object, and the best focal length is marked by combining the proportion of the picture in the lens and the picture clarity, providing data support for generating the comparison table. 2. Through the storage module, test data can be stored and the comparison table can be generated. All test distance values and matching values are comprehensively processed to obtain the comparison table. The normalized pairing value in the comparison table is the general focal length of the corresponding distance interval, optimizing the zoom control logic and improving the control efficiency of zooming. 3. Through the automatic control module, the zoom parameters of the lens can be automatically controlled and analyzed, and automatic control is performed at the device terminal in the way of edge computing, reducing the zoom response time, improving the timeliness of zoom control and ensuring the focusing efficiency at the same time. 4. Through the control evaluation module, the zoom control state of the lens can be evaluated and analyzed. The control state within each control period is monitored in the way of periodic dynamic evaluation, and the zoom control basis is dynamically optimized and updated to ensure the control accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. Obviously, the following drawings are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0015] Figure 1 It is the system block diagram of Embodiment 1 of the present invention; Figure 2 It is the method flowchart of Embodiment 2 of the present invention. DETAILED DESCRIPTION OF THE INVENTION
[0016] The technical solution of the present invention will be clearly and completely described below in conjunction with the embodiments. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts belong to the scope of protection of the present invention.
[0017] Embodiment 1: As Figure 1 shown, an automatic zoom system includes a control test module, an automatic control module, and a control evaluation module connected in sequence. The control test module, the automatic control module, and the control evaluation module are all communicatively connected to a storage module, and the control evaluation module is also communicatively connected to the control test module.
[0018] The control test module is used to control and test the zoom parameters of the lens: mark the lens as the test object, allocate several test images to the test object, obtain the distance between the test image and the test object and mark it as the test distance value, retrieve the proportion of the test image in the lens and mark it as the occupancy value, and obtain the clarity of the test object's picture through the modulation transfer function and mark it as the clarity value; control the lens focal length to increase uniformly within the focal length range until the occupancy value exceeds a certain value. Mark the process of uniformly increasing the focal length as the test process, mark the focal length at the moment when the clarity value is the largest during the test process as the matching value of the test distance value, and send the matching values of all test distance values to the storage module for storage; allocate test images with different external parameters to the test object, mark the optimal focal length in combination with the proportion of the picture in the lens and the picture clarity, and provide data support for generating a comparison table.
[0019] The storage module is used to store test data and generate a comparison table: form a distance range from the maximum and minimum values of the test distance values of the test object, divide the distance range into several distance intervals, mark the test distance values within the distance interval as distance evaluation values, calculate the variance of the matching values corresponding to all distance evaluation values within the same distance interval to obtain a normalization coefficient, and compare the normalization coefficient with a preset normalization threshold: if the normalization coefficients of all distance intervals are less than the normalization threshold, it is determined that the interval division is reasonable; otherwise, it is determined that the interval division is unreasonable, and the distance interval is re-divided and the number of divided distance intervals is increased proportionally, that is, the refinement degree of interval division is improved by increasing the number of distance intervals; until the normalization coefficients of all distance intervals are less than the normalization threshold, mark the maximum value of the matching values corresponding to all distance evaluation values within the distance interval as the normalization pairing value of the distance interval, and generate a comparison table from the distance interval and the normalization pairing value; comprehensively process all test distance values and matching values to obtain a comparison table, and the normalization pairing value in the comparison table is the general focal length of the corresponding distance interval, optimizing the zoom control logic and improving the control efficiency of zoom.
[0020] The automatic control module is used to automatically control and analyze the zoom parameters of the lens: when the test object takes an image, first obtain the distance between the shooting target and the test object and mark it as the control distance value, retrieve the normalized pairing value in the corresponding distance range in the look-up table through the control distance value, perform zoom control on the test object according to the normalized pairing value, obtain and mark the sharpness of the test object's picture as the recorded value through the modulation transfer function after the control is completed, generate a control cycle, and upload the recorded value generated during the control cycle to the control evaluation module at the end of the control cycle; perform automatic control at the device terminal in the way of edge computing, reduce the zoom response time, improve the timeliness of zoom control and ensure the focusing efficiency at the same time.
[0021] The control evaluation module is used to evaluate and analyze the zoom control state of the lens: retrieve the normalized pairing value in the distance range corresponding to the control process of the recorded value, mark the difference between the normalized pairing value and the recorded value as the deviation value of the recorded value, sum and average the deviation values of all recorded values within the control cycle to obtain the deviation coefficient, obtain the deviation threshold through the storage module, and compare the deviation coefficient with the deviation threshold: if the deviation coefficient is less than the deviation threshold, it is determined that the zoom control state of the test object within the control cycle meets the requirements; if the deviation coefficient is greater than or equal to the deviation threshold, it is determined that the zoom control state of the test object within the control cycle does not meet the requirements, generate a retest signal and send the retest signal to the control test module; monitor the control state within each control cycle in the way of periodic dynamic evaluation, dynamically optimize and update the basis for zoom control, and ensure the control accuracy.
[0022] Embodiment 2: As Figure 2 shown, an automatic zoom method includes the following steps: Step 1: Control and test the zoom parameters of the lens: Mark the lens as the test object, allocate several test images to the test object, obtain the distance between the test image and the test object and mark it as the test distance value, and mark the matching value of the test distance value. Step 2: Store the test data and generate a look-up table: The distance range is composed of the maximum and minimum values of the test distance values of the test object, divide the distance range into several distance intervals, and mark the normalized pairing value of each distance interval. Step 3: Automatically control and analyze the zoom parameters of the lens: When the test object takes an image, first obtain the distance between the shooting target and the test object and mark it as the control distance value, retrieve the normalized pairing value through the control distance value and perform zoom control according to the normalized pairing value. Step 4: Evaluate and analyze the zoom control state of the lens: Calculate the deviation coefficient of the control period, and determine whether the zoom control state of the test object within the control period meets the requirements based on the deviation coefficient.
[0023] An automatic zoom system, during operation, marks the lens as the test object, assigns several test images to the test object, obtains the distance between the test image and the test object and marks it as the test distance value, and marks the matching value of the test distance value; forms a distance range from the maximum and minimum values of the test distance values of the test object, divides the distance range into several distance intervals, and marks the normalized pairing value of each distance interval; when the test object takes an image, first obtains the distance between the shooting target and the test object and marks it as the control distance value, retrieves the normalized pairing value based on the control distance value and performs zoom control according to the normalized pairing value; calculates the deviation coefficient of the control period, and determines whether the zoom control state of the test object within the control period meets the requirements based on the deviation coefficient.
[0024] The above content is only an example and explanation of the structure of the present invention. Those skilled in the art of this technology can make various modifications or supplements to the described specific embodiments or use similar methods to replace them, as long as they do not deviate from the structure of the invention or exceed the scope defined by this claims, it shall fall within the protection scope of the present invention.
[0025] In the description of this specification, the descriptions referring to terms such as "one embodiment", "example", "specific example", etc. mean that the specific features, structures, materials or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.
[0026] The preferred embodiments of the present invention disclosed above are only used to help explain the present invention. The preferred embodiments do not describe all the details in detail, nor do they limit the invention to only the specific implementation manners. Obviously, according to the content of this specification, many modifications and changes can be made. This specification selects and specifically describes these embodiments to better explain the principle and practical application of the present invention, so that those skilled in the art can understand and utilize the present invention well. The present invention is only limited by the claims and their full scope and equivalents.
Claims
1. An automatic variable magnification and zoom system, characterized in that: It includes a control test module, an automatic control module and a control evaluation module connected in sequence, wherein the control test module, the automatic control module and the control evaluation module are all connected in communication with the storage module, and the control evaluation module is also connected in communication with the control test module; The control test module is used to perform control test analysis on the zoom parameters of the lens: mark the lens as a test object, assign a number of test images to the test object, obtain the distance between the test image and the test object and mark it as a test distance value, mark the matching value of the test distance value, and send all the matching values of the test distance value to the storage module for storage; The storage module is used to store test data and generate a comparison table; The automatic control module is used to automatically control and analyze the zoom parameters of the lens: when the test object is shooting an image, first obtain the distance between the shooting target and the test object and mark it as a control distance value, and perform zoom control on the test object through the control distance value; The control evaluation module is used to evaluate and analyze the zoom control state of the lens.
2. The automatic variable magnification and zoom system according to claim 1, characterized in that: The specific process of marking the matching value of the test distance value includes: retrieving the screen ratio of the test image in the lens and marking it as the occupancy value, obtaining the clarity of the test object screen through the modulation transfer function and marking it as the clarity value; controlling the focal length of the lens to increase uniformly within the focal length range until the occupancy value exceeds the value of one, marking the process of uniformly increasing the focal length as the test process, and marking the focal length at the moment when the clarity value is the largest during the test process as the matching value of the test distance value.
3. The automatic variable magnification and zoom system according to claim 2, characterized in that: The specific process of the storage module generating a comparison table includes: forming a distance range by the maximum and minimum values of the test distance value of the test object, dividing the distance range into a number of distance intervals, marking the test distance value in the distance interval as a distance evaluation value, performing variance calculation on the matching values corresponding to all the distance evaluation values in the same distance interval to obtain a normalization coefficient, judging whether the distance interval division is reasonable by the normalization coefficient, and if reasonable, marking the maximum value of the matching values corresponding to all the distance evaluation values in the distance interval as the normalized matching value of the distance interval, and generating a comparison table by the distance interval and the normalized matching value.
4. The automatic variable magnification and zoom system according to claim 3, characterized in that: The specific process of judging whether the distance interval segmentation is reasonable includes: comparing the normalization coefficient with the preset normalization threshold: if the normalization coefficients of all distance intervals are less than the normalization threshold, the interval segmentation is judged to be reasonable; otherwise, the interval segmentation is judged to be unreasonable, and the distance interval segmentation is performed again with the number of distance interval segmentations increased proportionally; until the normalization coefficients of all distance intervals are less than the normalization threshold.
5. The automatic variable magnification and zoom system according to claim 4, characterized in that: The specific process of performing zoom control on the test object includes: retrieving the normalized paired value of the corresponding distance interval in the comparison table by controlling the distance value, performing zoom control on the test object according to the normalized paired value, obtaining the clarity of the recorded image of the test object through the modulation transfer function after completing the control and marking it as the recorded value, generating a control cycle, and uploading the recorded value generated in the control cycle to the control evaluation module at the end of the control cycle.
6. The automatic variable magnification and zoom system according to claim 5, characterized in that: The specific process of the control evaluation module evaluating and analyzing the zoom control state of the lens includes: retrieving the normalized paired value of the distance interval of the control process corresponding to the recorded value, marking the difference between the normalized paired value and the recorded value as the deviation value of the recorded value, summing up the deviation values of all recorded values in the control cycle and taking the average value to obtain the deviation coefficient, and judging whether the zoom control state of the test object in the control cycle meets the requirements through the deviation coefficient.
7. The automatic variable magnification and zoom system according to claim 6, characterized in that: The specific process of determining whether the zoom control state of the test object within the control period meets the requirements includes: obtaining the deviation threshold through the storage module, and comparing the deviation coefficient with the deviation threshold: if the deviation coefficient is less than the deviation threshold, it is determined that the zoom control state of the test object within the control period meets the requirements; if the deviation coefficient is greater than or equal to the deviation threshold, it is determined that the zoom control state of the test object within the control period does not meet the requirements, and a retest signal is generated and sent to the control test module.