Fusion detail enhanced visual detection image defogging processing method and system

By analyzing visual feature partitioning and fog occlusion indices, and combining partition detection detail coefficients for adaptive dehazing, the problem of difficulty in coordinating detail enhancement and dehazing intensity in image dehazing methods is solved, achieving dehazing effect without boundary mutations and improving the reliability of target detection.

CN122199985BActive Publication Date: 2026-11-20SHENZHEN YUEFEIYANG TECH CO LTD +1
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202610329241.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2026-03-18
Publication Date
2026-11-20
Estimated Expiration
2046-03-18

AI Technical Summary

Technical Problem

Existing image dehazing methods struggle to coordinate detail enhancement with dehazing intensity, leading to issues such as abrupt boundary changes and mismatch between fog area processing and detection targets in partitioned dehazing.

Method used

Visual feature partitioning is performed based on the detection target, partition detection features and partition detection detail coefficients are obtained, fog occlusion partitions are established through fog occlusion index analysis, and partition detection detail coefficients are used for mapping to identify the defogging sensitivity constraints of each partition, thereby achieving adaptive defogging processing.

Benefits of technology

It achieves accurate, uniform, and boundary-free dehazing, improving the visual quality of hazy images and the reliability of target detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122199985B_ABST
    Figure CN122199985B_ABST
Patent Text Reader

Abstract

The application discloses a fusion detail enhancement visual detection image defogging processing method and system, relates to the technical field of image defogging processing, and comprises the following steps: obtaining a partition detection feature and a partition detection detail coefficient; obtaining a fog-containing detection image, establishing a fog-shielding partition according to a fog-shielding index; mapping the fog-shielding partition, and identifying a defogging-sensitive constraint of each partition; and performing adaptive defogging processing on the fog-containing detection image based on the defogging-sensitive constraint. The application solves the technical problem that, in the prior art, detail enhancement and defogging intensity are difficult to coordinate when defogging an image, which leads to boundary mutation in partition defogging and mismatching between fog area processing and a detection target, achieves a precise, uniform and boundary-mutation-free defogging effect, and improves the technical effect of visual quality and target detection reliability of a fog-containing image.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of image dehazing technology, specifically to a method and system for dehazing visual inspection images with enhanced detail fusion. Background Technology

[0002] In the field of visual inspection, imaging equipment is susceptible to the effects of weather conditions such as fog and haze, leading to decreased image contrast, blurred target edges, and loss of texture details, severely reducing the accuracy and reliability of target detection. Traditional dehazing methods often employ global uniform processing, making it difficult to address the dehazing needs of regions with varying fog concentrations. This can easily result in problems such as over-dehazing, detail distortion, or insufficient dehazing. While region-based dehazing methods can adapt to differences in fog areas to some extent, they do not consider the feature distribution of the target and the need for detail enhancement. This can easily lead to defects such as abrupt changes in region boundaries, broken target features, and amplified noise in interference areas, failing to meet the dual requirements of visual inspection for target detail integrity and image uniformity.

[0003] In existing technologies, it is difficult to coordinate detail enhancement and dehazing intensity during image dehazing, which leads to technical problems such as abrupt boundary changes and mismatch between fog area processing and detection targets in partitioned dehazing. Summary of the Invention

[0004] This application provides a method and system for dehazing visual inspection images with fusion detail enhancement, which is used to address the technical problem in the prior art that the detail enhancement and dehazing intensity are difficult to coordinate during image dehazing, resulting in abrupt boundary changes and mismatch between fog area processing and detection targets in partition dehazing.

[0005] In view of the above problems, this application provides a method and system for dehazing visual inspection images by fusing detail enhancement.

[0006] The first aspect of this application provides a method for dehazing visual inspection images with fused detail enhancement, the method comprising: Visual feature partitioning is performed based on the detection target to obtain partition detection features and partition detection detail coefficients; a fog-containing detection image is acquired, and fog occlusion index analysis is performed on the fog-containing detection image to establish fog occlusion partitions based on the fog occlusion index; the fog occlusion partitions are mapped using the partition detection detail coefficients to identify the dehazing sensitivity constraints of each partition; adaptive dehazing processing is performed on the fog-containing detection image based on the dehazing sensitivity constraints, wherein a dehazing strategy is configured according to the detail enhancement requirements of the partition detection features and the dehazing sensitivity constraints, and corresponding dehazing processing is performed according to the dehazing strategy of each partition.

[0007] A second aspect of this application provides a visual inspection image dehazing system with fused detail enhancement, the system comprising: The system includes a partition detection feature acquisition module for performing visual feature partitioning based on the detection target to obtain partition detection features and partition detection detail coefficients; a fog detection image acquisition module for acquiring fog detection images, performing fog occlusion index analysis on the fog detection images, and establishing fog occlusion partitions based on the fog occlusion index; a dehazing sensitivity constraint recognition module for mapping the fog occlusion partitions using the partition detection detail coefficients and recognizing the dehazing sensitivity constraints of each partition; and an adaptive dehazing processing module for performing adaptive dehazing processing on the fog detection images based on the dehazing sensitivity constraints, wherein a dehazing strategy is configured according to the detail enhancement requirements of the partition detection features and the dehazing sensitivity constraints, and corresponding dehazing processing is performed according to the dehazing strategy of each partition.

[0008] One or more technical solutions provided in this application have at least the following technical effects or advantages: Visual feature partitioning is performed based on the detection target to obtain partition detection features and partition detection detail coefficients. A hazy detection image is acquired, and fog occlusion index analysis is performed on the hazy detection image to establish fog occlusion partitions. The partition detection detail coefficients are used to map the fog occlusion partitions, and the dehazing sensitivity constraints of each partition are identified. Adaptive dehazing processing is then performed on the hazy detection image based on these dehazing sensitivity constraints. This achieves accurate, uniform, and boundary-free dehazing effects, improving the visual quality of hazy images and the reliability of target detection. Attached Figure Description

[0009] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0010] Figure 1 A schematic flowchart of a visual inspection image dehazing method for enhanced detail fusion provided in an embodiment of this application; Figure 2 A schematic diagram of the structure of a visual inspection image dehazing system for enhanced detail fusion provided in an embodiment of this application.

[0011] Figure labeling: 10 for partition detection feature acquisition module, 20 for foggy detection image acquisition module, 30 for defogging sensitive constraint recognition module, and 40 for adaptive defogging processing module. Detailed Implementation

