Image acquisition system for pattern recognition and analysis

Through image resolution enhancement, geometric deformation analysis, depth information extraction, perspective correction and shadow analysis technology, the problem of insufficient recognition accuracy of image processing under high dynamic range and complex lighting conditions in the existing technology is solved, and efficient image recognition is achieved. and automated recognition effects.

CN118644686AInactive Publication Date: 2024-09-13ZUNYI NORMAL COLLEGE
View PDF 0 Cites 10 Cited by

Patent Information

Application Number
CN202410679940.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-29
Publication Date
2024-09-13
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing image processing technology is difficult to accurately distinguish objects and shadows when processing images with high dynamic range and complex lighting conditions, and the processing of image perspective distortion is insufficient, affecting recognition accuracy and production efficiency, especially in automated monitoring and medical diagnosis, which may cause Misidentification and loss of information.

Method used

Using the image resolution enhancement module, geometric deformation analysis module, depth information extraction module, perspective correction module, pattern recognition preprocessing module and dynamic shadow analysis module, through super-resolution technology, geometric parameter measurement, depth information extraction, perspective correction, edge Information analysis and shadow analysis generate the final HDR image, improving the clarity, accuracy and dynamic range of the image.

Benefits of technology

It significantly improves the accuracy and operating efficiency of image recognition, can effectively distinguish shadows and objects under changing lighting conditions, improves the level of automation and intelligence, and ensures the reliability of the pattern recognition process and the practical value of the image.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118644686A
    Figure CN118644686A
Patent Text Reader

Abstract

The invention relates to the technical field of image processing, in particular to an image acquisition system for pattern recognition and analysis. The image acquisition system for pattern recognition analysis comprises an image resolution enhancement module, a geometric deformation analysis module, a depth information extraction module, a perspective correction module, a pattern recognition preprocessing module, a dynamic shadow analysis module and an HDR image fusion module. According to the invention, through deep image data analysis and processing, the precision and operation efficiency of image recognition are significantly improved, and through accurate geometric parameter measurement and shape deviation recognition, a deformation area in the image can be accurately positioned and corrected, so that the reconstruction of the three-dimensional depth of field is more accurate, and the spatial perception ability of the image is enhanced. The correction of perspective distortion not only improves the visual effect of the image, but also improves the practical value of the image, ensures the reliability of the mode recognition process, and can effectively distinguish the shadow from the object by enhancing the edge information analysis and the marking of key feature points, thereby remarkably improving the automation and intelligence levels.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of image processing, and in particular to an image acquisition system for pattern recognition analysis. Background Art

[0002] The field of image processing technology focuses on analyzing and modifying images to improve their quality or extract information by using algorithms and mathematical models. It covers a wide range of aspects, from basic image enhancement, filtering and edge detection to complex image segmentation, feature extraction, pattern recognition and machine vision. It is widely used in various industries and fields, such as medical imaging, satellite remote sensing, automated manufacturing, video surveillance and digital media, etc. It uses advanced algorithms to improve the visual effects of images, or automatically detect and identify targets and features from images.

[0003] Among them, the image acquisition system for pattern recognition and analysis is a technical system specially designed to automatically detect specific patterns or features in images. It usually includes image acquisition hardware (such as a camera or scanner) and image processing software, which is used to process and analyze the collected image data. The core is to effectively identify objects, shapes or any specific patterns in the image through technical means. It is widely used in multiple application scenarios such as quality control, safety inspection, traffic management, medical diagnosis, etc. to improve the level of automation and intelligence.

[0004] Although existing image processing technologies provide a wide range of functions in many aspects, they still show obvious limitations when processing images with high dynamic range and complex lighting conditions. Especially in environments with heavy shadows, existing technologies have difficulty accurately distinguishing between objects and shadows, which may lead to misidentification and information loss in situations that require extremely high recognition accuracy, such as automated monitoring and medical diagnosis. In addition, insufficient processing of image perspective distortion also reduces the availability of image data, especially affecting production efficiency and accuracy in high-precision industrial applications. The limitations are particularly prominent in complex or special environments, affecting the subsequent pattern recognition process. Summary of the invention

[0005] The purpose of the present invention is to solve the shortcomings in the prior art and to propose an image acquisition system for pattern recognition analysis.

[0006] In order to achieve the above object, the present invention adopts the following technical solution: an image acquisition system for pattern recognition analysis comprises:

[0007] The image resolution enhancement module collects the original image, uses super-resolution technology to increase the image pixel density, refine the image detail level, enhance the overall image clarity, and generate an adjusted clear image;

[0008] The geometric deformation analysis module measures the geometric parameters of the adjusted clear image, identifies the shape deviation of the image, performs shape matching to locate the deformation area, and generates a geometric analysis diagram;

[0009] The depth information extraction module extracts depth information according to the geometric analysis graph, reconstructs the three-dimensional depth of field using the light field data, corrects the depth field based on the depth data, and generates a depth data graph;

[0010] The perspective correction module uses the depth data map to perform perspective distortion correction, adjust the image level and viewing angle, correct the perspective deviation, and generate a corrected perspective map;

