Water conservancy real-time monitoring and management system based on GIS and 3D modeling
Through a water conservancy real-time monitoring and management system based on GIS and three-dimensional modeling, combined with Retinex-Gnet and Gamma-net technology, the efficiency problem of water conservancy engineering resource integration and monitoring management is solved, and real-time and accurate water conservancy resource management and decision support are achieved.
Patent Information
- Application Number
- CN202310116262.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-15
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2043-02-15
AI Technical Summary
Existing technology makes it difficult to integrate water conservancy project resources and improve management efficiency and management capabilities through information technology, and lacks real-time monitoring and management systems.
A real-time water conservancy monitoring and management system based on GIS and three-dimensional modeling is used to jointly obtain three-dimensional terrain data through drone aerial photography and ground equipment. It combines Retinex-Gnet algorithm and Gamma-net correction technology to perform image processing and data correction to achieve real-life 3D Image display and management.
It realizes real-time monitoring and management of water resources, improves data accuracy and visualization, provides comprehensive maps, equipment asset management, dispatching operations and other functions, and supports scientific and efficient water resources management and decision-making.
Smart Images

Figure CN116152454B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the field of big data of water conservancy systems under three-dimensional terrain, and specifically to a real-time monitoring and management system for water conservancy based on GIS and three-dimensional modeling. Background Art
[0002] At present, there is an urgent need to integrate existing information resources through information technology, build a standardized operation and management platform for water conservancy projects, and comprehensively improve management capabilities and efficiency. Summary of the invention
[0003] In view of the above problems, the present invention aims to provide a real-time water conservancy monitoring and management system based on GIS and three-dimensional modeling.
[0004] The purpose of the present invention is achieved through the following technical solutions:
[0005] The real-time monitoring and management system of water conservancy based on GIS and three-dimensional modeling includes a real-scene three-dimensional terrain data acquisition terminal, a GIS data call processing terminal and a three-dimensional data storage management terminal. The real-scene three-dimensional terrain data acquisition terminal includes a real-scene terrain acquisition module and a terrain data conversion module, which is mainly used to obtain actual three-dimensional elevation terrain data using photos taken by aerial photography and ground equipment, and input the obtained three-dimensional elevation terrain data into the GIS data call processing terminal. The GIS data call processing terminal includes a terrain data call module, a three-dimensional terrain display module and a terrain classification management module. The terrain data call module first pre-processes the three-dimensional elevation terrain data input by the real-scene three-dimensional terrain data acquisition terminal, completes data sorting and optimal reconstruction, and inputs the pre-processed three-dimensional elevation terrain data into the three-dimensional terrain display module. The three-dimensional terrain display module models the input data, corrects the terrain and displays a real-scene 3D image. The terrain display module mainly targets the processed image data, performs real-scene modeling according to the preset algorithm model, and maximizes the robustness of the model. Then the three-dimensional terrain display module will input the data into the terrain classification management module. The terrain classification management module will detect the received three-dimensional elevation terrain data according to the characteristics of the water conservancy monitoring and management system, classify and manage different water areas, non-water areas and interactive edge parts, and complete other problem repairs and image enhancement of the 3D model. Finally, the GIS data call processing end imports the processed model data into the three-dimensional data storage management end for storage and water conservancy system management. The operation management of the water conservancy system can provide comprehensive maps, basic engineering information, equipment asset management, scheduling operation, inspection and patrol, monitoring and supervision, maintenance and repair, emergency management, compliance assessment, organizational structure, comprehensive homepage, and management configuration functions to facilitate real-time monitoring and management of water conservancy operations.
[0006] Furthermore, the acquisition of real-life 3D terrain data is mainly achieved by combining drone aerial photography with photography from ground-based equipment. The drone aerial photography equipment obtains the overall picture of the real-life location, as well as the longitude and latitude points, so as to combine with GIS data to obtain a more accurate model. At the same time, combined with ground-based equipment, the ground-based equipment can capture clear images of the ground and fill in the blind spots of drone photography, thereby enabling a very complete real-life 3D terrain model to be established.
[0007] Furthermore, the terrain data calling module uses the surrounding Retinex-Gnet algorithm to perform multi-scale measurements on the pixels of the processed image data, while improving the image clarity.
[0008] Furthermore, after the image is detected and the time-based clarity processing is completed, the 3D terrain display module can then be combined with GIS to perform real-scene modeling, and correct and improve the parts with missing or model-piercing problems. The main precise real-scene joint update methods are:
[0009] (1) The preprocessed data is measured using the surrounding Retinex-Gnet to measure pixels and update pixel blocks;
[0010] (2) Combine GIS and jointly captured multi-dimensional image data to accurately update the real scene and correct defects.
[0011] Furthermore, the following method is used to measure pixels and update pixel blocks using the surrounding Retinex-Gnet on the preprocessed data:
[0012] Assuming an ideal clear image p, adding blur operation H and noise n to it, we will get a noisy image P, that is: P = Hp + n. For sharpening images containing noise, the goal of the Retinex-Gnet algorithm is to find a global filter F to achieve the purpose of improving the clarity of the image. We can get p = FP = FHp + Fn. Based on the original signal thinking of amplification, the F transformation matrix is set as F = I + λL, where I is the unit matrix, L represents the Laplace filter, λ is an arbitrary constant, and then the control kernel k is used. s Get the local structure information of the image, namely: Where p i is the neighborhood pixel point in the window, det means to find the determinant of the matrix, C i For point p i The covariance matrix of h is the noise point, so assuming that the actual size of the local image is w, the gradient matrix can be expressed as G i ,but Among them [G x (p i ), G y (pi )] represents pixel p i The horizontal and vertical gradient values of the pixel point are:
[0013]
[0014] The decomposed covariance matrix is: Among them, γ i Indicates scale, represents the rotation matrix, represents the stretch matrix, Represents the rotation matrix The transposed matrix, θ i Indicates a change in angle, and also an extension transformation ρ i , the transformation is mainly done by stretching the matrix The radius of the circular core becomes the major and minor axes of the ellipse, and the length of the semi-axis is changed from ρ i Determine, then, the rotation matrix Ellipse kernel angle θ i , the elliptical kernel is scaled by γ i Scaling, and then performing singular value decomposition on the local gradient matrix defined above, we can get the kernel k s , the processed kernel is defined as k LSAS =k s +βLoG*k s , where * represents convolution, LoG represents Laplace-Gaussian filter, and β represents a constant used to control the degree of sharpening, defined as: Where s1 and s2 represent two singular values of different sizes, and the symbol S is the sharpness evaluation factor, which represents the sharpness of each pixel k, and then converted back to the RGB space;
[0015] Assume that x represents the horizontal coordinate of each pixel, y represents the vertical coordinate of each pixel, and z represents the spatial coordinate of the pixel. L(x, y, z) represents the original symptom image, that is, the image captured by the image device and the image seen by the human eye. It can be expressed as the product of two components. One is the illumination component L(x, y, z), that is, the external illumination, which reflects the maximum dynamic range of each pixel in the image. The other is the reflection component R(x, y, z), that is, the reflectivity. So the calculation formula is:
[0016]
[0017] Where r(x, y, z) represents the logarithmic form of R(x, y, z), s(x, y, z) represents the logarithmic form of S(x, y, z), l(x, y, z) represents the logarithmic form of L(x, y, z), and the calculation formula is: L(x, y, z) = S(x, y, z) * G(x, y, z), where G(x, y, z) represents the Gaussian filter function, Where λ represents the coefficient, σ represents the Gaussian scale parameter, and combined with the above formula, we can derive the image enhancement algorithm for a channel c as: r(x, y, z) c =s(x, y, z) c -log(S(x, y, z) c *G(x, y, z) c ), then converted to the logarithmic domain, and calculated r(x, y, z) c , converted to the real number domain, and the enhanced reflected image R(x, y, z) is obtained c , merge channels, assuming that the RGB channels of the original image are S r (x, y, z), S g (x, y, z), S b (x, y, z), the three channels after sharpening are S GLA-r (x,y,z), S GLA-g (x, y, z), S GLA-b (x, y, z), and then introduce the color restoration factor, R MSR-c (x, y, z) = C i (x,y,z)R M-c (x, y, z), where R M-c (x, y, z) represents the enhanced image obtained by MSR, R MSR-c (x, y, z) represents the image after color restoration, C i (x, y, z) represents the recovery factor corresponding to the C channel, C i (x, y, z) satisfies the following formula: Where C and α are constants, C represents the color gain and α represents the adjustment factor. The relationship between the corresponding pixels of the illumination map and the original image is: S(x, y, z) ≤ L(x, y, z). To ensure the consistency of the required illumination rate T and reflectivity R with the original image, the objective function is expressed as: Among them, M1 and M2 represent adjustment matrices, α and β are weight parameters, φ represents the correction term, and the auxiliary variables b and d are updated to reach the specified number of iterations. After n iterations, the constrained illumination image L and reflection image R are obtained. Finally, the reflection image is corrected through Gamma-net correction to obtain a clearer image.
[0018] Furthermore, GIS and multi-dimensional image data captured together are used to accurately update the scene and correct defects:
[0019] Assume that there are two 3D data sets from different coordinate systems, the target 3D data P and other non-target 3D data Q. Find the k nearest neighbor points p corresponding to the 3D data P and the 3D data Q according to certain constraints. i ∈P,q i ∈Q, we can calculate a rotation translation R and a translation vector t to minimize the error function E. Assume that i is any point in the near point set, and there are N points in the set. p points, the calculation formula is: We need to find the closest point set P between P and Q {P i , i=1…N p} and Q{Q i , i=1…N p}, so that ||qi-p i ||=min, after obtaining the minimum value min, there is a data point P in the set P i The distance to the set Q is d(P i , Q) = min||Q i -p i , the nearest point y in Q that satisfies is the data point P in the three-dimensional data P i The nearest neighbor point of the point set P can be obtained by finding the nearest point set Y for each point in the point set P. If C is used to represent this mapping relationship, we can get: Y = C (P, X), where X is the nearest point in Q that satisfies , and the rotation matrix R and translation vector t are calculated. First, according to the centroid of the point sets P and Q, a symmetric matrix M consisting of the covariance matrix of the three-dimensional data model P and Q can be calculated from the centroid. According to M, the rotation matrix R and translation vector t can be obtained, and an ideal three-dimensional data set of T points is given. Assuming that there are K Gaussian models, the parameter formula of the Gaussian mixture model (GMM) is: λ = {(w k ,u k ,ξ k ), k = 1…K}, where w k ,u k ,ξ k are k weights, centers and covariance matrices, then the probability that a 3D point p belongs to the kth Gaussian model is: Therefore, while calculating the scale value, the purpose of removing outlier noise points is achieved, and the problem of modeling noise caused by inconsistent scale and density of three-dimensional data is solved. Assuming that the number of points in the three-dimensional data model P is n, any sampling point P i The k-neighborhood point set is N(P i ), click P i The average neighborhood distance is Pi The average distance to all nearby points in its k-neighborhood where s i That is point P i The scale information, P j is a data point different from the i-th point, then the scale value of the three-dimensional data is Gaussian distributed, and the mean of the Gaussian distribution is the average scale of all points in the three-dimensional data Statistical analysis methods are used to remove sampling points in 3D data that exceed the standard scale value. If point P i The scale value 3 will point P i As the outlier point is removed, where Z y is the extraction function of the scale value of three-dimensional data, then the calculation of the precise update of multi-dimensional image data is: The value of the k-neighborhood is crucial. Different k values have different modeling scales and different real scene quality. Therefore, the multi-dimensional data points of the phase control point can be used for optimal convergence. Phase detection is required. The model is: φ = ρ + c (d T -d t )+λN+d trop +d ion +d preal +ε(φ), where φ is the phase measurement value in meters, ρ is the geometric distance of the phase point, c is the speed of light, and d T is the receiver clock error, d t is the satellite clock error, λ is the carrier phase wavelength, N is the integer unknown number, d trop is the effect of tropospheric refraction, d ion is the effect of ionospheric refraction, d preal is the relativistic effect, ε(φ) is the observation noise, and find all the noises that can affect z y Sampling points of function values, calculate Z y The optimal solution of the function.
[0020] The beneficial effects created by the invention are as follows: the invention sets corresponding sensors in important water conservancy projects, rivers, lakes and reservoirs to obtain real-time special data on water level, flow, rainfall and water quality, and combines network transmission technology to transmit the data to the management system background for sorting, cleaning and storage. The system collects, classifies and sorts the water resources data related to the main rivers, lakes and water conservancy projects in Jiangxi Province, and displays them accurately in the GIS base map, which can more intuitively and accurately express the distribution of water resources in our province; at the same time, it collects the historical hydrological data of each water resource. Data and basic information of various water conservancy projects are collected to more comprehensively and accurately grasp the historical status of water resources and the safe operation of each river basin and water conservancy project, give full play to the actual needs of flood control, drought relief and related water conservancy functions, and conduct big data analysis based on basic data of river basins and water conservancy projects, historical hydrological data, and real-time Internet of Things data. The internal connections and influences between various water conservancy projects and water resources are fully considered to provide more comprehensive and accurate technical support for water conservancy work and water resources management, provide better decision-making support for safe, scientific and efficient management and utilization of water resources, and safeguard the development of water conservancy. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] The invention is further illustrated by the accompanying drawings, but the embodiments in the accompanying drawings do not constitute any limitation to the invention. A person skilled in the art can obtain other drawings based on the following drawings without creative work.
[0022] Figure 1 It is a schematic diagram of the structure of the present invention. DETAILED DESCRIPTION
[0023] The present invention is further described in conjunction with the following examples.
[0024] See also Figure 1The real-time water conservancy monitoring and management system based on GIS and three-dimensional modeling of this embodiment includes a real-scene three-dimensional terrain data acquisition end, a GIS data call processing end and a three-dimensional data storage management end. The real-scene three-dimensional terrain data acquisition end includes a real-scene terrain acquisition module and a terrain data conversion module, which is mainly used to use photos taken by aerial photography and ground equipment to obtain actual three-dimensional elevation terrain data, and input the acquired three-dimensional elevation terrain data into the GIS data call processing end. The GIS data call processing end includes a terrain data call module, a three-dimensional terrain display module and a terrain classification management module. The terrain data call module first pre-processes the three-dimensional elevation terrain data input by the real-scene three-dimensional terrain data acquisition end, completes the data sorting and optimal reconstruction, and inputs the pre-processed three-dimensional elevation terrain data into the three-dimensional terrain display module. The three-dimensional terrain display module models the input data, corrects the terrain and displays a real-scene 3D image The three-dimensional terrain display module mainly targets the processed image data, performs real-scene modeling according to the preset algorithm model, and maximizes the robustness of the model. Then the three-dimensional terrain display module will input the data into the terrain classification management module. The terrain classification management module will detect the received three-dimensional elevation terrain data according to the characteristics of the water conservancy monitoring and management system, classify and manage different water areas, non-water areas and interactive edge parts, and complete other problem repairs and image enhancement of the 3D model. Finally, the GIS data call processing end imports the processed model data into the three-dimensional data storage management end for storage and water conservancy system management. The operation management of the water conservancy system can provide comprehensive maps, basic engineering information, equipment asset management, scheduling operation, inspection and patrol, monitoring and supervision, maintenance and repair, emergency management, compliance assessment, organizational structure, comprehensive homepage, and management configuration functions to facilitate real-time monitoring and management of water conservancy operations.
[0025] Preferably, the acquisition of real-life three-dimensional terrain data is mainly achieved by combining drone aerial photography with photography by ground-based machinery and equipment. The drone aerial photography equipment obtains the overall picture of the real-life location, as well as the longitude and latitude points, so as to combine with GIS data to obtain a more accurate model. At the same time, combined with ground-based machinery and equipment, the ground-based machinery and equipment can capture clear images of the ground and fill in blind spots during drone photography, thereby enabling a very complete real-life three-dimensional terrain model to be established.
[0026] Specifically, the terrain data calling module uses the surrounding Retinex-Gnet algorithm to perform multi-scale measurements on the pixels of the processed image data, while improving the image clarity.
[0027] Preferably, after the image is detected and the instantaneous definition processing is completed, the three-dimensional terrain display module can then be combined with GIS to perform real-scene modeling, and correct and improve the parts with missing or model-piercing problems. The main precise real-scene joint update methods are:
[0028] (1) The preprocessed data is measured using the surrounding Retinex-Gnet to measure pixels and update pixel blocks;
[0029] (2) Combine GIS and jointly captured multi-dimensional image data to accurately update the real scene and correct defects.
[0030] Preferably, the following method is used to measure pixels and update pixel blocks using the surrounding Retinex-Gnet on the preprocessed data:
[0031] Assuming an ideal clear image p, adding blur operation H and noise n to it, we will get a noisy image P, that is: P = Hp + n. For sharpening images containing noise, the goal of the Retinex-Gnet algorithm is to find a global filter F to achieve the purpose of improving the clarity of the image. We can get p = FP = FHp + Fn. Based on the original signal thinking of amplification, the F transformation matrix is set as F = I + λL, where I is the unit matrix, L represents the Laplace filter, λ is an arbitrary constant, and then the control kernel k is used. s Get the local structure information of the image, namely: Where p i is the neighborhood pixel point in the window, det means to find the determinant of the matrix, C i For point p i The covariance matrix of h is the noise point, so assuming that the actual size of the local image is w, the gradient matrix can be expressed as G i ,but Among them [G x (p i ), G y (p i )] represents pixel p i The horizontal and vertical gradient values of the pixel point are:
[0032]
[0033] The decomposed covariance matrix is: Among them, γ i Indicates scale, represents the rotation matrix, represents the stretch matrix, Represents the rotation matrix The transposed matrix, θ i Indicates a change in angle, and also an extension transformation ρ i , the transformation is mainly done by stretching the matrix The radius of the circular core becomes the major and minor axes of the ellipse, and the length of the semi-axis is changed from ρ i Determine, then, the rotation matrix Ellipse kernel angle θ i , the elliptical kernel is scaled by γ i Scaling, and then performing singular value decomposition on the local gradient matrix defined above, we can get the kernel k s , the processed kernel is defined as k LSAS =k s +βLoG*k s , where * represents convolution, LoG represents Laplace-Gaussian filter, and β represents a constant used to control the degree of sharpening, defined as: Where s1 and s2 represent two singular values of different sizes, and the symbol S is the sharpness evaluation factor, which represents the sharpness of each pixel k, and then converted back to the RGB space;
[0034] Assume that x represents the horizontal coordinate of each pixel, y represents the vertical coordinate of each pixel, and z represents the spatial coordinate of the pixel. L(x, y, z) represents the original symptom image, that is, the image captured by the image device and the image seen by the human eye. It can be expressed as the product of two components. One is the illumination component L(x, y, z), that is, the external illumination, which reflects the maximum dynamic range of each pixel in the image. The other is the reflection component R(x, y, z), that is, the reflectivity. So the calculation formula is:
[0035]
[0036] Where r(x, y, z) represents the logarithmic form of R(x, y, z), s(x, y, z) represents the logarithmic form of S(x, y, z), l(x, y, z) represents the logarithmic form of L(x, y, z), and the calculation formula is: L(x, y, z) = S(x, y, z) * G(x, y, z), where G(x, y, z) represents the Gaussian filter function, Where λ represents the coefficient, σ represents the Gaussian scale parameter, and combined with the above formula, we can derive the image enhancement algorithm for a channel c as: r(x, y, z) c =s(x, y, z) c -log(S(x, y, z) c *G(x, y, z) c ), then converted to the logarithmic domain, and calculated r(x, y, z) c , converted to the real number domain, and the enhanced reflected image R(x, y, z) is obtained c , merge channels, assuming that the RGB channels of the original image are S r (x,y,z), S g (x, y, z), S b (x, y, z), the three channels after sharpening are SGLA-r (x, y, z), S GLA-g (x, y, z), S GLA-b (x, y, z), and then introduce the color restoration factor, R MSR-c (x, y, z) = C i (x,y,z)R M-c (x, y, z), where R M-c (x, y, z) represents the enhanced image obtained by MSR, R MSR-c (x, y, z) represents the image after color restoration, C i (x, y, z) represents the recovery factor corresponding to the C channel, C i (x, y, z) satisfies the following formula: Where C and α are constants, C represents the color gain and α represents the adjustment factor. The relationship between the corresponding pixels of the illumination map and the original image is: S(x, y, z) ≤ L(x, y, z). To ensure the consistency of the required illumination rate T and reflectivity R with the original image, the objective function is expressed as: Among them, M1 and M2 represent adjustment matrices, α and β are weight parameters, φ represents the correction term, and the auxiliary variables b and d are updated to reach the specified number of iterations. After n iterations, the constrained illumination image L and reflection image R are obtained. Finally, the reflection image is corrected through Gamma-net correction to obtain a clearer image.
[0037] Preferably, GIS and the multi-dimensional image data captured are combined to accurately update the real scene and correct defects:
[0038] Assume that there are two 3D data sets from different coordinate systems, the target 3D data P and other non-target 3D data Q. Find the k nearest neighbor points p corresponding to the 3D data P and the 3D data Q according to certain constraints. i ∈P,q i ∈Q, a rotation translation R and a translation vector t can be calculated to minimize the error function E. Assume that i is any point in the near point set, and there are n points in the set. p points, the calculation formula is: We need to find the closest point set P between P and Q {P i , i=1…N p} and Q{Q i , i=1…N p}, so that ||qi-p i ||=min, after obtaining the minimum value min, there is a data point P in the set P i The distance to the set Q is d(P i , Q) = min||Qi -p i , the nearest point y in Q that satisfies is the data point P in the three-dimensional data P i The nearest neighbor point of the point set P can be obtained by finding the nearest point set Y for each point in the point set P. If C is used to represent this mapping relationship, we can get: Y = C (P, X), where X is the nearest point in Q that satisfies , and the rotation matrix R and translation vector t are calculated. First, according to the centroid of the point sets P and Q, a symmetric matrix M consisting of the covariance matrix of the three-dimensional data model P and Q can be calculated from the centroid. According to M, the rotation matrix R and translation vector t can be obtained, and an ideal three-dimensional data set of T points is given. Assuming that there are K Gaussian models, the parameter formula of the Gaussian mixture model (GMM) is: λ = {(w k ,u k ,ξ k ), k = 1…K}, where w k ,u k ,ξ k are k weights, centers and covariance matrices, then the probability that a 3D point p belongs to the kth Gaussian model is: Therefore, while calculating the scale value, the purpose of removing outlier noise points is achieved, and the problem of modeling noise caused by inconsistent scale and density of three-dimensional data is solved. Assuming that the number of points in the three-dimensional data model P is n, any sampling point P i The k-neighborhood point set is N(P i ), click P i The average neighborhood distance is P i The average distance to all nearby points in its k-neighborhood where s i That is point P i The scale information, P j is a data point different from the i-th point, then the scale value of the three-dimensional data is Gaussian distributed, and the mean of the Gaussian distribution is the average scale of all points in the three-dimensional data Statistical analysis methods are used to remove sampling points in 3D data that exceed the standard scale value. If point P i The scale value 3 will point P i As the outlier point is removed, where Z y is the extraction function of the scale value of three-dimensional data, then the calculation of the precise update of multi-dimensional image data is: The value of the k-neighborhood is crucial. Different k values have different modeling scales and different real scene quality. Therefore, the multi-dimensional data points of the phase control point can be used for optimal convergence. Phase detection is required. The model is: φ = ρ + c (d T -d t )+λN+d trop +d ion +dpreal +ε(φ), where φ is the phase measurement value in meters, ρ is the geometric distance of the phase point, c is the speed of light, and d T is the receiver clock error, d t is the satellite clock error, λ is the carrier phase wavelength, N is the integer unknown number, d trop is the effect of tropospheric refraction, d ion is the effect of ionospheric refraction, d preal is the relativistic effect, ε(φ) is the observation noise, and find all the noises that can affect Z y Sampling points of function value, calculate z y The optimal solution of the function.
[0039] By setting up corresponding sensors in important water conservancy projects, rivers, lakes, and reservoirs, we can obtain special data on water level, flow, rainfall, and water quality in real time. At the same time, combined with network transmission technology, the data is transmitted to the background of the management system for sorting, cleaning, and storage. This system collects, classifies, and organizes the water resources data related to the main rivers, lakes, and water conservancy projects in Jiangxi Province, and accurately displays them in the GIS base map, which can more intuitively and accurately express the distribution of water resources in our province; at the same time, it collects historical hydrological data of various water resources and basic data of various water conservancy projects, so as to more comprehensively and accurately grasp the historical status of water resources and the safe operation of various river basins and water conservancy projects, give play to their actual needs for flood control and drought relief and related water conservancy functions, combine river basin and water conservancy project basic data, hydrological historical data, and real-time Internet of Things data for big data analysis, fully consider the internal connection and influence between various water conservancy projects and water resources, provide more comprehensive and accurate technical support for water conservancy work and water resources management, provide better decision-making support for safe, scientific, and efficient water resources management and utilization, and escort water conservancy development.
[0040] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention, rather than to limit the scope of protection of the present invention. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the essence and scope of the technical solution of the present invention.
Claims
1. A real-time water conservancy monitoring and management system based on GIS and 3D modeling, characterized by: The GIS data call processing end includes a real-life 3D terrain data acquisition end, a GIS data call processing end, and a 3D data storage management end. The real-life 3D terrain data acquisition end includes a real-life terrain acquisition module and a terrain data conversion module. The purpose is to use photos taken by aerial photography and ground equipment to obtain actual 3D elevation terrain data, and input the obtained 3D elevation terrain data into the GIS data call processing end. The GIS data call processing end includes a terrain data call module, a 3D terrain display module, and a terrain classification management module. The terrain data call module first pre-processes the 3D elevation terrain data input by the real-life 3D terrain data acquisition end, completes data sorting and optimal reconstruction, and inputs the pre-processed 3D elevation terrain data into the 3D terrain display module. The 3D terrain display module models the input data, corrects the terrain, and displays a real-life 3D image. The 3D terrain display The display module performs real-scene modeling based on the pre-set algorithm model for the processed image data. Then the 3D terrain display module will input the data into the terrain classification management module. The terrain classification management module will detect the received 3D elevation terrain data according to the characteristics of the water conservancy monitoring and management system, classify and manage different water areas, non-water areas and interactive edge parts, and complete other problem repairs and image enhancement of the 3D model. Finally, the GIS data call processing end imports the processed model data into the 3D data storage management end for storage and water conservancy system management. The operation management of the water conservancy system provides comprehensive maps, basic engineering information, equipment asset management, scheduling operation, inspection and patrol, monitoring and control, maintenance and repair, emergency management, compliance assessment, organizational structure, comprehensive homepage, and management configuration functions to facilitate real-time monitoring and management of water conservancy operations. The acquisition of real-scene 3D terrain data is achieved by combining drone aerial photography with ground equipment photography. The drone aerial photography equipment obtains the full picture of the real-scene location and the longitude and latitude points in order to combine with GIS data. At the same time, it is combined with ground equipment to take clear images of the ground and fill in the blind spots during drone photography. The terrain data calling module uses the surrounding Retinex-Gnet algorithm to perform multi-scale measurement on the pixels of the processed image data; the following method is used to measure the pixels of the preprocessed data using the surrounding Retinex-Gnet and update the pixel blocks: Assuming an ideal clear image p, adding blur operation H and noise nosie to it, we will get a noisy image P n , that is: P = Hp + nosie, for noisy image sharpening, the goal of the Retinex-Gnet algorithm is to find a global filter Filter, and get p = FP n =FHp+Fnosie, set the F transformation matrix as F=I+λL, where is the unit matrix, L represents the Laplace filter, λ is an arbitrary constant, and then use the control kernel k s Get the local structure information of the image, namely: Where p i is the neighborhood pixel point in the window, det means to find the determinant of the matrix, C i For point p i The covariance matrix of h is the standard deviation of the noise point, so assuming that the actual size of the local image is w, the gradient matrix can be expressed as G i ,but Among them [G x (p i ), G y (p i )] represents pixel p i The horizontal and vertical gradient values of the pixel point are: The decomposed covariance matrix is: Among them, γ i Indicates scale, represents the rotation matrix, represents the stretch matrix, Represents the rotation matrix The transposed matrix of i Indicates a change in angle, and also an extension transformation ρ i , the transformation is first performed by stretching the matrix The radius of the circular core becomes the major and minor axes of the ellipse, and the length of the semi-axis is changed from ρ i Determine, through the rotation matrix Ellipse kernel angle θ i , the elliptical kernel is scaled by γ i Scaling, and then performing singular value decomposition on the gradient matrix defined above to obtain the kernel k s , the processed kernel is defined as k LSAS =k s +βLoG*k s , where * represents convolution, LoG represents Laplace-Gaussian filter, and β represents a constant used to control the degree of sharpening, defined as: Where s1 and s2 represent two singular values of different sizes, the symbol S' is the sharpness evaluation factor, which represents the sharpness of each pixel k, and c represents the image channel parameter; Assume that x represents the horizontal coordinate of each pixel, y represents the vertical coordinate of each pixel, and z represents the spatial coordinate of the pixel. S(x, y, z) represents the original image, that is, the image captured by the image device and the image seen by the human eye, expressed as the product of two components. One is the illumination component L(x, y, z), that is, the external illumination, which reflects the maximum dynamic range of each pixel in the image. The other is the reflection component R(x, y, z), that is, the reflectivity. The calculation formula is: where r e (x, y, z) represents the logarithmic form of R(x, y, z), s(x, y, z) represents the logarithmic form of S(x, y, z), l(x, y, z) represents the logarithmic form of L(x, y, z), and the calculation formula is: L(x, y, z) = S(x, y, z) * G(x, y, z), where G(x, y, z) represents the Gaussian filter function, Where λ represents the coefficient, σ represents the Gaussian scale parameter, and combined with Get a channel parameter The image enhancement algorithm is: Then convert to the logarithmic domain and calculate Convert to the real number domain to get the enhanced reflected image Merge channels, assuming that the RGB channels of the original image are S r (x, y, z), S g (x, y, z), S b (x, y, z), the three channels after sharpening are S GLA-r (x, y, z), S GLA-g (x, y, z), S GLA-b (x, y, z), and then introduce the color restoration factor, R MSR-c (x, y, z) = C i (x,y,z)R M-c (x, y, z), where R M-c (x, y, z) represents the enhanced image obtained by MSR, R MSR-c (x, y, z) represents the image after color restoration, C i (x, y, z) represents the recovery factor corresponding to the C channel, C i (x, y, z) satisfies the following formula: In the formula, C gain and α are constants, C gain represents the color gain and α represents the adjustment factor, and because The relationship between the corresponding pixels of the illumination map and the original image is: S(x, y, z) ≤ L(x, y, z). To ensure the consistency of the illumination rate T and reflectivity R with the original image, the objective function is expressed as: Among them, M1 and M2 represent adjustment matrices, α, and β` are weight parameters, φ represents the correction term, and the auxiliary variables b and d are updated to reach the specified number of iterations. After n iterations, the constrained L and R are obtained, and finally the reflection map is corrected through Gamma-net correction to obtain a clearer image.
2. The water conservancy real-time monitoring and management system based on GIS and three-dimensional modeling according to claim 1 is characterized in that: After the image is detected and the clarity is processed, the 3D terrain display module is then combined with GIS to perform real-scene modeling, and the missing and model-piercing parts are corrected and improved. The precise real-scene joint update method adopted is: (1) The preprocessed data is measured using the surrounding Retinex-Gnet to measure pixels and update pixel blocks; (2) Combine GIS and jointly captured multi-dimensional image data to accurately update the real scene and correct defects.
3. The water conservancy real-time monitoring and management system based on GIS and three-dimensional modeling according to claim 2 is characterized in that: Combine GIS and jointly captured multi-dimensional image data to accurately update the real scene and correct defects: Assume that there are two 3D data sets from different coordinate systems, the target 3D data P and other non-target 3D data Q. According to certain constraints, find the k1 nearest neighbor points p corresponding to the 3D data P and the 3D data Q. i ∈P,q i ∈Q, a rotation translation Ro and translation vector t can be calculated to minimize the error function E. Assume that i is any point in the near point set, and there are N points in the set. p points, the calculation formula is: We need to find the closest point set P between P and Q {P i , i=1…N p } and Q{Q i , i = 1…Np}, so that ||qi-p i ||=min, after obtaining the minimum value min, there is a data point P in the set P i The distance to the set Q is d(P i , Q) = min||Q i -p i , the nearest point y` in Q that satisfies is the data point P in the three-dimensional data P i The nearest neighbor point of the point set P is obtained by finding the nearest point set Y for each point in the point set P. If we express this mapping relationship, we get: X is the nearest point in Q that satisfies , and the rotation matrix R and translation vector t are calculated. First, according to the center of gravity of P and Q, a symmetric matrix M composed of the covariance matrix of P and Q is calculated from the center of gravity. According to M, the rotation matrix R and translation vector t are obtained, giving the ideal A three-dimensional data set of points, assuming there are K Gaussian models, the parameter formula of the Gaussian mixture model (GMM) is: Λ={(w k2 ,u k2 ,ξ k2 ), k2=1…K}, where k2 represents K weights, centers and covariance matrices. The probability that a 3D point p belongs to the temp-th Gaussian model is: Assume that the number of points in P is n, any sampling point P i The k-neighborhood point set is N(P i ), click P i The average neighborhood distance is P i The average distance to all nearby points in its k3 neighborhood P i |, where s i That is point P i The scale information, P j is a data point different from the i-th point, then the scale value of the three-dimensional data is Gaussian distributed, and the mean of the Gaussian distribution is the average scale of all points in the three-dimensional data Statistical analysis methods are used to remove sampling points in 3D data that exceed the standard scale value. If point P i The scale value 3 will point P i As the outlier point is removed, where Z y is the extraction function of the scale value of three-dimensional data, then the calculation of the precise update of multi-dimensional image data is: Using multi-dimensional data points of phase control points for optimal convergence requires phase detection, and the model is: φ=ρ+c′(d T -d t )+ιN+d trop +d ion +d preal +ε(φ), where φ is the phase measurement value in meters, ρ is the geometric distance of the phase point, c′ is the speed of light, and d T is the receiver clock error, d t is the satellite clock error, ι is the carrier phase wavelength, N is the integer unknown number, d trop is the effect of tropospheric refraction, d ion is the effect of ionospheric refraction, d preal is the relativistic effect, ε(φ) is the observation noise, and find all the noises that can affect Z y Sampling points of function values, calculate Z y The optimal solution of the function.
Citation Information
Patent Citations
Water conservancy project information management system based on big data and three-dimensional technology
CN113593029A
