A high-resolution control method for ultra-clear and ultra-wide-angle fisheye lens
By analyzing multiple factors of the image captured by the fisheye lens in real time and dynamically adjusting the resolution, it solves the problem of edge blur and chromatic aberration of the fisheye lens at high resolution, achieves balanced processing of image details and edges, and improves the shooting effect.
Patent Information
- Application Number
- CN202410977130.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-22
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2044-07-22
AI Technical Summary
Fisheye lenses are prone to problems such as edge blur, image distortion, chromatic aberration and aliasing effects under ultra-clear and high resolution, and it is difficult to achieve balanced processing of image details and edges.
Through image recognition and AI technology, the edge pixel smoothness, focus jitter, color distribution balance and overall color richness of the image captured by the lens are analyzed in real time, and the lens resolution is dynamically adjusted to achieve adaptability assessment and evaluation of focus jitter and color distribution. adjust.
It achieves real-time intelligent resolution control of fisheye lens images, balances image details and edge issues, and improves shooting effects and stability.
Smart Images

Figure CN118524298B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the field of high-resolution control of fisheye lenses, and in particular to a high-resolution control method for an ultra-clear and ultra-wide-angle fisheye lens. Background Art
[0002] A fisheye lens is a lens with a focal length of 16mm or less and a viewing angle close to or equal to 180°. It is an extreme wide-angle lens that uses a special wide-angle projection method. This design significantly changes the optical path length and angle from the center to the edge of the image. The lens in the center area can accurately focus and correct light, while the optical performance of the edge area decreases due to the curvature of the lens.
[0003] Compared with ordinary lenses, the problem of edge blurring of fisheye lenses is more prominent in ultra-clear and high-resolution images. In addition, other problems may also occur, such as image distortion, chromatic aberration, uneven edge pixels and jagged effects. Therefore, during the shooting process, you can choose an appropriate resolution to balance image details and edge problems.
[0004] How to propose a method to intelligently adjust and control the resolution in real time according to the current actual situation of the captured image is an urgent problem to be solved. Summary of the invention
[0005] In order to solve the above technical problems, a high-resolution control method for an ultra-clear and ultra-wide-angle fisheye lens is provided. This technical solution solves the problems raised in the above background technology.
[0006] In order to achieve the above purpose, the technical solution adopted by the present invention is:
[0007] A high-resolution control method for an ultra-clear and ultra-wide-angle fisheye lens, characterized by comprising:
[0008] Perform image recognition and classification based on the image content captured by the lens to determine whether the automatic resolution control mode needs to be turned on;
[0009] Analyze the image gradient information at the edge position of the captured image and evaluate the edge pixel smoothness of the current captured image;
[0010] Monitor the focus position within a set time interval, analyze the focus position changes, and evaluate the focus jitter of the current captured image;
[0011] Analyze the deviation between the color richness at the edge of the captured image and the color richness at the center of the image, and evaluate the color distribution balance of the current captured image;
[0012] Analyze the overall color quantity and color saturation of the captured image and evaluate the overall color richness of the current captured image;
[0013] Comprehensively analyze the edge pixel smoothness, focus jitter, color distribution balance and overall color richness of the current image, and evaluate the adaptability of high resolution.
[0014] Preferably, the performing image recognition and classification according to the content of the image captured by the lens to determine whether the automatic resolution control mode needs to be turned on specifically includes:
[0015] Collect the types of content of daily pictures and classify the pictures according to their content. The shooting characteristics of the pictures are divided into action-sensitive shooting, detail-sensitive shooting and ordinary shooting.
[0016] Monitor the lens image received by the image sensor inside the camera in real time, identify the content type of the currently captured image through AI image recognition technology, and classify the image according to its shooting characteristics;
[0017] When it is detected that the current image is motion-sensitive or detail-sensitive, the automatic resolution control mode is turned on, the high-resolution adaptability evaluation process is entered, and the lens resolution is automatically adjusted according to the actual situation;
[0018] Among them, the high-resolution shooting adaptability evaluation process includes edge pixel smoothness evaluation, focus jitter degree evaluation, color balance degree evaluation, overall color richness evaluation and comprehensive adaptability evaluation.
[0019] Preferably, analyzing the image gradient information of the edge position of the captured image and evaluating the edge pixel smoothness of the current captured image specifically includes:
[0020] Get the image taken by the current fisheye lens, convert the image into a grayscale image, intercept the image edge according to the preset ratio, set the size of the rectangle cut by the four corners of the rectangular edge as the window size, and establish a local window;
[0021] Slide the local window on the edge of the intercepted image, apply the mean filter to perform the convolution operation, statistically extract the gradient amplitude and gradient change direction in the window, calculate the standard deviation of the gradient amplitude and the inverse tangent function value of the gradient change direction of each local window, and evaluate the local consistency of the window;
[0022] When sliding to the edge and the size of the remaining image at the edge is smaller than the local window, the remaining image part is calculated as an independent local window, and the local consistency of the windows in all detection areas of the local window sliding trajectory is summarized and analyzed. The edge pixel smoothness index of the current image is calculated to evaluate the edge pixel smoothness of the current captured image. The edge pixel smoothness index calculation formula is: ;
[0023] In the formula, is the edge pixel smoothing index, is the inverse tangent function value of the gradient change direction of the i-th local window, is the standard deviation of the gradient amplitude of the ith local window, is the average standard deviation of the gradient amplitude in the local window, is the longitudinal gradient amplitude of the ith local window, is the lateral gradient amplitude of the ith local window, N is the total number of local windows, and k is an adjustable proportional coefficient.
[0024] Preferably, the monitoring of the focus position within a set time interval, analyzing the change of the focus position, and evaluating the focus jitter of the current captured image specifically includes:
[0025] A plane rectangular coordinate system is established with the center position of the image as the origin, a time interval T1 is set, and the focus position of each frame of the captured image within the time interval T1 is recorded at a set frame rate F, which is marked as the focus coordinate;
[0026] Integrate the focus coordinate positions recorded in each frame in chronological order to establish a focus coordinate set ,in is the focal coordinate of the image captured in the i-th frame;
[0027] Analyze the changes in the image focus positions of consecutive frames in the time sequence of the captured images, calculate the Euclidean distance between adjacent coordinate positions, and calculate the focus jitter coefficient of the current captured image in combination with the image frame rate to evaluate the focus jitter of the current shot. The focus jitter coefficient calculation formula is: ;
[0028] In the formula, is the focus jitter coefficient of the current captured image, is the Euclidean distance between the focal coordinate positions of the i-th frame and the i+1-th frame, is the set frame rate, is the total number of image frames.
[0029] Preferably, analyzing the deviation between the color richness at the edge of the captured image and the color richness at the center of the image to evaluate the color distribution balance of the current captured image specifically includes:
[0030] The rectangular image is segmented according to the set length and width ratio, and the image at the center of the segmented area is marked as the image center color control block. , select the segmentation edge area position and set the number of position images to mark as the image edge color comparison block set , is the i-th image edge color reference block;
[0031] Get the color reference block in the center of the image Set of blocks that match the edge color The color quantity and color saturation of each color comparison block in the image are calculated by analyzing the color richness at the edge of the captured image and the color richness at the center of the image. The color distribution balance index calculation formula is: ;
[0032] in, is the color distribution balance index, and are the number of colors and color saturation of the edge color reference block of the i-th image, and are the color quantity and color saturation of the color comparison block in the center of the image, is the number of image edge color control blocks set, and are the weight coefficients of color quantity and color saturation respectively.
[0033] Preferably, analyzing the overall color quantity and color saturation of the captured image and evaluating the overall color richness of the current captured image specifically includes:
[0034] Get the number of colors and color saturation of the entire captured image, and calculate the overall color richness of the entire image by weighted summing the number of colors and color saturation according to the set weight coefficients of the number of colors and color saturation in the color distribution balance index calculation formula. The overall color richness is marked as .
[0035] Preferably, the comprehensive analysis of edge pixel smoothness, focus jitter, color distribution balance and overall color richness of the current captured image and the adaptability evaluation of high resolution specifically includes:
[0036] Obtain the edge pixel smoothness index, focus jitter coefficient, color distribution balance index and overall color richness calculated for the current captured image, conduct a comprehensive analysis, and calculate the adaptability index of the current captured image to high resolution. The adaptability index calculation formula is: ;
[0037] In the formula, is the adaptability index of the current captured image to high resolution, and It is the edge pixel smoothness index, focus jitter coefficient, color distribution balance index and overall color richness calculated for the current captured image;
[0038] Set the threshold of the high-resolution adaptation index for motion-sensitive shooting and the threshold of the high-resolution adaptation index for detail-sensitive shooting;
[0039] Determine whether the current high-resolution adaptability index is less than the high-resolution adaptability index of motion-sensitive shooting. If so, adjust the current shooting requirement to motion-sensitive shooting, and the camera automatically lowers the resolution.
[0040] Determine whether the current high-resolution adaptability index is greater than the detail-sensitive high-resolution adaptability index threshold. If so, adjust the current shooting requirement to detail-sensitive, and the camera automatically increases the resolution.
[0041] If the current high-resolution adaptability index is between the motion-sensitive shooting high-resolution adaptability index threshold and the detail-sensitive high-resolution adaptability index threshold, the current shooting is determined to be normal shooting, and the resolution is not adjusted.
[0042] Compared with the prior art, the present invention has the following beneficial effects:
[0043] The image gradient information at the edge of the image, the change in the focus position, the deviation between the color richness at the edge of the image and the color richness at the center of the image, and the overall color richness are analyzed. The high-resolution adaptability of the current captured image is evaluated from multiple angles and factors. According to the high-resolution adaptability, real-time intelligent adjustment and control of the resolution is achieved, and the image details and edge problems are balanced according to the characteristics of the fisheye lens. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Figure 1 A flow chart of a high-resolution control method for an ultra-clear and ultra-wide-angle fisheye lens of the present invention;
[0045] Figure 2 A flow chart of the present invention for performing image recognition and classification according to the content of the image captured by the lens to determine whether it is necessary to turn on the automatic resolution control mode;
[0046] Figure 3 A flow chart of analyzing image gradient information at edge positions of captured images and evaluating edge pixel smoothness of the current captured image according to the present invention;
[0047] Figure 4 A flow chart of analyzing the position change of the focus and evaluating the focus jitter of the current captured image according to the present invention;
[0048] Figure 5 A flow chart of analyzing the deviation between the color richness at the edge of a captured image and the color richness at the center of the image and evaluating the color distribution balance of the current captured image according to the present invention;
[0049] Figure 6 A flow chart of analyzing the overall color quantity and color saturation of a captured image and evaluating the overall color richness of a currently captured image according to the present invention;
[0050] Figure 7 This is a flow chart of the present invention for comprehensively analyzing edge pixel smoothness, focus jitter, color distribution balance and overall color richness of the current captured image, and performing adaptability evaluation on high resolution. DETAILED DESCRIPTION
[0051] The following description is used to disclose the present invention so that those skilled in the art can implement the present invention. The preferred embodiments described below are only examples, and those skilled in the art may think of other obvious variations.
[0052] Reference Figure 1 As shown, a high-resolution control method for an ultra-clear and ultra-wide-angle fisheye lens comprises:
[0053] Perform image recognition and classification based on the image content captured by the lens to determine whether the automatic resolution control mode needs to be turned on;
[0054] Analyze the image gradient information at the edge position of the captured image and evaluate the edge pixel smoothness of the current captured image;
[0055] Monitor the focus position within a set time interval, analyze the focus position changes, and evaluate the focus jitter of the current captured image;
[0056] Analyze the deviation between the color richness at the edge of the captured image and the color richness at the center of the image, and evaluate the color distribution balance of the current captured image;
[0057] Analyze the overall color quantity and color saturation of the captured image and evaluate the overall color richness of the current captured image;
[0058] Comprehensively analyze the edge pixel smoothness, focus jitter, color distribution balance and overall color richness of the current image, and evaluate the adaptability of high resolution.
[0059] Reference Figure 2 As shown, image recognition and classification are performed according to the image content captured by the lens, and it is determined whether the automatic resolution control mode needs to be turned on. Specifically, the following are included:
[0060] Collect the types of content of daily pictures and classify the pictures according to their content. The shooting characteristics of the pictures are divided into action-sensitive shooting, detail-sensitive shooting and ordinary shooting.
[0061] Monitor the lens image received by the image sensor inside the camera in real time, identify the content type of the currently captured image through AI image recognition technology, and classify the image according to its shooting characteristics;
[0062] When it is detected that the current image is motion-sensitive or detail-sensitive, the automatic resolution control mode is turned on, the high-resolution adaptability evaluation process is entered, and the lens resolution is automatically adjusted according to the actual situation;
[0063] The high-resolution shooting adaptability assessment process includes edge pixel smoothness assessment, focus jitter assessment, color balance assessment, overall color richness assessment, and comprehensive adaptability assessment.
[0064] Motion-sensitive shooting is used to capture fast-moving pictures, such as sports photography, wildlife photography, or high-speed video. This type of shooting requires high image processing speed. Too high a resolution may cause the camera or device to be unable to keep up with the rapidly changing scene, resulting in blurred images or frame drops. Detail-sensitive pictures need to capture a large amount of picture details, such as landscape photography, architectural photography, or macro photography. Insufficient resolution may cause loss of picture details or unsatisfactory visual effects. Therefore, a preliminary identification and classification of the image being shot is performed based on AI recognition technology, and the automatic control mode of shooting resolution is turned on.
[0065] Reference Figure 3 As shown, analyzing the image gradient information at the edge position of the captured image and evaluating the edge pixel smoothness of the current captured image specifically includes:
[0066] Get the image taken by the current fisheye lens, convert the image into a grayscale image, intercept the image edge according to the preset ratio, set the size of the rectangle cut by the four corners of the rectangular edge as the window size, and establish a local window;
[0067] Slide the local window on the edge of the intercepted image, apply the mean filter to perform the convolution operation, statistically extract the gradient amplitude and gradient change direction in the window, calculate the standard deviation of the gradient amplitude and the inverse tangent function value of the gradient change direction of each local window, and evaluate the local consistency of the window;
[0068] When sliding to the edge and the size of the remaining image at the edge is smaller than the local window, the remaining image part is calculated as an independent local window, and the local consistency of the windows in all detection areas of the local window sliding trajectory is summarized and analyzed. The edge pixel smoothness index of the current image is calculated to evaluate the edge pixel smoothness of the current captured image. The edge pixel smoothness index calculation formula is: ;
[0069] In the formula, is the edge pixel smoothing index, is the inverse tangent function value of the gradient change direction of the i-th local window, is the standard deviation of the gradient amplitude of the ith local window, is the average standard deviation of the gradient amplitude in the local window, is the longitudinal gradient amplitude of the ith local window, is the lateral gradient amplitude of the ith local window, N is the total number of local windows, and k is the adjustable proportional coefficient;
[0070] Due to the unique optical properties of fisheye lenses, there are usually some uneven edges when taking images. For example, the nonlinear projection method used to achieve an ultra-wide viewing angle will cause the geometric shape of the image edge to be severely distorted. In addition, because the pixel density in the central area of the fisheye lens is high, the pixels in the edge area are stretched or compressed, making the details of the edge area not as good as the central area, resulting in uneven edges. By analyzing the gradient of the image edge, the edge smoothness of the image at the current resolution can be evaluated.
[0071] Reference Figure 4 As shown, monitoring the focus position within a set time interval, analyzing the change in the focus position, and evaluating the focus jitter of the current captured image specifically include:
[0072] A plane rectangular coordinate system is established with the center position of the image as the origin, a time interval T1 is set, and the focus position of each frame of the captured image within the time interval T1 is recorded at a set frame rate F, which is marked as the focus coordinate;
[0073] Integrate the focus coordinate positions recorded in each frame in chronological order to establish a focus coordinate set ,in is the focal coordinate of the image captured in the i-th frame;
[0074] Analyze the changes in the image focus positions of consecutive frames in the time sequence of the captured images, calculate the Euclidean distance between adjacent coordinate positions, and calculate the focus jitter coefficient of the current captured image in combination with the image frame rate to evaluate the focus jitter of the current shot. The focus jitter coefficient calculation formula is: ,
[0075] In the formula, is the focus jitter coefficient of the current captured image, is the Euclidean distance between the focal coordinate positions of the i-th frame and the i+1-th frame, is the set frame rate, is the total number of image frames;
[0076] When the photographer is in motion, too high a resolution will cause focus jitter to become more frequent, resulting in the camera being unable to maintain stable focus, causing the image to become blurred or produce loss of details. At the same time, focus jitter will interfere with the camera's autofocus system, causing the camera to constantly try to refocus, increasing the instability and difficulty of shooting. By analyzing the focus changes at consecutive time points, the focus jitter during motion shooting can be evaluated.
[0077] Reference Figure 5 As shown, analyzing the deviation between the color richness at the edge of the captured image and the color richness at the center of the image, and evaluating the color distribution balance of the current captured image specifically include:
[0078] The rectangular image is segmented according to the set length and width ratio, and the image at the center of the segmented area is marked as the image center color control block. , select the segmentation edge area position and set the number of position images to mark as the image edge color comparison block set , is the i-th image edge color reference block;
[0079] Get the color reference block in the center of the image Set of blocks that match the edge color The color quantity and color saturation of each color comparison block in the image are calculated by analyzing the color richness at the edge of the captured image and the color richness at the center of the image. The color distribution balance index calculation formula is: ;
[0080] in, is the color distribution balance index, and are the number of colors and color saturation of the edge color reference block of the i-th image, and are the color quantity and color saturation of the color comparison block in the center of the image, is the number of image edge color control blocks set, and are the weight coefficients for the number of colors and color saturation, respectively;
[0081] Generally, the color richness of the edge area of a fisheye lens is lower than that of the central area. Therefore, the closer the color richness of the edge area is to the central area, the higher the color stitching balance index is. If the color richness of the edge area exceeds that of the central area, the high-resolution adaptability of the edge area will be higher.
[0082] Due to the optical characteristics of fisheye lenses, chromatic aberration is very likely to occur at the edge of images at high resolutions. Different light rays cannot be perfectly focused at the edge of the lens, resulting in color separation and color distortion. This phenomenon will affect the accuracy and richness of the colors. By analyzing the deviation between the color richness of the edge areas and the center area, the color distribution balance at the current resolution can be evaluated.
[0083] Reference Figure 6As shown, analyzing the overall color quantity and color saturation of the captured image and evaluating the overall color richness of the current captured image specifically include:
[0084] Get the number of colors and color saturation of the entire captured image, and calculate the overall color richness of the entire image by weighted summing the number of colors and color saturation according to the set weight coefficients of the number of colors and color saturation in the color distribution balance index calculation formula. The overall color richness is marked as ;
[0085] When the image has high color richness, increasing the resolution to capture more shooting details and subtle changes in color, enhancing the visual effect of the image, is very important for presenting color richness.
[0086] Reference Figure 7 As shown, the edge pixel smoothness, focus jitter, color distribution balance and overall color richness of the current captured image are comprehensively analyzed, and the adaptability evaluation of high resolution is specifically included in the following aspects:
[0087] Obtain the edge pixel smoothness index, focus jitter coefficient, color distribution balance index and overall color richness calculated for the current captured image, conduct a comprehensive analysis, and calculate the adaptability index of the current captured image to high resolution. The adaptability index calculation formula is: ;
[0088] In the formula, is the adaptability index of the current captured image to high resolution, and It is the edge pixel smoothness index, focus jitter coefficient, color distribution balance index and overall color richness calculated for the current captured image;
[0089] Set the threshold of the high-resolution adaptation index for motion-sensitive shooting and the threshold of the high-resolution adaptation index for detail-sensitive shooting;
[0090] Determine whether the current high-resolution adaptability index is less than the high-resolution adaptability index of motion-sensitive shooting. If so, adjust the current shooting requirement to motion-sensitive shooting, and the camera automatically lowers the resolution.
[0091] Determine whether the current high-resolution adaptability index is greater than the detail-sensitive high-resolution adaptability index threshold. If so, adjust the current shooting requirement to detail-sensitive, and the camera automatically increases the resolution.
[0092] If the current high-resolution adaptability index is between the high-resolution adaptability index threshold for motion-sensitive shooting and the high-resolution adaptability index threshold for detail-sensitive shooting, the current shooting is judged as normal shooting, and no resolution adjustment is performed;
[0093] The motion-sensitive shooting high-resolution adaptation index threshold and the detail-sensitive high-resolution adaptation index threshold are set by professional and technical personnel in this field based on the size of the high-resolution adaptability index, the type of the current captured image, quality requirements, environmental conditions and other actual conditions, and will not be repeated here.
[0094] When the image has high edge smoothness, balanced color distribution and overall color richness, it means that the fisheye lens used has good optical design and manufacturing precision, and can and needs to meet the needs of improving resolution and thus increasing image details. When the focus jitter is high, it means that the photographer may be in motion and needs to reduce the resolution to ensure stable camera shooting and fast image capture.
[0095] Furthermore, the present solution also proposes a storage medium for a high-resolution control method of an ultra-high-definition and ultra-wide-angle fisheye lens, on which a computer-readable program is stored. When the computer-readable program is called, the above-mentioned high-resolution control method of an ultra-high-definition and ultra-wide-angle fisheye lens is executed.
[0096] It is understandable that the storage medium may be a magnetic medium, such as a floppy disk, a hard disk, or a magnetic tape; an optical medium, such as a DVD; or a semiconductor medium, such as a solid state drive (SSD).
[0097] The above shows and describes the basic principles, main features and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited to the above embodiments. The above embodiments and descriptions only describe the principles of the present invention. The present invention may be subject to various changes and improvements without departing from the spirit and scope of the present invention. These changes and improvements fall within the scope of the present invention. The scope of protection claimed by the present invention is defined by the attached claims and their equivalents.
Claims
1. A high-resolution control method for an ultra-clear and ultra-wide-angle fisheye lens, characterized in that: include: Perform image recognition and classification based on the image content captured by the lens to determine whether the automatic resolution control mode needs to be turned on; Analyze the image gradient information at the edge position of the captured image and evaluate the edge pixel smoothness of the current captured image; Monitor the focus position within a set time interval, analyze the focus position changes, and evaluate the focus jitter of the current captured image; Analyze the deviation between the color richness at the edge of the captured image and the color richness at the center of the image, and evaluate the color distribution balance of the current captured image; Analyze the overall color quantity and color saturation of the captured image and evaluate the overall color richness of the current captured image; Comprehensively analyze the edge pixel smoothness, focus jitter, color distribution balance and overall color richness of the current image, and evaluate the adaptability of high resolution; The comprehensive analysis of the edge pixel smoothness, focus jitter, color distribution balance and overall color richness of the current captured image and the adaptability evaluation of the high resolution specifically includes: Obtain the edge pixel smoothness index, focus jitter coefficient, color distribution balance index and overall color richness calculated for the current captured image, conduct a comprehensive analysis, and calculate the adaptability index of the current captured image to high resolution. The adaptability index calculation formula is: ; In the formula, is the adaptability index of the current captured image to high resolution, , , and It is the edge pixel smoothness index, focus jitter coefficient, color distribution balance index and overall color richness calculated for the current captured image; Set the threshold of the high-resolution adaptation index for motion-sensitive shooting and the threshold of the high-resolution adaptation index for detail-sensitive shooting; Determine whether the current high-resolution adaptability index is less than the high-resolution adaptability index of motion-sensitive shooting. If so, adjust the current shooting requirement to motion-sensitive shooting, and the camera automatically lowers the resolution. Determine whether the current high-resolution adaptability index is greater than the detail-sensitive high-resolution adaptability index threshold. If so, adjust the current shooting requirement to detail-sensitive, and the camera automatically increases the resolution. If the current high-resolution adaptability index is between the motion-sensitive shooting high-resolution adaptability index threshold and the detail-sensitive high-resolution adaptability index threshold, the current shooting is determined to be normal shooting, and no resolution adjustment is performed.
2. The high-resolution control method of an ultra-clear and ultra-wide-angle fisheye lens according to claim 1, characterized in that: The performing image recognition and classification according to the image content captured by the lens to determine whether the automatic resolution control mode needs to be turned on specifically includes: Collect the types of content of daily pictures and classify the pictures according to their content. The shooting characteristics of the images are divided into action-sensitive shooting, detail-sensitive shooting and ordinary shooting. Monitor the lens image received by the image sensor inside the camera in real time, identify the content type of the currently captured image through AI image recognition technology, and classify the image according to its shooting characteristics; When it is detected that the current image is motion-sensitive or detail-sensitive, the automatic resolution control mode is turned on, the high-resolution adaptability evaluation process is entered, and the lens resolution is automatically adjusted according to the actual situation; Among them, the high-resolution shooting adaptability evaluation process includes edge pixel smoothness evaluation, focus jitter degree evaluation, color balance degree evaluation, overall color richness evaluation and comprehensive adaptability evaluation.
3. The high-resolution control method of an ultra-clear and ultra-wide-angle fisheye lens according to claim 2, characterized in that: The analyzing the image gradient information of the edge position of the captured image and evaluating the edge pixel smoothness of the current captured image specifically includes: Get the image taken by the current fisheye lens, convert the image into a grayscale image, intercept the image edge according to the preset ratio, set the size of the rectangle cut by the four corners of the rectangular edge as the window size, and establish a local window; Slide the local window on the edge of the intercepted image, apply the mean filter to perform the convolution operation, statistically extract the gradient amplitude and gradient change direction in the window, calculate the standard deviation of the gradient amplitude and the inverse tangent function value of the gradient change direction of each local window, and evaluate the local consistency of the window; When sliding to the edge and the size of the remaining image at the edge is smaller than the local window, the remaining image part is calculated as an independent local window, and the local consistency of the windows in all detection areas of the local window sliding trajectory is summarized and analyzed. The edge pixel smoothness index of the current image is calculated to evaluate the edge pixel smoothness of the current captured image. The edge pixel smoothness index calculation formula is: ; In the formula, is the edge pixel smoothing index, is the inverse tangent function value of the gradient change direction of the i-th local window, is the standard deviation of the gradient amplitude of the ith local window, is the average standard deviation of the gradient amplitude in the local window, is the longitudinal gradient amplitude of the ith local window, is the lateral gradient amplitude of the ith local window, N is the total number of local windows, and k is an adjustable proportional coefficient.
4. The high-resolution control method of an ultra-clear and ultra-wide-angle fisheye lens according to claim 3, characterized in that: The monitoring of the focus position within the set time interval, analyzing the change of the focus position, and evaluating the focus jitter of the current captured image specifically includes: A plane rectangular coordinate system is established with the center position of the image as the origin, a time interval T1 is set, and the focus position of each frame of the captured image within the time interval T1 is recorded at a set frame rate F, which is marked as the focus coordinate; Integrate the focus coordinate positions recorded in each frame in chronological order to establish a focus coordinate set , ,in is the focal coordinate of the image captured in the i-th frame; Analyze the changes in the image focus positions of consecutive adjacent frames in the time sequence of the captured images, calculate the Euclidean distance between adjacent coordinate positions, and calculate the focus jitter coefficient of the current captured image in combination with the image frame rate to evaluate the focus jitter of the current shot. The focus jitter coefficient calculation formula is: ; In the formula, is the focus jitter coefficient of the current captured image, is the Euclidean distance between the focal coordinate positions of the i-th frame and the i+1-th frame, is the set frame rate, is the total number of image frames.
5. The high-resolution control method of an ultra-clear and ultra-wide-angle fisheye lens according to claim 4, characterized in that: The analyzing the deviation between the color richness at the edge of the captured image and the color richness at the center of the image and evaluating the color distribution balance of the current captured image specifically includes: The rectangular image is segmented according to the set length and width ratio, and the image at the center of the segmented area is marked as the image center color control block. , select the segmentation edge area position and set the number of position images to mark as the image edge color comparison block set , ; is the i-th image edge color reference block; Get the color reference block in the center of the image Block set with edge color comparison The color quantity and color saturation of each color comparison block in the image are calculated by analyzing the color richness at the edge of the captured image and the color richness at the center of the image. The color distribution balance index calculation formula is: ; in, is the color distribution balance index, and are the number of colors and color saturation of the edge color reference block of the i-th image, and are the color quantity and color saturation of the color comparison block in the center of the image, is the number of image edge color control blocks set, and are the weight coefficients of color quantity and color saturation respectively.
6. The high-resolution control method of an ultra-clear and ultra-wide-angle fisheye lens according to claim 5, characterized in that: The analyzing the overall color quantity and color saturation of the captured image and evaluating the overall color richness of the current captured image specifically includes: Get the number of colors and color saturation of the entire captured image, and calculate the overall color richness of the entire image by weighted summing the number of colors and color saturation according to the set weight coefficients of the number of colors and color saturation in the color distribution balance index calculation formula. The overall color richness is marked as .
