CN106768155A - The method that water level is measured using image procossing - Google Patents

The method that water level is measured using image procossing Download PDF

Info

Publication number
CN106768155A
CN106768155A CN201611196614.7A CN201611196614A CN106768155A CN 106768155 A CN106768155 A CN 106768155A CN 201611196614 A CN201611196614 A CN 201611196614A CN 106768155 A CN106768155 A CN 106768155A
Authority
CN
China
Prior art keywords
water gauge
height
water
camera
gauge
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.)
Withdrawn
Application number
CN201611196614.7A
Other languages
Chinese (zh)
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.)
BEIJING SINFOTEK TECHNOLOGY Co Ltd
Original Assignee
BEIJING SINFOTEK TECHNOLOGY 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 BEIJING SINFOTEK TECHNOLOGY Co Ltd filed Critical BEIJING SINFOTEK TECHNOLOGY Co Ltd
Priority to CN201611196614.7A priority Critical patent/CN106768155A/en
Publication of CN106768155A publication Critical patent/CN106768155A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01FMEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
    • G01F23/00Indicating or measuring liquid level or level of fluent solid material, e.g. indicating in terms of volume or indicating by means of an alarm

Landscapes

  • Physics & Mathematics (AREA)
  • Fluid Mechanics (AREA)
  • General Physics & Mathematics (AREA)
  • Measurement Of Levels Of Liquids Or Fluent Solid Materials (AREA)

Abstract

The present invention is included using the method that image procossing measures water level:Water gauge image is extracted in the water gauge photo captured by camera, inclined water gauge is rotated, make water gauge in vertical position in the images, then rectangle is connect in the minimum of interception water gauge in the picture, obtain correction chart picture, in correction chart picture, the gray value of a row grid in rectangle is connect in the minimum of read water gauge, the gray value of each grid is compared with the gray value of adjacent mesh, draw one group of data, this group of maximum value of data is found out with two adjacent grids corresponding to the absolute value, a straight line perpendicular to water gauge is marked between the adjacent grid of above-mentioned two, that is waterline;Height h of the water gauge in correction chart picture is measured, waterline is located at the height h of correction image base1, according to formula l1=( l*h1)/h, calculates the height l of actual water level1, wherein l is the actual height of known water gauge, and the inventive method possesses good trackability.

Description

The method that water level is measured using image procossing
Technical field
The present invention relates to a kind of method that use image procossing measures water level, particularly target water gauge is utilized for one kind Level measuring is carried out with reference to the method for image procossing, so as to obtain the processing method of real time water level.
Background technology
It is general in level measuring that the trackability in Ultrasonic data source is poor by the way of ultrasonic measurement, and mesh It is preceding to need to review historical data in level measuring, therefore the mode of introducing image procossing carries out level measuring, in reality While existing level measuring, possesses good trackability.
The content of the invention
Present invention purpose is to provide a kind of method that water level is measured using image procossing, is there is measurement water gauge In the case of carry out real time water level measuring method, the method can vertically lay a water gauge in water, over there dispose one Camera, the image of water gauge is shot by camera, and waterline is measured by image recognition, and water level is gone out with reference to the high computational of water gauge Actual height.
In order to complete present invention purpose, the application uses following technical scheme:
The method that water level is measured using image procossing of the invention, the method is comprised the following steps:
1)Placement has the water gauge of one fixed width vertically in riverbed, by one camera of camera bar fixed placement on riverbank, Camera fields of view scope is set to cover the whole height of water gauge, camera alignment water gauge shoot and obtains water gauge photo;
Wherein:
2)Water gauge image is extracted in the water gauge photo captured by camera, inclined water gauge is rotated, make water gauge in the figure It is in vertical position as in, rectangle then is connect in the minimum of interception water gauge in the picture, correction chart picture is obtained, in correction chart picture In, the gray value of a row grid in rectangle is connect in the minimum of read water gauge, by the gray value of each grid and the ash of adjacent mesh Angle value is compared, and draws one group of data, finds out this group of maximum value of data and two corresponding to the absolute value adjacent Grid, a straight line perpendicular to water gauge, i.e. waterline are marked between the adjacent grid of above-mentioned two;
3)Height h of the water gauge in correction chart picture is measured, waterline is located at the height h of correction image base1, according to formula l1=( l*h1)/h, calculates the height l of actual water level1, wherein l is the actual height of known water gauge.
Level measuring is carried out invention introduces the mode of image procossing, while level measuring is realized, possesses good Good trackability.
Brief description of the drawings
Fig. 1 is the schematic diagram of water gauge and the camera installation site in riverbed and riverbank;
Fig. 2 is the water gauge photo captured by camera, and the figure is the true figure captured by camera;
Fig. 3 is the schematic diagram of the water gauge image intercepted from Fig. 2;
Fig. 4 is the schematic diagram that Fig. 3 process post-equalization image.
In Fig. 1 to Fig. 4, label 1 is water gauge;Label 2 is camera;Label 3 is camera bar;Label 4 is riverbank;Label 5 It is riverbed;Label 6 is waterline.
Specific embodiment
A kind of method that water level is measured using image procossing of the present invention, the method is comprised the following steps:
1)Shown in Fig. 1, placement has the water gauge 1 of one fixed width vertically in riverbed 5, is fixed by camera bar 3 on riverbank 4 A camera 2 is placed, the field range of camera 2 is covered the whole height of water gauge 1, the alignment water gauge 1 of camera 2 shoot obtaining water Chi photo(That is Fig. 2);
2)In the water gauge photo captured by camera 2(That is Fig. 2)The middle extraction image of water gauge 1(As shown in Figure 3), to inclined water gauge 1 Rotated, make water gauge 1 in vertical position in the images, then connect rectangle in the minimum of interception water gauge 1 in the picture, obtained To correction chart picture as shown in Figure 4, in correction chart picture, the gray value of a row grid in rectangle is connect in the minimum of read water gauge 1, The gray value of each grid is compared with the gray value of adjacent mesh, one group of data is drawn, this group of maximum of data is found out Absolute value and two adjacent grids corresponding to the absolute value, marked between the adjacent grid of above-mentioned two one perpendicular to The straight line of water gauge 1, i.e. waterline 6;
3)Water gauge 1 is measured in correction chart picture(That is Fig. 4)In height h, waterline 6 be located at correction image base height h1, According to formula l1=( l*h1)/h, calculates the height l of actual water level1, wherein l is the actual height of known water gauge 1.
Above description is explanation of the invention, is not the restriction to inventing, and limited range of the present invention is referring to right It is required that, in the case of without prejudice to spirit of the invention, the present invention can make any type of modification.

