A computer vision-based urban garbage industrial treatment monitoring system and method

By introducing temporal consistency constraints of gradient distribution and structural topology invariance regularization terms into the urban waste industrial treatment scenario, the accuracy problem of waste pile recognition in complex imaging environments is solved, and the imaging degradation separable representation of structural consistency is realized, thereby improving the stability and accuracy of visual recognition of waste piles.

CN123142170APending Publication Date: 2026-11-20CHONGQING BEIMENG PROPERTY SERVICES CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611471292.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-21
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

In urban waste industrial processing scenarios, existing computer vision detection methods struggle to effectively separate structural information from imaging degradation in complex imaging environments, leading to inaccurate identification of waste pile boundaries and morphological information.

Method used

By introducing temporal consistency constraints on gradient distribution and structural topological invariance regularization terms, structurally stable regions are extracted, imaging degradation components are classified, and the regularization weights of illumination and reflection components are adaptively adjusted to achieve structural consistency fusion reconstruction in the image enhancement process.

Benefits of technology

It improves the stability and accuracy of waste pile identification, suppresses pseudo-structural fluctuations caused by changes in lighting and dust interference, reduces the impact of noise amplification and structural distortion, and enhances the robustness of waste pile identification and analysis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123142170A_ABST
    Figure CN123142170A_ABST
Patent Text Reader

Abstract

The application provides a computer vision-based urban garbage industrial treatment monitoring system and method. Gradient distribution information of garbage pile areas in each frame of image is used to model time sequence consistency constraints of time sequence monitoring images, and then structural stable areas are determined based on optimization results. Pixel changes deviating from the structural stable area consistency in the current frame of image are classified and divided to obtain imaging degradation components, and a degradation intensity weight map is generated according to the imaging degradation components. In the visual image enhancement process, a structural consistency constraint term based on the structural stable area is introduced, and the regularization weight coefficient in the image decomposition process is adaptively adjusted according to the degradation intensity weight map. The enhanced result meeting the structural topological consistency constraint is fused and reconstructed with the structural stable area for consistency, and an enhanced image used for garbage pile identification is output. By using the scheme, imaging degradation separable expression based on structural consistency can be realized in the complex degradation imaging environment of industrial garbage treatment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer vision technology, and more specifically, to a computer vision-based monitoring system and method for industrial waste treatment in urban areas. Background Technology

[0002] Computer vision is a technology that uses image acquisition devices to obtain information about real-world scenes and then utilizes image processing and analysis algorithms to detect, identify, and understand target objects. It is widely used in fields such as industrial monitoring, environmental sensing, and intelligent analysis. In urban waste industrial treatment scenarios, fixed monitoring cameras are typically used to continuously monitor the stacking status, volume changes, and abnormal conditions of waste piles to support subsequent scheduling management and safety early warning.

[0003] In landfill monitoring, drastic changes in ambient lighting, such as overexposure caused by direct sunlight and low brightness in shadow areas, as well as loss of image details in low light at night, all severely affect the effectiveness of computer vision detection. Current technologies for visual monitoring of landfills typically employ single-frame image enhancement or preprocessing based on general image enhancement algorithms, such as histogram equalization, Retinex enhancement, or dehazing algorithms, to improve uneven image brightness or insufficient contrast. However, most of these methods do not fully consider the structural stability characteristics of landfills over time and lack utilization of structural consistency between consecutive frames. This leads to the enhancement results easily amplifying local noise or introducing structural distortion under complex imaging conditions such as dust obstruction, water mist interference, and uneven lighting, thus affecting the accurate representation of landfill boundaries and morphological information. Furthermore, while some existing video processing-based methods can utilize temporal information for background modeling or moving target separation, they primarily focus on motion change detection and struggle to distinguish between genuine structural changes within the landfill and pseudo-changes caused by imaging degradation. This results in the inability to effectively separate structural and degradation information during the enhancement process. Therefore, how to achieve separable representation of imaging degradation based on structural consistency in the complex degradation imaging environment of industrial waste treatment, so as to improve the stability of visual recognition of the pile, has become a challenge for the industry. Summary of the Invention

[0004] This application provides a computer vision-based monitoring system and method for urban waste industrial treatment, which can realize the separable representation of imaging degradation based on structural consistency in complex degradation imaging environments of industrial waste treatment.

[0005] In a first aspect, this application provides a visual image enhancement method for industrial waste treatment scenarios, applied to a computer vision-based urban waste industrial treatment monitoring system. The method includes the following steps: Collect time-series monitoring images of urban waste piles and extract waste pile areas from consecutive frames; Based on the gradient distribution information of the garbage heap region in each frame of the extracted image, the time-series monitoring image is modeled with time-series consistency constraints. The structural differences between consecutive frame images are constrained and optimized by introducing a structural topology invariance regularization term, and then the structurally stable region is determined based on the optimization result. The pixel changes in the current frame image that deviate from the consistency of the structurally stable region are classified and divided. Spatially discrete parts that do not conform to the structural extension characteristics are classified as imaging degradation components. A degradation intensity weight map is generated based on the distribution position of the imaging degradation components in the image space, which is used to characterize the image reliability of different regions. In the process of visual image enhancement, a structural consistency constraint term based on the structurally stable region is introduced, and the regularization weight coefficients of the illumination component and the reflectance component in the image decomposition process are adaptively adjusted according to the degradation intensity weight map. The enhanced results that satisfy the structural topology consistency constraints are fused and reconstructed with the structurally stable region to output an enhanced image for waste pile identification.

[0006] In conjunction with the first aspect, in one possible implementation, based on the gradient distribution information of the garbage heap region extracted from each frame of the image, a temporal consistency constraint model is performed on the temporal monitoring image. Specifically, the constraint optimization of structural differences between consecutive frame images by introducing a structural topological invariance regularization term includes: Calculate the gradient magnitude and gradient direction of each pixel belonging to the garbage dump region in each frame of the image with the garbage dump region mask, and generate the gradient principal direction distribution map corresponding to each frame of the image; Based on the gradient principal direction distribution map of each frame image, a temporal constraint optimization objective function is constructed to characterize the difference in gradient direction and gradient magnitude at the same pixel position between adjacent frames, and a structural topology invariant regularization term is introduced into the objective function. By solving the temporal constraint optimization objective function, temporally stable pixels are extracted based on the changes in gradient direction and gradient magnitude of each pixel after optimization convergence. The region covered by all temporally stable pixels is defined as the structurally stable region.

