CN106525735A - Water regime monitoring system for acquiring water quality conditions through surface images and working method thereof - Google Patents
Water regime monitoring system for acquiring water quality conditions through surface images and working method thereof Download PDFInfo
- Publication number
- CN106525735A CN106525735A CN201610976791.0A CN201610976791A CN106525735A CN 106525735 A CN106525735 A CN 106525735A CN 201610976791 A CN201610976791 A CN 201610976791A CN 106525735 A CN106525735 A CN 106525735A
- Authority
- CN
- China
- Prior art keywords
- water
- water surface
- measurement pipe
- image
- camera head
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 title claims abstract description 252
- 238000012544 monitoring process Methods 0.000 title claims abstract description 30
- 238000000034 method Methods 0.000 title claims abstract description 21
- 238000012545 processing Methods 0.000 claims abstract description 26
- 238000005259 measurement Methods 0.000 claims description 76
- 238000006073 displacement reaction Methods 0.000 claims description 11
- 230000007246 mechanism Effects 0.000 claims description 9
- 239000011248 coating agent Substances 0.000 claims description 4
- 238000000576 coating method Methods 0.000 claims description 4
- 238000011144 upstream manufacturing Methods 0.000 claims description 3
- 238000001514 detection method Methods 0.000 abstract description 8
- 230000008569 process Effects 0.000 abstract description 6
- 238000012360 testing method Methods 0.000 abstract description 3
- 238000003384 imaging method Methods 0.000 abstract 2
- 230000006870 function Effects 0.000 description 10
- 230000008859 change Effects 0.000 description 9
- 239000007788 liquid Substances 0.000 description 4
- 230000008901 benefit Effects 0.000 description 3
- 238000004422 calculation algorithm Methods 0.000 description 3
- 238000009434 installation Methods 0.000 description 3
- 238000012937 correction Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000000605 extraction Methods 0.000 description 2
- 238000000691 measurement method Methods 0.000 description 2
- 238000012806 monitoring device Methods 0.000 description 2
- 230000007935 neutral effect Effects 0.000 description 2
- 238000011160 research Methods 0.000 description 2
- 241001270131 Agaricus moelleri Species 0.000 description 1
- 244000269722 Thea sinensis Species 0.000 description 1
- 238000013528 artificial neural network Methods 0.000 description 1
- 230000004888 barrier function Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005587 bubbling Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 239000003086 colorant Substances 0.000 description 1
- 238000013527 convolutional neural network Methods 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 238000002845 discoloration Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000002474 experimental method Methods 0.000 description 1
- 235000009569 green tea Nutrition 0.000 description 1
- 230000002706 hydrostatic effect Effects 0.000 description 1
- 239000010842 industrial wastewater Substances 0.000 description 1
- 239000000976 ink Substances 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 239000011159 matrix material Substances 0.000 description 1
- 239000002245 particle Substances 0.000 description 1
- 238000003909 pattern recognition Methods 0.000 description 1
- 230000000644 propagated effect Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
- 239000003643 water by type Substances 0.000 description 1
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N21/00—Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
- G01N21/17—Systems in which incident light is modified in accordance with the properties of the material investigated
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N21/00—Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
- G01N21/17—Systems in which incident light is modified in accordance with the properties of the material investigated
- G01N21/25—Colour; Spectral properties, i.e. comparison of effect of material on the light at two or more different wavelengths or wavelength bands
- G01N21/27—Colour; Spectral properties, i.e. comparison of effect of material on the light at two or more different wavelengths or wavelength bands using photo-electric detection ; circuits for computing concentration
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N21/00—Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
- G01N21/17—Systems in which incident light is modified in accordance with the properties of the material investigated
- G01N21/25—Colour; Spectral properties, i.e. comparison of effect of material on the light at two or more different wavelengths or wavelength bands
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N21/00—Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
- G01N21/84—Systems specially adapted for particular applications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01F—MEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
- G01F23/00—Indicating or measuring liquid level or level of fluent solid material, e.g. indicating in terms of volume or indicating by means of an alarm
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01F—MEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
- G01F23/00—Indicating or measuring liquid level or level of fluent solid material, e.g. indicating in terms of volume or indicating by means of an alarm
- G01F23/22—Indicating or measuring liquid level or level of fluent solid material, e.g. indicating in terms of volume or indicating by means of an alarm by measuring physical variables, other than linear dimensions, pressure or weight, dependent on the level to be measured, e.g. by difference of heat transfer of steam or water
- G01F23/28—Indicating or measuring liquid level or level of fluent solid material, e.g. indicating in terms of volume or indicating by means of an alarm by measuring physical variables, other than linear dimensions, pressure or weight, dependent on the level to be measured, e.g. by difference of heat transfer of steam or water by measuring the variations of parameters of electromagnetic or acoustic waves applied directly to the liquid or fluent solid material
- G01F23/284—Electromagnetic waves
- G01F23/292—Light, e.g. infrared or ultraviolet
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01F—MEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
- G01F23/00—Indicating or measuring liquid level or level of fluent solid material, e.g. indicating in terms of volume or indicating by means of an alarm
- G01F23/30—Indicating or measuring liquid level or level of fluent solid material, e.g. indicating in terms of volume or indicating by means of an alarm by floats
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01F—MEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
- G01F23/00—Indicating or measuring liquid level or level of fluent solid material, e.g. indicating in terms of volume or indicating by means of an alarm
- G01F23/30—Indicating or measuring liquid level or level of fluent solid material, e.g. indicating in terms of volume or indicating by means of an alarm by floats
- G01F23/40—Indicating or measuring liquid level or level of fluent solid material, e.g. indicating in terms of volume or indicating by means of an alarm by floats using bands or wires as transmission elements
- G01F23/42—Indicating or measuring liquid level or level of fluent solid material, e.g. indicating in terms of volume or indicating by means of an alarm by floats using bands or wires as transmission elements using mechanically actuated indicating means
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N21/00—Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
- G01N21/01—Arrangements or apparatus for facilitating the optical investigation
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N21/00—Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
- G01N21/17—Systems in which incident light is modified in accordance with the properties of the material investigated
- G01N2021/1765—Method using an image detector and processing of image signal
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N21/00—Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
- G01N21/17—Systems in which incident light is modified in accordance with the properties of the material investigated
- G01N2021/1765—Method using an image detector and processing of image signal
- G01N2021/177—Detector of the video camera type
Abstract
The invention relates to a water regime monitoring system for acquiring water quality conditions through surface images and a working method thereof. The water regime monitoring system comprises a measuring tube which has a lower port adapted to enter the water surface, an imaging device which is arranged directly above the upper port of the measuring tube and is used for taking water surface pictures in the measuring tube and is provided with a video acquiring module which is connected to the imaging device and is used for converting the acquired image into a digital image, and an image processing module which is connected to the video acquiring module and is used for storing first sample data, wherein the first sample data is adapted to record gray values of various water, and carrying out gray-scale processing on the digital image to obtain a gray value of the water surface image, wherein water quality conditions are acquired through comparison between the gray value and the first sample data. Through the water surface image, corresponding water quality conditions are acquired. The system is simple, is convenient for water quality detection or prejudgment in the field or in an unconditional water quality test, and is free of complex processes.
Description
Technical field
The present invention relates to a kind of electronic surveying field, more particularly to a kind of water regime monitoring system.
Background technology
In the water level measurement method of prior art, application of the float type level meter in water regime monitoring is the most universal.Will
Float line is vertically hung on a pulley, and float is placed on the water surface, and upper and lower displacement will be produced with the height of water level.
By the distance of float and specified point in pipe, then by certain calculating, it is possible to obtain current water level.Float gauge
Need special well logging, its shortcoming is exactly to install more complicated, if while current to contain silt heavier, through the fortune of a period of time
OK, the water inlet pipe of well logging will produce the phenomenon of alluvial, easily form artifical water height.
Pressure type water gauge is, according to pressure and the proportional hydrostatic pressure principle of the depth of water, to pass with pressure cell
Sensor, produces corresponding electric current in different depth of water sensing different pressures and measures the height of equivalent water level, and this mode is solved
The shortcoming of float type level meter, but it is unable to reach very high precision, and easily affected by environment temperature and liquid density variation.
The principle of aerosphere type or liquid Jie's formula ultrasonic type water-level gauge application ultrasonic reflections is measuring water level.Ultrasonic wave is being situated between
Propagated with certain speed in matter, when the dielectric interface of different densities is run into, ultrasonic wave occurs reflection immediately.Liquid Jie's formula be by
Transducer is arranged on river bed, vertically launches ultrasonic wave to the water surface;Aerosphere type is that transducer is fixed a certain eminence in atmosphere, to
The water surface launches ultrasonic wave.Two kinds of forms are not required to build well logging.Liquid Jie formula is easily by floating outstanding particle concentration shadow in water temperature, hydraulic pressure and water
Ring, aerosphere type is easily affected by temperature, its advantage is not affected by pasture and water, silt in water etc..This method has which advanced, but into
This is higher.
And existing Level monitor often can only single sensed water level, it is impossible to detects water quality, needs to adopt in addition
Realized with water monitoring device, how to realize and meanwhile measure water level and water quality be this area technical barrier.
The content of the invention
The technical problem to be solved in the present invention is to provide a kind of water regime monitoring system for being adapted for water quality measurement, the regimen
Monitoring system carries out water quality monitoring, the i.e. water surface image to shooting using gray scale detection principle to be carried out gray proces and obtains the water surface
The gray value of image is obtaining water quality situation.
The invention provides a kind of water regime monitoring system, including:Longitudinally disposed measurement pipe, its lower port are entered when in use
Upstream face, sets a camera head at the upper port of measurement pipe, the camera head is suitable to shoot the water surface image in the measurement pipe;
Video acquisition module, is connected with the camera head, and the image for being suitable to gather is transformed to digital picture;Adopt with the video
The image processing module that collection module is connected, the image processing module are stored with first sample data, and the first sample data are fitted
In the gray value for recording various water quality (water quality is poorer, and gray value is higher);The first sample data are by the water regime monitoring
System is measured to the water of known, different quality one by one and is obtained;Described image processing module is suitable to the digitized map
As carrying out gray proces, to obtain the gray value of the water surface image, the gray value is compared with first sample data and is drawn
Water quality situation, finally by the LCD or Computer display water quality situation that are connected with described image processing module.
Described image processing module is preferably connected with the arm processor of memory cell.
Impact of the ambient light to water surface image when further, in order to avoid shooting, the inwall of the measurement pipe are provided with
It is suitable to light-absorbing black coating.
Water-bed impact of the ambient light to water surface image when further, in order to avoid shooting, and water is kept when not shooting
It is smooth logical so that the water quality in the measurement pipe is consistent with actual water quality, the measurement pipe when in use below the water surface
Tube wall on multiple through holes are distributed with, be arranged sleeve on the body below the water surface;Described sleeve pipe is suitable to drive the set with one
Pipe along the measurement pipe upper and lower displacement displacement drive mechanism driving connect, the displacement drive mechanism by one with the camera head
Connected controller control;In filming surface image, control the displacement drive mechanism and drive sleeve pipe to shift up, so that institute
The each through hole in measurement pipe described in sleeve covers is stated, to prevent extraneous light from entering the measurement pipe;In not filming surface image
When, control described sleeve pipe and makes described sleeve pipe not cover each through hole in the measurement pipe to bottom offset so that current be suitable to into
Go out the measurement pipe.The displacement drive mechanism be cylinder in the measurement pipe, being connected with described sleeve pipe, oil cylinder or
Linear electric motors etc. are adapted for carrying out the device of straight-line displacement.
Further, in order to realize the level measuring to the water regime monitoring system, the measurement pipe is fixedly installed;Shooting dress
Put using focusing wide angle camera lens, or tight shot.Described image processing module is also stored with the second sample data, second sample
Data are suitable to record the pixel value of the water surface image in the measurement pipe and camera head corresponding table or meter apart from water surface elevation
Formula;The pixel value of the water surface image in the measurement pipe that described image processing module is further adapted for calculate current shooting, and
Height of the current camera head apart from the water surface is drawn by second sample data, it is then that the installation of the camera head is high
Degree deducts height of the camera head apart from the water surface, that is, obtain water level value.
Used as further preferred embodiment, the camera head is fixed in the measurement pipe, and makes the measurement pipe
Upper port closing, with avoid extraneous light from upper port enter the measurement pipe.
Further, in order to realize the level measuring to the water regime monitoring system, the periphery of the measurement pipe is provided with and is suitable to
The float for making the measurement pipe bubble through the water column;The water regime monitoring system also includes:Flexible scale, one end of the flexible scale fix
At the bottom, the other end is connected with a wrap-up for being suitable to wind, tense the flexible scale, and the wrap-up is fixed on the survey
On buret;Directive wheel, on the inwall of the measurement pipe, on the inwall of the measurement pipe, the neighbouring directive wheel is upper and lower
Side is respectively equipped with the upper and lower guide post parallel with the wheel shaft of the directive wheel, and the flexible scale is suitable to respectively from described upper and lower
Pass through in the gap of the inwall of guide post and measurement pipe and be fitted on the inner side wheel face of the directive wheel, the top of the directive wheel
Portion is above the water surface.Using flexible scale, be suitable to make measurement pipe vertically bubble through the water column on float, the part such as directive wheel, make
The water environment monitoring device can be swum on the water surface, and the video camera obtains the flexible mark at the top of the neighbouring directive wheel
The reading of chi, Jing after image recognition, error correction, obtains actual water level value.The method of the error correction is:Will be by image
The reading of the flexible scale that identification is obtained, is subtracted each other with default corrected value, that is, obtains actual water level value.The default school
On the occasion of by testing acquisition.
Present invention also offers a kind of measuring method for being suitable to water level and water quality monitoring, the method technical problem to be solved
Be using camera head shoot water surface image carry out respective handling with obtain the gray value and area pixel value of water surface image with
Obtain corresponding water quality and water level conditions.
The method of work of above-mentioned water regime monitoring system, comprises the steps:
(1) measurement pipe being fixed with the water surface, its lower port is adapted to enter into the water surface, a camera head being set at upper port, this is taken the photograph
As device shoots the water surface image in the measurement pipe;
(2) water surface image is converted to digital picture by video acquisition module;
(3) be stored with the image processing module being connected with the video acquisition module first, second sample data, described
First sample data are suitable to the gray value for recording various water quality, and second sample data is suitable to record the water in the measurement pipe
The pixel value of face picture and camera head corresponding table or calculating formula apart from water surface elevation;
(4) described image processing module carries out gray proces to the digital picture, to obtain the ash of the water surface image
Angle value, the gray value are compared with first sample data, draw water quality situation;
(5) described image processing module calculates the pixel value of the water surface image in the measurement pipe of current shooting, and
Height of the current camera head apart from the water surface is drawn by second sample data, it is then that the installation of the camera head is high
Degree deducts height of the camera head apart from the water surface, that is, obtain water level value.
Further, in order to more easily extract the area pixel value of water surface image, the step (5) includes:
a:The digital picture Jing after gray proces adopts MATLAB functions to enter row threshold division and processes to extract water surface shadow
The edge of picture;
b:Calling MATLAB built-in function bwarea, to calculate the area pixel value of the water surface image after edge extracting.
Compared with prior art, the invention has the advantages that:(1) water regime monitoring system of the invention passes through water surface image
To obtain the corresponding situation of water quality, simple structure is carried out just in the case of being easy to carry out water quality test in the wild or unconditionally
Prompt formula water quality detection, without the need for tedious steps;(2) by coating, lighting device is suitable to make the upper port of the measurement pipe to seal to the present invention
Close, so that the water surface image for shooting is difficult to receive the impact of ambient, it is more accurate to detect;(3) present invention is by measurement
Pipe arranges multiple through holes on the tube wall below the water surface, in not filming surface image, to be beneficial to current circulation;Clapping
When taking the photograph water surface image, control the displacement drive mechanism and drive sleeve pipe to shift up, so that described sleeve pipe covers the measurement pipe
On each through hole, with prevent extraneous light enter the measurement pipe;The combination of above-mentioned part is caused when carrying out water quality and judging, is kept away
The impact of light is under water exempted from, has made the water surface image of shooting more accurate, with the precision of monitoring of further increasing water quality;Measurement pipe
Bottom end closure, further can avoid extraneous light enter measurement pipe in.(4) visual pattern treatment technology of the invention, will figure
As vision technique application and water regime monitoring field, while water quality information is obtained, by image vision commercial measurement video
The pixel value that has of water surface image, the water surface is converted into the spacing of camera head to obtain water according to the size of the pixel value
Position, because water level is bigger with the spacing of camera head, the area shot shared by the water surface image in the picture for obtaining is less, phase
The pixel value answered is less;Conversely, the area shot shared by the water surface image in the picture that obtains is bigger, then water surface image
Pixel value is bigger;The present invention can also obtain water quality information simultaneously, without the need for expensive level sensor and loaded down with trivial details water quality prison
Survey, it is easy to use;(5) it is provided with by the periphery of flexible scale, the measurement pipe and is suitable to make what the measurement pipe was vertically bubbled through the water column
The parts such as float, directive wheel, swim in the water regime monitoring system and carry out on the water surface level measuring, more accurate to obtain
True water level value.Camera head can directly obtain the reading of flexible scale, and then quickly draw water level value.
Description of the drawings
In order that present disclosure is more likely to be clearly understood, below according to specific embodiment and combine accompanying drawing,
The present invention is further detailed explanation, wherein
The structural representation of the water regime monitoring system of Fig. 1 present invention.
The structural representation for water level detection part of the water level detecting system of Fig. 2 present invention.
Wherein, measurement pipe 1, the water surface 2, water surface image 2-1, float 3, flexible scale 4, wrap-up 5, directive wheel 6, on lead
To bar 7-1, lower guide post 7-2.
Specific embodiment
Below in conjunction with the accompanying drawings and embodiment the present invention is described in detail:
Embodiment 1
Embodiment one
Such as Fig. 1, a kind of water regime monitoring system, including:Measurement pipe 1, the lower port is suitable to entirety to its lower port when in use
Enter upstream face 2, at upper port, set a camera head, the camera head is suitable to shoot the water surface image 2-1 in the measurement pipe 1;
Video acquisition module, is connected with the camera head and is suitable to for collection image to be transformed to digital picture;With the video acquisition mould
The image processing module that block is connected, the image processing module are stored with first sample data, and the first sample data are suitable to note
Record the gray value of various water quality;The first sample data are the water by the water regime monitoring system to known, different quality
Measured one by one and obtained;Described image processing module is suitable to carry out gray proces to the digital picture, described to obtain
The gray value of water surface image 2-1, the gray value are compared with first sample data and draw water quality situation.
Water quality detection principle is the gray value using the corresponding gray value sample of different quality with water surface image to be detected
It is compared, i.e. image processing module is stored with each gray value sample of different quality, i.e. first sample data.
Corresponding gray value process is carried out to the water surface image 2-1 using MATLAB built-in functions, step is as follows:
I=imread (' image.jpg ');% opens pending picture (8 gray scales)
imshow(I);% shows the picture
C=mean2 (I);% calculates the mean value of image pixel matrix
The gray value of the water surface image 2-1 can just be calculated by mean2 functions.
Table 1 is the average gray value of various water quality, i.e. first sample data:
According to common sense, the water quality quality of these water samples may be arranged such that:Pure water>Green tea water>Swimming-pool water>
River>It is mixed with the water of mud>By the water of dye discoloration>Industrial wastewater ≈ prepared Chinese ink water, when water body sampled images gray value (brightness
Value) get over hour, it is believed that and its water quality is poorer, and vice versa.Thus in water quality detection, can be by water body overall gray level
Corresponding water quality conclusion is calculated, the process hand of the higher levels such as sample extraction, neutral net, pattern-recognition can also be passed through
Section, accomplishes to detect the water quality index that turbidity etc. is more refined.For example, if the gray scale of the water surface image 2-1 for detecting is 85, draw
The water quality is suitable with the water quality of river.
In order to avoid impact of the ambient to water surface image 2-1, the camera head is tightly connected with upper port, to keep away
Exempt from extraneous light the measurement pipe is entered from upper port;The inwall of the measurement pipe 1 is provided with and is suitable to light-absorbing black coating,
The camera lens of the camera head is formed around lighting device.
The technical scheme for carrying out level measuring is as follows:
The measurement pipe 1 is fixedly installed, and the camera head is fixedly installed in the upper port of the measurement pipe 1;The figure
As processing module is also stored with the second sample data, second sample data be suitable to record the pixel value of each water surface image 2-1 with
Corresponding table or calculating formula of the camera head apart from water surface elevation;Described image processing module is further adapted for calculating the water surface image
The pixel value of 2-1, the pixel value are compared with the second sample data, draw height of the camera head apart from the water surface 2, described to take the photograph
As the setting height(from bottom) of device deducts height of the camera head apart from the water surface 2, that is, obtain water level value.
The setting height(from bottom) of the camera head can know in advance and be pre-stored in described image processing module, it is also possible to logical
Cross the instruments such as scale of the prior art and measure and draw.The correspondence table or calculating formula, can be obtained by the experiment of limited number of time
.
Level measuring general principle is the image-forming principle according to object in eye;That is, target is more remote, look at it is less, it is right
In camera head, the video of camera shooting, picture, equally it is such.So, camera head is fixed on into 1 upper end of measurement pipe
Mouth shoots the water surface image 2-1 in measurement pipe 1 vertically downward.With the change up and down of water level, i.e. water level and the phase of camera head
Adjust the distance and there occurs change, this change is presented as that picture area shared by water surface image 2-1 is big in the water surface image 2-1 for being clapped
Little change.Therefore, by the size of water surface image 2-1 in calculating image, it can be determined that go out the water surface 2 with camera head
Relative distance, as camera head position is fixed, thus can converse water level.
The invention and application number 200910232679.6, the entitled " water level measurement system and side based on image vision
Method ".Scheme compare, it is simpler with advantages below (1) structure, without the need for can be carried out water stage measurement by float;(2)
Error is little, because float is bubbling through the water column, therefore when shooting, the height of the projection of the float of shooting is not actual water level
Highly, more slightly higher than actual water level, this there is error, and various water quality density are different, cause float and float on water
The height in face is different, needs to carry out error revision, brings trouble to level measuring, but the present invention directly passes through water surface image
2-1 overcomes drawbacks described above carrying out level measuring.
Also include float in pipe in the measurement pipe 1, float is the column of the center through hole with vertical setting in the pipe
Structure, the image mechanism are suitable to shoot the water surface image in the center through hole, and float is suitable to the water surface in institute in the pipe
State and fluctuate in measurement pipe 1;By shooting edge that the water surface image 2-1 in pipe in float makes water surface image 2-1 more
Clearly, it is easy to extract the area of water surface image 2-1.
Embodiment two
On the basis of embodiment one, another kind of technical scheme for carrying out level measuring is as follows:
A camera head is installed with the upper port of the measurement pipe 1, the periphery of the measurement pipe 1 is provided with and is suitable to make
The measurement pipe 1 vertically bubble through the water column 2 float 3, and measurement pipe 1 can be made to bubble through the water column by the float 3, without the need for solid in addition
It is fixed.
The water regime monitoring system also includes:
Flexible scale 4, and one end is fixed on the bottom, and the other end is suitable to wind 5 phase of wrap-up of the flexible scale 4 with one
Even, the wrap-up 5 is fixed on the top of the measurement pipe 1;
Directive wheel 6, on the inwall of the measurement pipe 1, on the inwall of the measurement pipe 1 on the neighbouring directive wheel,
Guide post 7-1, lower guide post 7-2 are respectively arranged below with, the flexible scale 4 is suitable to from the upper guide post 7-1, lower guiding
Pass through in the gap of the inwall of bar 7-2 and measurement pipe and be fitted on the inner side wheel face of the directive wheel 6, the directive wheel 6
Top is above the water surface.The upper and lower guide post can adopt volume to substitute less than the little directive wheel of the directive wheel 6.
The principle that the embodiment six carries out level measuring is using camera head in filming surface image 2-1, while clapping
The scale being directed on the flexible scale 4 that wheel 6 is propped up is taken the photograph, the scale of flexible scale 4 is easy to be photographed after being propped up, just obtains
Actual water level.
Due to 6 very little of directive wheel, carry out water quality detection when, the water surface image 2-1 of shooting carries out leading during gray proces
It is negligible to parts such as wheel, scales, the gray value for not interfering with water surface image 2-1 is calculated.
And the flexible scale 4 stretches into the bottom end closure that the bottom has no effect on the measurement pipe 1.
Embodiment three
See Fig. 1, a kind of method of work of the water regime monitoring system on the basis of embodiment one comprises the steps:
(1) measurement pipe 1 is fixed with the water surface 2, its lower port is adapted to enter into the water surface 2, a camera head is set at upper port, should
Camera head shoots the water surface image 2-1 in the measurement pipe 1;
(2) water surface image 2-1 is converted to digital picture by video acquisition module;
(3) image processing module being connected with the video acquisition module, the image processing module are stored with first, second
Sample data, the first sample data are suitable to the gray value for recording various water quality, and second sample data is suitable to record water
Face as 2-1 each area pixel value and camera head apart from the water surface respective heights (that is, each area pixel value and camera head
And the corresponding relation between the spacing of the water surface 2);
(4) described image processing module carries out gray proces to the digital picture, to obtain the water surface image 2-1's
Gray value, the gray value are compared with first sample data, draw water quality situation;
(5) described image processing module calculates the pixel value of the water surface image in the measurement pipe of current shooting, and
Height of the current camera head apart from the water surface is drawn by second sample data, it is then that the installation of the camera head is high
Degree deducts height of the camera head apart from the water surface, that is, obtain water level value.
The step (5) includes:
a:After the water surface image 2-1 carries out gray proces, adopt MATLAB functions to enter row threshold division and process to extract
The edge of water surface image 2-1;
b:Calling MATLAB built-in function bwarea, to calculate the area pixel value of the water surface image 2-1 after edge extracting.
The water quality monitoring step that the concrete grammar of water quality detection is shown in embodiment 1.
The concrete grammar that water level is calculated
The water surface image 2-1 shot using camera head described in MATLAB function pairs enters row threshold division process, its step
It is as follows:
The area of water surface image 2-1 is obtained by above-mentioned steps, for example, water surface image 2-1 is white, and background is black
Color.Different colors can certainly be arranged as required to, such as water surface image 2-1 is black, and background is white.
Here it is with water surface image 2-1 as white, as a example by background is black, in order to calculate the area of white portion, adjustable
With MATLAB built-in function bwarea.The number of the Bwarea functions not non-zero pixel of simple computation, it is also given not to different pixels
With authority, to compensate due to representing error that consecutive image is brought with discrete data.Diagonal such as 50 points of length will
The horizontal line length longer than 50 points, therefore, the horizontal line area of 50 points of length that bwarea functions are returned is 50, and 50 points of length is diagonal
What line area was returned is 62.5.
The step of areal calculation is carried out using bwarea is as follows:
Number=bwarea (Inew);
Number
Calculate the pixel of white portion, i.e., the area pixel of described water surface image 2-1, and be stored in image procossing
The second sample data in module, that is, record each area pixel value (i.e. pixel) and camera head distance of water surface image 2-1
The corresponding relation list of the respective heights of the water surface compares, as shown in table 2:
For example, if Number is the elemental area of 54116, i.e., 54116.Then the water surface 2 and the spacing of camera head are 19cm,
I.e. camera head is 19cm apart from the height of the water surface 2, therefore 54116 elemental areas and 19cm this distances produces mapping relations.
The camera head is not linear apart from the height of the water surface, but a curve delayed by abrupt change, i.e. water
Identity distance camera head is nearer, identical SEA LEVEL VARIATION, and the change of water surface image is bigger.Thus the precision of the water level measurement method is also
It is inconstant, suitable precision is just can guarantee that when measurement range is less, therefore suitable for the little waters of SEA LEVEL VARIATION (as flowed
The little lake of property, the cistern of limited height).
The present invention can also be using Canny detective operators for gray component carries out edge extracting, to obtain water surface image
Each area pixel value of 2-1, referring to patent of invention, application number 200910232679.6 is entitled " to be regarded based on image for concrete steps
The water level measurement system and method for feel ".
Periodical《Computer and modernization》06 phase in 2006, paper " the gray level image side based on CNN of Huang Lei, Liu Wenbo
Gray-scale edges are extracted in the research of template parameter in edge extraction algorithm " and be also described in detail, the present invention can similarly be adopted
The algorithm.
Periodical《Nanjing Aero-Space University》2006, the paper of Huang Lei " was carried based on the image border of cell neural network
Take algorithm research " in the method that describes to carry out edge extracting to image using neutral net, the method are applied equally to
The present invention.
Camera head is obtained from table 2 after the height of the water surface 2, the setting height(from bottom) of the camera head deducts described taking the photograph
As device apart from the water surface 2 height obtaining water level value.
Obviously, above-described embodiment is only intended to clearly illustrate example of the present invention, and is not to the present invention
The restriction of embodiment.For those of ordinary skill in the field, which can also be made on the basis of the above description
The change or variation of its multi-form.There is no need to be exhaustive to all of embodiment.And these belong to this
Bright spirit it is extended obvious change or change still in protection scope of the present invention among.
Claims (2)
1. a kind of water regime monitoring system, it is characterised in that include:
Longitudinally disposed measurement pipe, the lower port of measurement pipe enter upstream face when in use, and the upper port of measurement pipe is provided with shooting
Device, the camera head are suitable to shoot the water surface image in the measurement pipe;
Video acquisition module, is connected with the camera head, and the image for being suitable to gather is transformed to digital picture;
The image processing module being connected with the video acquisition module, the image processing module are stored with first sample data, institute
State first sample data to be suitable to record the gray value of various water quality;The first sample data are by the water regime monitoring system pair
The water of known, different quality is measured one by one and is obtained;
Described image processing module is suitable to carry out gray proces to the digital picture, to obtain the gray scale of the water surface image
Value, the gray value are compared and draw water quality situation with first sample data;
The inwall of the measurement pipe is provided with and is suitable to light-absorbing black coating, and the camera lens of the camera head is formed around shining
Bright device;
Being located on the tube wall below the water surface when in use for the measurement pipe is distributed with multiple through holes, on the body below the water surface
It is arranged sleeve;
Described sleeve pipe is suitable to drive the sleeve pipe to be connected along the displacement drive mechanism driving of the measurement pipe upper and lower displacement with one, the position
Move the controller control that drive mechanism is connected with the camera head by one;
In filming surface image, control the displacement drive mechanism and drive sleeve pipe to shift up, so that described sleeve pipe covers institute
The each through hole in measurement pipe is stated, to prevent extraneous light from entering the measurement pipe;In not filming surface image, the set is controlled
Pipe is to bottom offset, and makes described sleeve pipe not cover each through hole in the measurement pipe, so that current are suitable to pass in and out the measurement pipe.
2. a kind of method of work of water regime monitoring system, it is characterised in that using the water regime monitoring system described in claim 1.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610976791.0A CN106525735A (en) | 2013-03-18 | 2013-03-18 | Water regime monitoring system for acquiring water quality conditions through surface images and working method thereof |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310087503.2A CN103163075B (en) | 2013-03-18 | 2013-03-18 | A kind of water regime monitoring system |
CN201610976791.0A CN106525735A (en) | 2013-03-18 | 2013-03-18 | Water regime monitoring system for acquiring water quality conditions through surface images and working method thereof |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310087503.2A Division CN103163075B (en) | 2013-03-18 | 2013-03-18 | A kind of water regime monitoring system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106525735A true CN106525735A (en) | 2017-03-22 |
Family
ID=48586341
Family Applications (10)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610951524.8A Pending CN106353255A (en) | 2013-03-18 | 2013-03-18 | Water regime monitoring system based on optical imaging and working method thereof |
CN201610936853.5A Pending CN106323884A (en) | 2013-03-18 | 2013-03-18 | Water regimen monitoring method for monitoring water quality by virtue of gray level detection theory |
CN201610976791.0A Pending CN106525735A (en) | 2013-03-18 | 2013-03-18 | Water regime monitoring system for acquiring water quality conditions through surface images and working method thereof |
CN201610934787.8A Pending CN106546589A (en) | 2013-03-18 | 2013-03-18 | The water regime monitoring system of water quality monitoring is carried out using gray scale detection principle |
CN201610935893.8A Pending CN106404785A (en) | 2013-03-18 | 2013-03-18 | Water regimen monitoring system for acquiring water quality condition through water surface images |
CN201610901964.2A Pending CN106501183A (en) | 2013-03-18 | 2013-03-18 | A kind of monitoring method of water regime monitoring system |
CN201610899419.4A Pending CN106338474A (en) | 2013-03-18 | 2013-03-18 | Water regimen monitoring system adopting image pickup device to monitor water quality and working method thereof |
CN201610935891.9A Active CN106404784B (en) | 2013-03-18 | 2013-03-18 | Using the water regime monitoring system of photographic device monitoring water quality |
CN201310087503.2A Active CN103163075B (en) | 2013-03-18 | 2013-03-18 | A kind of water regime monitoring system |
CN201610936823.4A Pending CN107036966A (en) | 2013-03-18 | 2013-03-18 | The method of work of the water regime monitoring system of water quality situation is obtained by water surface image |
Family Applications Before (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610951524.8A Pending CN106353255A (en) | 2013-03-18 | 2013-03-18 | Water regime monitoring system based on optical imaging and working method thereof |
CN201610936853.5A Pending CN106323884A (en) | 2013-03-18 | 2013-03-18 | Water regimen monitoring method for monitoring water quality by virtue of gray level detection theory |
Family Applications After (7)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610934787.8A Pending CN106546589A (en) | 2013-03-18 | 2013-03-18 | The water regime monitoring system of water quality monitoring is carried out using gray scale detection principle |
CN201610935893.8A Pending CN106404785A (en) | 2013-03-18 | 2013-03-18 | Water regimen monitoring system for acquiring water quality condition through water surface images |
CN201610901964.2A Pending CN106501183A (en) | 2013-03-18 | 2013-03-18 | A kind of monitoring method of water regime monitoring system |
CN201610899419.4A Pending CN106338474A (en) | 2013-03-18 | 2013-03-18 | Water regimen monitoring system adopting image pickup device to monitor water quality and working method thereof |
CN201610935891.9A Active CN106404784B (en) | 2013-03-18 | 2013-03-18 | Using the water regime monitoring system of photographic device monitoring water quality |
CN201310087503.2A Active CN103163075B (en) | 2013-03-18 | 2013-03-18 | A kind of water regime monitoring system |
CN201610936823.4A Pending CN107036966A (en) | 2013-03-18 | 2013-03-18 | The method of work of the water regime monitoring system of water quality situation is obtained by water surface image |
Country Status (1)
Country | Link |
---|---|
CN (10) | CN106353255A (en) |
Families Citing this family (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI473976B (en) * | 2013-06-28 | 2015-02-21 | Univ Nat Taiwan Ocean | Module for measuring the height of a liquid surface |
CN104301675B (en) * | 2014-09-30 | 2017-07-21 | 杭州电子科技大学 | Gray level image transmission method based on underwater sound communication |
CN105824280A (en) * | 2016-03-16 | 2016-08-03 | 宁波市江东精诚自动化设备有限公司 | IoT (Internet of Things) environment protective monitoring system |
CN108107005A (en) * | 2016-11-25 | 2018-06-01 | 北京小米移动软件有限公司 | The method and device of liquid quality detection |
CN107503926B (en) * | 2017-08-04 | 2019-05-24 | 宁波巨神制泵实业有限公司 | A kind of pumping plant automatic control device based on Internet of Things |
CN107755336A (en) * | 2017-09-05 | 2018-03-06 | 安徽省富邦天成食品有限公司 | A kind of rice noodles Machining Intelligent control method |
CN108457700B (en) * | 2018-03-15 | 2023-04-18 | 中国矿业大学(北京) | Mine sump monitoring alarm system based on infrared image |
CN108252740B (en) * | 2018-03-15 | 2023-04-18 | 中国矿业大学(北京) | Image-based mine water burst and water sump water storage capacity monitoring system |
CN108596216A (en) * | 2018-04-04 | 2018-09-28 | 格薪源生物质燃料有限公司 | Biomass fuel quality determining method and system |
CN108534860A (en) * | 2018-04-13 | 2018-09-14 | 南京邮电大学 | A kind of weight material-level detection system and detection method based on image analysis |
CN109870211B (en) * | 2019-01-22 | 2020-07-28 | 珠海格力电器股份有限公司 | Method and device for detecting rice amount in rice storage equipment and rice barrel |
CN110160610B (en) * | 2019-05-23 | 2020-07-31 | 中山市博胜机电设备有限公司 | Automatic debugging machine of water level sensor |
CN110796834B (en) * | 2019-11-01 | 2021-10-08 | 广州小鹏汽车科技有限公司 | Vehicle flooding alarm method and system, vehicle and readable storage medium |
CN110865418B (en) * | 2019-12-05 | 2022-06-14 | 重庆商勤科技有限公司 | Sewage illegal discharge monitoring method and device and computer readable storage medium |
CN111122816B (en) * | 2019-12-30 | 2022-07-05 | 重庆商勤科技有限公司 | Water bloom early warning system and method based on combination of online monitoring and image recognition |
CN113155784A (en) * | 2021-03-19 | 2021-07-23 | 东营市阔海水产科技有限公司 | Water transparency detection method, terminal device and storage medium |
CN113588650B (en) * | 2021-09-30 | 2021-12-10 | 武汉市中卫寰宇医疗系统工程有限公司 | Medical sewage purification monitoring system |
CN113673970B (en) * | 2021-10-20 | 2022-02-22 | 长视科技股份有限公司 | Distributed node-based water quality report generation method and electronic equipment |
CN115880683B (en) * | 2023-03-02 | 2023-05-16 | 江西省水利科学院(江西省大坝安全管理中心、江西省水资源管理中心) | Urban waterlogging ponding intelligent water level detection method based on deep learning |
CN117723513A (en) * | 2024-02-08 | 2024-03-19 | 清华大学 | Water quality detection method, device, equipment, storage medium and program product |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH03170029A (en) * | 1989-11-29 | 1991-07-23 | Mitsubishi Electric Corp | Water level measuring instrument |
CN201141839Y (en) * | 2007-01-10 | 2008-10-29 | 宁波工程学院 | Device for detecting tiny bearing surface defect by computer vision technology |
CN202231810U (en) * | 2011-10-09 | 2012-05-23 | 郝明龙 | Infrared illumination system of monitoring terminal for water level and water quality |
CN202282828U (en) * | 2011-10-21 | 2012-06-20 | 常州工学院 | Water level, water quality monitor terminal |
CN202284965U (en) * | 2011-10-21 | 2012-06-27 | 常州工学院 | System for monitoring water level and water quality |
Family Cites Families (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5313261A (en) * | 1992-07-13 | 1994-05-17 | Applied Remote Technology Inc. | Method and apparatus for faithful gray scale representation of under water laser images |
CN2577261Y (en) * | 2002-11-06 | 2003-10-01 | 张宪民 | Underground water-level measuring instrument |
WO2004076972A1 (en) * | 2003-02-27 | 2004-09-10 | Mitsubishi Denki Kabushiki Kaisha | Water level measuring system |
FI116261B (en) * | 2003-11-06 | 2005-10-14 | Valtion Teknillinen | System and method and server for analyzing image data and reading device for determining code data |
TWI384205B (en) * | 2008-07-03 | 2013-02-01 | Univ Nat Central | Measurement method for the height of a liquid surface |
CN101586956B (en) * | 2009-06-18 | 2011-01-05 | 上海交通大学 | River water level monitoring method based on monocular camera |
CN101718573B (en) * | 2009-12-04 | 2011-06-29 | 河海大学常州校区 | System and method for measuring water level based on image vision |
KR101195962B1 (en) * | 2010-07-05 | 2012-10-30 | 주식회사 선반도체 | Method and device for measuring a rainfall |
CN202305417U (en) * | 2011-10-21 | 2012-07-04 | 常州工学院 | Gray-level-identification-based water quality detecting device |
CN102721644B (en) * | 2012-06-21 | 2014-07-23 | 中国科学院对地观测与数字地球科学中心 | Method and device for processing remote sensing data of water environment |
CN102866237A (en) * | 2012-09-06 | 2013-01-09 | 华南理工大学 | Water quality safety online biological early warning and monitoring system based on video identification |
CN203083921U (en) * | 2013-03-07 | 2013-07-24 | 淮阴师范学院 | Water quality monitoring system |
-
2013
- 2013-03-18 CN CN201610951524.8A patent/CN106353255A/en active Pending
- 2013-03-18 CN CN201610936853.5A patent/CN106323884A/en active Pending
- 2013-03-18 CN CN201610976791.0A patent/CN106525735A/en active Pending
- 2013-03-18 CN CN201610934787.8A patent/CN106546589A/en active Pending
- 2013-03-18 CN CN201610935893.8A patent/CN106404785A/en active Pending
- 2013-03-18 CN CN201610901964.2A patent/CN106501183A/en active Pending
- 2013-03-18 CN CN201610899419.4A patent/CN106338474A/en active Pending
- 2013-03-18 CN CN201610935891.9A patent/CN106404784B/en active Active
- 2013-03-18 CN CN201310087503.2A patent/CN103163075B/en active Active
- 2013-03-18 CN CN201610936823.4A patent/CN107036966A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH03170029A (en) * | 1989-11-29 | 1991-07-23 | Mitsubishi Electric Corp | Water level measuring instrument |
CN201141839Y (en) * | 2007-01-10 | 2008-10-29 | 宁波工程学院 | Device for detecting tiny bearing surface defect by computer vision technology |
CN202231810U (en) * | 2011-10-09 | 2012-05-23 | 郝明龙 | Infrared illumination system of monitoring terminal for water level and water quality |
CN202282828U (en) * | 2011-10-21 | 2012-06-20 | 常州工学院 | Water level, water quality monitor terminal |
CN202284965U (en) * | 2011-10-21 | 2012-06-27 | 常州工学院 | System for monitoring water level and water quality |
Also Published As
Publication number | Publication date |
---|---|
CN106338474A (en) | 2017-01-18 |
CN103163075B (en) | 2016-10-19 |
CN106353255A (en) | 2017-01-25 |
CN106404785A (en) | 2017-02-15 |
CN106501183A (en) | 2017-03-15 |
CN106404784A (en) | 2017-02-15 |
CN106546589A (en) | 2017-03-29 |
CN107036966A (en) | 2017-08-11 |
CN103163075A (en) | 2013-06-19 |
CN106404784B (en) | 2019-03-05 |
CN106323884A (en) | 2017-01-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103163075B (en) | A kind of water regime monitoring system | |
CN203148531U (en) | Water level and water quality monitoring terminal based on machine vision | |
CN104748790B (en) | A kind of water environment monitoring device and its method of work | |
CN105865582B (en) | Using the working method of the monitoring water environment system of image vision processing technique | |
CN105675509B (en) | Monitoring water environment system based on image vision treatment technology | |
CN105717050B (en) | The method of work of monitoring water environment system based on image vision treatment technology | |
CN105675508B (en) | A kind of monitoring water environment system using image vision treatment technology | |
CN105675510B (en) | The monitoring water environment system of water level and water quality monitoring is realized based on image vision processing | |
CN105737901B (en) | The method that water level and water quality monitoring are realized based on image vision treatment technology |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170322 |
|
RJ01 | Rejection of invention patent application after publication |