This paper takes the intelligent water level recognition instrument of Qingming Shanghe Park in Kaifeng as the experimental object, introduces the algorithm of strong edge and sparse constraint into the intelligent water level recognition instrument, and compares the recognition effect of the intelligent water level recognition instrument before and after the introduction of strong edge and sparse constraint algorithms. The results showed that the clarity value was approximately 10% higher, and the recognition speed was also significantly improved. The improvement of recognition speed can effectively promote the work efficiency of the whole method. Strong edges and sparse constraints can effectively improve the accuracy of water level identification, provide scientific and effective data and information for subsequent water resource management, and meet the needs of water resource managers to effectively grasp the law of water level. This can provide technical support for identification methods in other fields, and the ultimate goal is to promote the protection and management of water resources and reduce the harm of natural disasters on people.

  • Traditional water level recognition method and image processing technology were analyzed in detail.

  • Intelligent water level image recognition method was quoted, and strong edge and sparse constraint algorithms were introduced into this method.

  • The results showed that the clarity value was approximately 10% higher, and the recognition speed was also significantly improved.

Water is an indispensable material resource for human survival and development. Detection and protection of water resources have become common responsibilities of human beings. With the development of science and technology, new recognition technology has been widely used in various fields, and the water level recognition method is also developing toward intelligence and digitalization. The water level recognition method has changed from manual detection to the intelligent camera recognition method. Choosing an appropriate recognition method according to the characteristics of water level changes is the requirement of the current complex water quality environment. How to effectively identify water level changes by using new technology has become a focus issue in the field of water resource management.

Changes in water level have a great impact on the ecology and living of residents. An accurate grasp of water level changes can reveal some natural environmental problems. Therefore, many experts have made a series of analyses on the impact of water level changes. Gronewold Andrew D identified Lake Ontario as the lowest water level in Lawrence's Great Lakes, rising to a record high since 2017, which triggered flooding and displaced many families. An investigation revealed that the change was due to negligence in water management. The main reason was that the water level identification method was not in place and the information on water level change was not effectively grasped (Gronewold & Rood 2019). Buckley Mark L believed that wave-driven water level's changes and coastline's rise were important causes of coastal floods caused by storms. In order to study the mechanism of wave-driven water level changes along the coastline of reefs, he conducted a series of laboratory trough experiments on uniform sounding profiles along the coast (Buckley et al. 2018). Peng Dongju held that the lunar node cycles at tidal stations in Tokyo Bay, English Channel, and Bristol Channel had the greatest impact on high water levels, ranging from 30 cm, and that the impact of node cycles on high water levels in these areas might be greater than that of global average sea level rise (Peng et al. 2019). Mohammadi Hamidi Somayeh assumed that droughts have been severe and water levels have fallen significantly in recent decades. The prominent features of these changes have caused problems to surrounding habitats, and severe and sustained droughts have threatened many parts of the world at different times, resulting in profound changes in the level of economic and social development. The shortage of water resources caused the price of potable water to rise, which, in turn, made it difficult for residents to use water (Hamidi et al. 2019). Putman Annie L reckoned that global water resource changes could be seen through water level changes; so water level changes needed to be identified in order to timely grasp the state of development of water resource changes (Putman et al. 2019). Greve Peter identified water shortage as a key environmental problem worldwide and analyzed water level changes to determine changes in the uncertainty range of water shortage conditions (Greve et al. 2018). Shen Chaopeng held that in-depth learning represented a significant advance in the ability of neural networks to capture features associated with automatic design problems and highly complex data distributions, and could help solve the challenges faced by water level recognition research. Water level recognition was susceptible to the water environment and bad weather (Shen 2018). Analysis of the impact of water level changes can effectively carry out an in-depth analysis of the problems, and then, provide useful information reference for subsequent water resources management.