[0011] The pattern recognition preprocessing module identifies and enhances edge information in the image based on the corrected perspective image, analyzes each pixel of the image, highlights key feature points, classifies and marks the key feature points, and generates a pattern recognition preparation image;

[0012] The dynamic shadow analysis module analyzes the illumination changes and shadow features in the pattern recognition preparation image, identifies and distinguishes the boundaries between the shadow and the object, and generates a shadow analysis result;

[0013] The HDR image fusion module combines the shadow analysis result and the original image, adjusts the light intensity and color balance of the image, performs dynamic range enhancement, optimizes the image display effect, and generates a final HDR image.

[0014] As a further solution of the present invention, the adjusted clear image includes pixel density, image sharpness and detail comparison results, the geometric analysis diagram includes shape measurement results, deviation recognition results and shape correction results, the depth data diagram includes three-dimensional depth of field, depth data and depth field correction records, the corrected perspective diagram is specifically a viewing angle correction result, a layering enhancement record and an image balance result, the pattern recognition preparation diagram includes image edge information, key feature points and feature point classification and marking results, the shadow analysis results include shadow boundaries, light and shadow contrast results and shadow depth, and the final HDR image includes light intensity adjustment results, color balance records and dynamic range enhancement results.

[0015] As a further solution of the present invention, the image resolution enhancement module includes:

[0016] The pixel refinement submodule uses an interpolation algorithm to subdivide the original image at the pixel level, and fills the color of new pixels by calculating the color difference between adjacent pixels, thereby increasing the image pixel density and generating a refined pixel map.

[0017] The detail enhancement submodule evaluates the gradient strength of each pixel in the refined pixel map, enhances the image performance by increasing the contrast, highlights the image details and edges, and generates an enhanced detail map;

[0018] The clarity adjustment submodule adjusts the brightness distribution of the image through dynamic range compression according to the enhanced detail map, maintains the image details, optimizes the clarity of the visual effect, and generates an adjusted clear image.

[0019] As a further solution of the present invention, the geometric deformation analysis module includes:

[0020] The geometry measurement submodule measures the edges and corners of all objects in the adjusted clear image, performs shape recognition on each detected shape, confirms the geometry type, measures the size and relative position of the shape, and generates a measurement data graph;

[0021] The shape matching submodule compares the actual shape in the measurement data map with the ideal geometric shape, determines the degree of shape matching, identifies the area that deviates from the ideal geometric shape, and generates a matching difference map;

[0022] The deformation localization submodule analyzes the deviation area in the matching difference map, performs shape adjustment, performs shape correction on the identified deformation area, restores the original geometric shape in the image, and generates a geometric analysis map.

[0023] As a further solution of the present invention, the depth information extraction module includes:

[0024] The depth reconstruction submodule marks the depth of the shape edges in the geometric analysis diagram, spatially locates the marked depth points using a three-dimensional modeling technique, reconstructs a three-dimensional model using the depth points, and generates a preliminary depth map;

[0025] The depth data integration submodule allocates weights to multiple layers of depth data based on the preliminary depth map by using the hierarchical analysis method, merges the data by weighted average, fuses the depth information between the different depth layers, and generates an integrated depth map;

[0026] The depth field correction submodule locally optimizes the depth value of the integrated depth map, adjusts the discontinuity and unnatural jumps in the depth field, smoothes the depth transition, optimizes the natural continuity in the three-dimensional view, and generates a depth data map.

[0027] As a further solution of the present invention, the perspective correction module includes:

[0028] The perspective analysis submodule calculates the deviation between the ideal perspective and the actual perspective by analyzing the depth data map pixel by pixel, marks the significant perspective distortion area in the image, and generates a perspective error map;

[0029] The distortion correction submodule analyzes the deviation area in the perspective error map, uses a geometric transformation algorithm to reconfigure the pixel arrangement in the image, corrects the perspective distortion, and generates a distortion correction map;

[0030] The perspective adjustment submodule adjusts the photographic perspective simulation parameters according to the distortion correction map, repositions the image content, optimizes the perspective effect, ensures the consistency and accuracy of the vision, and generates a corrected perspective map.

[0031] As a further solution of the present invention, the pattern recognition preprocessing module includes:

[0032] The edge enhancement submodule uses a local contrast adjustment technique to enhance the clarity of the edge of the image based on the corrected perspective image, refines the image boundary through an edge detection algorithm, highlights the object contour, and generates an edge clarity image;

[0033] The feature point analysis submodule uses an image analysis algorithm to analyze the positions and characteristics of key points in the image based on the edge clarity image, encodes the geometric attributes and position information of each feature point, and generates a feature point data map;

[0034] The feature point marking submodule applies a classification algorithm to each feature point in the feature point data map, marks the feature point type, including corner points and edge points, records the position of the feature point in the image, and generates a pattern recognition preparation map.

[0035] As a further solution of the present invention, the classification algorithm is according to the formula:

[0036] I n -I p >t+α·σ I +β·G(p)+γ·S(I p )

[0037] Calculate the corner point recognition result, where I n is the gray value of the pixel in the circular neighborhood, I p is the gray value of the center pixel p, t is the original threshold, α is the adjustment coefficient, σ I is the standard deviation of the grayscale value of pixels in the neighborhood, β is the terrain adjustment factor, G(p) is the gradient intensity of the central pixel p, γ is the sensitivity factor, S(I p ) is the saturation of the central pixel p.