[0012] This application provides a method and system for dehazing visual inspection images by fusing detail enhancement, which addresses the technical problem in the prior art where it is difficult to coordinate detail enhancement and dehazing intensity during image dehazing, resulting in abrupt boundary changes and mismatch between fog area processing and detection targets during partition dehazing.

[0013] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. All other embodiments obtained by those skilled in the art based on the embodiments of this application without creative effort are within the scope of protection of this application.

[0014] Example 1, as Figure 1 As shown, this application provides a method for dehazing visual inspection images with fusion detail enhancement, the method comprising: Step S100: Perform visual feature partitioning based on the detection target to obtain partition detection features and partition detection detail coefficients.

[0015] Specifically, the process begins by performing a detection attribution analysis on the target features to extract attribution features and detection contribution distribution. Based on these attribution features and distribution, the detected image is then partitioned by detection contribution, clarifying the corresponding detection features for each partition. Furthermore, partition detection detail coefficients are configured specifically according to the detection contribution distribution of each partition. Simultaneously, neighborhood interference analysis is performed on the target features to obtain neighborhood interference features and relationships. A neighborhood interference relationship mapping is established based on these features and relationships, and detection interference coefficients are calculated. These coefficients are then used to label the interference relationships in each partition, and are integrated into the partition detection features and detail coefficients. This completes the labeling of neighborhood interference features for each partition's detection interference constraints. Finally, partition detection features and detail coefficients with interference constraint labels, highly adapted to the target, are obtained, providing accurate target detection features for subsequent fog-occluded partition mapping and defogging-sensitive constraint recognition.

[0016] Step S200: Acquire a fog detection image, perform fog occlusion index analysis on the fog detection image, and establish fog occlusion partitions based on the fog occlusion index.

[0017] Specifically, the process begins by accurately acquiring the fog-containing detection image to be processed. Then, a comprehensive analysis of fog occlusion indices is performed on this image. This involves calculating one or more of the image's transmittance, brightness generalization, and contrast attenuation indices, fusing these indices to generate a quantitative fog occlusion index. Next, based on the spatial distribution of this quantitative fog occlusion index within the image, a pixel-level occlusion attenuation intensity distribution is formed. Combining the differences in attenuation intensity between pixels, spatial proximity, and local attenuation trends, a clustering and matching relationship between pixels is determined. Based on this clustering and matching relationship, the pixels of the fog-containing detection image are regionally aggregated and divided, ultimately forming multiple fog occlusion partitions while ensuring that the degree of fog occlusion within the same fog occlusion partition remains consistent.

[0018] Step S300: Map the fog-occluded partitions using the partition detection detail coefficient to identify the defogging sensitivity constraints of each partition.

[0019] Specifically, the method first aligns and maps the detection detail coefficients of each partition with the fog occlusion partitions to establish a correlation between fog occlusion distribution and target detection details. Based on this mapping, sensitive regions with high detection contribution are accurately identified using the partition detection detail coefficients, and core features such as edge structure, texture gradient, and target contour of these sensitive regions are extracted. Simultaneously, based on the previously labeled detection interference coefficients, the neighborhood interference relationships of sensitive regions are identified, clarifying the neighborhood interference characteristics and their impact on the detection interference of each fog occlusion partition. Finally, the partition detection detail coefficients, detection interference coefficients, and fog occlusion indices are fused to generate dehazing sensitivity constraints for each partition. These constraints can accurately define the required detail recovery intensity and noise suppression level for each partition during the dehazing process.

[0020] Step S400: Perform adaptive dehazing processing on the foggy detection image based on the dehazing sensitivity constraints, wherein a dehazing strategy is configured according to the detail enhancement requirements of the partition detection features and the dehazing sensitivity constraints, and corresponding dehazing processing is performed according to the dehazing strategy of each partition.

[0021] Specifically, the previously identified dehazing-sensitive constraints are first accurately mapped onto the hazy detection image, and the detail recovery intensity and noise suppression level of each region are clearly labeled. Then, based on the labeled hazy detection image, the consistency requirements for detail enhancement of each feature are identified by combining the detail recovery parameters and noise suppression parameters corresponding to each region. If the consistency requirements are met, the edge structure, texture gradient, and target contour features of the sensitive region are combined with the image fog occlusion index to complete the strategy matching in the preset dehazing processing strategy library, determine the dehazing processing model for the corresponding region and the corresponding dehazing, scale processing, structure preservation, detail enhancement, and noise suppression parameters, and form a dedicated dehazing strategy. The process involves performing adaptive dehazing for each partition. If consistency requirements are not met, dehazing priorities are assigned to each partition based on dehazing sensitivity constraints. The partitions are then sorted hierarchically according to their detail recovery requirements and noise levels. The corresponding dehazing strategies are matched by considering edge structure, texture gradient, target contour features, and fog occlusion indices. Adaptive dehazing is then performed sequentially for each partition according to the sorting order. During the process, the dehazing parameters of subsequent partitions are adjusted in real time based on the dehazing sorting and the detection results of the processed partitions. The entire process strictly adheres to the detail enhancement requirements of the partition detection features and the dehazing sensitivity constraints to configure dehazing strategies accordingly, achieving precise adaptation of dehazing for each fog-occluded partition.

[0022] In one possible implementation, step S100 further includes: Step S110: Perform detection attribution analysis based on the characteristics of the detection target to obtain attribution features and the distribution of detection contribution.

[0023] Step S120: Based on the attribution features and the detection contribution distribution, the detection image is partitioned by detection contribution, the partition detection features corresponding to each partition are determined, and the partition detection detail coefficients are configured according to the detection contribution distribution of each partition.

[0024] Specifically, attribution analysis is conducted on the features of the detected target. The SHAP feature interpretation algorithm is used to accurately extract attribution features and quantify the distribution of detection contribution. First, the original visual features of the detected target are preprocessed to extract basic visual features such as edges, textures, contours, colors, and grayscale gradients, and a feature set is constructed. This feature set is then input into a pre-trained target detection model to complete feature forward propagation. Next, a feature contribution interpretation model is constructed based on the SHAP algorithm, using the recognition confidence of the detected target as the prediction target. By calculating the Shapley value of each basic visual feature in the detection model, the individual features are quantified. The marginal contribution of features to the target detection results is determined by selecting features with Shapley values ​​greater than a set threshold as attribution features that have a core impact on the detection results, and eliminating redundant features with Shapley values ​​lower than the threshold. Simultaneously, by combining the pixel-level spatial distribution position of each attribution feature in the detection image, the corresponding Shapley value is mapped to the pixel coordinate space of the image. Through spatial interpolation and normalization, a pixel-level detection contribution value distribution map is generated across the entire domain. Finally, a detection contribution distribution that combines feature dimension quantification weights and image spatial distribution features is obtained, achieving accurate and interpretable acquisition of attribution features and detection contribution distribution.