With the development of science and technology, water level recognition has introduced different technologies to further promote the development of water level recognition technology. Many experts have analyzed the introduction of new technology for water levels. Mohammadimanesh Fariba drew a detailed quantitative map of the water level changes of submerged vegetation, and detected water flow patterns and discontinuities. This can show that advances in remote sensing technology have promoted the monitoring and management of wetlands in several fields, including classification, change detection, and water level monitoring (Mohammadimanesh et al. 2018). Huang Chang reckoned that surface water observation was a functional requirement for studying ecological and hydrological processes, in which optical remote sensing image technology could estimate river flow and provide valuable information for water level recognition in unmeasured areas, which could effectively and accurately predict the flow, water level, and water quality of the river in unmeasured areas (Huang et al. 2018). William R Moomaw combined recent research on the status and climate vulnerability of freshwater and brackish wetlands and their contribution to climate change, requiring a precise understanding of water level changes to accommodate flexible ecosystem approach services (Moomaw et al. 2018). J Sheffield considered that water management promoted sustainable development and that satellite remote sensing could play a role in identifying coastal water level changes and enhancing water management (Sheffield et al. 2018). Jakob Zscheischler deemed that floods, wildfires, heat waves, and droughts interacted across multiple spatial and time scales and that effective recognition of water level changes could effectively prevent floods and droughts (Zscheischler et al. 2018). Gustavo Naumann assumed that higher evaporation demand and frequent increases in air temperature were contributing to the continued deterioration of drought conditions in many parts of the world, indicating that the main effects of long-term drought were related to the reduction of groundwater and reservoir water levels. Lower water levels led to a gradual reduction of water on the land, which, in turn, led to drought (Naumann et al. 2018). Arjen Luijendijk considered that coastal areas were one of the most densely populated and developed land areas in the world. Through sophisticated image inquiry and analysis methods, the occurrence of sand beaches and the rate of change in coastal water levels among them have been assessed on a global scale (Luijendijk et al. 2018). An effective grasp of water level change by using science and technology can not only analyze the cause of water level change, but also promote the development of water level recognition technology.

In order to solve the problem that traditional water level recognition methods cannot quickly, timely, and accurately identify water level changes in complex water environments, a strong edge algorithm can be used to clearly display the edge of the water level line in the form of an image. This image can be clarified by the intelligent water level recognition method, and the blurred image can also be processed clearly. On this basis, sparse constraints can be applied to narrow the range of data of water level recognition and record the identified water level line with accurate values. To meet the requirement of timely recognition of small changes in the water level line, the strong edge algorithm and the sparse constraint method were applied in the practical research of water level recognition, in this paper. Compared with the traditional water level recognition method, this method could not only improve the timeliness and accuracy of water level recognition, but also provide accurate water level change data for water resource management personnel when carrying out water management. The method could provide data support for later water governance and planning work, and better carry out water management work. It also could ensure the safety of residents near water and provide certain reference opinions for other recognition methods.

Traditional water level identification

Water level recognition plays an important role in hydrological detection. An effective grasp of water level change information can enable timely preparedness for natural disaster prevention measures, such as flood control and drought resistance, and also be conducive to promoting the development of agriculture (Elijah et al. 2018). There are three traditional ways to obtain water level change information: The first is manual observation, measurement, and data recording. There are many disadvantages in this way, which lead to inaccurate observation data. The main ones are as follows: Limitations of human eye recognition cause huge errors in the observed data. The information on water level change cannot be grasped in time when there is an emergency in the water area. It is impossible to check and record water level changes manually in bad weather. What is more, with the development of flow sensor technology, it is widely used in water level recognition due to its high sensitivity. A flow sensor communicates information through the flow of water, because the sensor is sensitive and can sense changes in time. However, due to its internal structure, the cost of water level recognition is high and the recognition range is limited. Finally, with the maturity of computer technology and image recognition technology, as well as their application in various fields, image recognition water level monitoring methods have been incorporated into video monitoring methods to increase the coverage and density of water level monitoring and enrich water level monitoring information. This water level recognition technology is now a commonly used water level recognition method.

With the development of science and technology, the water level recognition method becomes more intelligent. However, due to the immaturity of technology, there are minor errors in water level recognition data and data confusion caused by an improper data processing method. Hence, it is necessary to analyze and study new technical means and apply new technology suitable for water level recognition, so as to promote the development of the water level recognition method. Then, the information on water level changes is recorded and stored timely and accurately, by means of images and data, aiming to facilitate water resource management personnel to have detailed and accurate data for reference, when carrying out water management.

Traditional water level image recognition method