[0038] As a further solution of the present invention, the dynamic shadow analysis module includes:

[0039] The shadow recognition submodule analyzes the brightness and color gradient in the image according to the pattern recognition preparation map, uses light and shadow separation technology to identify the shadow area, marks the shadow area through contrast analysis, and generates a shadow recognition map;

[0040] The illumination analysis submodule quantifies the influence of the light source on the image by measuring the illumination intensity difference and distribution pattern based on the shadow recognition map, analyzes the interaction effect between the shadow and the entity illumination, and generates an illumination analysis map;

[0041] The boundary determination submodule performs edge detection on the brightness gradient in the illumination analysis graph, refines the boundary lines, calibrates the separation line between the shadow boundary and the object entity, optimizes the distinction accuracy, and generates a shadow analysis result.

[0042] As a further solution of the present invention, the HDR image fusion module includes:

[0043] The illumination adjustment submodule analyzes the uneven illumination area in the shadow analysis result, uses a local enhancement algorithm to adjust the illumination intensity of the uneven illumination area to ensure the uniformity of the image, gradually optimizes the illumination conditions of the overall image, and generates an adjusted illumination map;

[0044] The color balance submodule analyzes the color distribution in the adjusted illumination map, applies color correction technology to adjust the color temperature and saturation of the image, improves the clarity of image details, ensures the overall color balance of the image, and generates a color balance map;

[0045] The dynamic enhancement submodule analyzes detail loss and highlight areas in the color balance map, uses high dynamic range technology to restore regional details, enhances the dynamic range and visual impact of the overall image, and generates a final HDR image.

[0046] Compared with the prior art, the advantages and positive effects of the present invention are:

[0047] In the present invention, through in-depth image data analysis and processing, the accuracy and operational efficiency of image recognition are significantly improved. By utilizing precise geometric parameter measurement and shape deviation recognition, the deformed area in the image can be accurately located and corrected, providing a solid foundation for the extraction of depth information, making the reconstruction of three-dimensional depth of field more accurate, and further enhancing the spatial perception ability of the image. The correction of perspective distortion not only improves the visual effect of the image, but also improves the practical value of the image, ensuring the reliability of the pattern recognition process. By enhancing edge information analysis and marking of key feature points, the system can effectively distinguish between shadows and objects under variable lighting conditions, significantly improving the level of automation and intelligence. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] Figure 1 is a system flow chart of the present invention;

[0049] Figure 2 It is a system framework diagram of the present invention;

[0050] Figure 3 This is a flow chart of the image resolution enhancement module of the present invention;

[0051] Figure 4 This is a flow chart of the geometric deformation analysis module of the present invention;

[0052] Figure 5 This is a flow chart of the depth information extraction module of the present invention;

[0053] Figure 6 This is a flow chart of the perspective correction module of the present invention;

[0054] Figure 7 This is a flow chart of the pattern recognition preprocessing module of the present invention;

[0055] Figure 8 This is a flow chart of the dynamic shadow analysis module of the present invention;

[0056] Fig. 9 This is a flow chart of the HDR image fusion module of the present invention. DETAILED DESCRIPTION

[0057] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0058] In the description of the present invention, it should be understood that the terms "length", "width", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, in the description of the present invention, "multiple" means two or more, unless otherwise clearly and specifically defined.

[0059] Embodiment 1

[0060] See also Figure 1 and Figure 2 , an image acquisition system for pattern recognition analysis comprises:

[0061] The image resolution enhancement module collects the original image, uses super-resolution technology to increase the image pixel density, refine the image detail level, enhance the overall image clarity, and generate an adjusted clear image;

[0062] The geometric deformation analysis module measures the geometric parameters of the adjusted clear image, identifies the shape deviation of the image, performs shape matching to locate the deformation area, and generates a geometric analysis diagram;

[0063] The depth information extraction module extracts depth information based on the geometric analysis graph, reconstructs the three-dimensional depth of field using the light field data, corrects the depth field based on the integrated depth data, and generates a depth data graph;

[0064] The perspective correction module uses the depth data map to correct the perspective distortion, adjust the image level and viewing angle, correct the perspective deviation, and generate a corrected perspective map;

[0065] The pattern recognition preprocessing module identifies and enhances the edge information in the image based on the corrected perspective image, analyzes each pixel of the image, highlights the key feature points, classifies and marks the key feature points, and generates a pattern recognition preparation image;

[0066] The dynamic shadow analysis module analyzes the illumination changes and shadow features in the pattern recognition preparation image, identifies and distinguishes the boundaries between shadows and objects, and generates shadow analysis results;

[0067] The HDR image fusion module combines the shadow analysis results with the original image, adjusts the image's light intensity and color balance, performs dynamic range enhancement, optimizes the image display effect, and generates the final HDR image.

[0068] The adjusted clear image includes pixel density, image sharpness and detail comparison results; the geometric analysis diagram includes shape measurement results, deviation recognition results and shape correction results; the depth data diagram includes three-dimensional depth of field, depth data and depth field correction records; the corrected perspective diagram specifically includes perspective correction results, layering enhancement records and image balance results; the pattern recognition preparation diagram includes image edge information, key feature points and feature point classification and marking results; the shadow analysis results include shadow boundaries, light and shadow contrast results and shadow depth; the final HDR image includes light intensity adjustment results, color balance records and dynamic range enhancement results.