[0007] In conjunction with the first aspect, in one possible implementation, determining the structurally stable region based on the optimization results specifically includes: Generate a binary label map by summing all pixels that are judged to be temporally stable pixels; Perform connected component analysis on the binary labeled graph to extract the main connected component containing the largest number of temporally stable pixels; The spatial region covered by the main connected domain is defined as the structurally stable region.

[0008] In conjunction with the first aspect, in one possible implementation, pixel changes in the current frame image that deviate from the consistency of the structurally stable region are classified and divided, and spatially discrete parts that do not conform to the structural extension characteristics are classified as imaging degradation components, specifically including: Each pixel in the current frame image located outside the structurally stable region is compared with the temporal reference value at the corresponding position within the structurally stable region, and pixels that have undergone significant changes are extracted as candidate changed pixels. Spatial neighborhood analysis is performed on the candidate changed pixels, and the discrimination is made based on the distribution density of each candidate changed pixel in the neighborhood and the geometric extension direction of the connected components; Candidate pixels that satisfy spatial discreteness and do not have linear or planar extension patterns are classified as imaging degradation components.

[0009] In conjunction with the first aspect, in one possible implementation, generating a degradation intensity weight map based on the distribution location of the imaging degradation components in the image space specifically includes: The distribution density of the imaging degradation components in each local region of the image space is statistically analyzed; The initial weight value of the corresponding region is determined based on the distribution density of the imaging degradation components in each local region; The initial weight values ​​of each local region are smoothed to generate a degradation intensity weight map that characterizes the image reliability of different regions.

[0010] In conjunction with the first aspect, in one possible implementation, during the visual image enhancement process, a structural consistency constraint term based on the structurally stable region is introduced, and the regularization weight coefficients of the illuminance component and reflectance component during image decomposition are adaptively adjusted according to the degradation intensity weight map. Specifically, this includes: In the process of visual image enhancement, the initial illumination component and initial reflectance component of the current frame image at the pixel level are established as the basic expression for image decomposition. Construct an objective function that includes a data fidelity term, an illuminance component smoothing regularization term, and a reflection component sparse regularization term, and introduce a structural consistency constraint term based on the structurally stable region into the objective function; Based on the degradation intensity weight map, adaptive regularization weight coefficients are assigned to the smoothing regularization term of the illuminance component and the sparse regularization term of the reflectance component, wherein the regularization weight coefficients of different regions are different with the difference in degradation intensity weight values; Using the initial illuminance component and the initial reflection component as initial values ​​for iteration, the objective function is solved iteratively, and the enhanced result that satisfies the structural topology consistency constraint is output.

[0011] In conjunction with the first aspect, in one possible implementation, the enhanced result satisfying the structural topological consistency constraint is uniformly fused and reconstructed with the structurally stable region to output an enhanced image for waste pile identification. Specifically, this includes: Based on the enhancement results that satisfy the structural topology consistency constraints, a preliminary image reconstruction is performed to obtain a preliminary reconstructed image; Using the structurally stable region as a dual benchmark for geometric alignment and grayscale alignment, the preliminary reconstructed image is subjected to consistency fusion calibration; The image after completing the consistency fusion calibration is used as the final output enhanced image for garbage heap identification.

[0012] Secondly, this application provides a computer vision-based urban waste industrial treatment monitoring system, including a visual image enhancement unit, the visual image enhancement unit comprising: The acquisition module is used to acquire time-series monitoring images of urban waste piles and extract waste pile areas from consecutive frames of images. The processing module is used to perform time-series consistency constraint modeling on the time-series monitoring images based on the gradient distribution information of the garbage heap region in each frame of the extracted images. The structural differences between consecutive frame images are constrained and optimized by introducing a structural topology invariance regularization term, and then the structurally stable region is determined based on the optimization result. The processing module is also used to classify and divide pixel changes in the current frame image that deviate from the consistency of the structurally stable region, classify spatially discrete parts that do not conform to the structural extension characteristics as imaging degradation components, and generate a degradation intensity weight map based on the distribution position of the imaging degradation components in the image space, which is used to characterize the image reliability of different regions. The processing module is also used to introduce a structural consistency constraint term based on the structurally stable region during the visual image enhancement process, and to adaptively adjust the regularization weight coefficients of the illuminance component and the reflectance component during the image decomposition process according to the degradation intensity weight map. The execution module is used to perform consistency fusion reconstruction of the enhanced results that satisfy the structural topology consistency constraints with the structural stable region, and output an enhanced image for waste pile identification.

[0013] Thirdly, this application provides a computer device, the computer device including a memory and a processor, the memory for storing a computer program, and the processor for calling and running the computer program from the memory, so that the computer device performs the above-described visual image enhancement method for industrial waste treatment scenarios.

[0014] Fourthly, this application provides a computer-readable storage medium storing instructions or code that, when executed on a computer, cause the computer to implement the aforementioned visual image enhancement method for industrial waste disposal scenarios.

[0015] The technical solution provided in this application has the following beneficial effects: This application's scheme, firstly, introduces a temporal consistency constraint based on gradient distribution and combines it with a structural topological invariance regularization term to constrain and optimize continuous frames. This enables the system to extract structural regions that remain stable across multiple frames from a temporal perspective, effectively suppressing pseudo-structural fluctuations caused by instantaneous illumination changes or dust interference, and improving the stability of the representation of the true structure of the heap. Secondly, by performing spatial consistency analysis on pixel changes that deviate from the consistency of the structurally stable regions, and classifying spatially discrete changes that do not conform to structural extension characteristics as imaging degradation components, preliminary decoupling of structural changes and imaging interference is achieved. Simultaneously, the degradation intensity weight map is used to quantify the degree of degradation in different regions, improving the accuracy and reliability of degradation region localization. Finally, a structural consistency constraint term is introduced during image decomposition. Furthermore, by combining the regularization coefficients of the intensity and reflection components in the degradation intensity weight map for spatial adaptive adjustment, the enhancement process can suppress noise amplification in the degradation region while maintaining structural continuity, thus avoiding over-enhancement or structural distortion common in traditional enhancement methods. Finally, by uniformly fusing and reconstructing the enhancement results that satisfy the structural topology consistency constraints with the structurally stable region, the final output image retains both stable structural information and enhanced detail information, further reducing the impact of degradation interference on target boundary and morphological recognition, and improving the overall accuracy and robustness of waste pile recognition and analysis. In summary, this scheme can achieve separable representation of imaging degradation based on structural consistency in complex degradation imaging environments of industrial waste treatment, thereby improving the stability of visual recognition of waste piles. Attached Figure Description