Traditional water level image recognition methods mainly include online monitoring, data transmission, and terminal display. Among them, the function of online monitoring is to detect and capture water level changes through smart cameras, divide the captured images into areas, and extract images of the required areas. Data transmission can transfer the image processed by the online monitoring method in the form of data (Ravand 2020). The terminal display transforms the data transmitted by the data transmission method to the image, displays the transformed image through the display screen, and uses an intelligent processor to display information analysis in the image, as shown in Figure 1.
Figure 1

Traditional intelligent water level recognition system.

Figure 1

Traditional intelligent water level recognition system.

Close modal

The intelligence of the traditional water level image recognition method is mainly the intelligent shooting of the camera. In this camera, machine learning technology is used to study and apply the continuously updated intelligent shooting technology. In addition, image processing technology is used to analyze and process a large number of images, so as to remove unnecessary data information and provide intelligent detection service for water level information that needs to be treated. Traditional water level image recognition methods mainly include two image shooting methods, i.e. regular shooting and independent shooting. It is necessary to choose the appropriate image shooting method according to water governance requirements.

Traditional water level recognition image processing method

With the development of modern science and technology, the image processing technology of water level recognition has been developed continuously, which provides an effective technical guarantee for water level recognition using the recognition method in the field of water resource management. Upgrading the image recognition technology promotes high clarity of images taken and clearer communication of information (Khan 2021). Each water level recognition image processing technology has its own advantages and disadvantages. Choosing a suitable water level recognition image processing method according to the characteristics of different recognition technologies has the great advantage of improving the water level recognition effect, as shown in Table 1.

Table 1

Water level recognition image processing methods

MethodUsageAdvantage
Grayscale transformation A method of changing the grayscale value of each pixel in the source image point by point according to a certain transformation relationship according to some target condition. It can improve the quality of the captured picture and display the captured image in a clearer picture. 
Edge detection Identify points in a digital image where brightness changes significantly. Intelligently weed out irrelevant data information, reducing the amount of data and preserving structural properties in the image. 
Image refinement A method for extracting skeletal pixels that can express the topology of an image. Create conditions for data compression and recognition in computer systems. 
MethodUsageAdvantage
Grayscale transformation A method of changing the grayscale value of each pixel in the source image point by point according to a certain transformation relationship according to some target condition. It can improve the quality of the captured picture and display the captured image in a clearer picture. 
Edge detection Identify points in a digital image where brightness changes significantly. Intelligently weed out irrelevant data information, reducing the amount of data and preserving structural properties in the image. 
Image refinement A method for extracting skeletal pixels that can express the topology of an image. Create conditions for data compression and recognition in computer systems. 

There are three main image processing methods for water level recognition, which are grayscale transformation, edge detection, and image refinement. These three water level recognition methods are all based on image recognition technology, and different methods have many different discrepancies and roles in image recognition focus. The water level recognition method of grayscale transformation can improve the quality of water surface pictures taken by camera equipment. The method to improve the quality of pictures is to change the key points one by one according to a certain transformation relationship according to the requirements of target conditions, and then, to change the pixel grayscale value in the source image. The water level recognition method of edge detection can intelligently process irrelevant images and data information, when transmitting images and data in real time. While retaining the original structural attributes of images, it reduces the storage pressure of storage equipment because a lot of invalid information is removed and more useful information is stored in more storage space. The intelligent method of water level recognition information processing is to transfer images and data timely through the points with obvious changes in images. The water level recognition method of image refinement is mainly to create favorable recognition conditions for data compression and information recognition by the computer recognition method. It can clearly express the image structure of recognition requirement information in extracting a large number of recognition information and is a method to display the image in frame pixels.

Traditional water level line calculation method

Locking the water level mark by a single machine position, different positions of the water level mark are marked in the form of coordinates. The coordinates of the areas are aggregated to form a pixel interval, aiming to detect the coordinates of the water level and determine whether the coordinates are in the pixel interval. The specific expression is
(1)
where is a single unit; is the lower limit of the actual taken pixel range; is the upper limit of the actual taken pixel range; is the lower limit coordinate of the identified pixel interval; and is the upper limit coordinate of the identified pixel interval.
The coordinate of the water level line is directly substituted into the curve equation to calculate the water level. The specific algorithm is as follows:
(2)
(3)