[0069] See also Figure 2 and Figure 3 , the image resolution enhancement module includes:

[0070] The pixel refinement submodule uses an interpolation algorithm to subdivide the original image at the pixel level, and fills the color of new pixels by calculating the color difference between adjacent pixels, thereby increasing the image pixel density and generating a refined pixel map.

[0071] The pixel refinement submodule uses an interpolation algorithm to perform pixel-level segmentation on the original image. First, based on each pixel of the original image, the entropy method is used to calculate the color variation of adjacent pixels, and the adjacent pixel entropy threshold Q is set. This threshold is determined by the average value of the color variation. For each pair of adjacent pixels, if the color difference entropy is greater than Q, a new pixel will be inserted between the two, and its color value is determined by linear interpolation. The calculation formula of the color value C is C = (C1 + C2) / 2, where C1 and C2 are the color values ​​of adjacent pixels. This process is iterated until the image reaches the predetermined pixel density, thereby improving the image pixel density and generating a refined pixel map.

[0072] The detail enhancement submodule evaluates the gradient strength of each pixel in the refined pixel map, enhances the image performance by increasing the contrast, highlights the image details and edges, and generates an enhanced detail map;

[0073] The detail enhancement submodule evaluates the gradient strength of each pixel in the refined pixel map by calculating the color difference gradient between each pixel and its surrounding pixels. If the gradient value is higher than the preset threshold, the contrast of the pixel is increased using the formula G = (PP min ) / (P max -P min )×100%, where P is the brightness value of the current pixel, P min and P max are the minimum and maximum brightness values ​​of the surrounding pixels, respectively. In this way, the image performance is enhanced, the image details and edges are highlighted, and an enhanced detail map is generated.

[0074] The clarity adjustment submodule adjusts the brightness distribution of the image through dynamic range compression according to the enhanced detail map, maintains the image details, optimizes the clarity of the visual effect, and generates an adjusted clear image;

[0075] The clarity adjustment submodule adjusts the brightness distribution of the image by dynamic range compression according to the enhanced detail map, uses logarithmic compression to adjust the brightness, and calculates the new brightness value of each pixel using the formula L=L orig / (1+L orig / L max ), where L orig is the brightness value of the original pixel, L max It is the maximum brightness value in the image. It can effectively enhance details while maintaining image details, optimize visual clarity, and generate a clear image after adjustment.

[0076] See also Figure 2 and Figure 4 , the geometric deformation analysis module includes:

[0077] The geometry measurement submodule measures the edges and corners of all objects in the adjusted clear image, performs shape recognition on each detected shape, confirms the geometry type, measures the size and relative position of the shape, and generates a measurement data graph;

[0078] The geometry measurement submodule measures the edges and corners of all objects in the adjusted clear image. First, this module determines the edges of each object through image processing technology, and uses the Canny edge detection algorithm to extract edge information and accurately define the shape of the object. For each detected shape, this module uses the Hough transform method to identify and confirm the geometric type, such as circle, rectangle or polygon. The size and relative position of each shape are converted into actual size through pixel coordinates. The formula H = K × Y, where H represents the actual size, Y is the pixel size, and K is the conversion factor from pixel to actual size. After this stage is completed, a measurement data map containing all measurement data is generated.

[0079] The shape matching submodule compares the actual shape in the measurement data graph with the ideal geometric shape, determines the degree of shape matching, and identifies the areas that deviate from the ideal geometric shape to generate a matching difference map;

[0080] The shape matching submodule compares the actual shape in the measured data graph with the ideal geometric shape. This module calculates the degree of shape matching between the actual shape and the ideal shape using a shape symmetry difference algorithm. Where D represents the total shape difference, S i is the parameter measuring the shape, I i is the corresponding ideal shape parameter, and n is the number of parameters. Through this formula, the degree of shape matching is determined, and the areas that deviate from the ideal geometric shape are identified to generate a matching difference map.

[0081] The deformation localization submodule analyzes the deviation area in the matching difference map, performs shape adjustment, corrects the shape of the identified deformation area, restores the original geometric shape in the image, and generates a geometric analysis map;

[0082] The deformation localization submodule analyzes the deviation areas in the matching difference map. This module performs shape adjustment, especially shape correction of those identified deformation areas. The least squares method is used to correct the deviation shape. The specific formula is: Where R represents the corrected shape, O i is the parameter of the original deviation shape, N i is the parameter of the correction target, and m is the number of parameters involved in the calculation. In this way, the original geometric shape in the image is restored and a geometric analysis diagram is generated.

[0083] See also Figure 2 and Figure 5 , the depth information extraction module includes:

[0084] The depth reconstruction submodule marks the depth of the shape edges in the geometric analysis diagram, uses 3D modeling technology to spatially locate the marked depth points, reconstructs the 3D model through the depth points, and generates a preliminary depth map;