Claims (1)

1. a kind of method that use image procossing measures water level, the method is comprised the following steps:
In riverbed(5)In vertically placement with one fixed width water gauge(1), on riverbank(4)On by camera bar(3)Fixed placement One camera(2), make camera(2)Field range covers water gauge(1)Whole height, camera(2)Alignment water gauge(1)Shot Obtain water gauge photo;
It is characterized in that:
In camera(2)Water gauge is extracted in captured water gauge photo(1)Image, to inclined water gauge(1)Rotated, made water gauge (1)It is in vertical position in the images, water gauge is then intercepted in the picture(1)Minimum in connect rectangle, obtain correction chart picture, In correction chart picture, read water gauge(1)Minimum in connect the gray value of a row grid in rectangle, by the gray value of each grid and The gray value of adjacent mesh is compared, and draws one group of data, finds out this group of maximum value of data and the absolute value is right The two adjacent grids answered, mark one perpendicular to water gauge between the adjacent grid of above-mentioned two(1)Straight line, i.e. water level Line(6);
Measure water gauge(1)Height h in correction chart picture, waterline(6)Positioned at the height h of correction image base1, according to public affairs Formula l1=( l*h1)/h, calculates the height l of actual water level1, wherein l is known water gauge(1)Actual height.
CN201611196614.7A 2016-12-22 2016-12-22 The method that water level is measured using image procossing Withdrawn CN106768155A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611196614.7A CN106768155A (en) 2016-12-22 2016-12-22 The method that water level is measured using image procossing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611196614.7A CN106768155A (en) 2016-12-22 2016-12-22 The method that water level is measured using image procossing

Publications (1)

Publication Number Publication Date
CN106768155A true CN106768155A (en) 2017-05-31

Family

ID=58899541

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611196614.7A Withdrawn CN106768155A (en) 2016-12-22 2016-12-22 The method that water level is measured using image procossing

Country Status (1)