[0025] Based on the extracted attribution features and detection contribution distribution, a density-based DBSCAN clustering algorithm is used, combined with a detection contribution threshold division method to partition the detection contribution. First, the pixel-level detection contribution distribution data is correlated and matched with the spatial location of the attribution features. High, medium, and low contribution thresholds are set according to the detection task requirements. The DBSCAN algorithm is used to cluster image pixels according to contribution values ​​and spatial neighborhood relationships. Pixels that meet the same density clustering conditions and have consistent contribution threshold ranges are grouped into the same region, forming multiple detection contribution partitions. Simultaneously, the core attribution features with the highest proportion and strong correlation with the detection target recognition within each partition are extracted as the corresponding partition detection features. Then, for each detection contribution partition, the mean and variance of the detection contribution values ​​of all pixels within the partition are calculated. Combining the number of dimensions and feature importance weights of the partition detection features, a normalization formula is used. Quantitative calculations are performed, among which For partition detection detail coefficients, Let σ be the mean contribution of each region, and σ be the variance. The feature importance adjustment coefficient and ∈[0,1], configure a unique partition detection detail coefficient that is adapted to its detection contribution characteristics for each partition. The coefficient value is positively correlated with the detection contribution of the partition, so as to realize the accurate definition of the partition detection features and the quantitative configuration of the partition detection detail coefficient.

[0026] In one possible implementation, step S100 further includes: Step S130: Perform neighborhood interference analysis on the detected target features to obtain neighborhood interference features and neighborhood interference relationships.

[0027] Step S140: Establish a neighborhood interference relationship mapping based on the neighborhood interference features and neighborhood interference relationships to obtain the detection interference coefficient.

[0028] Step S150: Mark the interference relationship of each partition according to the detection interference coefficient, and add the detection interference coefficient to the partition detection feature and the partition detection detail coefficient to mark the detection interference constraint of the neighborhood interference feature on the partition.

[0029] Specifically, neighborhood interference analysis is performed on the detected target features. A mutual information-based neighborhood feature matching algorithm is used to accurately extract neighborhood interference features and quantify the neighborhood interference relationships. Specifically, based on the scale and distribution of the attribution features of the detected target, a suitable square sliding window is set. The window size is adaptively adjusted according to the target feature pixel scale. The window slides point-by-point around each attribution feature pixel in the detected image, extracting all neighborhood features within each window, including background features, stray texture features, and non-target similarity features, excluding the target attribution features. By calculating the mutual information value between each neighborhood feature and the target attribution feature, neighborhood features with mutual information values ​​below a set threshold are selected as potential targets for detection. The system measures the interfering features in the neighborhood. The lower the mutual information value, the weaker the feature correlation and the stronger the interference, thus accurately extracting the interfering features. Based on the extracted neighborhood interference features, quantitative indicators such as spatial overlap, Euclidean distance of gray-level gradient, and Bach distance of texture histogram with the corresponding target attribution features are calculated. After normalizing each indicator, the neighborhood interference intensity value is obtained by weighted summation. At the same time, combined with the spatial relative position relationship between the interference features and the target features, a neighborhood interference relationship is constructed with the target attribution feature - neighborhood interference feature - spatial position - interference intensity value as the core dimension. This clearly defines the target feature region, spatial distribution location, and quantified interference degree corresponding to each type of neighborhood interference feature.

[0030] Based on the extracted neighborhood interference features and the constructed neighborhood interference relationships, a full-domain neighborhood interference relationship mapping and quantitative calculation of the detection interference coefficient are carried out. Specifically, using the pixel coordinate system of the detection image as a benchmark, a neighborhood interference relationship mapping map that perfectly matches the spatial dimension of the image is constructed. The target attribution features, neighborhood interference features, and their corresponding spatial locations and interference intensity values ​​of each region are mapped one by one to the corresponding pixel positions in the map, realizing the spatialized and visual association matching between interference features and target features. Then, the interference intensity values ​​of each pixel position in the mapping map are standardized and normalized to the [0, 1] interval. Subsequently, for each pixel region of the detection image, the interference intensity values, the proportion of interference features, and the feature dimension weights of all neighborhood interference features in that region are fused and calculated using the weighted summation formula IC = Where IC is the pixel-level interference detection coefficient. Let be the dimensional weight of the i-th type of neighborhood interference feature. The value of the interference intensity after normalization of the interference features of the i-th neighborhood is given. Let n be the proportion of the i-th type of neighboring interference features in the pixel region, and n be the number of types of neighboring interference features in the pixel region. Then, the pixel-level detection interference coefficient is calculated. Finally, the pixel-level detection interference coefficient is processed by region smoothing to eliminate the coefficient fluctuation of isolated pixels and obtain the region-level detection interference coefficient that matches the detection contribution partition. At the same time, all pixel-level and region-level detection interference coefficients and the neighboring interference relationship mapping map are associated and stored to realize the accurate acquisition and spatial association of the detection interference coefficient.

[0031] First, pixel-level detection interference coefficients are statistically analyzed by region according to detection contribution. The mean and maximum values ​​of the detection interference coefficients within each region are calculated as the overall interference characterization value for each region. Based on the characterization value, three levels of interference—high, medium, and low—are defined. The interference level, mean interference intensity, and main neighborhood interference feature types are visualized and labeled on the feature map of each detection contribution region, clearly reflecting the overall neighborhood interference situation of each region. Then, the detection interference coefficients of each region are added as new feature dimensions to the corresponding region's detection feature vector, realizing the fusion representation of neighborhood interference information by the region's detection features. At the same time, the detection interference coefficients are integrated as weight adjustment factors into the numerical system of the region's detection detail coefficients. The original region's detection detail coefficients are corrected through a preset weighted fusion formula, so that the corrected region's detection detail coefficients simultaneously reflect the dual constraints of detection contribution and neighborhood interference. This completes the accurate labeling of the neighborhood interference features on the detection interference constraints of each region, enabling the subsequent identification of dehazing sensitive constraints and the configuration of dehazing strategies to fully consider the detection impact of neighborhood interference, improving the adaptability of dehazing processing to target detection requirements.