[0085] The depth reconstruction submodule performs depth marking on the shape edges in the geometric analysis graph. First, this module uses edge detection technology to identify each shape edge in the geometric analysis graph and marks the depth value of each edge point through the corresponding depth perception algorithm. Using formula D edge =f(S,d), where D edge represents the depth value of the edge point, S is the shape recognition parameter, and d is the estimated distance from the point to the camera. Then, the 3D modeling technology is used to spatially locate these marked depth points and reconstruct the 3D model by connecting these points. In the reconstruction process, the point cloud generation algorithm P(x, y, z) = ∑d i ·c i , where P represents a point in the three-dimensional point cloud, d i is the depth information, c i are the spatial coordinates of the points, generating a preliminary depth map.

[0086] The depth data integration submodule is based on the preliminary depth map. It assigns weights to multiple layers of depth data through the hierarchical analysis method, merges data using weighted average, fuses depth information between different depth layers, and generates an integrated depth map.

[0087] The depth data integration submodule assigns weights to multiple layers of depth data based on the preliminary depth map through the hierarchical analysis method. This module uses the weighted average method to merge data. The specific execution formula is: Where Z is the integrated depth value, D k is the depth data of the kth layer, w k are the corresponding weights, which are automatically assigned based on the importance of the depth level. Depth information is fused between different depth levels so that the depth information transitions smoothly between different levels and an integrated depth map is generated.

[0088] The depth field correction submodule locally optimizes the depth value of the integrated depth map, adjusts the discontinuity and unnatural jumps in the depth field, smoothes the depth transition, optimizes the natural continuity in the three-dimensional view, and generates a depth data map;

[0089] The depth field correction submodule performs local optimization on the depth value of the integrated depth map. Specifically, a local smoothing algorithm is used. Where S new is the optimized depth value, is the original depth value of the surrounding j points. By adjusting the discontinuity and unnatural jumps in the depth field, the depth transition can be effectively smoothed, and the natural continuity in the 3D view can be optimized to generate a depth data map.

[0090] See also Figure 2 and Figure 6 , the perspective correction module includes:

[0091] The perspective analysis submodule calculates the deviation between the ideal perspective and the actual perspective by analyzing the depth data map pixel by pixel, marks the significant perspective distortion areas in the image, and generates a perspective error map.

[0092] The perspective analysis submodule analyzes the depth data map pixel by pixel. First, this module calculates the deviation between the ideal perspective depth and the actual perspective depth of each pixel. By applying the depth measurement results, the perspective deviation calculation formula for each pixel is ΔP = |P actual -P ideal |, where P actual is the actual depth measured, and P ideal It is the expected ideal depth based on the geometric position. Then, the significant perspective distortion area in the image is marked. The specific marking method is to set a deviation threshold T. If ΔP>T, the pixel is marked as significantly distorted. In this way, a perspective error map is generated.

[0093] The distortion correction submodule analyzes the deviation area in the perspective error map, uses a geometric transformation algorithm to reconfigure the pixel arrangement in the image, corrects the perspective distortion, and generates a distortion correction map;

[0094] The distortion correction submodule analyzes the deviation area in the perspective error map. This module uses a specific pixel remapping method to reconfigure the pixel arrangement in the image. The geometric transformation formula used is X new =

[0095] X orig +k×ΔP,Y new =Y orig +k×ΔP, where X orig , Y orig is the original pixel coordinate, X new , Y new is the adjusted pixel coordinate, and k is the coefficient adjusted according to the error. In this way, the perspective distortion is corrected and a distortion correction map is generated.

[0096] The perspective adjustment submodule adjusts the photographic perspective simulation parameters according to the distortion correction map, repositions the image content, optimizes the perspective effect, ensures the consistency and accuracy of the vision, and generates a corrected perspective map;

[0097] The perspective adjustment submodule adjusts the photography perspective simulation parameters according to the distortion correction map and repositions the image content. The perspective adjustment formula used is V new =V orig ·cos(θ), where V orig is the original perspective parameter, and θ is the adjustment angle calculated based on the distortion correction map. Adjustment helps optimize the perspective effect, ensures visual consistency and accuracy, and generates a corrected perspective map.

[0098] See also Figure 2 and Figure 7 , the pattern recognition preprocessing module includes:

[0099] The edge enhancement submodule uses local contrast adjustment technology to enhance the clarity of the image edge based on the corrected perspective image, refines the image boundary through the edge detection algorithm, highlights the object contour, and generates a clear edge image;

[0100] The edge enhancement submodule uses local contrast adjustment technology to enhance the clarity of the image edge based on the corrected perspective. First, the Sobel operator is used to identify the edge in the image and calculate the gradient intensity of each edge pixel. Apply the local contrast enhancement formula C new =C d +α·ΔC, where C d is the contrast of the original pixel, ΔC is the gradient intensity obtained from the Sobel operator, and α is the enhancement coefficient, which is used to adjust the degree of contrast enhancement. The edge detection algorithm is used to refine the image boundary, highlight the object contour, and generate a clear edge image.

[0101] The feature point analysis submodule uses image analysis algorithms to analyze the positions and characteristics of key points in the image based on the edge clarity map, encodes the geometric properties and position information of each feature point, and generates a feature point data map;