[0016] Figure 1 This is an exemplary flowchart of a visual image enhancement method for industrial waste treatment scenarios, as shown in some embodiments of this application. Figure 2 This is an exemplary flowchart illustrating the determination of structurally stable regions according to some embodiments of this application; Figure 3 This is an exemplary flowchart illustrating the implementation of classification based on some embodiments of this application; Figure 4 This is a schematic diagram of the structure of a visual image enhancement unit according to some embodiments of this application; Figure 5This is a schematic diagram of the structure of a computer device that implements a visual image enhancement method for industrial waste treatment scenarios, according to some embodiments of this application. Detailed Implementation

[0017] 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 some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0018] refer to Figure 1 The figure is an exemplary flowchart of a visual image enhancement method for industrial waste treatment scenarios, according to some embodiments of this application. The visual image enhancement method for industrial waste treatment scenarios mainly includes the following steps: In step 101, time-series monitoring images of urban waste piles are acquired, and waste pile areas are extracted from consecutive frames of these images.

[0019] In practice, the acquisition of time-series monitoring images of urban waste piles and the extraction of waste pile regions from consecutive frames can be achieved as follows: First, high-definition industrial cameras deployed at the monitoring site continuously acquire the original monitoring video stream of the waste pile at a fixed sampling frequency. The video stream is then decoded frame by frame and converted to output consecutive RGB images with acquisition timestamps. Next, for each frame, Gaussian filtering is performed to remove noise, and the image is converted to the CIELab color space. Pixel-level foreground screening is then performed using the typical chromaticity distribution range of the waste pile in the L, a, and b channels. The chromaticity threshold range for each channel is based on statistical data from on-site samples at the waste treatment site. The measurement values ​​of a standard color chart under corresponding lighting conditions are preset. Then, morphological closing operations are performed on the binarized foreground pixels after initial screening to fill the internal holes caused by shadows or reflections. Connected regions with an area ratio exceeding a preset threshold for the entire frame image are extracted through connected component analysis. This preset threshold can be selected between 2% and 5% based on the camera's mounting height and field of view. The connected region with the largest area is then determined as the main body area of ​​the garbage heap in the current frame. Finally, the main body area is contour smoothed to generate a corresponding binary mask, and the original image of each frame is associated with and stored with this mask. Other methods can also be used in other embodiments, which are not specifically limited here.

[0020] It should be noted that the time-series monitoring images in this application refer to a collection of multiple monitoring frames arranged sequentially along the time axis to characterize the morphology and appearance of the garbage heap at different acquisition times; the continuous frame images in this application refer to multiple frames selected from the time-series monitoring images according to the order of sampling time, either adjacent or at preset intervals, which are used to capture the structural change trend of the garbage heap within a short time window by successively comparing the gradient fields between frames; the garbage heap area in this application refers to the pixel space actually occupied by the garbage accumulation in each frame of the monitoring image, which is used to limit all image processing operations to the effective target range to eliminate interference from the background environment.

[0021] In step 102, based on the gradient distribution information of the garbage heap region in each frame of the extracted images, the temporal consistency constraint model is performed on the time-series monitoring images. The structural differences between consecutive frame images are constrained and optimized by introducing a structural topology invariant regularization term, and then the structurally stable region is determined based on the optimization result.

[0022] In some embodiments, based on the gradient distribution information of the garbage heap region extracted from each frame image, the temporal consistency constraint model is performed on the temporal monitoring image. The constraint optimization of structural differences between consecutive frame images by introducing a structural topology invariant regularization term can be achieved through the following steps: Calculate the gradient magnitude and gradient direction of each pixel belonging to the garbage dump region in each frame of the image with the garbage dump region mask, and generate the gradient principal direction distribution map corresponding to each frame of the image; Based on the gradient principal direction distribution map of each frame image, a temporal constraint optimization objective function is constructed to characterize the difference in gradient direction and gradient magnitude at the same pixel position between adjacent frames, and a structural topology invariant regularization term is introduced into the objective function. By solving the temporal constraint optimization objective function, temporally stable pixels are extracted based on the changes in gradient direction and gradient magnitude of each pixel after optimization convergence. The region covered by all temporally stable pixels is defined as the structurally stable region.

[0023] In specific implementation, the gradient magnitude and gradient direction of each pixel belonging to the garbage heap region in each frame of the image with the garbage heap region mask are calculated, and the gradient principal direction distribution map corresponding to each frame of the image is generated in the following way: the gradient operator can be used to calculate the horizontal and vertical gradients of each pixel within the mask range, thereby obtaining the gradient magnitude and gradient direction of each pixel. Then, the gradient direction is assigned to the corresponding interval according to the preset angle interval division method. The number of pixels or the cumulative value of gradient magnitude in each interval is counted. The center angle corresponding to the interval with the largest statistical value is taken as the gradient principal direction of the frame image. The gradient principal direction distribution map corresponding to each frame is generated frame by frame. The number and division method of the angle interval can be preset according to the complexity of the surface texture of the garbage heap.

[0024] In specific implementation, based on the gradient principal direction distribution map of each frame image, a temporal constraint optimization objective function is constructed to characterize the difference in gradient direction and gradient magnitude at the same pixel position between adjacent frames. The structural topology invariant regularization term is introduced into this objective function in the following way: the difference and square of the gradient direction and gradient magnitude at the same pixel position between adjacent frames are calculated respectively, and the two squared differences at all pixel positions are weighted and summed as the data fidelity term characterizing the difference between frames. At the same time, a penalty term is introduced for each pixel position to constrain the difference in gradient change between it and its neighboring pixels between frames. This penalty term is the structural topology invariant regularization term. The temporal constraint optimization objective function is obtained by weighted summing of the data fidelity term and the regularization term. The relative weight coefficients of the two terms can be preset according to the emphasis on maintaining the stack structure and reducing the difference between frames.