The calculated final water level is .

Traditional water level recognition image preprocessing

The traditional water level identification method has some deficiencies in detail. In this paper, the traditional method described above is used to preprocess the water level identification image of a certain place in Kaifeng, and the effect of image processing is shown in Figure 2.
Figure 2

Preprocessing effect of the water level recognition image by the traditional method.

Figure 2

Preprocessing effect of the water level recognition image by the traditional method.

Close modal

As shown in Figure 2, Figure 2(a) is the original image taken. It can be found from the figure that the focus of the image is not prominent enough due to the clutter of color light and background, so the original image has been grayscale processed. Figure 2(b) is the image after grayscale processing, Figure 2(c) is the histogram after grayscale processing, and it can be clearly seen from Figure 2(b) that the image has changed from color to black and white. However, it is found that the image is still fuzzy, the edge is not clear enough, and the clarity of the image is not enough; so it is necessary to use the new method in this paper to effectively analyze the problem.

Gradient domain cost function

In an image, there are generally edges between objects and background, as well as between objects, and edge enhancement is a processing method that can make the outline of an image more obvious, and it is a valuable regional processing technology. Edge enhancement is mainly to enhance the boundary in the image, while the part beyond the boundary will be weakened or directly removed. The images taken in water level recognition are usually far away and the water level line is fuzzy. Therefore, this paper uses the gradient domain cost function to process the input image, and then, enhances the edge of the image to achieve the purpose of water level recognition. Specifically, the image is transferred to the gradient range for gradient screening, and the threshold value of the gradient range is set to remove invalid edges. In this way, strong edges can be obtained, and the algorithm for extracting strong edges is as follows:
(4)

Among them, represents the extracted strong edge, and represent the weight.

However, the information on water level constantly changes and the variation law of water level in some special waters is uncertain. However, the sparse constraint method used in this paper can transform the inadequacy problem into an adequacy problem, ensure the stability and uniqueness of the results, and avoid failure in accurately extracting the required data information due to a large amount of data information. Thus, it is impossible to effectively control the waters. Therefore, after the image is extracted by the strong edge of formula (4), the fuzzy image content is clearly displayed by the sparse constraint method. The specific algorithm is as follows:
(5)

Among them, , , and .

Through the application of the above strong edge and sparse constraint methods, the traditional water level identification instrument can strengthen the water level line and clear the image, even when the lake surface is not clear, so as to accurately and clearly identify the change of the water level line, as shown in Figure 3.
Figure 3

Water level image processing diagram based on strong edge and sparse constraint technologies.

Figure 3

Water level image processing diagram based on strong edge and sparse constraint technologies.

Close modal

As shown in Figure 3, on the basis of traditional water level identification methods, strong edge and sparse constraint techniques used in this paper are added to the figure, which solves the problem that traditional water level identification images are not clear and cannot cope with the impact of bad weather, so as to better identify water level changes.

Reference to the intelligent water level image recognition method

The intelligent water level image recognition method is introduced to change the traditional way of collecting water level information by manual measurement. The captured image is recognized by the computer image processing method. By continuously updating the recognition function through machine learning technology, it can facilitate timely, fast, and effective recognition and processing of a large amount of video, image, data, and other information, thus achieving the requirements of intelligent recognition of water level changes. With the application of the intelligent water level image recognition method, the function is gradually improved in continuous practice, but the details of image processing are not perfect enough. Therefore, new technology is needed to improve the image processing function of the intelligent water level image recognition method, as shown in Figure 4.
Figure 4

Establishment of the intelligent water level image recognition system.

Figure 4

Establishment of the intelligent water level image recognition system.

Close modal
As shown in Figure 4, traditional water level recognition methods are introduced to extract the strong edge algorithm and the sparse constraint algorithm. The strong edge algorithm can process image contour more obviously, while the sparse constraint algorithm can restrict the water level recognition area effectively. Then, water level changes are effectively recognized according to needs intelligently, and the identified image details are clear and complete. There is a significant improvement in the clarity of the recognition image, as shown in Figure 5.
Figure 5

Definition rendering of image recognition.

Figure 5

Definition rendering of image recognition.

Close modal