Country Link
CN (1) CN106768155A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107588823A (en) * 2017-09-18 2018-01-16 河海大学 Water gauge water level measurement method based on dual-waveband imaging
CN108423136A (en) * 2018-02-27 2018-08-21 力鸿智信(北京)科技有限公司 A kind of ship pay load determines method and device
CN110686750A (en) * 2018-07-05 2020-01-14 杭州海康威视数字技术股份有限公司 Water level detection method, device and system
CN111652089A (en) * 2020-05-18 2020-09-11 纪义胜 Water level automatic identification method and system based on image processing

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060099496A (en) * 2006-08-25 2006-09-19 한국유지관리 주식회사 The realtime remote measuring and monitoring system of a water level using the image recognition processing method
CN101263369A (en) * 2005-09-16 2008-09-10 韩国建设技术研究院 System and method for measuring liquid level by image
CN201600164U (en) * 2009-12-29 2010-10-06 新疆信通水利电子有限公司 Video water-level gauge
CN101886942A (en) * 2010-06-23 2010-11-17 江苏大学 Water gauge marking method and water level detection method
CN102288254A (en) * 2010-07-13 2011-12-21 联宇工程技术(武汉)有限公司 water level measuring method based on digital image processing
CN102494733A (en) * 2011-12-12 2012-06-13 西安电子科技大学 Water level monitoring system based on image processing and method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101263369A (en) * 2005-09-16 2008-09-10 韩国建设技术研究院 System and method for measuring liquid level by image
KR20060099496A (en) * 2006-08-25 2006-09-19 한국유지관리 주식회사 The realtime remote measuring and monitoring system of a water level using the image recognition processing method
CN201600164U (en) * 2009-12-29 2010-10-06 新疆信通水利电子有限公司 Video water-level gauge
CN101886942A (en) * 2010-06-23 2010-11-17 江苏大学 Water gauge marking method and water level detection method
CN101886942B (en) * 2010-06-23 2012-02-22 江苏大学 Water gauge marking method and water level detection method
CN102288254A (en) * 2010-07-13 2011-12-21 联宇工程技术(武汉)有限公司 water level measuring method based on digital image processing
CN102494733A (en) * 2011-12-12 2012-06-13 西安电子科技大学 Water level monitoring system based on image processing and method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107588823A (en) * 2017-09-18 2018-01-16 河海大学 Water gauge water level measurement method based on dual-waveband imaging
CN108423136A (en) * 2018-02-27 2018-08-21 力鸿智信(北京)科技有限公司 A kind of ship pay load determines method and device
CN108423136B (en) * 2018-02-27 2019-11-05 力鸿智信(北京)科技有限公司 A kind of ship pay load determines method and device
CN110686750A (en) * 2018-07-05 2020-01-14 杭州海康威视数字技术股份有限公司 Water level detection method, device and system
CN111652089A (en) * 2020-05-18 2020-09-11 纪义胜 Water level automatic identification method and system based on image processing
CN111652089B (en) * 2020-05-18 2023-09-19 纪义胜 Automatic water level identification method and system based on image processing

Similar Documents

Publication Publication Date Title
CN106768155A (en) The method that water level is measured using image procossing
CN103053154B (en) The auto-focusing of stereoscopic camera
CN109997170A (en) For obtaining the device and method of range information from view
CN110146030A (en) Side slope surface DEFORMATION MONITORING SYSTEM and method based on gridiron pattern notation
Zou et al. A method of stereo vision matching based on OpenCV
US8494307B2 (en) Method and apparatus for determining misalignment
CN109483531A (en) It is a kind of to pinpoint the NI Vision Builder for Automated Inspection and method for picking and placing FPC plate for manipulator
CN104574419B (en) Lens distortion parameter calibration method and system
CN106023193B (en) A kind of array camera observation procedure detected for body structure surface in turbid media
CN106657789A (en) Thread panoramic image synthesis method
RU2009125556A (en) SYSTEM AND METHOD OF INTERACTIVE DATA INPUT
CN102072724B (en) Locating method of central precise grid of vacuum laser facula
CN104236480A (en) Line-structured light machine vision hexagonal billet steel profile measuring device and method
CN106596063A (en) Method for measuring lens distortion and system thereof
CN111047633B (en) Monocular distance measuring device
CN108637469A (en) One kind patrolling edge system and its image processing method for being cut by laser vision
CN104376588A (en) Method for generating high-resolution orthogonal image through integrated imaging technology
CN113112543A (en) Large-view-field two-dimensional real-time positioning system and method based on visual moving target
CN105115443B (en) The full visual angle high precision three-dimensional measurement method of level of view-based access control model e measurement technology
CN114088063B (en) Pier local scour terrain measurement method based on mobile terminal
CN112179292B (en) Projector-based line structured light vision sensor calibration method
JP6583565B2 (en) Counting system and counting method
TW201715882A (en) Device and method for depth estimation
TW201234235A (en) Method and system for calculating calibration information for an optical touch apparatus
CN106980601A (en) The high-precision method for solving of basis matrix based on three mesh epipolar-line constraints

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication

Application publication date: 20170531

WW01 Invention patent application withdrawn after publication