[0032] In one possible implementation, step S200 further includes: Step S210: Calculate one or more of the transmittance index, brightness generalization index, and contrast attenuation index of the fog-containing detection image, and use one or more of the transmittance index, brightness generalization index, and contrast attenuation index to fuse and generate an image fog occlusion quantification index.

[0033] Step S220: Based on the image fog occlusion quantization index, perform region clustering on the image pixels to form multiple fog occlusion partitions, so that the degree of fog occlusion within the same fog occlusion partition remains consistent.

[0034] Specifically, the basic pixel-level metrics of the fog-contaminated image are first calculated. For the transmittance metric, the transmittance value of each pixel is calculated using the dark channel prior method, characterizing the degree of light occlusion by fog. For the brightness generalization metric, the mean RGB channel brightness and global brightness variance of each pixel are calculated, reflecting the overall brightness increase and detail generalization caused by fog. For the contrast attenuation metric, the local contrast of each pixel is calculated using the Laplacian operator, and then compared with the contrast baseline value of a fog-free reference image to obtain the contrast attenuation ratio of each pixel, reflecting the loss of image detail contrast caused by fog. The degree of fog obstruction is determined; then, based on the actual fog condition of the fog detection image and the visual detection requirements, one or more of the above indicators are selected, and appropriate weight coefficients are assigned to each selected indicator. The weights are set according to the importance of the indicator in the fog occlusion representation, and the weight sum is 1. The pixel-level values ​​of the selected indicators are fused and calculated by weighted summation, and then the fusion result is normalized in the range [0, 1]. The higher the value, the stronger the fog occlusion of the corresponding pixel. Finally, a pixel-level image fog occlusion quantification index that perfectly matches the spatial dimension of the fog detection image is generated, so as to achieve accurate and quantitative representation of the degree of fog occlusion at each position of the image.

[0035] Based on pixel-level image fog occlusion quantification metrics, this study performs region clustering on fog-detected images to form fog occlusion partitions, ensuring consistent fog occlusion levels within the same partition. Specifically, first, the pixel-level values ​​of the image fog occlusion quantification metrics are associated with their corresponding pixel coordinates to construct a fog occlusion value-spatial distribution dataset for fog-detected images. Then, a density-based clustering algorithm is employed, using the numerical similarity of the fog occlusion quantification metrics as the core clustering condition and spatial proximity between pixels as an auxiliary constraint. Reasonable density and neighborhood distance thresholds are set to cluster the pixels in the dataset, grouping pixels with similar fog occlusion quantification metrics and spatially adjacent locations into the same region. Simultaneously, isolated pixels after clustering undergo neighborhood merging to integrate them into the surrounding regions with the closest fog occlusion levels. Finally, boundary smoothing and contour regularization are performed on each clustered region, eliminating invalid partitions with excessively small areas, ultimately forming multiple independent fog occlusion partitions. Within each partition, the pixel fog occlusion quantification metrics values ​​are within a preset similar range, achieving uniformity in fog occlusion levels within the same fog occlusion partition.

[0036] In one possible implementation, step S220 further includes: Step S221: Based on the spatial distribution of the image fog occlusion quantization index in the image, a pixel-level occlusion attenuation intensity distribution is formed, and the aggregation and matching relationship between pixels is determined based on the attenuation intensity difference, spatial proximity relationship and local attenuation change trend between each pixel.

[0037] Step S222: Based on the aggregation matching relationship, perform region aggregation and division on the image pixels to obtain multiple fog occlusion partitions.

[0038] Specifically, firstly, relying on the pixel-level values ​​of the image fog occlusion quantization index, and combining them with its two-dimensional spatial coordinate information in the fog detection image, a global mapping and association is completed. This fully preserves the fog occlusion quantization value and corresponding position information of each pixel, constructing a pixel-level occlusion attenuation intensity distribution that perfectly matches the size of the fog detection image. This accurately presents the spatial distribution characteristics and numerical changes of fog occlusion levels in different regions of the image. Then, using this occlusion attenuation intensity distribution as the core foundation, the absolute difference between the fog occlusion quantization values ​​and those of neighboring pixels is calculated pixel by pixel to obtain the attenuation intensity difference value between pixels. The spatial distance between pixels is calculated using the Euclidean distance formula. Normalized to the [0, 1] interval, the entire image is traversed using a sliding window of a preset size. The gradient rate of change of the pixel fog occlusion quantization value within the window is calculated to obtain the local attenuation trend value. ; then on , , Each of the three dimensions has a quantitative matching threshold set. , , Among them, the attenuation intensity difference threshold Based on the standard deviation of the full-image fog occlusion quantification index, the spatial proximity threshold is set. The threshold for local attenuation trend is set based on the pixel scale of the detected image and the characteristics of fog distribution. Based on the spatial variation smoothness of fog obscuration, and then through multi-dimensional joint judgment rules, when any two pixels... ≤ , ≤ and ≤ When the two satisfy the clustering and matching conditions, the clustering and matching relationship between pixels in the whole image is clarified, providing a precise and quantifiable matching basis for subsequent pixel region aggregation and division.

[0039] Based on the established aggregation and matching relationships among pixels in the entire image, a region growing method is used to perform pixel region aggregation and division, accurately obtaining fog-occluded partitions. Specifically, all pixels in the fog-detected image are first initialized as unlabeled pixels. An unlabeled pixel in the image is randomly selected as the initial seed point. The aggregation and matching relationship data of this seed point is retrieved, and all unlabeled pixels in the neighborhood that satisfy the aggregation and matching conditions with the seed point are included in the current growing region. Then, using the edge pixels of the current growing region as new seed points, the above matching pixel retrieval and inclusion operation is repeated, continuously growing outward until there are no more unlabeled pixels that satisfy the aggregation and matching conditions to be included in the current region, completing one step. The process involves aggregating and dividing each fog-occluded region and uniformly labeling the pixels in that region. Then, new unlabeled pixels are selected as initial seed points in the image, and the region growth process is repeated to aggregate and divide all unlabeled pixels in the entire image. Finally, all fog-occluded regions are post-processed and optimized. Discrete micro-blocks with fewer than a preset threshold of pixels are removed and merged into the surrounding regions that are spatially adjacent and have the closest fog occlusion quantification index. At the same time, morphological closing operations are used to smooth and regularize the edge contours of each region to eliminate pixel-level edge jaggedness. Finally, multiple fog-occluded regions with clear boundaries, uniform fog occlusion levels in internal pixels, and no redundant micro-regions are obtained.