[0025] In specific implementation, the extraction of temporally stable pixels based on the gradient direction and gradient magnitude changes of each pixel after optimization convergence can be achieved in the following way: the objective function is solved by an iterative optimization algorithm until a preset convergence condition is met. This convergence condition can be determined based on the percentage change in the relative objective function value between adjacent iterations being lower than a preset threshold. After optimization convergence, the absolute values ​​of the gradient direction and gradient magnitude of each pixel before and after optimization are subtracted to obtain the gradient direction and gradient magnitude changes of each pixel. If both changes of a pixel are lower than their respective preset tolerance thresholds, then the pixel is determined to be a temporally stable pixel. The tolerance thresholds can be preset based on the degree of structural deformation allowed by the garbage heap under normal environmental disturbances.

[0026] In practice, the region covered by all temporally stable pixels can be determined as the structurally stable region in the following way: all temporally stable pixels are summarized in the form of a binary labeled map, connected component analysis is performed on the binary labeled map and the main connected component containing the most pixels is extracted, and the smallest bounding region of the main connected component is output as the structurally stable region.

[0027] It should be noted that the gradient principal direction distribution map in this application refers to the distribution description of the interval to which the gradient direction of each pixel position in the garbage heap region belongs and the overall gradient principal direction angle value of the frame in each frame; the temporal constraint optimization objective function in this application refers to the mathematical expression used to quantify the difference in gradient direction and gradient magnitude at the same pixel position between consecutive frames; the structural topology invariant regularization term in this application refers to the penalty function used to constrain the local geometric topology relationship of the gradient field on the surface of the heap from drastic changes during the optimization process, which can prevent non-physical structural deformation during optimization; the gradient direction change amount in this application refers to the measure used to characterize the degree of gradient direction shift of a single pixel before and after optimization; the gradient magnitude change amount in this application refers to the measure used to characterize the degree of change in gradient magnitude of a single pixel before and after optimization; the temporally stable pixel in this application refers to the basic unit for identifying and marking the heap surface structure to maintain temporal consistency; the structurally stable region in this application refers to the image region defined by the spatial range of the main connected component in the temporally stable pixel.

[0028] In some embodiments, reference Figure 2 As shown, this figure is an exemplary flowchart for determining the structurally stable region in some embodiments of this application. The determination of the structurally stable region based on the optimization results can be achieved by the following steps: Generate a binary label map by summing all pixels that are judged to be temporally stable pixels; Perform connected component analysis on the binary labeled graph to extract the main connected component containing the largest number of temporally stable pixels; The spatial region covered by the main connected domain is defined as the structurally stable region.

[0029] In practice, the binary label map generated by summarizing all pixels that are judged to be temporally stable pixels can be achieved in the following way: mark the positions of all pixels that are judged to be temporally stable pixels in each frame image as the first value on the blank image, and mark the remaining pixel positions as the second value, thereby generating a binary label map with the same resolution as the current frame image.

[0030] In a specific implementation, performing connected component analysis on the binary labeled graph and extracting the main connected component containing the largest number of temporally stable pixels can be achieved in the following way: performing connected component labeling on the pixels marked with the first value in the binary labeled graph, counting the number of pixels contained in each connected component, and extracting the connected component with the largest number of temporally stable pixels as the main connected component.

[0031] In specific implementation, the spatial region covered by the main connected component can be determined as a structurally stable region in the following way: all pixel positions occupied by the main connected component in the image are marked as valid, and the spatial region enclosed by the outermost boundary of the valid pixel set is determined as a structurally stable region; on this basis, the boundary of the structurally stable region can be extended outward by a preset number of pixels so that the region can cover the main part of the heap surface that maintains structural consistency between consecutive frames, which will not be elaborated here.

[0032] It should be noted that the binary marker map in this application refers to a spatial marker matrix used to distinguish between temporally stable pixels and non-temporally stable pixels using a first value and a second value; the main connected region in this application refers to the region with the largest area among all connected regions composed of temporally stable pixels in the binary marker map, which is used as the main spatial basis for delineating structurally stable regions to eliminate misjudgments of regions caused by isolated noise points or sporadic stable pixels; the structurally stable region in this application refers to the image region defined by the spatial range covered by the main connected region, which is used as a benchmark reference for determining pixel change deviations.

[0033] In step 103, pixel changes in the current frame image that deviate from the consistency of the structurally stable region are classified and divided. Spatially discrete parts that do not conform to the structural extension characteristics are classified as imaging degradation components. A degradation intensity weight map is generated based on the distribution position of the imaging degradation components in the image space, which is used to characterize the image reliability of different regions.

[0034] In some embodiments, reference Figure 3 As shown, this figure is an exemplary flowchart of classification and division in some embodiments of this application. In this embodiment, the pixel changes in the current frame image that deviate from the consistency of the structurally stable region are classified and divided. The spatially discrete parts that do not conform to the structural extension characteristics are classified as imaging degradation components. This can be achieved by the following steps: In step 1031, each pixel in the current frame image located outside the structurally stable region is compared with the temporal reference value at the corresponding position within the structurally stable region, and pixels that have undergone significant changes are extracted as candidate changed pixels. In step 1032, spatial neighborhood analysis is performed on the candidate changed pixels, and the discrimination is made based on the distribution density of each candidate changed pixel in the neighborhood and the geometric extension direction of the connected components; In step 1033, candidate variation pixels that satisfy spatial discreteness and do not have linear or planar extension patterns are classified as imaging degradation components.

[0035] In specific implementation, each pixel in the current frame image located outside the structurally stable region is compared with the temporal reference value at the corresponding position within the structurally stable region. Pixels showing significant changes are extracted as candidate changed pixels. This can be achieved as follows: acquire several previous frames adjacent to the current frame in the temporal monitoring image; perform temporal statistics on the grayscale values ​​of the corresponding pixel positions in each frame image within the structurally stable region to obtain the temporal average grayscale value of each pixel position as the temporal reference value for that position; then, perform a difference calculation between the grayscale values ​​of each pixel in the current frame image located outside the structurally stable region and the temporal reference value at the corresponding position within the structurally stable region. If the absolute value of the difference exceeds a preset deviation threshold, where the preset deviation threshold can be pre-calibrated based on the normal amplitude of illumination fluctuations and environmental noise in the monitoring scene, then the pixel is marked as a candidate changed pixel.