Figure 5(a) is the original image and Figure 5(b) is the histogram of the original image. It can be clearly seen that the lines are more concentrated because the image is fuzzy. In addition, it can be seen from the histogram of Figure 5(d) that the lines are more dispersed and balanced, and the range of values is larger than that of Figure 5(b), indicating that after the original image is equalized, the clarity and brightness of the image are effectively improved.

Image edge processing

The water level recognition method has high requirements for image quality (Patra et al. 2018), while water level changes rapidly and frequently, and the information amount of images and data is large. Flexible processing of images and data can reduce the pressure of data storage equipment. The above intelligent water level recognition method can effectively improve the brightness of the image. It can be clearly seen that although the basic structure of the image is preserved in the original image, the edge structure of the image is blurred. Therefore, a series of image processing is required to accurately identify changes in the water level, as shown in Figure 6.
Figure 6

Image edge processing effect.

Figure 6

Image edge processing effect.

Close modal

As shown in Figure 6, after edge processing of the original image, the process and effect of image edge detection and extraction can be clearly seen. From the figure, the water level line on the bank of the river can be clearly seen, and the edge processing of the image identified by the water level can be effectively carried out to facilitate the inspection of the detection personnel.

Image noise reduction processing

Filtering algorithm is a common technique used in image processing and signal processing, and there are many different filtering algorithms (Okon et al. 2018). The following are three commonly used filtering algorithms and their formulas:

Mean filtering

For a sliding window of size n × n, the mean filtering formula is as follows:
(6)

Median filtering

For a sliding window of size n × n, the median filtering formula is as follows:
(7)

Gaussian filtering

For a sliding window of size n × n, the Gaussian filtering formula is as follows:
(8)
where represents the pixel value of the input image at pixel position , represents the pixel value of the output image at pixel position , i and j are the offset of each pixel in the sliding window, represents the median obtained, represents the natural exponential function, and represents the standard deviation of the Gaussian kernel.

Effective extraction of the local area of the image

Noise may be generated by the interference of the water environment after image processing. Therefore, effective filtering and denoising are required for the image. Different filtering algorithms were compared and analyzed for the effect of image processing, as shown in Table 2.

Table 2

The effect of different filtering algorithms on image processing

Filter algorithmSignal-to-noise ratio (dB)Average filter run time (ms)
Mean filtering 26.684 37.57 
Median filtering 27.553 5.38 
Gaussian filtering 25.498 32.35 
Filter algorithmSignal-to-noise ratio (dB)Average filter run time (ms)
Mean filtering 26.684 37.57 
Median filtering 27.553 5.38 
Gaussian filtering 25.498 32.35 

As shown in Table 2, the signal-to-noise ratio of median filtering was 27.553 dB, while the signal-to-noise ratio of mean filtering and Gaussian filtering were 26.684 and 25.498 dB, respectively. The signal-to-noise ratio of median filtering was significantly higher than that of the two. The running time of the three filtering algorithms was compared. Each algorithm processed the same image ten times. The processing results are shown in Table 2. The average time of mean filtering and Gaussian filtering for image processing was above 30 ms. The mean time of median filtering for image processing was 5.38 ms, which is much faster than the others. After analyzing the filtering effect and the speed of image processing, the median filtering method was selected to process the image. This is because the median filtering algorithm is fast and has a high signal-to-noise ratio.

In summary, the median filter algorithm can greatly help the speed of image processing. The water level recognition method generates a lot of images and data information in the work, while the water level change information required in water resource management is a certain time period or long-term change rule and does not need a lot of images and data information. Affected by the season, summer is prone to drought or flood. The information demand for water level changes is large, while winter water level changes little, so the information demand for water level changes is small. Therefore, a lot of image information needs to be quickly and effectively selected. The necessary information is retained, and unnecessary information needs to be effectively denoised. This not only reduces the workload of post-image processing, but also accurately preserves a small amount of useful image information, aiming to provide effective data information for water resource management, water area management, and natural disaster prevention.

Effect of image noise reduction

A water area is randomly selected, four processed images are randomly extracted from the water level recognition method of the water area, and then, the image is denoised through the median filter algorithm. The preprocessing effect of the image is detected through the analysis of the signal-to-noise ratio of the image, experimental data are recorded, and experimental results are analyzed, as shown in Table 3.

Table 3