[0040] In one possible implementation, step S300 further includes: Step S310: Use the fog occlusion partition and the partition detection details to perform position alignment mapping, and establish the mapping relationship between fog occlusion and target detection details.

[0041] Step S320: Based on the mapping relationship, identify sensitive regions with high detection contribution according to the partition detection detail coefficient, and extract the edge structure, texture gradient and target contour features of the corresponding sensitive regions.

[0042] Step S330: Identify the interference relationship of sensitive areas based on the labeled detection interference coefficients, determine the neighboring interference characteristics and the impact of detection interference on each fog-covered zone.

[0043] Step S340: Generate dehazing sensitive constraints based on the detection detail coefficient, detection interference coefficient, and fog occlusion index of each partition to determine the detail recovery strength and noise suppression degree of each partition during the dehazing process.

[0044] Specifically, based on the unified pixel coordinate space of the detected image, the fog occlusion partitions that have been divided are precisely aligned and mapped to the previously obtained partition detection features and partition detection detail coefficients in spatial location on a region-by-region and pixel-by-pixel basis. The detection contribution partition, partition detection features and partition detection detail coefficients corresponding to each fog occlusion partition are associated and bound one by one, and a fog occlusion-target detection detail mapping relationship covering the entire image is constructed, so that the degree of fog occlusion at each position in the image can accurately correspond to the importance of target detection and the detail enhancement requirements at that position.

[0045] Based on the established mapping relationship between fog occlusion and target detection details, the detection detail coefficient of each region is used as the quantitative criterion. Fog-occluded regions with coefficient values ​​higher than a preset threshold are marked as sensitive areas with high detection contribution, thus achieving accurate localization of sensitive areas. For these sensitive areas, edge detection operators are used to extract the edge structure features of the target, texture gradient distribution features are obtained through gradient calculation, and the overall contour features of the target are obtained using a contour extraction algorithm. This completes the extraction of three core detection features within the sensitive areas: edge structure, texture gradient, and target contour.

[0046] Based on the labeled detection interference coefficients, interference relationships are analyzed within the identified sensitive detection areas. First, the detection interference coefficients corresponding to each sensitive area are statistically analyzed and normalized. The strength of the interference from neighboring areas is determined based on the coefficient magnitude. Then, combined with the previously obtained neighboring interference features and relationships, the types, spatial distribution, and modes of action of neighboring interference features that affect target detection in sensitive areas are located. The interference mode, scope, and weakening degree of each type of neighboring interference feature on target detection within the corresponding fog-covered partition are clarified. Finally, a complete relationship between the interference features of neighboring areas and the detection interference of each fog-covered partition is formed.

[0047] Based on three parameters—the detection detail coefficient, the detection interference coefficient, and the fog occlusion index—a defogging sensitivity constraint is generated through weighted fusion calculation. Specifically, the detection detail coefficients within the same fog occlusion partition are first calculated. Detection interference coefficient Fog obstruction index Normalized to The interval is then assigned weights according to the priority of the detection task. , , And satisfy The weighted formula is used: The dehazing sensitivity constraint value of this partition was calculated. Among them, the partition detection detail coefficient positively determines the detail recovery strength; the larger the value, the higher the detail enhancement. The detection interference coefficient positively determines the noise suppression level; the larger the value, the stronger the interference and clutter suppression. The fog occlusion index is used to adaptively adjust the overall defogging intensity, ultimately constraining the value. The mapping is applied to the detail recovery strength and noise suppression level of the corresponding partition, achieving precise adaptation of defogging processing with detection features, interference levels, and fog conditions.

[0048] In one possible implementation, step S400 further includes: Step S410: Map the dehazing sensitive constraints onto the hazy detection image and label the detail recovery intensity and noise suppression degree of each region.

[0049] Step S420: Based on the labeled foggy detection image, identify the consistency requirements for enhancing the details of each feature according to the detail recovery parameters and noise suppression parameters corresponding to each partition.

[0050] Step S430: When the consistency requirement is met, a dehazing strategy is matched based on the edge structure, texture gradient, target contour features, and fog occlusion index, and adaptive dehazing processing is performed for each partition.

[0051] Specifically, using the unified pixel coordinates of the image as a reference, the dehazing sensitive constraints corresponding to each fog occlusion partition are mapped one by one to the corresponding region of the fog-containing detection image according to their spatial location. The detail recovery strength and noise suppression degree, which are jointly determined by the partition detection detail coefficient, detection interference coefficient, and fog occlusion index, are marked in each partition in a parameterized form. This ensures that each fog occlusion partition in the image has clear and directly executable detail recovery strength parameters and noise suppression degree parameters, forming a globally partitioned and parameterized dehazing constraint annotation image.

[0052] Based on the fog-containing detection image with completed dehazing sensitive constraint annotation, adjacent fog-occluded partitions are used as analysis units. Boundary gradient consistency verification is adopted to accurately identify the consistency requirements of detail enhancement. Specifically, continuous feature distributions such as edge structure, texture gradient and target contour are extracted along the boundary of each partition. Then, the difference in detail recovery parameters and the difference in noise suppression parameters between adjacent partitions are calculated respectively, and the smoothness of feature gradient changes at the boundary is detected. When the parameter difference and feature gradient change are both less than the preset consistency threshold, the consistency requirements of detail enhancement are determined to be met. Otherwise, it is determined that there are boundary abrupt changes, feature breaks or uneven enhancement problems, thus clarifying the feature continuity, parameter smoothness and visual consistency requirements that must be maintained in the detail enhancement process of the whole image.

[0053] Assuming that detail enhancement and noise suppression meet the consistency requirements between adjacent partitions, different dehazing strategies are adaptively matched for different partitions based on the edge structure, texture gradient, target contour features, and the strength of the corresponding fog occlusion index within each fog-occluded partition: for regions with high fog occlusion and concentrated key detection features, a strong transmittance correction and detail enhancement strategy is adopted; for regions with low fog occlusion and significant neighborhood interference, a moderate dehazing and strong noise suppression strategy is adopted; at the partition boundaries, a smooth transition is achieved through consistency constraints, and finally, global adaptive dehazing is completed according to the strategy matched for each partition. This ensures that the key details of target detection are fully preserved while achieving a clear, uniform, and boundary-free dehazing effect for the entire image.