[0036] In specific implementation, spatial neighborhood analysis is performed on the candidate changed pixels. The discrimination based on the distribution density of each candidate changed pixel in the neighborhood and the geometric extension direction of the connected components can be achieved in the following way: a spatial neighborhood window of a preset size is constructed with each candidate changed pixel as the center, and the number of candidate changed pixels in the window is counted as the distribution density metric. If the number is lower than the preset density threshold, the candidate changed pixel is identified as a spatial discrete point. Connected component labeling is performed on all candidate changed pixels that meet the distribution density requirements, the minimum bounding rectangle of each connected component is extracted, and the aspect ratio of the minimum bounding rectangle is calculated as a quantitative index of the geometric extension direction. If the aspect ratio is close to the preset value range, the connected component is determined to not have a linear or planar extension pattern. The preset density threshold and the preset aspect ratio range can be pre-calibrated based on the natural structural features of the garbage pile surface in the imaging, which will not be elaborated here.

[0037] In specific implementation, classifying candidate variation pixels that satisfy spatial discreteness and do not have linear or planar extension patterns as imaging degradation components can be achieved in the following way: taking the union of candidate variation pixels with a distribution density lower than a preset density threshold and candidate variation pixels whose aspect ratio of the minimum bounding rectangle of the connected region falls within the preset range of no extension pattern, and classifying all pixels in this union as imaging degradation components; wherein, the preset range of no extension pattern can be determined based on whether the aspect ratio of the minimum bounding rectangle of the connected region is close to 1. When the aspect ratio is close to 1, it indicates that the connected region does not have a clear linear or planar extension direction in space. The preset value range can be between 0.8 and 1.2, and the specific value can be pre-calibrated according to the normal texture shape of the surface structure of the garbage heap in the imaging, without specific limitation here.

[0038] It should be noted that the temporal reference value in this application refers to the baseline value obtained by performing temporal statistics on the gray values ​​of the corresponding pixel positions of the structurally stable region in each frame image. It is used as a comparison benchmark to determine whether the pixels outside the structurally stable region in the current frame have deviated significantly. The candidate changed pixel in this application refers to the pixel point in the current frame image located outside the structurally stable region whose gray value deviates from the temporal reference value at the corresponding position by more than a preset threshold. It is used as the initial screening object for spatial neighborhood analysis and geometric extensibility discrimination. The geometric extension direction of the connected component in this application refers to the spatial morphological feature quantified by the aspect ratio of the minimum bounding rectangle of the connected region. It is used to determine whether the connected region has a linear or planar extension pattern. The structural extension feature in this application refers to the continuous linear or planar distribution pattern of the candidate changed pixels in space. It is used as the basis for distinguishing between normal structural changes and imaging degradation components. The imaging degradation component in this application refers to the set of pixels among the candidate changed pixels that satisfy spatial discreteness and do not have structural extension features.

[0039] In some embodiments, generating a degradation intensity weight map based on the distribution location of the imaging degradation components in the image space can be achieved using the following steps: The distribution density of the imaging degradation components in each local region of the image space is statistically analyzed; The initial weight value of the corresponding region is determined based on the distribution density of the imaging degradation components in each local region; The initial weight values ​​of each local region are smoothed to generate a degradation intensity weight map that characterizes the image reliability of different regions.

[0040] In specific implementation, the distribution density of the imaging degradation components in each local region of the image space can be calculated in the following way: a fixed-size sliding window is constructed with each pixel position in the current frame image as the center, the number of pixels of the imaging degradation components in each window is counted, and this number is used as the distribution density value at the center pixel position of the window; the distribution density value at each pixel position is normalized to a value range of 0 to 1 to obtain the normalized distribution density corresponding to each local region of the whole frame image, wherein the fixed window size can be preset according to the typical spatial scale of the imaging degradation components in the image.

[0041] In practice, the initial weight value of the corresponding region can be determined based on the distribution density of the image degradation components in each local region in the following way: based on the normalized distribution density at each pixel position, the initial weight value is calculated using a mapping relationship that is negatively correlated with the distribution density, so that the initial weight value is lower for regions with higher distribution density of image degradation components and higher for regions with lower distribution density of image degradation components. This mapping relationship can use a linear decreasing function or an exponential decreasing function, and the specific function form can be pre-selected according to the requirements of sensitivity to degradation regions, and finally an initial weight map with the same resolution as the current frame image is obtained.

[0042] In specific implementation, the initial weight values ​​of each local region are smoothed to generate a degradation intensity weight map that characterizes the reliability of images in different regions. This can be achieved by: using Gaussian filtering or mean filtering to spatially smooth the initial weight map to eliminate local singularities and block effects caused by the sliding window statistical method, so that the weight values ​​maintain a gradual transition between adjacent pixels. The kernel size and standard deviation parameters of the smoothing filter can be preset according to the image resolution and the desired smoothness. The smoothed weight map is output as the degradation intensity weight map, and the weight value of each pixel position in the weight map reflects the reliability of the image at that position.

[0043] It should be noted that the distribution density in this application refers to the normalized metric of the number of degraded pixels within a local window centered on each pixel location; the initial weight value in this application refers to the weight value used to quantify the preliminary reliability assessment results of each local region; and the degradation intensity weight map in this application refers to the distribution map characterizing the image reliability level of different regions.

[0044] In step 104, during the visual image enhancement process, a structural consistency constraint term based on the structurally stable region is introduced, and the regularization weight coefficients of the illumination component and the reflectance component during the image decomposition process are adaptively adjusted according to the degradation intensity weight map.

[0045] In some embodiments, during visual image enhancement, introducing a structural consistency constraint term based on the structurally stable region and adaptively adjusting the regularization weight coefficients of the illuminance and reflectance components during image decomposition according to the degradation intensity weight map can be achieved through the following steps: In the process of visual image enhancement, the initial illumination component and initial reflectance component of the current frame image at the pixel level are established as the basic expression for image decomposition. Construct an objective function that includes a data fidelity term, an illuminance component smoothing regularization term, and a reflection component sparse regularization term, and introduce a structural consistency constraint term based on the structurally stable region into the objective function; Based on the degradation intensity weight map, adaptive regularization weight coefficients are assigned to the smoothing regularization term of the illuminance component and the sparse regularization term of the reflectance component, wherein the regularization weight coefficients of different regions are different with the difference in degradation intensity weight values; Using the initial illuminance component and the initial reflection component as initial values ​​for iteration, the objective function is solved iteratively, and the enhanced result that satisfies the structural topology consistency constraint is output.

