CN104749117B - Using the water environment monitoring device of image vision treatment technology - Google Patents

Using the water environment monitoring device of image vision treatment technology Download PDF

Info

Publication number
CN104749117B
CN104749117B CN201510101043.3A CN201510101043A CN104749117B CN 104749117 B CN104749117 B CN 104749117B CN 201510101043 A CN201510101043 A CN 201510101043A CN 104749117 B CN104749117 B CN 104749117B
Authority
CN
China
Prior art keywords
water surface
measurement pipe
water
video camera
image
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.)
Active
Application number
CN201510101043.3A
Other languages
Chinese (zh)
Other versions
CN104749117A (en
Inventor
盖星
刘初阳
杨西明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shandong Chuangdian Intelligent Technology Co ltd
Original Assignee
YANTAI DAYOU INFINITY DATA SYSTEM Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by YANTAI DAYOU INFINITY DATA SYSTEM Co Ltd filed Critical YANTAI DAYOU INFINITY DATA SYSTEM Co Ltd
Priority to CN201510101043.3A priority Critical patent/CN104749117B/en
Publication of CN104749117A publication Critical patent/CN104749117A/en
Application granted granted Critical
Publication of CN104749117B publication Critical patent/CN104749117B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention relates to a kind of water environment monitoring device of employing image vision treatment technology, including:Measurement pipe, its lower port are adapted to enter into the water surface, and a video camera is set directly over upper port, and the video camera is suitable to shoot the water surface image in the measurement pipe;Digital image acquisition units, are connected with the video camera and are suitable to for collection image to be transformed to digital picture;The computer being connected with the digital image acquisition units, the Computer Storage have first sample data, and the first sample data are suitable to the gray value for recording various water quality;The computer is suitable to carry out gray proces to the digital picture, and to obtain the gray value of the water surface image, the gray value is compared with first sample data and draws water quality situation.The measurement pipe is conical pipe, and the less one end that is open is in top, to reduce the ratio of whole image shared by the inwall of measurement pipe in the image that video camera is obtained, to improve the reliability of gray proces.The computer is PC or panel computer.

Description

Using the water environment monitoring device of image vision treatment technology
Technical field
The present invention relates to a kind of electronic surveying field, more particularly to a kind of image vision treatment technology realizes water level and water quality Monitoring device.
Background technology
Existing Level monitor can only individually sensed water level or water quality, i.e., cannot implement water level, water quality while prison Survey.
The content of the invention
The technical problem to be solved in the present invention is to provide a kind of water environment monitoring device for being adapted for water quality measurement, the water Environment monitoring device carries out water quality monitoring using gray scale detection principle, i.e., carry out gray proces to the water surface image of shooting and be somebody's turn to do The gray value of water surface image is obtaining water quality situation.
The invention provides a kind of water environment monitoring device, including:The measurement pipe being distributed during use up and down, in its lower port It is provided with lighting device and enters upstream face when in use, at the upper port of measurement pipe, set a video camera, the video camera is suitable to shoot institute State the water surface image in measurement pipe;Digital image acquisition units, are connected with the video camera, are suitable to convert the image for gathering For digital picture;The computer being connected with the digital image acquisition units, the Computer Storage have first sample data, described First sample data are suitable to the gray value for recording various water quality;The first sample data are by the water environment monitoring device pair The water of known, different quality is measured one by one and is obtained;The computer is suitable to carry out at gray scale the digital picture Reason, to obtain the gray value of the water surface image, the gray value is compared with first sample data and draws water quality situation.
The computer is PC.
As one kind preferably, the measurement pipe is conical pipe, and the less one end that is open is in top, is obtained with reducing video camera The ratio of whole image shared by the inwall of measurement pipe in the image for obtaining, to improve the reliability of gray proces.
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 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 Smooth logical, so that the water quality in the measurement pipe is consistent with actual water quality, the measurement pipe is on the tube wall of underwater side Multiple through holes, and the bottom end closure of the measurement pipe are distributed with, to prevent veiling glare from entering in measurement pipe;On the body below the water surface It is arranged a sleeve pipe that through hole is distributed with;Described sleeve pipe is suitable to drive the sleeve pipe to pass around the rotating mechanism that the measurement pipe is rotated with one Dynamic connection, the controller control that the rotating mechanism is connected with the video camera by one, in not filming surface image, control is described Rotating mechanism drives sleeve rotating so that the through hole on through hole and sleeve pipe in the measurement pipe is relative respectively, so that current are suitable to Pass in and out the measurement pipe;In filming surface image, control the rotating mechanism and sleeve rotating is driven so that in the measurement pipe Through hole and sleeve pipe on through hole offset one from another, with prevent extraneous light enter the measurement pipe.
Further, in order to realize the level measuring to the water environment monitoring device, the measurement pipe is fixedly installed;Shooting Machine adopts focusing wide angle camera lens, or tight shot.
The computer is also stored with the second sample data, and second sample data is suitable to record the water in the measurement pipe The pixel value of face picture and video camera corresponding table or calculating formula apart from water surface elevation;The computer is further adapted for calculating currently The pixel value of the water surface image in the measurement pipe for shooting, and current camera distance is drawn by second sample data Then the setting height(from bottom) of the video camera is deducted height of the video camera apart from the water surface, that is, obtains water level by the height of the water surface Value.
Used as further preferred embodiment, the video camera is fixed in the measurement pipe, and makes the measurement pipe Upper port is closed, to avoid extraneous light from entering the measurement pipe from upper port.
In order that video camera is when shooting, it is more prone to distinguish the edge of water surface image, also includes in the measurement pipe white Float in the pipe of color, in the pipe, float is the column structure of the center through hole with vertical setting, and the image mechanism is suitable to clap The water surface image taken the photograph in the center through hole, and float is suitable to fluctuate in the measurement pipe with the water surface in the pipe.
Further, in order to realize the level measuring to the water environment monitoring device, the periphery of the measurement pipe is provided with suitable In the float for making the measurement pipe bubble through the water column;The water environment monitoring device also includes:Flexible scale, one end of the flexible scale The bottom is fixed on, 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 institute State in measurement pipe;Directive wheel, on the inwall of the measurement pipe, the neighbouring directive wheel on the inwall of the measurement pipe Upper and lower 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 Pass through in the gap of the inwall of upper and lower guide post and measurement pipe and be fitted on the inner side wheel face of the directive wheel, the guiding The top of wheel is above the water surface.Using flexible scale, be suitable to make measurement pipe vertically bubble through the water column on float, the portion such as directive wheel Part, allows the water environment monitoring device to swim on the water surface, and the video camera obtains the top of the neighbouring directive wheel The reading of flexible scale, Jing after image recognition, error correction, obtains actual water level value.The method of the error correction is:Will be logical The reading of the flexible scale of image recognition acquisition is crossed, is subtracted each other with default corrected value, that is, is obtained actual water level value.It is described pre- If corrected value by test obtain.
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 It is to carry out respective handling using the water surface image of video camera shooting to obtain to obtain the gray value and area pixel value of water surface image To corresponding water quality and water level conditions.
The method of work of above-mentioned water environment monitoring device, comprises the steps:
(1)Measurement pipe is fixed with the water surface, its lower port is adapted to enter into the water surface, at upper port, sets a video camera, the shooting Machine shoots the water surface image in the measurement pipe;
(2)The water surface image is converted to digital picture by digital image acquisition units;
(3)Be stored with the computer being connected with the digital image acquisition units first, second sample data, and described One sample data is suitable to the gray value for recording various water quality, and second sample data is suitable to record the water surface in the measurement pipe The pixel value of image and video camera corresponding table or calculating formula apart from water surface elevation;
(4)The computer carries out gray proces to the digital picture, to obtain the gray value of the water surface image, should Gray value is compared with first sample data, draws water quality situation;
(5)The computer calculates the pixel value of the water surface image in the measurement pipe of current shooting, and passes through institute State the second sample data and draw height of the current camera apart from the water surface, then the setting height(from bottom) of the video camera is deducted described Height of the video camera 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)Including:
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)The present invention passes through water surface image to obtain water quality Corresponding situation, device are simple, carry out easily water quality measurement in the case of being easy to carry out water quality test in the wild or unconditionally Or anticipation, without the need for tedious steps;(2)The water surface image shot in the measurement pipe of closing is difficult to receive the impact of ambient, Measurement is more accurate;(3)The present invention obtain water quality information while, obtain image in water surface image size, and according to The distance between the water surface image size that obtains and video camera relation is measured in advance, to obtain water level, and then realizes water level, water Quality supervision is surveyed, easy to use.
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 environment monitoring device of Fig. 1 present invention;
The rotating mechanism of Fig. 2 present invention, controller, the connection diagram of video camera;
A kind of embodiment of the rotating mechanism of Fig. 3 present invention;
The another embodiment of the rotating mechanism of Fig. 4 present invention;
The structure top view of each gag lever post in the another embodiment of the rotating mechanism of Fig. 5 present invention;
The structural representation for water level detection part of the water level detecting system of Fig. 6 present invention.
Specific embodiment
Embodiment one
Such as Fig. 1, a kind of water environment monitoring device, including:Measurement pipe 1, its lower port are provided with lighting device and are using When the lower port be suitable to it is overall enter upstream face 2, a video camera is set at upper port, the video camera is suitable to shoot in the measurement pipe 1 Water surface image 2-1;Digital image acquisition units, are connected with the video camera and are suitable to for collection image to be transformed to digital picture; The computer being connected with the digital image acquisition units, the Computer Storage have first sample data, the first sample number According to being suitable to record the gray value of various water quality;The first sample data are to known, no by the water environment monitoring device Measured with the water of water quality one by one and obtained;The computer is suitable to carry out gray proces to the digital picture, to obtain The gray value of the 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., Computer Storage has 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)More hour, it is believed that 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, show that 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 video camera is tightly connected with upper port, the survey The inwall of buret 1 is provided with and is suitable to light-absorbing black coating.
See Fig. 3, in order to further avoid impact of the light to shooting under water, to improve the bright of the water surface image 2-1 of shooting Degree, the accuracy of colourity, the measurement pipe 1 are being distributed with multiple through holes, and the measurement pipe 1 on the tube wall below the water surface 2 Bottom end closure;A sleeve pipe 8-1 that through hole is distributed with is arranged on the body below the water surface 2;Described sleeve pipe 8-1 and one is suitable to drive Dynamic sleeve pipe 8-1 is connected around the rotating mechanism that the measurement pipe 1 is rotated, and the rotating mechanism is connected with the video camera by one Controller control, in not filming surface image 2-1, control the rotating mechanism and drive sleeve pipe 8-1 to rotate so that the survey The through hole on through hole and sleeve pipe 8-1 on buret 1 coincide and is suitable for current circulation;In filming surface image 2-1, control is described Rotating mechanism drives sleeve pipe 8-1 rotation so that the through hole on through hole and sleeve pipe 8-1 in the measurement pipe 1 offsets one from another, in case Only extraneous light enters the measurement pipe 1.
The specific embodiment that the rotating mechanism control sleeve pipe is rotated around the measurement pipe 1:
See Fig. 3, between the bottom lower surface of the measurement pipe 1 and the bottom upper surface of sleeve pipe 8-1, form annular seal space 8-2, Annular seal space 8-2 is provided with a stepper motor 8-3 to play waterproof action in annular seal space 8-2, can by stepper motor 8-3 To arrange rotational angle, the through hole on through hole and sleeve pipe 8-1 in the measurement 1 is made to coincide or offset one from another(In through hole figure It is not drawn into), the support of stepper motor 8-3 is fixed on the bottom lower surface of the measurement pipe 1, and center and the institute of the support The center for stating bottom lower surface is corresponding, i.e., coaxially, rotating shaft one end and described sleeve pipe 8-1 of the stepper motor 8-3 Bottom upper surface is connected to drive sleeve pipe 8-1 to rotate around the measurement pipe 1, and stepper motor 8-3 is by controller control.
Rotating shaft one end of stepper motor 8-3 can also be fixed on the bottom lower surface of the measurement pipe 1, support is coaxially solid Due to the bottom upper surface of described sleeve pipe 8-1, when stepper motor 8-3 is rotated, as rotating shaft is fixed, will not rotate, then machine Seat will rotate, i.e., support drives sleeve pipe 8-1 to rotate around the measurement pipe 1.
See Fig. 4, can be to install motor 8-4 in the annular seal space 8-2, the support of motor 8-4 is fixed on described The bottom lower surface of measurement pipe 1, and the center of the bottom lower surface is corresponding with the center of the support, i.e., coaxially, Rotating shaft 8-5 one end of the motor 8-4 is connected with the bottom upper surface of described sleeve pipe 8-1, as motor 8-4 is in rotation When be difficult the angle that controls to rotate, so a spacing cross bar 8-6 is provided with the rotating shaft 8-5 of the motor 8-4, in institute The bottom upper surface for stating sleeve pipe 8-1 is provided with two pairs of gag lever posts, and the spacing cross bar 8-6 is embedded in two pairs of gag lever posts(I.e. First, the second gag lever post is a pair, and the three, the 4th gag lever posts are a pair)Between, when the motor 8-4 is rotated, drive the set Pipe 8-1 is rotated around the measurement pipe 1, and two pairs of gag lever posts define the anglec of rotation of motor 8-4.
See Fig. 5, specific work process, if the spacing cross bar 8-6 two ends are in the second gag lever post 8-7b, the 3rd gag lever post When at 8-7c, the through hole on through hole and sleeve pipe 8-1 in the measurement pipe 1 coincide, and the spacing cross bar 8-6 two ends are in first When at gag lever post 8-7a, the 4th gag lever post 8-7d, the through hole on through hole and sleeve pipe 8-1 in the measurement pipe 1 offsets one from another, with Prevent light from entering measurement pipe 1.
When video camera prepares to shoot, motor 8-4 control rotating shaft 8-5 drive spacing cross bar 8-6 to rotate to first spacing When at bar 8-7a and the 4th gag lever post 8-7d, motor 8-4 quits work, at this moment the through hole and sleeve pipe 8-1 in the measurement pipe 1 On through hole offset one from another, with prevent extraneous light enter the measurement pipe 1, video camera is shot, and shooting is finished, motor 8-4 is inverted, and when the spacing cross bar 8-6 is rotated to the second gag lever post 8-7b and the 3rd gag lever post 8-7c, makes the measurement pipe 1 On through hole and sleeve pipe 8-1 on through hole coincide, make current circulate.
Certainly in this scheme, gag lever post can also be substituted using stopper slot, and the width of rebate of the stopper slot is more than described Spacing cross bar 8-6.
Embodiment two
On the basis of embodiment one, the technical scheme for carrying out the measurement of water level is as follows:
The measurement pipe 1 is fixedly installed, and the video camera is fixedly installed in the upper port of the measurement pipe 1;The calculating Machine is also stored with the second sample data, and second sample data is suitable to each area pixel value and the shooting for recording water surface image 2-1 Respective heights of the machine apart from the water surface, i.e., the corresponding relation between each area pixel value and the spacing of video camera and the water surface 2;The meter Calculation machine is further adapted for the area pixel value for calculating the water surface image 2-1, and the area pixel value is compared with the second sample data It is right, height of the video camera apart from the water surface 2 is drawn, the setting height(from bottom) of the video camera deducts height of the video camera apart from the water surface 2 Spend to obtain water level value.
The setting height(from bottom) of the video camera can know in advance and be pre-stored in the computer, it is also possible to by existing skill The instruments such as the scale in art are measured and are drawn.
Camera height measurement can also be achieved by the following scheme, the program includes:Flexible scale, is suitable to wind, draws The wrap-up of the tight flexible scale, the wrap-up are arranged with camera horizon, and the wrap-up is by a miniature stepping electricity Machine drives, and the motor is suitable to stop release scale when scale end thereof contacts are to the bottom(If current of electric instantaneously diminishes, judge The end thereof contacts of scale are to the bottom), while the number of turns of wrap-up rotation is driven by motor under a sensor record, and should Sensor is input into the corresponding number of turns to a control module, and the control module obtains the actual height of video camera by the corresponding number of turns.
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 video camera, the video of camera shooting, picture, equally it is such.So, video camera is fixed on 1 upper port of measurement pipe to hang down The straight water surface image 2-1 for being shot in measurement pipe 1 downwards.With the change up and down of water level, i.e. water level and the relative distance of video camera Change is there occurs, it is this to change the change that picture size shared by water surface image 2-1 is presented as in the water surface image 2-1 for being clapped Change.Therefore, by calculate image in water surface image 2-1 size, it can be determined that go out the water surface 2 it is relative with video camera away from From as camera position is fixed, thus water level can be conversed.
The invention and application number 200910232679.6, the entitled " water level measurement system and side based on image vision Method ".Scheme compare, with advantages below(1)Structure is simpler, 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 three
See Fig. 6, on the basis of embodiment one, carry out the measurement of water level, the technical scheme is as follows:
A video camera 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 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 the float 3, without the need for fix in addition.
The water environment monitoring device also includes:
Flexible scale 4, and one end is fixed on the bottom, and the other end and is suitable to wind, tense the wrap-up of the flexible scale 4 5 are connected, and 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 Bar 7-2 is passed through and is fitted on the inner side wheel face of the directive wheel 6, and the top of the directive wheel 6 is above the water surface.
The principle that the embodiment six carries out level measuring is using video camera in filming surface image 2-1, while shooting The flexible scale 4 that wheel 6 is propped up is directed to, the scale of flexible scale 4 is easy to be photographed after being propped up, and has just obtained actual water Position.
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.
Example IV
See Fig. 1, the method for work of the water environment monitoring device on the basis of embodiment two comprises the steps:
(1)The water surface 2 is fixedly arranged above measurement pipe 1, and its lower port is adapted to enter into the water surface 2, and a video camera is set at upper port, should Video camera shoots the water surface image 2-1 in the measurement pipe 1;
(2)The water surface image 2-1 is converted to digital picture by digital image acquisition units;
(3)The computer being connected with the digital image acquisition units, the Computer Storage have first, second sample number According to the first sample data are suitable to the gray value for recording various water quality, and second sample data is suitable to record water surface image Respective heights of each area pixel value and video camera of 2-1 apart from the water surface(That is, each area pixel value and video camera and the water surface 2 Corresponding relation between spacing);
(4)The computer carries out gray proces to the digital picture, to obtain the gray scale of the water surface image 2-1 Value, the gray value are compared with first sample data and draw water quality situation;
(5)The computer calculates the area pixel value of the water surface image 2-1, the area pixel value and the second sample Data are compared, and draw height of the video camera apart from the water surface 2, and the setting height(from bottom) of the video camera deducts the video camera distance The height of the water surface 2 is obtaining water level value.
The step(5)Including:
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 video camera described in MATLAB function pairs enters row threshold division process, and its step is such as Under:
I=imread(‘image.jpg’);% opens pending picture
imshow(I);% shows the 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
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 with storage in a computer The second sample data, that is, record water surface image 2-1 each area pixel value(That is pixel)With video camera apart from the right of the water surface The corresponding relation list of height is answered to compare, as shown in table 2:
Distance (cm) Pixel Distance (cm) Pixel Distance (cm) Pixel
18 59998 25 31759 32 20668
19 54116 26 28131 33 19627
20 49458 27 25657 34 18809
21 45541 28 24082 35 17774
22 41099 29 23204 36 16963
23 38848 30 22223 37 16188
24 34584 31 21549 42 14800
50 13966
For example, if Number is the elemental area of 54116, i.e., 54116.Then the water surface 2 and the spacing of video camera are 19cm, i.e., Video camera is 19cm apart from the height of the water surface 2, therefore 54116 elemental areas and 19cm this distances produces mapping relations.
The video camera is not linear apart from the height of the water surface, but a curve delayed by abrupt change, the i.e. water surface Nearer away from video camera, identical SEA LEVEL VARIATION, the change of water surface image are bigger.Thus the precision of the water level measurement method is also impermanent Fixed, suitable precision is just can guarantee that when measurement range is less, therefore suitable for the little waters of SEA LEVEL VARIATION(Such as mobility not Big lake, 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.
Video camera is obtained from table 2 after the height of the water surface 2, the setting height(from bottom) of the video camera deducts the video camera Height apart from the water surface 2 is obtaining water level value.

Claims (3)

1. a kind of water environment monitoring device, it is characterised in that include:
The measurement pipe being distributed during use up and down, its lower port is provided with lighting device and the lower port enters upstream face when in use, A video camera is set at the upper port of measurement pipe, the video camera is suitable to shoot the water surface image in the measurement pipe;
Digital image acquisition units, are suitable to for the image that the camera acquisition is obtained to be transformed to digital picture;
The computer being connected with the digital image acquisition units, the Computer Storage have first sample data, first sample Notebook data is suitable to the gray value for recording various water quality;The first sample data are to known by the water environment monitoring device , the water of different quality measured one by one and obtained;
The computer is suitable to carry out gray proces to the digital picture, to obtain the gray value of the water surface image, the ash Angle value is compared with first sample data, draws water quality situation;
Being located on the tube wall below the water surface when in use for the measurement pipe is distributed with multiple through holes, and the bottom envelope of the measurement pipe Close;A sleeve pipe that through hole is distributed with is arranged on the body below the water surface;
Described sleeve pipe with one be suitable to drive the sleeve pipe be connected around the rotating mechanism that the measurement pipe is rotated, the rotating mechanism by The one controller control being connected with the video camera, in not filming surface image, is controlled the rotating mechanism and drives sleeve pipe rotation Turn so that the through hole on through hole and sleeve pipe in the measurement pipe is relative respectively, so that current are suitable to pass in and out the measurement pipe; During filming surface image, control the rotating mechanism and sleeve rotating is driven so that logical on through hole and sleeve pipe in the measurement pipe Hole offsets one from another, to prevent extraneous light from entering the measurement pipe;
The video camera is fixed in the measurement pipe, and closes the upper port of the measurement pipe, to avoid extraneous light from upper Port enters the measurement pipe.
2. a kind of method of work of water environment monitoring device according to claim 1, it is characterised in that comprise the steps:
(1)Measurement pipe is fixed with the water surface, its lower port is adapted to enter into the water surface, at upper port, sets a video camera, the video camera is clapped The water surface image taken the photograph in the measurement pipe;
(2)The water surface image is converted to digital picture by digital image acquisition units;
(3)Be stored with the computer being connected with the digital image acquisition units first, second sample data, first sample Notebook data is suitable to the gray value for recording various water quality, and second sample data is suitable to record the water surface image in the measurement pipe Pixel value and video camera apart from water surface elevation corresponding table or calculating formula;
(4)The computer carries out gray proces to the digital picture, to obtain the gray value of the water surface image, the gray scale Value is compared with first sample data, draws water quality situation;
(5)The computer calculates the pixel value of the water surface image in the measurement pipe of current shooting, and by described the Two sample datas draw height of the current camera apart from the water surface, and the setting height(from bottom) of the video camera is deducted the shooting then Height of the machine apart from the water surface, that is, obtain water level value.
3. the method for work of water environment monitoring device according to claim 2, it is characterised in that:
The step(5)Including:
a:The digital picture Jing after gray proces adopts MATLAB functions to enter row threshold division and processes to extract water surface image Edge;
b:Calling MATLAB built-in function bwarea, to calculate the area pixel value of the water surface image after edge extracting.
CN201510101043.3A 2013-03-18 2013-03-18 Using the water environment monitoring device of image vision treatment technology Active CN104749117B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510101043.3A CN104749117B (en) 2013-03-18 2013-03-18 Using the water environment monitoring device of image vision treatment technology

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510101043.3A CN104749117B (en) 2013-03-18 2013-03-18 Using the water environment monitoring device of image vision treatment technology
CN201310087572.3A CN103175792B (en) 2013-03-18 2013-03-18 Water environment monitoring device based on machine vision

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201310087572.3A Division CN103175792B (en) 2013-03-18 2013-03-18 Water environment monitoring device based on machine vision

Publications (2)

Publication Number Publication Date
CN104749117A CN104749117A (en) 2015-07-01
CN104749117B true CN104749117B (en) 2017-03-29

Family

ID=48635798

Family Applications (8)

Application Number Title Priority Date Filing Date
CN201510101616.2A Expired - Fee Related CN104748792B (en) 2013-03-18 2013-03-18 The method of work of water environment monitoring device
CN201310087572.3A Active CN103175792B (en) 2013-03-18 2013-03-18 Water environment monitoring device based on machine vision
CN201510101043.3A Active CN104749117B (en) 2013-03-18 2013-03-18 Using the water environment monitoring device of image vision treatment technology
CN201510101235.4A Active CN104748791B (en) 2013-03-18 2013-03-18 Operating method of water environmental monitoring device adopting image vision processing technology
CN201510100880.4A Expired - Fee Related CN104748790B (en) 2013-03-18 2013-03-18 A kind of water environment monitoring device and its method of work
CN201510100688.5A Active CN104749116B (en) 2013-03-18 2013-03-18 A kind of water environment monitoring device based on machine vision
CN201510100916.9A Active CN104749111B (en) 2013-03-18 2013-03-18 It is capable of achieving water level, the water environment monitoring device of water quality monitoring
CN201510100687.0A Active CN104748789B (en) 2013-03-18 2013-03-18 Water environment monitoring device

Family Applications Before (2)

Application Number Title Priority Date Filing Date
CN201510101616.2A Expired - Fee Related CN104748792B (en) 2013-03-18 2013-03-18 The method of work of water environment monitoring device
CN201310087572.3A Active CN103175792B (en) 2013-03-18 2013-03-18 Water environment monitoring device based on machine vision

Family Applications After (5)

Application Number Title Priority Date Filing Date
CN201510101235.4A Active CN104748791B (en) 2013-03-18 2013-03-18 Operating method of water environmental monitoring device adopting image vision processing technology
CN201510100880.4A Expired - Fee Related CN104748790B (en) 2013-03-18 2013-03-18 A kind of water environment monitoring device and its method of work
CN201510100688.5A Active CN104749116B (en) 2013-03-18 2013-03-18 A kind of water environment monitoring device based on machine vision
CN201510100916.9A Active CN104749111B (en) 2013-03-18 2013-03-18 It is capable of achieving water level, the water environment monitoring device of water quality monitoring
CN201510100687.0A Active CN104748789B (en) 2013-03-18 2013-03-18 Water environment monitoring device

Country Status (1)

Country Link
CN (8) CN104748792B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104133480B (en) * 2014-04-17 2017-02-15 中国航空工业集团公司沈阳飞机设计研究所 Aerial oil receiving guide control method based on machine vision
CN107301454B (en) * 2016-04-15 2021-01-22 中科寒武纪科技股份有限公司 Artificial neural network reverse training device and method supporting discrete data representation
CN107703324B (en) * 2017-11-03 2023-12-01 山东电子职业技术学院 Multifunctional water quality monitoring device and monitoring method
CN108572008A (en) * 2018-04-21 2018-09-25 张冬梅 Tap lower reservoir electronics cleaning systems
CN110719414B (en) * 2018-07-11 2021-09-28 叶官兵 Riverbed sampling device
CN110937481B (en) * 2018-09-24 2024-03-15 奥的斯电梯公司 Water detection inside elevator pit
CN111198186B (en) * 2020-01-16 2021-08-31 中南大学 Turbidity detection method based on image recognition and optical transmission fusion
JP2023044875A (en) * 2021-09-21 2023-04-03 東芝デジタルソリューションズ株式会社 Water quality monitoring system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2577261Y (en) * 2002-11-06 2003-10-01 张宪民 Underground water-level measuring instrument

Family Cites Families (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60224374A (en) * 1984-04-23 1985-11-08 Nec Corp Pseudo gradation reading device
JPH08159947A (en) * 1994-12-02 1996-06-21 Nippon Syst House Kk Water quality control system by image analysis
JP2992804B2 (en) * 1995-03-09 1999-12-20 高田 孝昭 Automatic jellyfish monitoring system for water intake
WO2004038403A1 (en) * 2002-09-19 2004-05-06 Istek Inc. Water quality measuring apparatus and method using image
JP2005291830A (en) * 2004-03-31 2005-10-20 Shinko Engineering & Maintenance Co Ltd Image measurement apparatus and image measurement method for liquid level
CN1300010C (en) * 2004-09-20 2007-02-14 哈尔滨工业大学 Flocculation dispensing parting on line detection device for water treatment and detection method
KR100778014B1 (en) * 2005-09-16 2007-11-21 한국건설기술연구원 Apparatus and method for measuring liquid level by image
KR100722299B1 (en) * 2006-06-27 2007-05-28 김응수 Real time measurement and monitering system for activity of water flea using ccd camera
CN201141839Y (en) * 2007-01-10 2008-10-29 宁波工程学院 Device for detecting tiny bearing surface defect by computer vision technology
CN101718573B (en) * 2009-12-04 2011-06-29 河海大学常州校区 System and method for measuring water level based on image vision
CN101900688A (en) * 2010-08-19 2010-12-01 潘海朗 Water quality monitoring method based on motion features of aquatic organism in the image
CN202008382U (en) * 2011-01-12 2011-10-12 湖南大学 Liquid level detector based on machine vision
CN102147281B (en) * 2011-01-12 2012-10-03 湖南大学 Machine-vision based liquid level detection device and method
CN102289824B (en) * 2011-07-06 2013-04-24 湖南大学 Method for positioning plane centroid of pipe orifice image of condenser
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
CN202284965U (en) * 2011-10-21 2012-06-27 常州工学院 System for monitoring water level and water quality
CN102494733B (en) * 2011-12-12 2013-09-25 西安电子科技大学 Water level monitoring system based on image processing and method
CN203083921U (en) * 2013-03-07 2013-07-24 淮阴师范学院 Water quality monitoring system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2577261Y (en) * 2002-11-06 2003-10-01 张宪民 Underground water-level measuring instrument

Also Published As

Publication number Publication date
CN104749116A (en) 2015-07-01
CN104749111A (en) 2015-07-01
CN104749117A (en) 2015-07-01
CN104748789B (en) 2017-03-08
CN104749111B (en) 2017-05-31
CN104748790A (en) 2015-07-01
CN104748789A (en) 2015-07-01
CN104748791A (en) 2015-07-01
CN104749116B (en) 2017-06-09
CN103175792A (en) 2013-06-26
CN104748791B (en) 2017-01-25
CN104748790B (en) 2017-03-01
CN104748792B (en) 2017-03-08
CN104748792A (en) 2015-07-01
CN103175792B (en) 2015-04-29

Similar Documents

Publication Publication Date Title
CN104749117B (en) Using the water environment monitoring device of image vision treatment technology
CN103163075B (en) A kind of water regime monitoring system
CN105865582B (en) Using the working method of the monitoring water environment system of image vision processing technique
CN107421963A (en) A kind of nuclear fuel green compact crack detection device and crack detecting method
CN105675509B (en) Monitoring water environment system based on image vision treatment technology
CN105675508B (en) A kind of monitoring water environment system using image vision treatment technology
Zhen et al. Visual detection algorithm of water line based on feature fusion
CN105737901B (en) The method that water level and water quality monitoring are realized based on image vision treatment technology
CN105717050A (en) Working method of water environment monitoring system based on image visual processing technology
KR100847510B1 (en) Method for measuring liquid level by image-analysis and apparatus using it
CN105675510A (en) Water environment monitoring system capable of achieving water level and water quality monitoring on basis of image visual processing
CN115962806A (en) Open channel flow monitoring system and method based on cylindrical streaming principle
CN117514136A (en) Tube well measuring device and method based on electronic altimeter

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C41 Transfer of patent application or patent right or utility model
CB03 Change of inventor or designer information

Inventor after: Gai Xing

Inventor after: Liu Chuyang

Inventor after: Yang Ximing

Inventor before: Request for anonymity

COR Change of bibliographic data
TA01 Transfer of patent application right

Effective date of registration: 20170227

Address after: 264000 Shandong City, Yantai high tech Zone, Blue Ocean Road, building 1, No. 4

Applicant after: YANTAI INFINITY DATA SYSTEM CO.,LTD.

Address before: 213022 Jiangsu city of Changzhou province Taihu new North Road, Shimao champagne Lake 29-3 No.

Applicant before: Wu Hao

GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20191216

Address after: 264670 12F, block B, Blue Ocean International Software Park, high tech Zone, Yantai City, Shandong Province

Patentee after: Gai Xing

Address before: 264000 Shandong City, Yantai high tech Zone, Blue Ocean Road, building 1, No. 4

Patentee before: YANTAI INFINITY DATA SYSTEM CO.,LTD.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20200119

Address after: 264670 12F, block B, Blue Ocean International Software Park, high tech Zone, Yantai City, Shandong Province

Patentee after: Shandong Chuangdian Intelligent Technology Co.,Ltd.

Address before: 264670 12F, block B, Blue Ocean International Software Park, high tech Zone, Yantai City, Shandong Province

Patentee before: Gai Xing

PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Water environment monitoring device based on image visual processing technology

Effective date of registration: 20200730

Granted publication date: 20170329

Pledgee: Yantai Rural Commercial Bank Co.,Ltd.

Pledgor: Shandong Chuangdian Intelligent Technology Co.,Ltd.

Registration number: Y2020980004513

PE01 Entry into force of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Date of cancellation: 20210805

Granted publication date: 20170329

Pledgee: Yantai Rural Commercial Bank Co.,Ltd.

Pledgor: Shandong Chuangdian Intelligent Technology Co.,Ltd.

Registration number: Y2020980004513

PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Water environment monitoring device using image vision processing technology

Effective date of registration: 20210806

Granted publication date: 20170329

Pledgee: Yantai Rural Commercial Bank Co.,Ltd.

Pledgor: Shandong Chuangdian Intelligent Technology Co.,Ltd.

Registration number: Y2021370010065

PC01 Cancellation of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Date of cancellation: 20220802

Granted publication date: 20170329

Pledgee: Yantai Rural Commercial Bank Co.,Ltd.

Pledgor: Shandong Chuangdian Intelligent Technology Co.,Ltd.

Registration number: Y2021370010065

PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Water environment monitoring device using image visual processing technology

Effective date of registration: 20220804

Granted publication date: 20170329

Pledgee: Yantai Rural Commercial Bank Co.,Ltd.

Pledgor: Shandong Chuangdian Intelligent Technology Co.,Ltd.

Registration number: Y2022370010124

PC01 Cancellation of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Date of cancellation: 20230725

Granted publication date: 20170329

Pledgee: Yantai Rural Commercial Bank Co.,Ltd.

Pledgor: Shandong Chuangdian Intelligent Technology Co.,Ltd.

Registration number: Y2022370010124

PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Water environment monitoring device using image visual processing technology

Effective date of registration: 20230804

Granted publication date: 20170329

Pledgee: Yantai Rural Commercial Bank Co.,Ltd.

Pledgor: Shandong Chuangdian Intelligent Technology Co.,Ltd.

Registration number: Y2023980051126

PE01 Entry into force of the registration of the contract for pledge of patent right