[0102] The feature point analysis submodule uses image analysis algorithms to analyze the location and characteristics of key points in the image based on edge clarity maps. This module first performs initial identification of feature points through enhanced local binary patterns (LBP). The enhanced LBP algorithm calculates the local texture pattern of each pixel by comparing the grayscale value difference between each pixel and its surrounding pixels. The specific calculation method uses the formula where g c is the gray value of the center pixel, g pis the gray value of the surrounding pixels, s(x) is a sign function, if x ≥ 0, then s(x) = 1, otherwise it is O, P is the number of pixels involved in the comparison in the neighborhood, R is the neighborhood radius, extract the local texture features of each pixel and encode them, so as to effectively identify the potential feature points. Then, by statistically analyzing the LBP coding, the key feature points in the image are identified, which not only improves the detection accuracy of the feature points, but also provides rich geometric and texture information for the subsequent feature point classification, and generates a feature point data map.

[0103] The feature point marking submodule applies a classification algorithm to each feature point in the feature point data map, marks the feature point type, including corner points and edge points, records the location of the feature point in the image, and generates a pattern recognition preparation map;

[0104] Classification algorithm, according to the formula:

[0105] I n -I p >t+α·σ I +β·G(p)+γ·S(I p )

[0106] Calculate the corner point recognition result, where I n is the gray value of the pixel in the circular neighborhood, I p is the gray value of the center pixel p, t is the original threshold, α is the adjustment coefficient, σ I is the standard deviation of the grayscale value of pixels in the neighborhood, β is the terrain adjustment factor, G(p) is the gradient intensity of the central pixel p, γ is the sensitivity factor, S(I p ) is the saturation of the central pixel p.

[0107] The execution process is as follows:

[0108] First, select a pixel point p as a potential corner point, check the pixels in a small circular neighborhood around the point, and calculate the standard deviation σ of the pixel grayscale values ​​in the neighborhood I Next, the gradient strength G(p) of the center point p is calculated, which is usually achieved by solving the gradient of point p in the x and y directions and calculating its amplitude. Then, the saturation S(I p ), then, combining the adjustment coefficient α, terrain adjustment factor β and sensitivity factor γ, dynamically adjust the threshold t and compare the pixel points I in the neighborhood n With center point I p The gray value difference increases by α·σ I , β·G(p), γ·S(I p ), if the difference is greater than the adjusted threshold, p is considered to be a corner point, otherwise it is an edge point, and the position of this corner point is recorded.

[0109] See also Figure 2 and Figure 8 , the dynamic shadow analysis module includes:

[0110] The shadow recognition submodule analyzes the brightness and color gradient in the image according to the pattern recognition preparation map, uses the light and shadow separation technology to identify the shadow area, marks the shadow area through contrast analysis, and generates a shadow recognition map;

[0111] The shadow recognition submodule first analyzes the brightness and color gradient in the image according to the pattern recognition preparation map, and uses the light and shadow separation technology based on local brightness statistics to identify the shadow area. The specific processing method is to calculate the brightness difference between each pixel and its surrounding pixels, and apply the formula Where L p is the brightness value of the current pixel, is the brightness value of the surrounding n pixels. By setting a brightness difference threshold T shadow , if D lum >T shadow , then the pixel is marked as a shadow area, and the shadow area is further annotated through contrast analysis to generate a shadow recognition map.

[0112] The illumination analysis submodule is based on the shadow recognition graph. It measures the difference in illumination intensity and distribution pattern, quantifies the influence of light sources on the image, analyzes the interaction between shadows and physical illumination, and generates an illumination analysis graph.

[0113] The illumination analysis submodule is based on the shadow recognition map, by measuring the difference in illumination intensity and distribution pattern, and using the illumination intensity analysis formula I diff =max(I)-min(I), where I represents the light intensity distribution in the image. By calculating the I of different regions diff , quantify the impact of light sources on images, and analyze the interactive effects of shadows and physical lighting, help identify changes in visual features under lighting conditions, and generate lighting analysis graphs.

[0114] The boundary determination submodule performs edge detection on the brightness gradient in the illumination analysis image, refines the boundary lines, calibrates the separation line between the shadow boundary and the object entity, optimizes the distinction accuracy, and generates the shadow analysis results;

[0115] The boundary determination submodule performs edge detection on the brightness gradient in the illumination analysis image, uses the Canny operator to refine the boundary lines, and further calibrates the separation line between the shadow boundary and the object entity. Edge detection formula Among them G x and G y Represents the gradient in the horizontal and vertical directions respectively. This process generates shadow analysis results by strengthening the boundary features of the image and optimizing the distinction accuracy.

[0116] See also Figure 2 and Fig. 9 , the HDR image fusion module includes:

[0117] The illumination adjustment submodule analyzes the uneven illumination area in the shadow analysis results, uses a local enhancement algorithm to adjust the illumination intensity of the uneven illumination area to ensure the uniformity of the image, gradually optimizes the illumination conditions of the overall image, and generates an adjusted illumination map;