[0046] In specific implementation, during the visual image enhancement process, establishing the initial illuminance component and initial reflectance component of the current frame image at the pixel level as the basic expression for image decomposition can be achieved in the following way: based on Retinex theory, the current frame image is represented at the pixel level as a pixel-wise product of the illuminance component and the reflectance component. After transforming the product relationship into an additive relationship through logarithmic domain transformation, the current frame image is smoothed by guided filtering or Gaussian filtering to extract the initial illuminance component. The initial reflectance component is obtained by subtracting the initial illuminance component from the current frame image.

[0047] In specific implementation, constructing an objective function that includes a data fidelity term, an illuminance component smoothing regularization term, and a reflection component sparsity regularization term, and introducing a structural consistency constraint term based on the structurally stable region into this objective function, can be achieved in the following way: using the initial illuminance component and the initial reflection component as variables to be optimized, the squared difference between the current frame image and the sum of the illuminance component and the reflection component is used as the data fidelity term, the sum of the squared gradient magnitudes of the illuminance component is used as the illuminance component smoothing regularization term, and the sum of the absolute values ​​of the gradient magnitudes of the reflection component is used as the reflection component sparsity regularization term; simultaneously, within the structurally stable region, the squared deviation between the gradient direction of the reflection component and the gradient principal direction at the corresponding position of the current frame image is introduced into the objective function as a structural consistency constraint term. This constraint term forces the gradient direction of the reflection component to be consistent with the gradient principal direction of the original image within the structurally stable region, thereby ensuring that the decomposed reflection component does not destroy the inherent structural information of the pile.

[0048] In specific implementation, adaptive regularization weight coefficients are assigned to the illuminance component smoothing regularization term and the reflection component sparse regularization term according to the degradation intensity weight map. The regularization weight coefficients of different regions vary with the degradation intensity weight value, which can be achieved in the following way: For each pixel position, the coefficients of the illuminance component smoothing regularization term and the reflection component sparse regularization term are determined according to the weight value of that position in the degradation intensity weight map. The higher the degradation intensity weight value, the higher the reliability of the region, so the larger the coefficient of the illuminance component smoothing regularization term is to enhance the overall illumination smoothness of the region, and the smaller the coefficient of the reflection component sparse regularization term is to preserve the texture details of the region. The lower the degradation intensity weight value, the more severe the degradation of the region, so the smaller the coefficient of the illuminance component smoothing regularization term is to allow the illuminance of the region to change appropriately, and the larger the coefficient of the reflection component sparse regularization term is to suppress noise and false details in the region.

[0049] In specific implementation, the initial illuminance component and initial reflection component are used as initial values ​​for iteration. The objective function is solved iteratively, and the enhanced result that satisfies the structural topology consistency constraint is output. This can be achieved in the following way: the initial illuminance component and initial reflection component are used as initial values ​​for iteration. The objective function is iteratively optimized using the alternating direction multiplier method or the conjugate gradient method. The illuminance component and reflection component are alternately updated in each iteration until the relative percentage change of the objective function value in two adjacent iterations is lower than a preset convergence threshold. This convergence threshold can be preset according to the requirements of balancing enhancement accuracy and computational efficiency. The illuminance component and reflection component obtained after convergence are added in the logarithmic domain and then restored to the pixel grayscale domain by exponential transformation to obtain the enhanced result that satisfies the structural topology consistency constraint.

[0050] It should be noted that, in this application, the initial illuminance component refers to the low-frequency component extracted from the current frame image through smoothing filtering, representing the illumination distribution information in the image; the initial reflection component refers to the high-frequency component obtained by subtracting the initial illuminance component from the current frame image, representing the material texture and detail information in the image; the data fidelity term in this application refers to the cost term used to constrain the sum of the illuminance component and the reflection component to approximate the original image, so that the decomposition result retains the original image information as much as possible, and it can measure the degree of approximation between the decomposition result and the original image; the illuminance component smoothing regularization term in this application refers to the penalty term used to constrain the illuminance component to maintain a smooth transition in space, which can suppress unnatural high-frequency fluctuations in the illuminance component; the reflection component in this application... The sparse regularization term refers to a penalty term used to constrain the spatial sparse distribution of the reflection component, which can suppress noise amplification and highlight significant structural edges in the image. The structural consistency constraint term in this application refers to a penalty term used to constrain the gradient direction of the reflection component to be consistent with the main gradient direction of the original image within the structurally stable region, which can ensure that the decomposed reflection component does not destroy the inherent structural information of the pile. The regularization weight coefficient in this application refers to a weighting coefficient used to balance the relative contribution of each regularization term in the objective function, which can adjust the constraint strength of the illumination component smoothing regularization term and the reflection component sparse regularization term in the optimization process. The enhancement result in this application refers to the image reconstructed from the illumination component and the reflection component after iterative solution of the objective function.

[0051] In step 105, the enhanced result that satisfies the structural topology consistency constraint is fused and reconstructed with the structural stable region to output an enhanced image for waste pile identification.

[0052] In some embodiments, the enhanced result satisfying the structural topology consistency constraint is uniformly fused and reconstructed with the structurally stable region to output an enhanced image for waste pile identification. This can be achieved through the following steps: Based on the enhancement results that satisfy the structural topology consistency constraints, a preliminary image reconstruction is performed to obtain a preliminary reconstructed image; Using the structurally stable region as a dual benchmark for geometric alignment and grayscale alignment, the preliminary reconstructed image is subjected to consistency fusion calibration; The image after completing the consistency fusion calibration is used as the final output enhanced image for garbage heap identification.

[0053] In specific implementation, preliminary image reconstruction is performed based on the enhancement results that satisfy the structural topology consistency constraints. The preliminary reconstructed image can be obtained in the following way: the illuminance component and reflectance component output after iterative solution are added in the logarithmic domain and then restored to the pixel grayscale domain by exponential transformation to obtain the preliminary reconstructed image.

[0054] In specific implementation, using the structurally stable region as a dual benchmark for geometric alignment and grayscale alignment, the consistency fusion calibration of the preliminary reconstructed image can be achieved in the following way: Regarding geometric alignment, a one-to-one correspondence is established between the pixel positions of the structurally stable region in the preliminary reconstructed image and their positions in the original current frame image, ensuring that the spatial positions of the two images within the structurally stable region completely overlap; regarding grayscale alignment, using the grayscale distribution within the structurally stable region in the original current frame image as a reference benchmark, histogram matching is performed on the pixels within the structurally stable region in the preliminary reconstructed image to ensure that the preliminary reconstructed image... Within the structurally stable region, the grayscale dynamic range remains consistent with the original image. For pixels outside the structurally stable region, the diffusion proceeds pixel by pixel outward from the boundary of the structurally stable region. A weighted average method can be used to fuse the histogram-matched pixel values ​​with the original pixel values ​​in the preliminary reconstructed image. The fusion weight coefficient decreases as the distance from the boundary of the structurally stable region increases, and this deceleration rate can be preset according to the requirements for the smoothness of the transition. The histogram-matched pixel values ​​inside the structurally stable region are merged with the weighted fused pixel values ​​outside to obtain the image after consistency fusion calibration.

