A river and lake dynamic sensing smart pole and sensing system and method
By selecting an image processing method based on light intensity on the smart pole, and combining historical frame images to identify water surface fluctuations and suspended solids types, the problem of image quality degradation in low-light environments is solved, and dynamic monitoring of rivers and lakes and water quality management are realized. Live support.
Patent Information
- Application Number
- CN202410917087.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-10
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2044-07-10
AI Technical Summary
The image quality of existing smart poles deteriorates in low-light environments and cannot effectively monitor the dynamic water potential and suspended solids types of rivers and lakes, affecting water quality analysis and management decisions.
The image processing method is selected based on the light intensity level, and effective frame images are obtained through image denoising and grayscale enhancement processing. Time frame correction is performed based on historical frame images to determine the water surface fluctuation state and suspended matter types, and generate water quality prevention and control instructions.
Improve image quality under different lighting conditions, monitor river and lake dynamics in real time, accurately determine water potential and suspended solids types, and support effective water quality management and prevention and control decisions.
Smart Images

Figure CN118470651B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of river and lake monitoring, and in particular relates to a river and lake dynamic sensing smart pole and a sensing system and method. Background Art
[0002] Smart pole monitoring is an important part of smart water conservancy construction. By combining it with information applications such as the river and lake chief system, it can form electronic archives, closed-loop management processes and visual statistical analysis results displays, providing technical support and decision-making support for river and lake management.
[0003] Specifically, smart poles can be equipped with a variety of sensors to monitor key indicators such as water quality, water level, flow rate, and flow of rivers and lakes in real time. This real-time monitoring can ensure the real-time update and accuracy of data, and provide timely and accurate information support for river and lake management. Through the monitoring of smart poles, abnormal conditions of rivers and lakes, such as water pollution and abnormal water levels, can be discovered in time, and early warnings can be issued, providing a time window for emergency response by relevant departments.
[0004] Under normal circumstances, in order to facilitate maintenance and management, smart poles are set up at the edge of rivers and lakes. Image monitors are used to collect water surface conditions of rivers and lakes to analyze pollution status, and water level sensors are used to obtain water level data in rivers and lakes for water level analysis. However, there are corresponding problems with the above. For example, image monitors are heavily dependent on light conditions, especially in low-light environments such as night, cloudy or foggy days, the image quality will be significantly reduced, affecting the picture effect. The water level sensor can only detect the water level near the sensor, and cannot more intuitively reflect the dynamic water potential of rivers and lakes. Summary of the invention
[0005] The purpose of the present invention is to provide a river and lake dynamic sensing smart pole and a sensing system and method to solve the problems raised in the background technology.
[0006] The present invention adopts the following technical solution: a method for dynamic perception of rivers and lakes, comprising the following steps:
[0007] Based on the geographical location information of rivers and lakes, the required number of smart poles are pre-deployed. Each smart pole corresponds to monitoring a designated river or lake area. The following process is performed for each smart pole:
[0008] Acquire an actual frame image set of a river or lake area, and determine the illumination intensity level corresponding to the frame images in the actual frame image set; select a corresponding image processing method according to the illumination intensity level to pre-process the frame images to obtain a corresponding valid frame image set;
[0009] Acquire the water surface fluctuation state of the river and lake area based on the valid frame image set, determine the current water potential according to the water surface fluctuation state, and judge whether it is necessary to start the water scheduling instruction according to the current water potential;
[0010] The effective frame image set is used to obtain the surface features of the river and lake area, and whether there is suspended matter is determined based on the surface features. If so, the type of suspended matter is further determined, and corresponding water quality control instructions are generated based on the type of suspended matter and the water surface fluctuation state.
[0011] In a further embodiment, the illumination intensity level includes at least: a bright light level, a normal level and a gray level; correspondingly, the image processing method includes at least: an image denoising method and a grayscale enhancement method;
[0012] The image denoising method is used to process images belonging to the light level; and the grayscale enhancement method is used to process images belonging to the grayscale level.
[0013] In a further embodiment, the selection process of the image processing method is as follows: determine whether the actual frame image is a single grayscale area image; if so, further determine the light intensity level to which it belongs, perform image denoising processing on the frame image belonging to the bright light level, and perform grayscale enhancement processing on the frame image belonging to the dark gray level; then the effective frame image is the actual frame image after processing;
[0014] If not, the frame image is divided into bright areas and / or dark areas according to the grayscale value, and image denoising is performed on the bright areas and grayscale enhancement is performed on the dark areas; then the effective frame image is the splicing of the processed actual areas, or the splicing of the processed actual areas and the normal areas.
[0015] In a further embodiment, the steps of the image denoising method are as follows:
[0016] Determine the light intensity values corresponding to the red channel, green channel, and blue channel of the normal level image: I r (x,y),I g (x,y) and I b (x,y);
[0017] The bright light image or bright light area is separated into three monochrome images in the red channel, green channel and blue channel, and their intensities are expressed as: and The following formula is used to extract regions from the three monochrome images:
[0018]
[0019] Among them, I r ,I g and I b are the modulation degrees of the red channel, green channel and blue channel respectively, M r (x,y),M g (x,y) and M b(x, y) are the characteristic regions of the red channel, green channel, and blue channel respectively;
[0020] Based on the feature region M r (x,y),M g (x,y) and M b (x, y) are merged into the frame image I(x, y) after noise reduction:
[0021]
[0022] In a further embodiment, the steps of the grayscale enhancement method are as follows:
[0023] Get each pixel in the gray image or gray area and sort them in descending order, and sum the three channel values of the first m pixels to get S r , S g and S b , and determine the maximum and minimum values of each channel;
[0024] Remove the maximum and minimum values of each channel and use the following formula to calculate the mean of each channel and
[0025]
[0026] In the formula, R big and R samll are the maximum and minimum values of the red channel, G big and G samll are the maximum and minimum values of the green channel, B big and B samll are the maximum and minimum values of the blue channel respectively;
[0027] According to the mean and Perform brightness enhancement on dark images or dark areas.
[0028] In a further embodiment, the water surface fluctuation state is obtained as follows:
[0029] Select a historical valid frame image I t―j(e) , based on the historical valid frame image I t―j(e) For the current valid frame image I t(e) Perform time frame correction to obtain pixel difference (ΔX, ΔY), where t―j represents the historical time frame;
[0030] In the historical valid frame image I t―j(e)Determine the positioning pixel S1 and the positioning pixel S2, and obtain the actual elevation H1 and the actual elevation H2 corresponding to the positioning pixel S1 and the positioning pixel S2 respectively; then point W is in the historical valid frame image I t―j(e) The actual elevation in is calculated as follows:
[0031]
[0032] Where, Y1 and Y2 are the spatial coordinates of the positioning pixel S1 and the positioning pixel S2, Y W Then is the space system ordinate of point W;
[0033] The following formula is used to calculate the point W in the current valid frame image I t(e) The actual elevation in:
[0034]
[0035] The elevations of the points of interest in the image frames in different frames are calculated in sequence to obtain the water surface elevation and the water surface fluctuation process; the water surface elevation and the water surface fluctuation process are the water surface fluctuation state.
[0036] In a further embodiment, the process of obtaining the pixel difference (ΔX, ΔY) is as follows:
[0037] In the historical valid frame image I t―j(e) Select a fixed point as the reference point O t―j , determine its current valid frame image I t―j(e) The coordinates of the center of mass are (X t―j ,Y t―j );
[0038] In the current valid frame image I t(e) Find the reference point O t―j And give a new definition as calibration point O t , determine its centroid coordinates as (X t ,Y t );
[0039] Identify historical valid frame images I t―j(e) Middle reference point O t―j , determine its centroid coordinates as (X t―j ,Y t―j );
[0040] Calculate the base point O t―j and calibration point O t The difference between (ΔX, ΔY), where ΔX = X t ―X t―j , ΔY=Y t ―Y t―j .
[0041] In a further embodiment, the process of determining the type of suspended matter is as follows:
[0042] The target area is determined based on the valid frame image, a geometric feature model is created, and the target area is given a shape definition using the geometric feature model. The geometric feature model is expressed in the following form:
[0043]
[0044] In the formula, L represents the length, L mer and W mer are the length and width of the circumscribed moment of the target area, E represents the compactness, L0 and A0 are the boundary perimeter and area of the target area, A mer is the area of the minimum circumscribed moment of the target area, r i and r c Respectively represent the inscribed circle radius and circumscribed circle radius of the target area;
[0045] Based on the geometric feature model, the geometric feature value {L c ,E c ,S c ,C c}, according to the geometric eigenvalue {L c ,E c ,S c ,C c}Determine the geometry of the target area;
[0046] The texture features of the target area c are determined according to the gray level thereof, and the texture features are represented by energy NEN, entropy ENT and inverse moment IDM; wherein,
[0047]
[0048] Where k and h are two pixels of the same gray level in the target area, and p(k,h|δ) is the probability that the statistical pixel h appears in the specified range, where the specified range is a circle with the pixel k as the center and δ as the radius;
[0049] The type of floating object is determined based on the determined geometric shape and textural characteristics of the target area.
[0050] A river and lake dynamic sensing smart pole, used to implement the river and lake dynamic sensing method as described above, comprising:
[0051] The rod body is erected at a designated location of a river or lake; a support portion extending toward the river or lake is provided on the top of the rod body;
[0052] An image acquisition device, mounted on the support portion;
[0053] A display screen is arranged at a predetermined height on the rod body.
[0054] A river and lake dynamic perception system is configured in a smart pole; the smart pole is as described above, the input end of the river and lake dynamic perception system is connected to an image acquisition device, and the output end is connected to a display screen; wherein the display screen is a touch interactive screen, having at least a water level display module, a video display module, a cultural publicity module, a patrol punch-in module and a river and lake science popularization module.
[0055] The river and lake dynamic perception system includes:
[0056] The first module is configured to obtain an actual frame image set of a river or lake area, and determine a light intensity level corresponding to a frame image in the actual frame image set; select a corresponding image processing method according to the light intensity level to pre-process the frame image to obtain a corresponding valid frame image set;
[0057] The second module is configured to obtain the water surface fluctuation state of the river and lake area based on the valid frame image set, determine the current water potential according to the water surface fluctuation state, and determine whether it is necessary to start the water scheduling instruction according to the current water potential;
[0058] The third module is configured to use the valid frame image set to obtain the surface features of the river and lake area, determine whether there is suspended matter based on the surface features, and if so, further determine the type of suspended matter, and generate corresponding water quality control instructions based on the type of suspended matter.
[0059] Beneficial effects of the present invention: The present invention configures an image acquisition device and a display screen on the smart pole at the same time, which is used to obtain real-time data on the one hand, and display the real-time data through the display screen after effective processing on the other hand, so as to directly observe the dynamics of rivers and lakes.
[0060] Secondly, considering the large area of rivers and lakes, the different distribution of surrounding buildings and natural plants, and the use of different atmospheric environments, the light intensity of the frame images collected by the image is uneven, especially in the summer when the sun is shining brightly, the rivers and lakes will reflect light, so the frame images at this moment are unclear due to excessive light; for example, in foggy or windy weather, the atmospheric transmittance is low, resulting in unclear grayscale of the frame images. Therefore, the present invention is graded according to the light intensity of the environment where the image acquisition device is located, and an appropriate image processing method is selected according to the corresponding level to perform targeted image preprocessing.
[0061] The present invention uses historical frame images and current frame images, as well as fixed reference objects on the banks of rivers and lakes, to calculate the actual elevation of a certain point on a river or lake, as well as the change process of the actual elevation, and dynamically perceives the water surface and fluctuation state of the river or lake.
[0062] Finally, the frame images are used to confirm the geometric shape and texture features of the floating objects to determine the type of floating objects, so as to select the appropriate tools to deal with the floating objects, such as leaves, bottles, blue algae, etc. BRIEF DESCRIPTION OF THE DRAWINGS
[0063] Figure 1 This is a flow chart of the river and lake dynamic perception method of Example 1.
[0064] Figure 2 This is a structural diagram of the river and lake dynamic perception smart pole of Example 2.
[0065] Figure 2 The labels in the figure are: rod body 1, support part 2, image acquisition device 3, display screen 4. DETAILED DESCRIPTION
[0066] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.
[0067] Example 1
[0068] like Figure 1 As shown, a method for dynamic perception of rivers and lakes includes the following steps: pre-deploy a required number of smart poles based on the geographical location information of the rivers and lakes, and each smart pole corresponds to monitoring a designated river and lake area. The number of smart poles can be determined according to the area occupied by the rivers and lakes, and the geographical coordinates of the smart poles can be determined according to the morphology of the rivers and lakes, and finally a combination of several smart poles can cover the entire landscape of the rivers and lakes.
[0069] The following process is executed for each smart pole: the actual frame image set of the river and lake area is obtained, and the light intensity level corresponding to the frame image in the actual frame image set is determined; the corresponding image processing method is selected according to the light intensity level to pre-process the frame image to obtain the corresponding valid frame image set. It should be noted that when obtaining the actual frame image set of the river and lake area, the image acquisition device is directly exposed to the atmosphere. Therefore, when the sky is clear, the surface of the river and lake is easy to reflect light, and when it is windy and rainy, the light is low and the image resolution is low due to the influence of rain. Therefore, when storing the frame images in the actual frame image set, additional definitions are made in advance according to the light intensity level on the frame image to facilitate later image processing.
[0070] The water surface fluctuation state of the river and lake area is obtained based on the valid frame image set, the current water potential is determined according to the water surface fluctuation state, and it is judged whether the water scheduling instruction needs to be started according to the current water potential.
[0071] The effective frame image set is used to obtain the surface features of the river and lake area, and whether there is suspended matter is determined based on the surface features. If so, the type of suspended matter is further determined, and corresponding water quality control instructions are generated based on the type of suspended matter.
[0072] In a further embodiment, the light intensity level includes at least: bright light level, normal level and gray level. The classification standard may be: pre-set a normal light intensity value interval range, if the relative value of the light intensity of the frame image is higher than the maximum value of the light intensity value interval range, it indicates that it is a bright light level, and reflection is likely to appear or has appeared. If the relative value of the light intensity of the frame image is lower than the minimum value of the light intensity value interval range, it indicates that it is a gray level, and the environment is dim.
[0073] Correspondingly, the image processing method at least includes: an image denoising method and a grayscale enhancement method. It is worth mentioning that the image denoising method is used to process images belonging to the bright light level; the grayscale enhancement method is used to process images belonging to the gray dark level.
[0074] When processing the frame image, it is also necessary to determine how to process it. For example, there are tall buildings around the river and lake. Whenever the sun sets, part of the area will reflect light, but the adjacent area is blocked by the tall buildings, that is, the surface of the river and lake is relatively dark. Correspondingly, the current frame image has both bright areas and dark areas. When processing, the frame image should be processed by region and method. Or, in rainy weather, the entire river and lake are dark areas, so the current frame image can be processed as a whole without regional processing.
[0075] In other words, the selection process of the image processing method is as follows: determine whether the actual frame image is a single grayscale area image: if so, further determine the light intensity level to which it belongs, perform image denoising on the frame image belonging to the bright light level, and perform grayscale enhancement on the frame image belonging to the dark level; then the effective frame image is the actual frame image after processing; such as the frame image obtained in rainy weather as described above, or the frame image obtained at noon in summer.
[0076] If not, the frame image is segmented into bright areas and / or dark areas according to the grayscale value, and image denoising is performed on the bright areas and grayscale enhancement is performed on the dark areas; then the effective frame image is the splicing of the actual areas after processing, or the splicing of the actual areas after processing and the normal areas. As described above, there are high-rise buildings around the rivers and lakes, and the frame image obtained at sunset means that both bright areas and dark areas exist. For example, if there is no reflection in the current river or lake, but it is blocked by high-rise buildings and there are dark areas, then only the dark areas are segmented at this time.
[0077] Based on the above description, the steps of the image denoising method are as follows: Determine the light intensity values corresponding to the red channel, green channel and blue channel of the normal level image: r (x,y),I g (x,y) and I b (x,y);
[0078] The bright light image or bright light area is separated into three monochrome images in the red channel, green channel and blue channel, and their intensities are expressed as: and The following formula is used to extract regions from the three monochrome images:
[0079]
[0080] Among them, I r ,I g and I b are the modulation degrees of the red channel, green channel and blue channel respectively, M r (x,y),M g (x,y) and M b (x, y) are the characteristic regions of the red channel, green channel, and blue channel respectively;
[0081] Based on the feature region M r (x,y),M g (x,y) and M b (x, y) are merged into the frame image I(x, y) after noise reduction:
[0082]
[0083] The steps of the grayscale enhancement method are as follows:
[0084] Get each pixel in the gray image or gray area and sort them in descending order, and sum the three channel values of the first m pixels to get S r , S g and S b , and determine the maximum and minimum values of each channel;
[0085] Remove the maximum and minimum values of each channel and use the following formula to calculate the mean of each channel and
[0086]
[0087] In the formula, R big and R samll are the maximum and minimum values of the red channel, G big and G samll are the maximum and minimum values of the green channel, B big and B samll are the maximum and minimum values of the blue channel respectively;
[0088] According to the mean and Perform brightness enhancement on dark images or dark areas.
[0089] In another embodiment, the water surface fluctuation state is obtained as follows:
[0090] Select a historical valid frame image I t―j(e) , based on the historical valid frame image I t―j(e) For the current valid frame image I t(e) Perform time frame correction to obtain pixel difference (ΔX, ΔY), where t―j represents the historical time frame;
[0091] In the historical valid frame image I t―j(e) Determine the positioning pixel S1 and the positioning pixel S2, and obtain the actual elevation H1 and the actual elevation H2 corresponding to the positioning pixel S1 and the positioning pixel S2 respectively; then point W is in the historical valid frame image I t―j(e) The actual elevation in is calculated as follows:
[0092]
[0093] Where, Y1 and Y2 are the spatial coordinates of the positioning pixel S1 and the positioning pixel S2, Y W Then is the space system ordinate of point W;
[0094] The following formula is used to calculate the point W in the current valid frame image I t(e) The actual elevation in:
[0095]
[0096] The elevations of the points of interest in the image frames in different frames are calculated in sequence to obtain the water surface elevation and the water surface fluctuation process; the water surface elevation and the water surface fluctuation process are the water surface fluctuation state. It should be noted that if the water surface elevation exceeds the maximum water level threshold, the drainage scheduling instruction needs to be started; if the water surface elevation is lower than the minimum water level threshold, the water diversion scheduling instruction needs to be started.
[0097] Correspondingly, the floating range or frequency of water surface fluctuations provides a reference for meteorological analysis and forecasting.
[0098] In a further embodiment, the process of obtaining the pixel difference (ΔX, ΔY) is as follows:
[0099] In the historical valid frame image I t―j(e) Select a fixed point as the reference point O t―j , determine its current valid frame image I t―j(e) The coordinates of the center of mass are (X t―j ,Y t―j );
[0100] In the current valid frame image I t(e) Find the reference point O t―j And give a new definition as calibration point O t , determine its centroid coordinates as (X t ,Y t );
[0101] Identify historical valid frame images I t―j(e) Middle reference point O t―j , determine its centroid coordinates as (X t―j ,Y t―j );
[0102] Calculate the base point O t―j and calibration point O t The difference between (ΔX, ΔY), where ΔX = X t ―X t―j , ΔY=Y t ―Y t―j .
[0103] That is, the elevation of any point in the current frame image is calculated through reliable data from historical frame images, with a wider observation range, achieving a concrete perception of the overall dynamics.
[0104] Furthermore, in order to better remove suspended matter or more efficiently process suspended matter, this embodiment determines the type of suspended matter in advance, and then determines the removal method according to its type. If the suspended matter is just leaves, no treatment is done for the time being; if the suspended matter is a bottle, the flow direction of the bottle is determined according to the water surface fluctuation state mentioned above, and the bottle is clamped at the river or lake where it is about to approach. If the suspended matter is determined to be cyanobacteria, the cyanobacteria prevention and control strategy needs to be activated.
[0105] Therefore, this embodiment confirms from geometric features and texture features, and the process is as follows: determine the target area based on the valid frame image, create a geometric feature model, and use the geometric feature model to give the target area a shape definition. The geometric feature model is expressed in the following form:
[0106]
[0107] In the formula, L represents the length, L mer and W mer are the length and width of the circumscribed moment of the target area, E represents the compactness, L0 and A0 are the boundary perimeter and area of the target area, A mer is the area of the minimum circumscribed moment of the target area, r i and r c Respectively represent the inscribed circle radius and circumscribed circle radius of the target area;
[0108] Based on the geometric feature model, the geometric feature value {Lc ,E c ,S c ,C c}, according to the geometric eigenvalue {L c ,E c ,S c ,C c}Determine the geometry of the target area;
[0109] The texture features of the target area c are determined according to the gray level thereof, and the texture features are represented by energy NEN, entropy ENT and inverse moment IDM; wherein,
[0110]
[0111] Where k and h are two pixels of the same gray level in the target area, and p(k,h|δ) is the probability that the statistical pixel h appears in the specified range, where the specified range is a circle with the pixel k as the center and δ as the radius;
[0112] The type of floating object is determined based on the determined geometric shape and texture features of the target area. The floating object type, the corresponding geometric shape and texture features can be stored in the floating object database in advance. Based on the geometric shape and texture features of the target area, the specific type can be determined by matching in the floating object database.
[0113] Example 2
[0114] This embodiment discloses a river and lake dynamic sensing smart pole, which is used to implement the river and lake dynamic sensing method described in Example 1. Figure 2 Shown include:
[0115] A rod body 1 is erected at a designated position of a river or lake; a support portion 2 extending toward the river or lake is provided on the top of the rod body 1; an image acquisition device 3 is installed on the support portion 2; and a display screen 4 is provided at a predetermined height on the rod body 1.
[0116] In this embodiment, the display screen is a touch interactive screen, which has at least a water level display module, a video display module, a cultural publicity module, a patrol punch-in module and a river and lake science module. In other words, the river and lake dynamic perception smart pole has the characteristics of low power consumption, high integration, and full-factor monitoring. The modular integrated street lighting, water level monitoring, video surveillance, smart screen and other multifunctional monitoring poles integrate monitoring functions, cultural publicity, and interactive science. The public can participate in interesting questions and answers and questionnaires on wetlands, Ming culture, river and lake chief system, healthy rivers and lakes, etc. through the smart screen of the Happy River and Lake Dynamic Perception Smart Pole. In addition, the smart pole has a river and lake health analysis module and a lake patrol punch-in function.
[0117] Example 3
[0118] This embodiment discloses a river and lake dynamic perception system, which is configured in a smart pole; the smart pole is as described in Embodiment 2, the input end of the river and lake dynamic perception system is connected to an image acquisition device, and the output end is connected to a display screen;
[0119] The river and lake dynamic perception system includes:
[0120] The first module is configured to obtain an actual frame image set of a river or lake area, and determine a light intensity level corresponding to a frame image in the actual frame image set; select a corresponding image processing method according to the light intensity level to pre-process the frame image to obtain a corresponding valid frame image set;
[0121] The second module is configured to obtain the water surface fluctuation state of the river and lake area based on the valid frame image set, determine the current water potential according to the water surface fluctuation state, and determine whether it is necessary to start the water scheduling instruction according to the current water potential;
[0122] The third module is configured to use the valid frame image set to obtain the surface features of the river and lake area, determine whether there is suspended matter based on the surface features, and if so, further determine the type of suspended matter, and generate corresponding water quality control instructions based on the type of suspended matter.
Claims
1. A method for sensing river and lake dynamics, characterized in that: The following steps are involved: Based on the geographical location information of rivers and lakes, the required number of smart poles are pre-deployed. Each smart pole corresponds to monitoring a designated river or lake area. The following process is performed for each smart pole: Acquire an actual frame image set of a river or lake area, and determine the illumination intensity level corresponding to the frame images in the actual frame image set; Selecting a corresponding image processing method according to the light intensity level to pre-process the frame image to obtain a corresponding valid frame image set; Acquire the water surface fluctuation state of the river and lake area based on the valid frame image set, determine the current water potential according to the water surface fluctuation state, and judge whether it is necessary to start the water scheduling instruction according to the current water potential; Utilize the valid frame image set to obtain surface features of the river and lake area, determine whether there is suspended matter based on the surface features, and if so, further determine the type of suspended matter, and generate corresponding water quality control instructions based on the type of suspended matter and the state of water surface fluctuation; The method of obtaining the water surface fluctuation state is as follows: select a historical valid frame image I t-j(e) , based on the historical valid frame image I t-j(e) For the current valid frame image I t(e) Perform time frame correction to obtain pixel difference (ΔX, ΔY), where t―j represents the historical time frame; In the historical valid frame image I t-j(e) Determine the positioning pixel S1 and the positioning pixel S2, and obtain the actual elevation H1 and the actual elevation H2 corresponding to the positioning pixel S1 and the positioning pixel S2 respectively; then point W is in the historical valid frame image I t-j(e) The actual elevation in is calculated as follows: Where, Y1 and Y2 are the spatial coordinates of the positioning pixel S1 and the positioning pixel S2, Y W Then is the space system ordinate of point W; The following formula is used to calculate the point W in the current valid frame image I t(e) The actual elevation in: The elevations of the points of interest in the image frames in different frames are calculated in sequence to obtain the water surface elevation and the water surface fluctuation process; the water surface elevation and the water surface fluctuation process are the water surface fluctuation state; The process of obtaining the pixel difference (ΔX, ΔY) is as follows: In the historical valid frame image I t-j(e) Select a fixed point as the reference point O t-j , determine its historical valid frame image I t-j(e) The coordinates of the center of mass are (X t-j ,Y t-j ); In the current valid frame image I t(e) Find the reference point O t-j And give a new definition as calibration point O t , determine its centroid coordinates as (X t ,Y t ); Identify historical valid frame images I t-j(e) Middle reference point O t-j , determine its centroid coordinates as (X t-j ,Y t-j ); Calculate the base point O t-j and calibration point O t The difference between (ΔX, ΔY), where ΔX = X t -X t-j , ΔY=Y t -Y t-j .
2. A method for sensing river and lake dynamics according to claim 1, characterized in that: The illumination intensity levels at least include: bright light level, normal level and gray level; the classification standard of the illumination intensity levels is as follows: a normal level light intensity value interval is pre-set, if the relative value of the light intensity of the frame image is higher than the maximum value of the light intensity value interval, it indicates that it is a bright light level; if the relative value of the light intensity of the frame image is lower than the minimum value of the light intensity value interval, it indicates that it is a gray level; Correspondingly, the image processing method at least includes: an image denoising method and a grayscale enhancement method; wherein the image denoising method is used to process images belonging to a bright light level; and the grayscale enhancement method is used to process images belonging to a grayscale level.
3. A method for sensing river and lake dynamics according to claim 1, characterized in that: The selection process of the image processing method is as follows: determine whether the actual frame image is a single grayscale area image; if so, further determine the light intensity level to which it belongs, perform image denoising on the frame image belonging to the bright light level, and perform grayscale enhancement on the frame image belonging to the dark gray level; the effective frame image is the actual frame image after processing; If not, the frame image is divided into bright areas and / or dark areas according to the grayscale value, and image denoising is performed on the bright areas and grayscale enhancement is performed on the dark areas; then the effective frame image is the splicing of the processed actual areas, or the splicing of the processed actual areas and the normal areas.
4. A method for sensing river and lake dynamics according to claim 2, characterized in that: The steps of the image denoising method are as follows: Determine the light intensity values corresponding to the red channel, green channel, and blue channel of the normal level image: I r (x,y),I g (x,y) and I b (x,y); The bright light image or bright light area is separated into three monochrome images in the red channel, green channel and blue channel, and their intensities are expressed as: and The following formula is used to extract regions from the three monochrome images: Among them, I r ,I g and I b are the modulation degrees of the red channel, green channel and blue channel respectively, M r (x,y),M g (x,y) and M b (x, y) are the characteristic regions of the red channel, green channel, and blue channel respectively; Based on the feature region M r (x,y),M g (x,y) and M b (x, y) are merged into the frame image I(x, y) after noise reduction:
5. A method for sensing river and lake dynamics according to claim 2, characterized in that: The steps of the grayscale enhancement method are as follows: Get each pixel in the gray image or gray area and sort them in descending order, and sum the three channel values of the first m pixels to get S r , S g and S b , and determine the maximum and minimum values of each channel; Remove the maximum and minimum values of each channel and use the following formula to calculate the mean of each channel and In the formula, R big and R samll are the maximum and minimum values of the red channel, G big and G samll are the maximum and minimum values of the green channel, B big and B samll are the maximum and minimum values of the blue channel respectively; According to the mean and Perform brightness enhancement on dark images or dark areas.
6. A method for sensing river and lake dynamics according to claim 1, characterized in that: The process of determining the type of suspended matter is as follows: The target area is determined based on the valid frame image, a geometric feature model is created, and the target area is given a shape definition using the geometric feature model. The geometric feature model is expressed in the following form: In the formula, L represents the length, L mer and W mer are the length and width of the circumscribed moment of the target area, E represents the compactness, L0 and A0 are the boundary perimeter and area of the target area, A mer is the area of the minimum circumscribed moment of the target area, r i and r c Respectively represent the inscribed circle radius and circumscribed circle radius of the target area; Based on the geometric feature model, the geometric feature value {L c ,E c ,S c ,C c }, according to the geometric eigenvalue {L c ,E c ,S c ,C c }Determine the geometry of the target area; The texture features of the target area c are determined according to the gray level thereof, and the texture features are represented by energy NEN, entropy ENT and inverse moment IDM; wherein, Where k and h are two pixels of the same gray level in the target area, and p(k,h|δ) is the probability that the statistical pixel h appears in the specified range, where the specified range is a circle with the pixel k as the center and δ as the radius; The type of floating object is determined based on the determined geometric shape and textural characteristics of the target area.
7. A river and lake dynamic sensing smart pole, used to implement the river and lake dynamic sensing method as claimed in any one of claims 1 to 6, characterized in that: include: The rod body is erected at a designated location of a river or lake; a support portion extending toward the river or lake is provided on the top of the rod body; An image acquisition device, mounted on the support portion; A display screen is arranged at a predetermined height on the rod body; wherein the display screen is a touch interactive screen, having at least a water level display module, a video display module, a cultural publicity module, a patrol check-in module and a river and lake science popularization module.
8. A river and lake dynamic sensing system, configured in a smart pole; characterized in that: The smart pole is as described in claim 7, wherein the input end of the river and lake dynamic perception system is connected to the image acquisition device, and the output end is connected to the display screen; The river and lake dynamic perception system includes: The first module is configured to obtain an actual frame image set of a river or lake area, and determine a light intensity level corresponding to a frame image in the actual frame image set; select a corresponding image processing method according to the light intensity level to pre-process the frame image to obtain a corresponding valid frame image set; The second module is configured to obtain the water surface fluctuation state of the river and lake area based on the valid frame image set, determine the current water potential according to the water surface fluctuation state, and determine whether it is necessary to start the water scheduling instruction according to the current water potential; The third module is configured to use the valid frame image set to obtain the surface features of the river and lake area, determine whether there is suspended matter based on the surface features, and if so, further determine the type of suspended matter, and generate corresponding water quality control instructions based on the type of suspended matter and the water surface fluctuation state.