[0054] In one possible implementation, step S420 further includes: Step S421: When the consistency requirement is not met, mark the dehazing priority of each partition based on the dehazing sensitivity constraint.

[0055] Step S422: Based on the dehazing priority, each partition is sorted hierarchically according to the detail recovery requirements and noise interference level. The corresponding dehazing strategy is matched by combining edge structure, texture gradient, target contour features and fog occlusion index. Adaptive dehazing processing of each partition is executed in sequence. Among them, the dehazing parameters of subsequent partitions are constrained and adjusted based on the detection results of the processed partitions according to the dehazing sorting.

[0056] Specifically, when it is determined that the detail enhancement consistency requirement is not met between adjacent fog-occluded partitions, the dehazing sensitivity constraints corresponding to each partition are used as the basis. A comprehensive score is made by combining the partition detection detail coefficient, detection interference coefficient and fog occlusion index. Partitions containing key target detection features, severe fog occlusion and strong interference are marked as high dehazing priority, while ordinary background areas, light fog occlusion and weak interference are marked as low dehazing priority, thereby completing the dehazing priority labeling of all fog-occluded partitions.

[0057] Based on the labeled dehazing priorities, each fog-occluded partition is hierarchically sorted according to the strength of detail recovery requirements and the degree of noise interference. When adjacent partitions have contradictory conditions of inconsistent detail enhancement and mutual constraints, they are processed sequentially from low fog occlusion to high fog occlusion and from low detection priority to high detection priority. For each partition, based on its edge structure, texture gradient, target contour features, and fog occlusion index, a corresponding dehazing strategy including transmittance correction, detail enhancement, and noise suppression is matched and adaptive dehazing processing is performed. During the sequential processing, the target detection results of the dehazed partitions are used as prior constraints to dynamically adjust the dehazing parameters of the subsequent partitions to be processed. The features and detection results of low fog areas and low priority partitions are locked first, and then the dehazing intensity and detail enhancement of high fog areas and high priority partitions are gradually optimized. This ensures that all detected targets in the entire domain can be effectively identified, while avoiding repeated iterations of dehazing operations, parameter conflicts, and feature inconsistencies, thus achieving orderly, stable, and reliable partition adaptive dehazing.

[0058] In one possible implementation, step S430 further includes: Step S431: Establish a dehazing strategy library, which includes multiple preset dehazing models and dehazing parameters, scale processing parameters, structure preservation parameters, detail enhancement parameters, and noise suppression parameters corresponding to each preset dehazing model.

[0059] Step S432: Determine the detail recovery target and dehazing control target of the corresponding partition based on the edge structure strength, texture gradient strength, target contour confidence, fog occlusion strength and detection interference coefficient, and perform strategy matching with the dehazing processing strategy library to determine the dehazing processing model and corresponding parameters of the corresponding partition, and obtain the dehazing strategy.

[0060] Specifically, a dehazing strategy library is established, which pre-configures multiple preset dehazing models suitable for different fog conditions and target detection scenarios. For each preset dehazing model, matching dehazing parameters, scale processing parameters, structure preservation parameters, detail enhancement parameters, and noise suppression parameters are set. The dehazing parameters are determined based on the intensity of fog occlusion in different regions, specifically including at least one of a lower transmittance limit parameter, an atmospheric light compensation parameter, and a dehazing recovery gain. The scale processing parameters are determined based on image resolution and target size, specifically including at least one of a downsampling ratio, an upsampling factor, and the number of pyramid layers. The detail enhancement parameters are determined based on edge structure, texture gradient, and target contour saliency, specifically including at least one of edge protection weights, gradient preservation weights, high-frequency enhancement weights, detail injection weights, and local contrast gain. The noise suppression parameters are determined based on the detection interference coefficient and clutter distribution, specifically including at least one of a convolution kernel size, noise suppression intensity, and a high-frequency suppression threshold. All parameters are determined using a region-adaptive calculation method to form a standardized set of dehazing strategies that can be directly invoked and cover different scenarios.

[0061] For the current fog-occluded region, a multi-feature weighted matching algorithm is used to adaptively select the defogging strategy: first, the edge structure intensity is... Texture gradient intensity Target contour confidence Fog obstruction intensity and detection interference coefficient Normalization to Intervals, using weighted formulas Calculate the comprehensive feature score of the partition. ,in , , , The scores are used to determine the detail recovery target and dehazing control target for the partition, with preset weights and a sum of 1. Then, the Euclidean distance between the comprehensive feature score and the standard feature vector of each preset dehazing model in the dehazing strategy library is calculated. The model with the smallest distance and the highest matching degree is selected as the optimal dehazing model for the partition. The corresponding dehazing parameters, scale processing parameters, structure preservation parameters, detail enhancement parameters, and noise suppression parameters are directly retrieved to generate the final dehazing strategy adapted to the current partition.

[0062] Example 2, based on the same inventive concept as the visual inspection image dehazing method with detail enhancement fused in the foregoing examples, such as... Figure 2 As shown, this application provides a visual inspection image dehazing system with fusion detail enhancement. The system and method embodiments in this application are based on the same inventive concept. The system includes: The partition detection feature acquisition module 10 is used to perform visual feature partitioning based on the detection target, and obtain partition detection features and partition detection detail coefficients.

[0063] The fog detection image acquisition module 20 is used to acquire fog detection images, perform fog occlusion index analysis on the fog detection images, and establish fog occlusion partitions based on the fog occlusion index.

[0064] The dehazing-sensitive constraint identification module 30 is used to map the fog-occluded partitions using the partition detection detail coefficient and identify the dehazing-sensitive constraints of each partition.

[0065] The adaptive dehazing processing module 40 is used to perform adaptive dehazing processing on the foggy detection image based on the dehazing sensitivity constraints. The dehazing strategy is configured according to the detail enhancement requirements of the partition detection features and the dehazing sensitivity constraints, and corresponding dehazing processing is performed according to the dehazing strategy of each partition.

[0066] Furthermore, the system is also used to implement the following functions: Detection attribution analysis is performed based on the characteristics of the detection target to obtain attribution features and detection contribution distribution. Based on the attribution features and detection contribution distribution, the detection image is partitioned by detection contribution, the corresponding partition detection features are determined, and the partition detection detail coefficients are configured according to the detection contribution distribution of each partition.