[0055] In practice, the image after consistency fusion calibration is used as the final enhanced image for waste pile identification. This can be achieved by directly outputting the image after consistency fusion calibration as the final enhanced image for subsequent waste pile identification tasks.

[0056] It should be noted that, in this application, the enhanced result that satisfies the structural topology consistency constraint refers to the image reconstructed from the illuminance component and the reflection component after iterative solution of the objective function; the preliminary reconstructed image in this application refers to the initial reconstructed result obtained by adding the illuminance component and the reflection component after iterative solution in the logarithmic domain and then restoring them to the grayscale domain by exponential transformation; and the enhanced image in this application refers to the final image output after consistency fusion calibration.

[0057] Furthermore, in another aspect of this application, in some embodiments, this application provides a computer vision-based urban waste industrial treatment monitoring system, which includes a visual image enhancement unit, referencing... Figure 4 The figure is a schematic diagram of the structure of a visual image enhancement unit 400 according to some embodiments of this application. The visual image enhancement unit 400 includes: an acquisition module 401, a processing module 402, and an execution module 403, which are described below: The acquisition module 401 in this application is mainly used to acquire time-series monitoring images of urban garbage dumps and extract garbage dump areas from the continuous frame images therein. Processing module 402, in this application, is mainly used to perform time-series consistency constraint modeling on the time-series monitoring image based on the gradient distribution information of the garbage heap area in each frame image extracted. The structural differences between consecutive frame images are constrained and optimized by introducing a structural topology invariance regularization term, and then the structurally stable region is determined based on the optimization result. The processing module 402 described in this application is also used to classify and divide pixel changes in the current frame image that deviate from the consistency of the structurally stable region, classify the spatially discrete parts that do not conform to the structural extension characteristics as imaging degradation components, and generate a degradation intensity weight map based on the distribution position of the imaging degradation components in the image space, which is used to characterize the image reliability of different regions. The processing module 402 described in this application is further configured to introduce a structural consistency constraint term based on the structurally stable region during the visual image enhancement process, and adaptively adjust the regularization weight coefficients of the illuminance component and the reflectance component during the image decomposition process according to the degradation intensity weight map. The execution module 403 in this application is mainly used to perform consistency fusion reconstruction of the enhancement results that satisfy the structural topology consistency constraints with the structural stable region, and output an enhanced image for garbage pile identification.

[0058] The foregoing has detailed examples of a computer vision-based urban waste industrial treatment monitoring system and method provided in the embodiments of this application. It is understood that the corresponding apparatus, in order to achieve the above functions, includes hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should readily recognize that, based on the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed in hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0059] In some embodiments, this application also provides a computer device, the computer device including a memory and a processor, the memory for storing a computer program, and the processor for calling and running the computer program from the memory, so that the computer device performs the above-described visual image enhancement method for industrial waste treatment scenarios.

[0060] In some embodiments, reference Figure 5The dashed lines in the figure indicate that the unit or module is optional. This figure is a schematic diagram of the structure of a computer device implementing the visual image enhancement method for industrial waste treatment scenarios according to this application. The visual image enhancement method for industrial waste treatment scenarios in the above embodiments can be achieved through… Figure 5 The computer device 500 shown is used to implement this, and the computer device 500 includes at least one processor 501, a memory 502 and at least one communication unit 505. The computer device 500 may be a terminal device, a server or a chip.

[0061] The processor 501 can be a general-purpose processor or a special-purpose processor. For example, the processor 501 can be a central processing unit (CPU). The CPU can be used to control the computer device 500, execute software programs, and process data from the software programs. The computer device 500 may also include a communication unit 505 for inputting (receiving) and outputting (transmitting) signals.

[0062] For example, computer device 500 may be a chip, communication unit 505 may be the input and / or output circuit of the chip, or communication unit 505 may be the communication interface of the chip, and the chip may be a component of terminal device, network device or other device.

[0063] For example, computer device 500 may be a terminal device or a server, and communication unit 505 may be a transceiver of the terminal device or the server, or communication unit 505 may be a transceiver circuit of the terminal device or the server.

[0064] The computer device 500 may include one or more memories 502 storing a program 504. The program 504 can be executed by a processor 501 to generate instructions 503, causing the processor 501 to perform the methods described in the above method embodiments according to the instructions 503. Optionally, the memory 502 may also store data (such as a target audit model). Optionally, the processor 501 may also read data stored in the memory 502, which may be stored at the same storage address as the program 504, or the data may be stored at a different storage address than the program 504.

[0065] The processor 501 and memory 502 can be configured separately or integrated together, for example, integrated on the system-on-chip (SOC) of the terminal device.

[0066] It should be understood that each step of the above method embodiment can be completed by hardware logic circuits or software instructions in the processor 501. The processor 501 can be a CPU, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, such as discrete gates, transistor logic devices, or discrete hardware components.

[0067] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0068] For example, in some embodiments, this application also provides a computer-readable storage medium storing instructions or code that, when executed on a computer, cause the computer to implement the above-described visual image enhancement method for industrial waste disposal scenarios.

[0069] Although preferred embodiments of this application have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of this application.

[0070] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the spirit and scope of this application. Therefore, if such modifications and variations fall within the scope of the claims of this application and their equivalents, this application also intends to include such modifications and variations.

Claims