Comparison of effect before and after image noise reduction

1234
23.543 24.527 23.447 23.689 
27.537 26.323 27.295 27.375 
Difference value 3.994 1.796 3.848 3.686 
1234
23.543 24.527 23.447 23.689 
27.537 26.323 27.295 27.375 
Difference value 3.994 1.796 3.848 3.686 

As can be seen from Table 3, A is the signal-to-noise ratio data result of the image before image noise reduction is processed through the median filter algorithm, and B is the signal-to-noise ratio data result of the image after image noise reduction is processed through the median filter algorithm. According to B, it can be clearly seen that the signal-to-noise ratio of the image before image denoising is processed by the median filtering algorithm in A is between 23.447 and 24.527 dB, while that of the image before and after image denoising is processed by the median filtering algorithm in B is between 26.323 and 27.537 dB, and the overall signal-to-noise ratio is above 26 dB. The noise is small, and the noise reduction value in B is significantly higher than that in A, indicating that the image noise after image noise reduction is processed by the median filter algorithm is small, and the impact on the image is also small, so that the details of the image can be effectively preserved.

The median filter method can preserve the detailed structure of the image well. According to the requirement of paying attention to detail in water level image recognition, the median filter method is used to effectively eliminate the noise in the image. Median filtering is a nonlinear image processing technology, which can effectively eliminate the noise in the image, while effectively preserving the key details in the image. The median filtering image processing method resets the gray value of each image pixel according to the median gray value of all pixels in a certain area around the pixel. Then, the points with an excessive difference in the median gray value of pixels in the local area of the image are effectively eliminated.

Image brightness processing effect

Four processed images were randomly extracted from the water level recognition method in a water area. Then, the image was processed by the edge detection image processing method. By comparing brightness analysis of the image before and after image processing, the preprocessing effect of the image was detected, experimental data were recorded, and the experimental results were analyzed, as shown in Figure 7.
Figure 7

Comparison of brightness values before and after image processing.

Figure 7

Comparison of brightness values before and after image processing.

Close modal

As shown in Figure 7, the data recorded before image processing by edge detection found that the brightness of the image is between 43 and 58, indicating that the overall brightness of the image is dark. After image processing by edge detection, the brightness value of the image is between 63 and 75, which means that the brightness has significantly improved. It shows that the edge detection image processing method has been an obvious help in improving the brightness of the detected image.

In summary, through the analysis and research of three image processing methods, this article selects the edge detection image processing method based on the characteristics and requirements of water level recognition, and conducts experimental analysis on the effectiveness of the edge detection image processing method. By comparing the brightness of the image before and after image processing, it can be seen that the brightness of the image, after edge detection is processed by the image processing method, has been significantly improved. Increasing the brightness of the image can enhance the detailed display of the picture and more clearly identify the numerical information of the water level line, facilitating the data recording of water level changes. Because the value on the marking rod of the water level line is small, the image is slightly blurred so that the water level value information cannot be seen.

Experimental preparation

The water area of Qingming Shanghe Garden in Kaifeng was taken as the experimental object. Four captured water level images were randomly extracted from the traditional water level image recognition method in the water area. Then the image was processed through strong edge and sparse constraint algorithms for image details. By comparing the images before and after processing, the effect of detail processing of the intelligent water level image recognition method was reflected. The experimental data were recorded and the experimental results were analyzed.

Experimental data

Clarity

The clearer the image before and after contrast processing, the better the clarity, and the better the detail processing effect of the intelligent water level image recognition method. The lower the clarity, the worse the detail processing effect of the intelligent water level image recognition method, as shown in Figure 8.
Figure 8

Comparison of clarity results before and after image processing.

Figure 8

Comparison of clarity results before and after image processing.

Close modal

As shown in Figure 8, before the processing of strong edge and sparse constraint algorithms, the image clarity value ranges from 86 to 89%, and the average clarity value is about 87.5%; after the processing of strong edge and sparse constraint algorithms, the image clarity value ranges from 96 to 99%, and the average clarity value is about 97.5%. The sharpness value of the image after strong edge and sparse constraint algorithms is about 10% higher than that before strong edge and sparse constraint algorithms. Therefore, it can be concluded that the sharpness of the image after strong edge and sparse constraint algorithms are used to improve the overall performance of the intelligent water level image recognition method.