[0067] Furthermore, the system is also used to implement the following functions: Neighborhood interference analysis is performed on the detected target features to obtain neighborhood interference features and neighborhood interference relationships; a neighborhood interference relationship mapping is established based on the neighborhood interference features and neighborhood interference relationships to obtain detection interference coefficients; interference relationships are labeled for each partition based on the detection interference coefficients, and the detection interference coefficients are added to the partition detection features and partition detection detail coefficients to label the detection interference constraints of neighborhood interference features on the partition.

[0068] Furthermore, the system is also used to implement the following functions: Calculate one or more of the following indices for the fog-detected image: transmittance, brightness generalization, and contrast attenuation. Then, fuse one or more of these indices to generate a fog occlusion quantification index. Based on the fog occlusion quantification index, perform region clustering on the image pixels to form multiple fog occlusion partitions, ensuring that the degree of fog occlusion within the same fog occlusion partition remains consistent.

[0069] Furthermore, the system is also used to implement the following functions: The image fog occlusion quantization index is used to form a pixel-level occlusion attenuation intensity distribution in the image. The aggregation and matching relationship between pixels is determined based on the attenuation intensity difference, spatial proximity relationship and local attenuation change trend between each pixel. Based on the aggregation and matching relationship, the image pixels are divided into regions to obtain multiple fog occlusion partitions.

[0070] Furthermore, the system is also used to implement the following functions: A positional alignment mapping is established between fog occlusion and target detection details by utilizing fog occlusion partitions and partition detection details. Based on this mapping, sensitive regions with high detection contribution are identified according to the partition detection detail coefficients, and the edge structure, texture gradient, and target contour features of the corresponding sensitive regions are extracted. The interference relationship of sensitive regions is identified according to the labeled detection interference coefficients, and the neighborhood interference features and their impact on the detection interference of each fog occlusion partition are determined. Dehazing sensitivity constraints are generated based on the partition detection detail coefficients, detection interference coefficients, and fog occlusion indices to determine the detail recovery strength and noise suppression degree of each partition during the dehazing process.

[0071] Furthermore, the system is also used to implement the following functions: The dehazing sensitivity constraints are mapped onto the hazy detection image, and the detail recovery intensity and noise suppression degree of each partition are labeled. Based on the labeled hazy detection image, the consistency requirements for enhancing the details of each feature are identified according to the detail recovery parameters and noise suppression parameters corresponding to each partition. When the consistency requirements are met, a dehazing strategy is matched according to the edge structure, texture gradient, target contour features and fog occlusion index, and adaptive dehazing processing is performed for each partition.

[0072] Furthermore, the system is also used to implement the following functions: When consistency requirements are not met, the dehazing priority of each partition is marked based on the dehazing sensitivity constraint. According to the dehazing priority, each partition is sorted hierarchically according to the detail recovery requirements and noise interference level. The corresponding dehazing strategy is matched by combining edge structure, texture gradient, target contour features and fog occlusion index. Adaptive dehazing processing of each partition is executed in sequence. Among them, the dehazing parameters of subsequent partitions are constrained and adjusted based on the detection results of the processed partitions according to the dehazing sorting.

[0073] Furthermore, the system is also used to implement the following functions: A dehazing strategy library is established, which includes multiple preset dehazing models and corresponding dehazing parameters, scale processing parameters, structure preservation parameters, detail enhancement parameters, and noise suppression parameters. Based on edge structure strength, texture gradient strength, target contour confidence, fog occlusion strength, and detection interference coefficient, the detail recovery target and dehazing control target for the corresponding partition are determined, and these are matched with the dehazing strategy library to determine the dehazing model and corresponding parameters for the corresponding partition, thus obtaining the dehazing strategy.

[0074] It should be noted that the order of the embodiments described above is for descriptive purposes only and does not represent the superiority or inferiority of the embodiments. Specific embodiments of this specification have been described above. Furthermore, the processes depicted in the accompanying drawings do not necessarily require a specific or sequential order to achieve the desired results. In some embodiments, multitasking and parallel processing are possible or may be advantageous.

[0075] The above description is only a preferred embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.

[0076] This specification and accompanying drawings are merely illustrative examples of this application and are intended to cover any and all modifications, variations, combinations, or equivalents within the scope of this application. Clearly, those skilled in the art can make various alterations and modifications to this application without departing from its scope. Therefore, if such modifications and variations fall within the scope of this application and its equivalents, this application intends to include such modifications and variations.

Claims

1. A method for dehazing visual inspection images by incorporating detail enhancement, characterized in that, include: Visual feature partitioning is performed based on the detection target to obtain partition detection features and partition detection detail coefficients; Acquire a fog detection image, perform fog occlusion index analysis on the fog detection image, and establish fog occlusion partitions based on the fog occlusion index; The fog-occluded partitions are mapped using the partition detection detail coefficient to identify the defogging sensitivity constraints of each partition; Adaptive dehazing processing is performed on the fog-containing detection image based on the aforementioned dehazing sensitivity constraints. Specifically, a dehazing strategy is configured according to the detail enhancement requirements of the partition detection features and the dehazing sensitivity constraints, and corresponding dehazing processing is performed according to the dehazing strategy of each partition. The step of performing visual feature partitioning based on the detection target to obtain partition detection features and partition detection detail coefficients includes: Based on the characteristics of the detection target, a detection attribution analysis is performed to obtain attribution characteristics and the distribution of detection contribution. Based on the attribution features and the detection contribution distribution, the detection image is partitioned by detection contribution, the corresponding partition detection features are determined, and the partition detection detail coefficients are configured according to the detection contribution distribution of each partition. The process of obtaining partition detection features and partition detection detail coefficients also includes: Neighborhood interference analysis is performed on the detected target features to obtain neighborhood interference features and neighborhood interference relationships; Based on the neighborhood interference features and neighborhood interference relationships, a neighborhood interference relationship mapping is established to obtain the detection interference coefficient; The interference relationship of each partition is marked according to the detection interference coefficient, and the detection interference coefficient is added to the partition detection feature and the partition detection detail coefficient to mark the detection interference constraint of the neighborhood interference feature on the partition. The fog-occluded partitions are mapped using the partition detection detail coefficient to identify the dehazing sensitivity constraints of each partition, including: By using fog occlusion partitions and partition detection details for position alignment mapping, a mapping relationship between fog occlusion and target detection details is established; Based on the mapping relationship, sensitive regions with high detection contribution are identified according to the partition detection detail coefficient, and the edge structure, texture gradient and target contour features of the corresponding sensitive regions are extracted. Based on the labeled detection interference coefficients, the interference relationships in sensitive areas are identified, and the characteristics of neighboring interference and their impact on the detection interference of each fog-covered zone are determined. Based on the detection detail coefficient, detection interference coefficient, and fog occlusion index of each zone, defogging sensitivity constraints are generated to determine the detail recovery strength and noise suppression degree of each zone during the defogging process.