1. A visual image enhancement method for industrial waste treatment scenarios, applied to a computer vision-based urban waste industrial treatment monitoring system, characterized in that, The method includes the following steps: Collect time-series monitoring images of urban waste piles and extract waste pile areas from consecutive frames; Based on the gradient distribution information of the garbage heap region in each frame of the extracted image, the time-series monitoring image is modeled with time-series consistency constraints. The structural differences between consecutive frame images are constrained and optimized by introducing a structural topology invariance regularization term, and then the structurally stable region is determined based on the optimization result. The pixel changes in the current frame image that deviate from the consistency of the structurally stable region are classified and divided. Spatially discrete parts that do not conform to the structural extension characteristics are classified as imaging degradation components. A degradation intensity weight map is generated based on the distribution position of the imaging degradation components in the image space, which is used to characterize the image reliability of different regions. In the process of visual image enhancement, a structural consistency constraint term based on the structurally stable region is introduced, and the regularization weight coefficients of the illumination component and the reflectance component in the image decomposition process are adaptively adjusted according to the degradation intensity weight map. The enhanced results that satisfy the structural topology consistency constraints are fused and reconstructed with the structurally stable region to output an enhanced image for waste pile identification.

2. The method as described in claim 1, characterized in that, Based on the gradient distribution information of the garbage heap region extracted from each frame of the image, the temporal consistency constraint model is performed on the time-series monitoring image. Specifically, the structural differences between consecutive frames are constrained and optimized by introducing a structural topology invariance regularization term. Calculate the gradient magnitude and gradient direction of each pixel belonging to the garbage dump region in each frame of the image with the garbage dump region mask, and generate the gradient principal direction distribution map corresponding to each frame of the image; Based on the gradient principal direction distribution map of each frame image, a temporal constraint optimization objective function is constructed to characterize the difference in gradient direction and gradient magnitude at the same pixel position between adjacent frames, and a structural topology invariant regularization term is introduced into the objective function. By solving the temporal constraint optimization objective function, temporally stable pixels are extracted based on the changes in gradient direction and gradient magnitude of each pixel after optimization convergence. The region covered by all temporally stable pixels is defined as the structurally stable region.

3. The method as described in claim 1, characterized in that, The specific regions where the structure is stable, determined based on the optimization results, include: Generate a binary label map by summing all pixels that are judged to be temporally stable pixels; Perform connected component analysis on the binary labeled graph to extract the main connected component containing the largest number of temporally stable pixels; The spatial region covered by the main connected domain is defined as the structurally stable region.

4. The method as described in claim 1, characterized in that, The pixel changes in the current frame image that deviate from the consistency of the structurally stable region are classified and divided. Spatially discrete parts that do not conform to the structural extension characteristics are classified as imaging degradation components, specifically including: Each pixel in the current frame image located outside the structurally stable region is compared with the temporal reference value at the corresponding position within the structurally stable region, and pixels that have undergone significant changes are extracted as candidate changed pixels. Spatial neighborhood analysis is performed on the candidate changed pixels, and the discrimination is made based on the distribution density of each candidate changed pixel in the neighborhood and the geometric extension direction of the connected components; Candidate pixels that satisfy spatial discreteness and do not have linear or planar extension patterns are classified as imaging degradation components.

5. The method as described in claim 1, characterized in that, Generating a degradation intensity weight map based on the distribution location of the imaging degradation components in the image space specifically includes: The distribution density of the imaging degradation components in each local region of the image space is statistically analyzed; The initial weight value of the corresponding region is determined based on the distribution density of the imaging degradation components in each local region; The initial weight values ​​of each local region are smoothed to generate a degradation intensity weight map that characterizes the image reliability of different regions.

6. The method as described in claim 1, characterized in that, In the visual image enhancement process, a structural consistency constraint term based on the structurally stable region is introduced, and the regularization weight coefficients of the illuminance component and reflectance component in the image decomposition process are adaptively adjusted according to the degradation intensity weight map. Specifically, this includes: In the process of visual image enhancement, the initial illumination component and initial reflectance component of the current frame image at the pixel level are established as the basic expression for image decomposition. Construct an objective function that includes a data fidelity term, an illuminance component smoothing regularization term, and a reflection component sparse regularization term, and introduce a structural consistency constraint term based on the structurally stable region into the objective function; Based on the degradation intensity weight map, adaptive regularization weight coefficients are assigned to the smoothing regularization term of the illuminance component and the sparse regularization term of the reflectance component, wherein the regularization weight coefficients of different regions are different with the difference in degradation intensity weight values; Using the initial illuminance component and the initial reflection component as initial values ​​for iteration, the objective function is solved iteratively, and the enhanced result that satisfies the structural topology consistency constraint is output.

7. The method as described in claim 1, characterized in that, The enhanced results that satisfy the structural topological consistency constraints are uniformly fused and reconstructed with the structurally stable region to output an enhanced image for waste pile identification, specifically including: Based on the enhancement results that satisfy the structural topology consistency constraints, a preliminary image reconstruction is performed to obtain a preliminary reconstructed image; Using the structurally stable region as a dual benchmark for geometric alignment and grayscale alignment, the preliminary reconstructed image is subjected to consistency fusion calibration. The image after completing the consistency fusion calibration is used as the final output enhanced image for garbage heap identification.

8. A computer vision-based monitoring system for urban waste industrial treatment, comprising a visual image enhancement unit, characterized in that, The visual image enhancement unit includes: The acquisition module is used to acquire time-series monitoring images of urban waste piles and extract waste pile areas from consecutive frames of images. The processing module is used to perform time-series consistency constraint modeling on the time-series monitoring images based on the gradient distribution information of the garbage heap region in each frame of the extracted images. The structural differences between consecutive frame images are constrained and optimized by introducing a structural topology invariance regularization term, and then the structurally stable region is determined based on the optimization result. The processing module is also used to classify and divide pixel changes in the current frame image that deviate from the consistency of the structurally stable region, classify spatially discrete parts that do not conform to the structural extension characteristics as imaging degradation components, and generate a degradation intensity weight map based on the distribution position of the imaging degradation components in the image space, which is used to characterize the image reliability of different regions. The processing module is also used to introduce a structural consistency constraint term based on the structurally stable region during the visual image enhancement process, and to adaptively adjust the regularization weight coefficients of the illuminance component and the reflectance component during the image decomposition process according to the degradation intensity weight map. The execution module is used to perform consistent fusion reconstruction of the enhanced results that satisfy the structural topology consistency constraints with the structural stable region, and output an enhanced image for waste pile identification.

9. A computer device, characterized in that, The computer device includes a memory and a processor. The memory is used to store computer programs, and the processor is used to call and run the computer programs from the memory, causing the computer device to perform the visual image enhancement method for industrial waste treatment scenarios as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores instructions or code that, when executed on a computer, cause the computer to implement the visual image enhancement method for industrial waste treatment scenarios as described in any one of claims 1 to 7.