To sum up, after image processing with strong edge and sparse constraint algorithms, the picture content of the image is clearer. The water environment is complicated. Affected by bad weather and night brightness, the image content is relatively blurry and the water level value cannot be clearly identified. Therefore, the water level recognition image needs to be processed. The blurred image taken in bad weather can also be clearly displayed, thus providing timely and accurate image and data information for the study of water level changes in bad weather.

Image processing speed

Time was compared before and after image processing. The longer the time, the worse the detail processing effect of the intelligent water level image recognition method. The shorter the time, the better the detail processing effect of the intelligent water level image recognition method, as shown in Figure 9.
Figure 9

Comparison of speed results before and after image processing.

Figure 9

Comparison of speed results before and after image processing.

Close modal

As shown in Figure 9, it can be clearly seen from the figure that the distribution time of image processing before strong edge and sparse constraint algorithms is between 1 and 1.5 s, with a minimum value of 1.1 s and a maximum value of 1.5 s, and the overall distribution time of image processing is more than 1 s. The distribution of image processing time after strong edge and sparse constraint algorithms is between 0.3 and 0.6 s, the minimum value is 0.3 s, and the maximum value is 0.6 s. The overall distribution of image processing time is less than 1 s, and the overall speed is effectively improved, indicating that this method improves the image processing speed after strong edge and sparse constraint algorithms are used. This saves a lot of time for the subsequent water treatment work.

In conclusion, the time of image processing is greatly shortened by using strong edge and sparse constraint algorithms, which is of great help to improve the processing speed of the overall image method. Using strong edge and sparse constraint algorithms not only improves recognition speed, but also effectively ensures image clarity. This further indicates that strong edge and sparse restriction algorithms have a certain promoting effect on the overall development of water level recognition methods. The algorithm also provides a certain reference value for the development of recognition technology in other industries.

Water resources are indispensable for human survival and development. The detection and management of water resources can not only protect the beautiful homeland that human beings depend on for survival, but also effectively ensure the safety of residents. Therefore, it is necessary to use strong edge and sparse constraint algorithms to meet the needs of image detail processing for water level recognition. The aim is to provide some reference for modern intelligent water level image recognition methods. This paper describes the traditional water level recognition image processing method and analyzes the possible problems in image processing. To address this issue, this article utilized strong edge and sparse constraint algorithms for a series of image processing, and compared the preprocessed and postprocessed images with experiments. It was found that the brightness of the processed images was effectively improved. The edge enhancement of the water level identification image can effectively view the change of the water level line and provide scientific and effective image data information for the subsequent effective treatment of water resources.

This work is supported by Henan Higher Education Teaching Reform Research and Practice Project and Zhoukou Normal University Teaching Development Research and Practice Project (JF2021001); Science and Technique Project of Henan (232102321068/212102310397); Program for Science & Technology Innovation Talents in Universities of Henan Province (22HASTIT019); and Academic Degrees & Graduate Education Reform Project of Henan Province (2021SJGLX219Y).

All relevant data are included in the paper or its Supplementary Information.

The authors declare there is no conflict.