[0118] The illumination adjustment submodule analyzes the uneven illumination area in the shadow analysis results, and uses the local enhancement algorithm to adjust the illumination intensity of the uneven illumination area. By analyzing the average illumination intensity I of each area avg and the average global illumination intensity I global , using the adjustment formula I new =I current +α(I global -I avg ), where I current is the light intensity of the current pixel, and α is the adjustment coefficient, which is used to reduce the local difference in light intensity, gradually optimize the lighting conditions of the overall image, and generate an adjusted light map.

[0119] The color balance submodule analyzes and adjusts the color distribution in the illumination map, applies color correction technology to adjust the color temperature and saturation of the image, improves the clarity of image details, ensures the overall color balance of the image, and generates a color balance map;

[0120] The color balance submodule analyzes and adjusts the color distribution in the illumination map, and applies color correction technology to adjust the color temperature and saturation of the image. By calculating the color histogram of the image, the color temperature adjustment formula C is used new =C orig +β(ΔC temp ) adjusts the color temperature, where C orig is the original color value, ΔC temp is the color temperature difference that needs to be adjusted, and β is the adjustment intensity parameter. At the same time, use the formula S new =S orig (1+γ) optimizes saturation, where S orig is the original saturation, and γ is the saturation enhancement coefficient. Ensure the overall color balance of the image, improve the clarity of image details, and generate a color balance map.

[0121] The dynamic enhancement submodule analyzes the detail loss and highlight areas in the color balance image, uses high dynamic range technology to restore regional details, enhances the dynamic range and visual impact of the overall image, and generates the final HDR image;

[0122] The dynamic enhancement submodule analyzes the detail loss and highlight areas in the color balance image and uses high dynamic range technology to restore regional details. The HDR synthesis formula is used Where L is the local brightness value of the image, l max It is the maximum brightness value of the image. By improving the detail display of the local brightness area, the dynamic range and visual impact of the overall image are enhanced to generate the final HDR image.

[0123] The above are only preferred embodiments of the present invention and are not intended to limit the present invention in other forms. Any technician familiar with the profession may use the technical contents disclosed above to change or modify them into equivalent embodiments with equivalent changes and apply them to other fields. However, any simple modification, equivalent change and modification made to the above embodiments based on the technical essence of the present invention without departing from the technical solution of the present invention still falls within the protection scope of the technical solution of the present invention.

Claims

1. An image acquisition system for pattern recognition analysis, characterized in that: The system comprises: The image resolution enhancement module collects the original image, uses super-resolution technology to increase the image pixel density, refine the image detail level, enhance the overall image clarity, and generate an adjusted clear image; The geometric deformation analysis module measures the geometric parameters of the adjusted clear image, identifies the shape deviation of the image, performs shape matching to locate the deformation area, and generates a geometric analysis diagram; The depth information extraction module extracts depth information according to the geometric analysis graph, reconstructs the three-dimensional depth of field using the light field data, corrects the depth field based on the depth data, and generates a depth data graph; The perspective correction module uses the depth data map to perform perspective distortion correction, adjust the image level and viewing angle, correct the perspective deviation, and generate a corrected perspective map; The pattern recognition preprocessing module identifies and enhances edge information in the image based on the corrected perspective image, analyzes each pixel of the image, highlights key feature points, classifies and marks the key feature points, and generates a pattern recognition preparation image; The dynamic shadow analysis module analyzes the illumination changes and shadow features in the pattern recognition preparation image, identifies and distinguishes the boundaries between the shadow and the object, and generates a shadow analysis result; The HDR image fusion module combines the shadow analysis result and the original image, adjusts the light intensity and color balance of the image, performs dynamic range enhancement, optimizes the image display effect, and generates a final HDR image.

2. The image acquisition system for pattern recognition analysis according to claim 1, characterized in that: The adjusted clear image includes pixel density, image sharpness and detail comparison results, the geometric analysis diagram includes shape measurement results, deviation recognition results and shape correction results, the depth data diagram includes three-dimensional depth of field, depth data and depth field correction records, the corrected perspective diagram specifically includes viewing angle correction results, layering enhancement records and image balance results, the pattern recognition preparation diagram includes image edge information, key feature points and feature point classification and marking results, the shadow analysis results include shadow boundaries, light and shadow contrast results and shadow depth, and the final HDR image includes light intensity adjustment results, color balance records and dynamic range enhancement results.

3. The image acquisition system for pattern recognition analysis according to claim 1, characterized in that: The image resolution enhancement module comprises: The pixel refinement submodule uses an interpolation algorithm to subdivide the original image at the pixel level, and fills the color of new pixels by calculating the color difference between adjacent pixels, thereby increasing the image pixel density and generating a refined pixel map. The detail enhancement submodule evaluates the gradient strength of each pixel in the refined pixel map, enhances the image performance by increasing the contrast, highlights the image details and edges, and generates an enhanced detail map; The clarity adjustment submodule adjusts the brightness distribution of the image through dynamic range compression according to the enhanced detail map, maintains the image details, optimizes the clarity of the visual effect, and generates an adjusted clear image.

4. The image acquisition system for pattern recognition analysis according to claim 1, characterized in that: The geometric deformation analysis module includes: The geometry measurement submodule measures the edges and corners of all objects in the adjusted clear image, performs shape recognition on each detected shape, confirms the geometry type, measures the size and relative position of the shape, and generates a measurement data graph; The shape matching submodule compares the actual shape in the measurement data map with the ideal geometric shape, determines the degree of shape matching, identifies the area that deviates from the ideal geometric shape, and generates a matching difference map; The deformation localization submodule analyzes the deviation area in the matching difference map, performs shape adjustment, performs shape correction on the identified deformation area, restores the original geometric shape in the image, and generates a geometric analysis map.