2. The method for dehazing visual inspection images with enhanced detail according to claim 1, characterized in that, The fog-covered detection image is analyzed for fog occlusion index, and fog occlusion partitions are established based on the fog occlusion index, including: Calculate one or more of the transmittance index, brightness generalization index, and contrast attenuation index of the fog-detected image, and use one or more of the transmittance index, brightness generalization index, and contrast attenuation index to fuse and generate an image fog occlusion quantification index. Based on the image fog occlusion quantification index, the image pixels are clustered into regions to form multiple fog occlusion partitions, so that the degree of fog occlusion within the same fog occlusion partition remains consistent.

3. The method for dehazing visual inspection images with enhanced detail according to claim 2, characterized in that, Based on the image fog occlusion quantization index, the image pixels are clustered into regions to form multiple fog occlusion partitions, including: The pixel-level occlusion attenuation intensity distribution is formed based on the spatial distribution of the image fog occlusion quantization index in the image, and the aggregation and matching relationship between pixels is determined based on the attenuation intensity difference, spatial proximity relationship and local attenuation change trend between each pixel. Based on the aggregation and matching relationship, the image pixels are divided into regions to obtain multiple fog occlusion partitions.

4. The method for dehazing visual inspection images with enhanced detail according to claim 1, characterized in that, Adaptive dehazing processing of fogged detection images based on the aforementioned dehazing sensitivity constraints includes: The dehazing-sensitive constraints are mapped onto the hazy detection image, and the detail recovery strength and noise suppression degree of each region are labeled. Based on the labeled foggy detection image, the consistency requirements for enhancing the details of each feature are identified according to the detail recovery parameters and noise suppression parameters corresponding to each partition. When consistency requirements are met, a dehazing strategy is matched based on edge structure, texture gradient, target contour features, and fog occlusion index, and adaptive dehazing processing is performed for each partition.

5. The method for dehazing visual inspection images with enhanced detail according to claim 4, characterized in that, After identifying the consistency requirements for enhancing the details of each feature, it also includes: When the consistency requirement is not met, the dehazing priority of each partition is marked based on the dehazing sensitivity constraint. Based on the dehazing priority, each partition is sorted hierarchically according to the detail recovery requirements and noise interference level. The corresponding dehazing strategy is matched by combining edge structure, texture gradient, target contour features and fog occlusion index. Adaptive dehazing processing of each partition is executed in sequence. Among them, the detection results of the processed partitions are used to constrain and adjust the dehazing parameters of the subsequent partitions based on the dehazing ranking.

6. The method for dehazing visual inspection images with enhanced detail according to claim 4, characterized in that, Based on edge structure, texture gradient, target contour features, and fog occlusion metrics, a matching dehazing strategy is proposed, including: A dehazing strategy library is established, which includes multiple preset dehazing models and dehazing parameters, scale processing parameters, structure preservation parameters, detail enhancement parameters and noise suppression parameters corresponding to each preset dehazing model. The detail recovery target and dehazing control target for the corresponding partition are determined based on the edge structure strength, texture gradient strength, target contour confidence, fog occlusion strength, and detection interference coefficient. The dehazing strategy is then matched with the dehazing processing strategy library to determine the dehazing processing model and corresponding parameters for the corresponding partition.

7. A visual inspection image dehazing system that integrates detail enhancement, characterized in that, The system is used to implement the visual inspection image dehazing method with fused detail enhancement as described in any one of claims 1-6, the system comprising: The partition detection feature acquisition module is used to perform visual feature partitioning based on the detection target, and obtain partition detection features and partition detection detail coefficients. A fog detection image acquisition module is used to acquire fog detection images, perform fog occlusion index analysis on the fog detection images, and establish fog occlusion partitions based on the fog occlusion index. The dehazing-sensitive constraint identification module is used to map the fog-occluded partitions using the partition detection detail coefficient and identify the dehazing-sensitive constraints of each partition. An adaptive dehazing processing module is used to perform adaptive dehazing processing on the foggy detection image based on the dehazing sensitivity constraints. The module configures a dehazing strategy according to the detail enhancement requirements of the partition detection features and the dehazing sensitivity constraints, and performs corresponding dehazing processing according to the dehazing strategy of each partition. The system is also used for: Based on the characteristics of the detection target, a detection attribution analysis is performed to obtain attribution characteristics and the distribution of detection contribution. Based on the attribution features and the detection contribution distribution, the detection image is partitioned by detection contribution, the corresponding partition detection features are determined, and the partition detection detail coefficients are configured according to the detection contribution distribution of each partition. Neighborhood interference analysis is performed on the detected target features to obtain neighborhood interference features and neighborhood interference relationships; Based on the neighborhood interference features and neighborhood interference relationships, a neighborhood interference relationship mapping is established to obtain the detection interference coefficient; The interference relationship of each partition is marked according to the detection interference coefficient, and the detection interference coefficient is added to the partition detection feature and the partition detection detail coefficient to mark the detection interference constraint of the neighborhood interference feature on the partition. By using fog occlusion partitions and partition detection details for position alignment mapping, a mapping relationship between fog occlusion and target detection details is established; Based on the mapping relationship, sensitive regions with high detection contribution are identified according to the partition detection detail coefficient, and the edge structure, texture gradient and target contour features of the corresponding sensitive regions are extracted. Based on the labeled detection interference coefficients, the interference relationships in sensitive areas are identified, and the characteristics of neighboring interference and their impact on the detection interference of each fog-covered zone are determined. Based on the detection detail coefficient, detection interference coefficient, and fog occlusion index of each zone, defogging sensitivity constraints are generated to determine the detail recovery strength and noise suppression degree of each zone during the defogging process.

Citation Information

Patent Citations

  • Automatic analyzer sample state evaluation method based on AI visual inspection

    CN118898600A

  • Low-altitude remote sensing target identification method based on artificial intelligence

    CN120219691A

  • Haze detection and defogging processing method and equipment for security and protection system, and medium

    CN121010595A