Buckley
M. L.
,
Lowe
R. J.
,
Hansen
J. E.
,
van Dongeren
A. R.
&
Storlazzi
C. D.
2018
Mechanisms of wave-driven water level variability on reef-fringed coastlines
.
Journal of Geophysical Research: Oceans
123
(
5
),
3811
3831
.
Elijah
O.
,
Rahman
T. A.
,
Orikumhi
I.
,
Leow
C. Y.
&
Nour Hindia
M. H. D.
2018
An overview of Internet of Things (IoT) and data analytics in agriculture: benefits and challenges
.
IEEE Internet of Things Journal
5
(
5
),
3758
3773
.
Greve
P.
,
Kahil
T.
,
Mochizuki
J.
,
Schinko
T.
,
Satoh
Y.
,
Burek
P.
,
Fischer
G.
,
Tramberend
S.
,
Burtscher
R.
,
Langan
S.
&
Wada
Y.
2018
Global assessment of water challenges under uncertainty in water scarcity projections
.
Nature Sustainability
1
(
9
),
486
494
.
Hamidi
S. M.
,
Nazmfar
H.
,
Yazdani
M. H.
&
Bashi
A. R. G.
2019
An investigation and analysis of the effect of Urmia lake water level reduction on the development levels of surrounding counties
.
Town and Country Planning
11
(
2
),
285
309
.
Huang
C.
,
Chen
Y.
,
Zhang
S.
&
Wu
J.
2018
Detecting, extracting, and monitoring surface water from space using optical sensors: a review
.
Reviews of Geophysics
56
(
2
),
333
360
.
Khan
I. A.
2021
Video monitoring system for natural environment protection area supporting image recognition
.
Nature Environmental Protection
2
(
3
),
31
39
.
Luijendijk
A.
,
Hagenaars
G.
,
Ranasinghe
R.
,
Baart
F.
,
Donchyts
G.
&
Aarninkhof
S.
2018
The state of the world's beaches
.
Scientific Reports
8
(
1
),
1
11
.
Mohammadimanesh
F.
,
Salehi
B.
,
Mahdianpari
M.
,
Brisco
B.
&
Motagh
M.
2018
Wetland water level monitoring using interferometric synthetic aperture radar (InSAR): a review
.
Canadian Journal of Remote Sensing
44
(
4
),
247
262
.
Moomaw
W. R.
,
Chmura
G. L.
,
Davies
G. T.
,
Finlayson
C. M.
,
Middleton
B. A.
,
Natali
S. M.
,
Perry
J. E.
,
Roulet
N.
&
Sutton-Grier
A. E.
2018
Wetlands in a changing climate: science, policy and management
.
Wetlands
38
(
2
),
183
205
.
Naumann
G.
,
Alfieri
L.
,
Wyser
K.
,
Mentaschi
L.
,
Betts
R. A.
,
Carrao
H.
,
Spinoni
J.
,
Vogt
J.
&
Feyen
L.
2018
Global changes in drought conditions under different levels of warming
.
Geophysical Research Letters
45
(
7
),
3285
3296
.
Okon
E.
,
Eke
B.
&
Asagba
P. O.
2018
An improved online book recommender system using collaborative filtering algorithm
.
International Journal of Computer Applications
179
(
46
),
41
48
.
Patra
S.
,
Sahoo
S.
,
Mishra
P.
&
Mahapatra
S. C.
2018
Impacts of urbanization on land use/cover changes and its probable implications on local climate and groundwater level
.
Journal of Urban Management
7
(
2
),
70
84
.
Peng
D.
,
Hill
E. M.
,
Meltzner
A. J.
&
Switzer
A. D.
2019
Tide gauge records show that the 18.61-year nodal tidal cycle can change high water levels by up to 30 cm
.
Journal of Geophysical Research: Oceans
124
(
1
),
736
749
.
Putman
A. L.
,
Fiorella
R. P.
,
Bowen
G. J.
&
Cai
Z.
2019
A global perspective on local meteoric water lines: meta-analytic insight into fundamental controls and practical constraints
.
Water Resources Research
55
(
8
),
6896
6910
.
Ravand
H.
2020
Data transmission security module of distributed system based on network coding
.
Distributed Processing System
1
(
4
),
41
48
.
Sheffield
J.
,
Wood
E. F.
,
Pan
M.
,
Beck
H.
,
Coccia
G.
,
Serrat-Capdevila
A.
&
Verbist
K.
2018
Satellite remote sensing for water resources management: potential for supporting sustainable development in data-poor regions
.
Water Resources Research
54
(
12
),
9724
9758
.
Zscheischler
J.
,
Westra
S.
,
Hurk
B. J. J. M. v. d.
,
Seneviratne
S. I.
,
Ward
P. J.
,
Pitman
A.
,
AghaKouchak
A.
,
Bresch
D. N.
,
Leonard
M.
,
Wahl
T.
&
Zhang
X.
2018
Future climate risk from compound events
.
Nature Climate Change
8
(
6
),
469
477
.
This is an Open Access article distributed under the terms of the Creative Commons Attribution Licence (CC BY-NC-ND 4.0), which permits copying and redistribution for non-commercial purposes with no derivatives, provided the original work is properly cited (http://creativecommons.org/licenses/by-nc-nd/4.0/).