5. The image acquisition system for pattern recognition analysis according to claim 1, characterized in that: The depth information extraction module comprises: The depth reconstruction submodule marks the depth of the shape edges in the geometric analysis diagram, spatially locates the marked depth points using a three-dimensional modeling technique, reconstructs a three-dimensional model using the depth points, and generates a preliminary depth map; The depth data integration submodule allocates weights to multiple layers of depth data based on the preliminary depth map by using the hierarchical analysis method, merges the data by weighted average, fuses the depth information between the different depth layers, and generates an integrated depth map; The depth field correction submodule locally optimizes the depth value of the integrated depth map, adjusts the discontinuity and unnatural jumps in the depth field, smoothes the depth transition, optimizes the natural continuity in the three-dimensional view, and generates a depth data map.

6. The image acquisition system for pattern recognition analysis according to claim 1, characterized in that: The perspective correction module comprises: The perspective analysis submodule calculates the deviation between the ideal perspective and the actual perspective by analyzing the depth data map pixel by pixel, marks the significant perspective distortion area in the image, and generates a perspective error map; The distortion correction submodule analyzes the deviation area in the perspective error map, uses a geometric transformation algorithm to reconfigure the pixel arrangement in the image, corrects the perspective distortion, and generates a distortion correction map; The perspective adjustment submodule adjusts the photographic perspective simulation parameters according to the distortion correction map, repositions the image content, optimizes the perspective effect, ensures the consistency and accuracy of the vision, and generates a corrected perspective map.

7. The image acquisition system for pattern recognition analysis according to claim 1, characterized in that: The pattern recognition preprocessing module comprises: The edge enhancement submodule uses a local contrast adjustment technique to enhance the clarity of the image edge based on the corrected perspective image, refines the image boundary through an edge detection algorithm, highlights the object contour, and generates an edge clarity image; The feature point analysis submodule uses an image analysis algorithm to analyze the positions and characteristics of key points in the image based on the edge clarity image, encodes the geometric attributes and position information of each feature point, and generates a feature point data map; The feature point marking submodule applies a classification algorithm to each feature point in the feature point data map, marks the feature point type, including corner points and edge points, records the position of the feature point in the image, and generates a pattern recognition preparation map.

8. The image acquisition system for pattern recognition analysis according to claim 7, characterized in that: The classification algorithm is based on the formula: I n -I p >t+a·s I +β·G(p)+γ·S(I p ) Calculate the corner point recognition result, where I n is the gray value of the pixel in the circular neighborhood, I p is the gray value of the central pixel p, t is the original threshold, α is the adjustment coefficient, σ I is the standard deviation of the grayscale value of pixels in the neighborhood, β is the terrain adjustment factor, G(p) is the gradient intensity of the central pixel p, γ is the sensitivity factor, S(I p ) is the saturation of the central pixel p.

9. The image acquisition system for pattern recognition analysis according to claim 1, characterized in that: The dynamic shadow analysis module includes: The shadow recognition submodule analyzes the brightness and color gradient in the image according to the pattern recognition preparation map, uses light and shadow separation technology to identify the shadow area, marks the shadow area through contrast analysis, and generates a shadow recognition map; The illumination analysis submodule generates an illumination analysis graph by measuring the illumination intensity difference and distribution pattern based on the shadow recognition graph, quantifying the influence of the light source on the image, analyzing the interaction effect between the shadow and the entity illumination; The boundary determination submodule performs edge detection on the brightness gradient in the illumination analysis graph, refines the boundary lines, calibrates the separation line between the shadow boundary and the object entity, optimizes the distinction accuracy, and generates a shadow analysis result.

10. The image acquisition system for pattern recognition analysis according to claim 1, characterized in that: The HDR image fusion module includes: The illumination adjustment submodule analyzes the uneven illumination area in the shadow analysis result, uses a local enhancement algorithm to adjust the illumination intensity of the uneven illumination area to ensure the uniformity of the image, gradually optimizes the illumination conditions of the overall image, and generates an adjusted illumination map; The color balance submodule analyzes the color distribution in the adjusted illumination map, applies color correction technology to adjust the color temperature and saturation of the image, improves the clarity of image details, ensures the overall color balance of the image, and generates a color balance map; The dynamic enhancement submodule analyzes detail loss and highlight areas in the color balance map, uses high dynamic range technology to restore regional details, enhances the dynamic range and visual impact of the overall image, and generates a final HDR image.

Citation Information

Cited By

  • Laser radar camera co-location sensing method and system and medium

    CN118859232A

  • Final inspection appearance detection system based on industrial camera shooting

    CN119048689A

  • Dynamic production line measurement and control method and system based on visual identification

    CN119169010A

  • Equipment nameplate image recognition and calibration processing method

    CN119206698A

  • Vegetation fine classification and recognition system based on RGB image of unmanned aerial vehicle

    CN119723396A