CN106353255A - Water regime monitoring system based on optical imaging and working method thereof - Google Patents
Water regime monitoring system based on optical imaging and working method thereof Download PDFInfo
- Publication number
- CN106353255A CN106353255A CN201610951524.8A CN201610951524A CN106353255A CN 106353255 A CN106353255 A CN 106353255A CN 201610951524 A CN201610951524 A CN 201610951524A CN 106353255 A CN106353255 A CN 106353255A
- 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 248
- 238000012544 monitoring process Methods 0.000 title claims abstract description 30
- 238000000034 method Methods 0.000 title claims abstract description 23
- 238000012634 optical imaging Methods 0.000 title abstract description 3
- 238000005259 measurement Methods 0.000 claims abstract description 77
- 238000012545 processing Methods 0.000 claims abstract description 28
- 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
- 238000012360 testing method Methods 0.000 abstract description 2
- 230000006870 function Effects 0.000 description 10
- 230000008859 change Effects 0.000 description 9
- 238000001514 detection method Methods 0.000 description 9
- 230000008569 process Effects 0.000 description 5
- 238000009434 installation Methods 0.000 description 4
- 239000007788 liquid Substances 0.000 description 4
- 238000002604 ultrasonography Methods 0.000 description 4
- 230000008901 benefit Effects 0.000 description 3
- 238000004422 calculation algorithm Methods 0.000 description 3
- 238000012937 correction Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000002474 experimental method 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
- 230000003111 delayed effect Effects 0.000 description 1
- 238000002845 discoloration Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 235000009569 green tea Nutrition 0.000 description 1
- 210000004247 hand Anatomy 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
- 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/84—Systems specially adapted for particular applications
-
- 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
-
- 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
- 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 based on optical imaging and a working method thereof. The water regime monitoring system comprises a measuring tube, a video capturing device, and an image processing module connected with the video capturing device, wherein the lower end of the measuring tube is adapted to enter water surface, and an image capturing device is arranged directly above the upper end and is adapted to capture a water surface image in the measuring tube; the video capturing module is connected with the image capturing device and is adapted to convert the captured images to digital images; the image processing module stores a first sample data which is adapted to record the gray scale values of different kinds of water qualities; the image processing module is adapted to carry out gray scale processing on the digital images to obtain a gray scale value of the water surface image, the gray scale value is compared with the first sample data to obtain the condition of water quality. The water regime monitoring system of the invention can obtain the corresponding condition of water quality through the water surface image. The device is simple, and facilitates convenient water quality measurement or prejudgment in the field or on occasions of no conditions for water quality test, without cumbersome steps.
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 in water regime monitoring for the float type level meter is the most universal.Will
Float line is vertically hung on a pulley, and float is placed on the water surface, will produce upper and lower displacement with the height of water level.
By the distance of float in pipe and specified point, then calculated it is possible to obtain current water level by certain.Float gauge
Need special well logging, its shortcoming is exactly that installation is more complicated, if current are heavier, through fortune after a while containing silt simultaneously
OK, the water inlet pipe of well logging will produce the phenomenon of alluvial, easily forms artifical water height.
Pressure type water gauge is according to the proportional hydrostatic pressure principle of pressure and the depth of water, passes with pressure cell
Sensor, produces corresponding electric current and measures the height of equivalent water level in different depth of water sensing different pressures, this mode solves
The shortcoming of float type level meter, but it is unable to reach very high precision, and easily affected by ambient 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.Ultrasound wave is being situated between
Propagated with certain speed in matter, when running into the dielectric interface of different densities, ultrasound wave reflects immediately.Liquid Jie's formula be by
Transducer is arranged on river bed, vertically launches ultrasound wave to the water surface;Aerosphere type is that transducer is fixed a certain in atmosphere eminence, to
The water surface launches ultrasound wave.Two kinds of forms are all not required to build well logging.Liquid Jie's formula is easily subject to floating outstanding particle concentration shadow in water temperature, hydraulic pressure and water
Ring, aerosphere type is easily affected by temperature, and its advantage is not affected by pasture and water in water, silt etc..This method has it advanced, but becomes
This is higher.
And existing Level monitor often can only individually sensed water level it is impossible to detection water quality, need in addition to adopt
Realized with water monitoring device, how to realize measuring water level simultaneously and water quality be this area technical barrier.
Content of the invention
The technical problem to be solved in the present invention is to provide a kind of water regime monitoring system being adapted for water quality measurement, this regimen
Monitoring system carries out water quality monitoring using gray scale detection principle, carries out gray proces to the water surface image shooting and obtains this water surface
The gray value of image is to obtain water quality situation.
The invention provides a kind of water regime monitoring system, comprising: longitudinally disposed measurement pipe, its lower port is entered when using
Upstream face, sets a camera head at the upper port of measurement pipe, this camera head is suitable to shoot the water surface image in described measurement pipe;
Video acquisition module, is connected with described camera head, is suitable to for the image gathering to be transformed to digital picture;Adopt with described video
The image processing module that collection module is connected, this image processing module is stored with first sample data, and described first sample data is fitted
In the gray value (water quality is poorer, and gray value is higher) recording various water quality;Described first sample data is by described water regime monitoring
System is measured one by one to known, different quality water and is obtained;Described image processing module is suitable to described digitized map
As carrying out gray proces, to obtain the gray value of described water surface image, this gray value is compared with first sample data and is drawn
Water quality situation, finally by the lcd being connected with described image processing module or Computer display water quality situation.
Described image processing module is preferably connected with the arm processor of memory element.
Further, in order to avoid the impact to water surface image for ambient light when shooting, the inwall of described measurement pipe is provided with
It is suitable to light-absorbing black coating.
Further, in order to avoid the impact to water surface image for the ambient light water-bed when shooting, and keep water when not shooting
Smooth logical so that the water quality in described measurement pipe is consistent with actual water quality, described measurement pipe in use positioned at the water surface below
Tube wall on multiple through holes are distributed with, sheathed sleeve on the body below the water surface;Described sleeve pipe and one is suitable to drive this set
Pipe connects along the displacement drive mechanism driving of described measurement pipe upper and lower displacement, and this displacement drive mechanism is by one and described camera head
Connected controller controls;In filming surface image, described displacement drive mechanism is controlled to drive sleeve pipe to shift up, so that institute
State each through hole in measurement pipe described in sleeve covers, to prevent extraneous light from entering described measurement pipe;In not filming surface image
When, control described sleeve pipe to bottom offset, and make described sleeve pipe not cover each through hole in described measurement pipe so that current be suitable to into
Go out described measurement pipe.Described displacement drive mechanism is cylinder in described 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 described water regime monitoring system, described 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, this second sample
Data is suitable to record the pixel value of water surface image in described measurement pipe and camera head apart from the corresponding table of water surface elevation or meter
Formula;The pixel value of the water surface image in described measurement pipe that described image processing module is further adapted for calculate current shooting, and
The height apart from the water surface for the current camera head is drawn by described second sample data, then that the installation of described camera head is high
Degree deducts the height apart from the water surface for the described camera head, that is, obtain water level value.
As further preferred embodiment, described camera head is fixed in described measurement pipe, and makes this measurement pipe
Upper port closing, to avoid extraneous light to enter this measurement pipe from upper port.
Further, in order to realize the level measuring to described water regime monitoring system, the periphery of described measurement pipe is provided with and is suitable to
Make the float that this measurement pipe is bubbled through the water column;Described water regime monitoring system also includes: flexible scale, and one end of this flexible scale is fixed
At the bottom, the wrap-up that the other end is suitable to wind, strain this flexible scale with is connected, and this wrap-up is fixed on described survey
On buret;Directive wheel, on the inwall of described measurement pipe, on the inwall of this measurement pipe, neighbouring described directive wheel is upper and lower
Side is respectively equipped with the upper and lower guide post parallel with the wheel shaft of described directive wheel, and described flexible scale is suitable to respectively from described upper and lower
Pass through in the gap of inwall of guide post and measurement pipe and be fitted on the inner side wheel face of described directive wheel, the top of described directive wheel
Portion is in 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
Described water environment monitoring device can swim on the water surface, and described video camera obtains the flexible mark at the top of neighbouring described directive wheel
The reading of chi, after image recognition, error correction, obtains actual water level value.The method of described error correction is: will be by image
The reading of the described flexible scale that identification obtains, is subtracted each other with default corrected value, that is, obtains actual water level value.Described default school
On the occasion of by experiment obtain.
Present invention also offers a kind of measuring method being suitable to water level and water quality monitoring, the method technical problem to be solved
Be using the water surface image that camera head shoots carry out respective handling with obtain the gray value of water surface image and area pixel value with
Obtain corresponding water quality and water level conditions.
The method of work of above-mentioned water regime monitoring system, comprises the steps:
(1) it is fixed with measurement pipe on the water surface, its lower port is adapted to enter into the water surface, at upper port, sets a camera head, this is taken the photograph
As device shoots the water surface image in described measurement pipe;
(2) described water surface image is converted to digital picture by video acquisition module;
(3) be stored with the image processing module being connected with described video acquisition module first, second sample data, described
First sample data is suitable to record the gray value of various water quality, and described second sample data is suitable to record the water in described measurement pipe
The pixel value of face picture and camera head are apart from the corresponding table of water surface elevation or calculating formula;
(4) described image processing module carries out gray proces to described digital picture, to obtain the ash of described water surface image
Angle value, this gray value is compared with first sample data, draws water quality situation;
(5) described image processing module calculates the pixel value of the water surface image in the described measurement pipe of current shooting, and
The height apart from the water surface for the current camera head is drawn by described second sample data, then that the installation of described camera head is high
Degree deducts the height apart from the water surface for the described camera head, that is, obtain water level value.
Further, in order to more easily extract the area pixel value of water surface image, described step (5) includes:
A: described digital picture, after gray proces, adopts matlab function to enter row threshold division and processes to extract water surface shadow
The edge of picture;
B: call matlab built-in function bwarea, to calculate the area pixel value of the water surface image after edge extracting.
Compared with prior art, the present invention has the advantage that the water regime monitoring system of (1) present invention passes through water surface image
To obtain the corresponding situation of water quality, structure is simple, carries 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 tedious steps;(2) present invention passes through coating, and illuminator is suitable to make the upper port of this measurement pipe to seal
Close, so that the water surface image shooting is difficult to receive the impact of ambient, detection is more accurate;(3) present invention passes through in measurement
Pipe multiple through holes are arranged on the tube wall below the water surface, with not filming surface image, be beneficial to current circulation;Clapping
When taking the photograph water surface image, described displacement drive mechanism is controlled to drive sleeve pipe to shift up, so that described sleeve pipe covers described measurement pipe
On each through hole, with prevent extraneous light enter described measurement pipe;The combination of above-mentioned part makes, when carrying out water quality and judging, to keep away
Exempt from the impact of light under water, made the water surface image of shooting more accurate, with the precision of monitoring of increasing water quality further;Measurement pipe
Bottom end closure, can avoid further extraneous light enter measurement pipe in.(4) the visual pattern treatment technology of the present invention, will scheme
As vision technique application and water regime monitoring field, while obtaining water quality information, 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 this pixel value
Position, because water level is bigger with the spacing of camera head, the area shared by water surface image shooting in the picture obtaining is less, phase
The pixel value answered is less;Conversely, the area shared by water surface image shooting 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, and level sensor that need not be expensive and loaded down with trivial details water quality are supervised
Survey, easy to use;(5) it is provided with by the periphery of flexible scale, described measurement pipe and be suitable to make this measurement pipe vertically bubble through the water column
The parts such as float, directive wheel, make described water regime monitoring system can swim on the water surface and carry out level measuring, more accurate to obtain
True water level value.Camera head can directly obtain the reading of flexible scale, and then quickly draws water level value.
Brief description
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
As Fig. 1, a kind of water regime monitoring system, comprising: measurement pipe 1, its lower port this lower port when using is suitable to entirety
Enter upstream face 2, at upper port, set a camera head, this camera head is suitable to shoot the water surface image 2-1 in described measurement pipe 1;
Video acquisition module, is connected with described camera head and is suitable to for collection image to be transformed to digital picture;With described video acquisition mould
The image processing module that block is connected, this image processing module is stored with first sample data, and described first sample data is suitable to remember
Record the gray value of various water quality;Described first sample data is to known, different quality water by described water regime monitoring system
Measured one by one and obtained;Described image processing module is suitable to carry out gray proces to described digital picture, described to obtain
The gray value of water surface image 2-1, this gray value and first sample data are compared and are drawn water quality situation.
Water quality detection principle is the gray value using different quality corresponding gray value sample and water surface image to be detected
It is compared, that is, 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 described water surface image 2-1 using matlab built-in function, step is as follows:
I=imread (' image.jpg ');% opens pending picture (8 gray scales)
imshow(i);% shows this picture
C=mean2 (i);% calculates the meansigma methodss of image pixel matrix
The gray value of described water surface image 2-1 just can be calculated by mean2 function.
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) more hour it is believed that its water quality is poorer, vice versa.Thus in water quality detection, can be by water body overall gray level
Calculate corresponding water quality conclusion, the process handss of the higher level such as sample extraction, neutral net, pattern recognition can also be passed through
Section, accomplishes to detect the water quality index of the more refinements such as turbidity.For example, if the gray scale of the water surface image 2-1 detecting is 85, draw
This water quality is suitable with the water quality of river.
In order to avoid the impact to water surface image 2-1 for the ambient, described camera head and upper port are tightly connected, to keep away
Exempt from extraneous light and enter this measurement pipe from upper port;The inwall of described measurement pipe 1 is provided with and is suitable to light-absorbing black coating,
The camera lens of described camera head is formed around illuminator.
The technical scheme carrying out level measuring is as follows:
Described measurement pipe 1 is fixedly installed, and described camera head is fixedly installed in the upper port of described measurement pipe 1;Described figure
As processing module is also stored with the second sample data, this second sample data be suitable to record the pixel value of each water surface image 2-1 with
Camera head is apart from the corresponding table of water surface elevation or calculating formula;Described image processing module is further adapted for calculating described water surface image
The pixel value of 2-1, this pixel value is compared with the second sample data, draws the height apart from the water surface 2 for the camera head, described takes the photograph
As the setting height(from bottom) of device deducts the height apart from the water surface 2 for the described camera head, that is, obtain water level value.
The setting height(from bottom) of described camera head can know in advance and be pre-stored in described image processing module it is also possible to lead to
Cross the instruments such as scale of the prior art and measure and draw.Described corresponding table or calculating formula, can be obtained by the experiment of limited number of time
?.
Level measuring ultimate principle is the image-forming principle according to object in eye;That is, target is more remote, look at less, right
In camera head, the video of photographing unit shooting, picture, it is equally such.So, camera head is fixed on measurement pipe 1 upper end
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. the phase of water level and 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 being clapped
Little change.Therefore, by calculating the size of water surface image 2-1 in image it can be determined that going out the water surface 2 and camera head
Relative distance, because camera head position is fixing, thus can converse water level.
This invention and application number 200910232679.6, entitled " water level measurement system based on image vision and side
Method ".Scheme compare, it is simpler to have advantages below (1) structure, need not 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 is different, causes float and floats 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, to carry out level measuring, overcomes drawbacks described above.
Also include managing interior float in described measurement pipe 1, in this pipe, float is the column of the center through hole with vertical setting
Structure, described image mechanism is suitable to shoot the water surface image in described center through hole, and in this pipe, float is suitable to the water surface in institute
State in measurement pipe 1 and fluctuate;By shoot manage in water surface image 2-1 in float make this water surface image 2-1 edge more
Clearly, it is easy to extract the area of this water surface image 2-1.
Embodiment two
On the basis of embodiment one, another kind of technical scheme carrying out level measuring is as follows:
It is installed with a camera head, the periphery of described measurement pipe 1 is provided with and is suitable to make at the upper port of described measurement pipe 1
This 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 this float 3, need not in addition consolidate
Fixed.
Described 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 wrap-up 5 phase of this flexible scale 4 with one
Even, this wrap-up 5 is fixed on the top of described measurement pipe 1;
Directive wheel 6, on the inwall of described measurement pipe 1, on neighbouring described directive wheel on the inwall of this measurement pipe 1,
It is respectively arranged below with guide post 7-1, lower guide post 7-2, described flexible scale 4 is suitable to from described upper guide post 7-1, lower guiding
Pass through in the gap of inwall of bar 7-2 and measurement pipe and be fitted on the inner side wheel face of described directive wheel 6, described directive wheel 6
Top is in above the water surface.Described upper and lower guide post can be substituted using the little directive wheel that volume is less than described directive wheel 6.
The principle that this embodiment six carries out level measuring be using camera head in filming surface image 2-1, clap simultaneously
Take the photograph the scale being directed on the flexible scale 4 that wheel 6 is propped up, the scale of flexible scale 4 is easy to after being propped up be photographed, just obtains
Actual water level.
Due to directive wheel 6 very little, 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 not interfering with water surface image 2-1 calculates.
And described flexible scale 4 stretches into the bottom end closure that the bottom has no effect on described 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, comprise the steps:
(1) it is fixed with measurement pipe 1 on the water surface 2, its lower port is adapted to enter into the water surface 2, at upper port, set a camera head, should
Camera head shoots the water surface image 2-1 in described measurement pipe 1;
(2) described water surface image 2-1 is converted to digital picture by video acquisition module;
(3) image processing module being connected with described video acquisition module, this image processing module is stored with first, second
Sample data, described first sample data is suitable to record the gray value of various water quality, and described 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
The corresponding relation and spacing of the water surface 2 between);
(4) described image processing module carries out gray proces to described digital picture, to obtain described water surface image 2-1's
Gray value, this gray value is compared with first sample data, draws water quality situation;
(5) described image processing module calculates the pixel value of the water surface image in the described measurement pipe of current shooting, and
The height apart from the water surface for the current camera head is drawn by described second sample data, then that the installation of described camera head is high
Degree deducts the height apart from the water surface for the described camera head, that is, obtain water level value.
Described step (5) includes:
A: after described water surface image 2-1 carries out gray proces, adopt matlab function to enter row threshold division and process to extract
The edge of water surface image 2-1;
B: call matlab built-in function bwarea, to calculate the area pixel value of the water surface image 2-1 after edge extracting.
The concrete grammar of water quality detection is shown in the water quality monitoring step in embodiment 1.
The concrete grammar that water level calculates
Enter row threshold division using the water surface image 2-1 that camera head described in matlab function pair shoots to process, its step
As follows:
I=imread (' image.jpg ');% opens pending picture
imshow(i);% shows this picture
Inew=im2bw (i, x/255);% carries out image binaryzation according to threshold value x, divides target and background
figure;imshow(inew);% shows the result after binaryzation
Obtain the area of water surface image 2-1 by above-mentioned steps, for example, this 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, background is white.
Here with water surface image 2-1 as white, as a example background is black, in order to calculate the area of white portion, adjustable
With matlab built-in function bwarea.The number of the bwarea function not non-zero pixel of simple computation, it also gives not to different pixels
Same authority, to compensate by representing, with discrete data, the error that consecutive image is brought.Diagonal 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 function returns is 50, and 50 points of length is diagonal
What line area returned is 62.5.
The step carrying out areal calculation 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, i.e. each area pixel value (i.e. pixel) of record water surface image 2-1 and camera head distance
The corresponding relation list of the respective heights of the water surface compares, as shown in table 2:
For example, if number is 54116, i.e. 54116 elemental areas.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 this distances of elemental area and 19cm produce mapping relations.
Described camera head is not linear apart from the height of the water surface, but a curve being 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 this water level measurement method is also
Inconstant, the suitable precision of guarantee when measurement range is less, therefore it is applied to the little waters of SEA LEVEL VARIATION (as flowed
The little lake of property, the cistern of limited height).
The present invention can also carry out edge extracting using canny detective operators for gray component, to obtain water surface image
Each area pixel value of 2-1, concrete steps referring to patent of invention, application number 200910232679.6, entitled " regarded based on image
The water level measurement system felt and method ".
Periodical " computer and modernization " 06 phase in 2006, paper " the gray level image side based on cnn of Huang Lei, Liu Wenbo
In the research of template parameter in edge extraction algorithm ", gray-scale edges are extracted and be also described in detail, the present invention similarly can adopt
This algorithm.
Periodical " Nanjing Aero-Space University " 2006, the paper of Huang Lei " is carried based on the image border of cell neural network
Take algorithm research " in describing method that edge extracting is carried out to image using neutral net, the method is applied equally to
The present invention.
Obtain camera head from table 2 after the height of the water surface 2, the setting height(from bottom) of described camera head deduct described in take the photograph
As device apart from the water surface 2 height to obtain 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, can also be made it on the basis of the above description
The change of its multi-form or variation.There is no need to be exhaustive to all of embodiment.And these belong to this
Obvious change that bright spirit is extended out or change among still in protection scope of the present invention.
Claims (1)
1. a kind of method of work of water regime monitoring system is it is characterised in that water regime monitoring system includes:
Longitudinally disposed measurement pipe, the lower port of measurement pipe enters upstream face when using, and the upper port of measurement pipe is provided with shooting
Device, this camera head is suitable to shoot the water surface image in described measurement pipe;
Video acquisition module, is connected with described camera head, is suitable to for the image gathering to be transformed to digital picture;
The image processing module being connected with described video acquisition module, this image processing module is stored with first sample data, institute
State first sample data to be suitable to record the gray value of various water quality;Described first sample data is by described water regime monitoring system pair
Known, different quality water is measured one by one and is obtained;
Described method of work, comprising: described image processing module is suitable to carry out gray proces to described digital picture, to obtain
The gray value of described water surface image, this gray value and first sample data are compared and are drawn water quality situation;
The inwall of described measurement pipe is provided with and is suitable to light-absorbing black coating, and the camera lens of described camera head is formed around shining
Bright device.
Being located at when using of described measurement pipe is distributed with multiple through holes on the tube wall below the water surface, on the body below the water surface
Sheathed sleeve;
Described sleeve pipe is suitable to drive this sleeve pipe to be connected along the displacement drive mechanism driving of described measurement pipe upper and lower displacement with one, this position
Move drive mechanism by the controller control being connected with described camera head;
In filming surface image, described displacement drive mechanism is controlled to drive sleeve pipe to shift up, so that described sleeve pipe covers institute
State each through hole in measurement pipe, to prevent extraneous light from entering described measurement pipe;In not filming surface image, control described set
Pipe is to bottom offset, and makes described sleeve pipe not cover each through hole in described measurement pipe, so that current are suitable to pass in and out described measurement pipe.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610951524.8A CN106353255A (en) | 2013-03-18 | 2013-03-18 | Water regime monitoring system based on optical imaging and working method thereof |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610951524.8A CN106353255A (en) | 2013-03-18 | 2013-03-18 | Water regime monitoring system based on optical imaging and working method thereof |
CN201310087503.2A CN103163075B (en) | 2013-03-18 | 2013-03-18 | A kind of water regime monitoring system |
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 |
---|---|
CN106353255A true CN106353255A (en) | 2017-01-25 |
Family
ID=48586341
Family Applications (10)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
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 |
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 |
CN201610935893.8A Pending CN106404785A (en) | 2013-03-18 | 2013-03-18 | Water regimen monitoring system for acquiring water quality condition through water surface images |
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 |
CN201610935891.9A Active CN106404784B (en) | 2013-03-18 | 2013-03-18 | Using the water regime monitoring system of photographic device monitoring water quality |
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 |
CN201310087503.2A Active CN103163075B (en) | 2013-03-18 | 2013-03-18 | A kind of water regime monitoring system |
CN201610951524.8A Pending CN106353255A (en) | 2013-03-18 | 2013-03-18 | Water regime monitoring system based on optical imaging and working method thereof |
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 |
Family Applications Before (7)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
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 |
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 |
CN201610935893.8A Pending CN106404785A (en) | 2013-03-18 | 2013-03-18 | Water regimen monitoring system for acquiring water quality condition through water surface images |
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 |
CN201610935891.9A Active CN106404784B (en) | 2013-03-18 | 2013-03-18 | Using the water regime monitoring system of photographic device monitoring water quality |
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 |
CN201310087503.2A Active CN103163075B (en) | 2013-03-18 | 2013-03-18 | A kind of water regime monitoring system |
Family Applications After (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
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 |
Country Status (1)
Country | Link |
---|---|
CN (10) | CN107036966A (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 |
---|---|---|---|---|
CN2577261Y (en) * | 2002-11-06 | 2003-10-01 | 张宪民 | Underground water-level measuring instrument |
WO2005045401A1 (en) * | 2003-11-06 | 2005-05-19 | Valtion Teknillinen Tutkimuskeskus | System for analysing image data and reading device |
CN202284965U (en) * | 2011-10-21 | 2012-06-27 | 常州工学院 | System for monitoring water level and water quality |
CN102721644A (en) * | 2012-06-21 | 2012-10-10 | 中国科学院对地观测与数字地球科学中心 | 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 |
Family Cites Families (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH03170029A (en) * | 1989-11-29 | 1991-07-23 | Mitsubishi Electric Corp | Water level measuring instrument |
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 |
JPWO2004076972A1 (en) * | 2003-02-27 | 2006-06-08 | 三菱電機株式会社 | Water level measurement system |
CN201141839Y (en) * | 2007-01-10 | 2008-10-29 | 宁波工程学院 | Device for detecting tiny bearing surface defect by computer vision technology |
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 |
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 |
CN202305417U (en) * | 2011-10-21 | 2012-07-04 | 常州工学院 | Gray-level-identification-based water quality detecting device |
CN203083921U (en) * | 2013-03-07 | 2013-07-24 | 淮阴师范学院 | Water quality monitoring system |
-
2013
- 2013-03-18 CN CN201610936823.4A patent/CN107036966A/en active Pending
- 2013-03-18 CN CN201610936853.5A patent/CN106323884A/en active Pending
- 2013-03-18 CN CN201610935893.8A patent/CN106404785A/en active Pending
- 2013-03-18 CN CN201610934787.8A patent/CN106546589A/en active Pending
- 2013-03-18 CN CN201610935891.9A patent/CN106404784B/en active Active
- 2013-03-18 CN CN201610976791.0A patent/CN106525735A/en active Pending
- 2013-03-18 CN CN201310087503.2A patent/CN103163075B/en active Active
- 2013-03-18 CN CN201610951524.8A patent/CN106353255A/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
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2577261Y (en) * | 2002-11-06 | 2003-10-01 | 张宪民 | Underground water-level measuring instrument |
WO2005045401A1 (en) * | 2003-11-06 | 2005-05-19 | Valtion Teknillinen Tutkimuskeskus | System for analysing image data and reading device |
CN202284965U (en) * | 2011-10-21 | 2012-06-27 | 常州工学院 | System for monitoring water level and water quality |
CN102721644A (en) * | 2012-06-21 | 2012-10-10 | 中国科学院对地观测与数字地球科学中心 | 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 |
Also Published As
Publication number | Publication date |
---|---|
CN106338474A (en) | 2017-01-18 |
CN103163075A (en) | 2013-06-19 |
CN106323884A (en) | 2017-01-11 |
CN106525735A (en) | 2017-03-22 |
CN107036966A (en) | 2017-08-11 |
CN106404784B (en) | 2019-03-05 |
CN106546589A (en) | 2017-03-29 |
CN106404785A (en) | 2017-02-15 |
CN103163075B (en) | 2016-10-19 |
CN106501183A (en) | 2017-03-15 |
CN106404784A (en) | 2017-02-15 |
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 | |
CN104101569B (en) | A kind of monitoring water environment system | |
KR100579424B1 (en) | System and method for measuring wave heigth by monitoring the image, and buoy used therein | |
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 | |
CN105737901A (en) | Method for monitoring water level and water quality based on visual image processing 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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170125 |