CN107462301A - Liquid level monitoring method - Google Patents
Liquid level monitoring method Download PDFInfo
- Publication number
- CN107462301A CN107462301A CN201710329130.3A CN201710329130A CN107462301A CN 107462301 A CN107462301 A CN 107462301A CN 201710329130 A CN201710329130 A CN 201710329130A CN 107462301 A CN107462301 A CN 107462301A
- Authority
- CN
- China
- Prior art keywords
- liquid level
- light
- data processing
- processing module
- wall
- 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
- 239000007788 liquid Substances 0.000 title claims abstract description 115
- 238000000034 method Methods 0.000 title claims abstract description 58
- 238000012544 monitoring process Methods 0.000 title claims abstract description 58
- 238000012545 processing Methods 0.000 claims abstract description 72
- 230000000877 morphologic effect Effects 0.000 claims description 11
- 238000003708 edge detection Methods 0.000 claims description 9
- 235000003140 Panax quinquefolius Nutrition 0.000 claims description 5
- 240000005373 Panax quinquefolius Species 0.000 claims description 5
- 238000011426 transformation method Methods 0.000 claims description 3
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 9
- 238000004364 calculation method Methods 0.000 description 6
- 239000013598 vector Substances 0.000 description 6
- 239000011159 matrix material Substances 0.000 description 5
- 238000005259 measurement Methods 0.000 description 5
- 230000004308 accommodation Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 238000003672 processing method Methods 0.000 description 4
- 230000009466 transformation Effects 0.000 description 4
- 238000013459 approach Methods 0.000 description 3
- 238000012937 correction Methods 0.000 description 3
- 239000003814 drug Substances 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 239000000126 substance Substances 0.000 description 3
- 238000004458 analytical method Methods 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 238000002347 injection Methods 0.000 description 2
- 239000007924 injection Substances 0.000 description 2
- 238000000691 measurement method Methods 0.000 description 2
- 239000002994 raw material Substances 0.000 description 2
- 230000002787 reinforcement Effects 0.000 description 2
- NAWXUBYGYWOOIX-SFHVURJKSA-N (2s)-2-[[4-[2-(2,4-diaminoquinazolin-6-yl)ethyl]benzoyl]amino]-4-methylidenepentanedioic acid Chemical compound C1=CC2=NC(N)=NC(N)=C2C=C1CCC1=CC=C(C(=O)N[C@@H](CC(=C)C(O)=O)C(O)=O)C=C1 NAWXUBYGYWOOIX-SFHVURJKSA-N 0.000 description 1
- 210000000988 bone and bone Anatomy 0.000 description 1
- 230000008878 coupling Effects 0.000 description 1
- 238000010168 coupling process Methods 0.000 description 1
- 238000005859 coupling reaction Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000002474 experimental method Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002265 prevention Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000005728 strengthening Methods 0.000 description 1
- 239000013589 supplement Substances 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Classifications
-
- 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
Landscapes
- Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- Thermal Sciences (AREA)
- Fluid Mechanics (AREA)
- General Physics & Mathematics (AREA)
- Measurement Of Levels Of Liquids Or Fluent Solid Materials (AREA)
Abstract
A liquid level monitoring method is applied to a liquid level monitoring system, and the liquid level monitoring system comprises a light-emitting module, a data acquisition module and a data processing module. The light emitting module projects a planar laser beam to a wall surface and the liquid level of the liquid, and a plurality of light line segments sharing an intersection point are formed at the junction of the wall surface and the liquid level. The data acquisition module shoots each light line segment to generate an original image. The data processing module strengthens and monitors the original image and obtains the image coordinates of the common intersection point of the light ray segments. And then, converting the image coordinate into an actual space coordinate, wherein the space coordinate is the liquid level position.
Description
Technical field
The present invention is particularly a kind of by a plane laser beam projects a to wall on a kind of liquid level monitoring method
And a liquid level, the wall form at least three light sections, and with image processing method of a common intersection point with the liquid level intersection
Method obtains the liquid level monitoring method of the locus of the common intersection point.
Background technology
TaiWan, China is in the predominating path of northwest Pacific area typhoon, belongs to high calamity source area, and pole
It is vulnerable to the influence of natural disaster.In view of this, urban place easily causes not arranging in the short time because of substantial amounts of rainwater
Except unnecessary rainfall or region are drained off floodwaters too late and waterflooding, the life and property safety of the serious threat common people.Accordingly, the liquid of river-level
Position monitoring and the primary goal that early warning is always disaster prevention;And in order to reach above-mentioned target, preferably supervised using a kind of liquid level
Survey method, to monitor the liquid level position.In addition, the liquid level monitoring method also can be widely used in other various fields, such as:
The association area such as chemistry or medical science.For example, in the experiment of chemical association area, for the amount of various liquid chemical raw materials
Survey, due to involving the configuration of various concentrations between various chemical raw materials, therefore, the measurement precision of its dosage is extremely important.
Meanwhile in medical science association area, monitored for the dosage of the medicament used in treatment sufferer, such as:During injection drop, its drop
Whether the medicament of bottle need to remind healthcare givers to supplement the medicament or stop injection drop already below critical value.
Above-mentioned liquid level monitoring method, can be a kind of existing liquid level measurement method, it is the surface by shooting a liquid
Image, to measure the liquid level position of the liquid, embodiment can be considered in light of actual conditions such as No. 201024687 " laser optics shadow of TaiWan, China
As water level measuring devices and methods therefor " patent application.The method of above-mentioned patent application, the light projected using two laser light sources
Two laser point lights are formed in a water surface.Then, shot and obtained including two lasers by an image capturing device
One water body image of luminous point, and transmit water body image to the image processing apparatus and analyzed.Point of the image processing apparatus
The utilization of analysis method corrects regression curve and calculates the distance between two laser point lights, obtains the height of water level of the water body whereby.
But two laser point lights need to produce by two laser light sources, and follow-up computing is performed, can just asked
Go out the height of water level of the water body.In view of this, in order to which the hsrdware requirements of more simplified above-mentioned liquid level measurement method, the present invention provide one
Kind liquid level monitoring method, it is only necessary to by a plane laser beam projects a to wall and a liquid level, the wall and the liquid level
Intersection forms at least three light sections of a common intersection point, and analyzes the position of the common intersection point with accurate measurement and obtain liquid level
Position.
The content of the invention
It is an object of the invention to provide a kind of liquid level monitoring method, is thrown a plane laser beam by a light emitting module
A wall and a liquid level are mapped to, the wall forms at least three light sections of a common intersection point with the liquid level intersection, and
The position of the common intersection point is analyzed with accurate measurement and obtains liquid level position.
A kind of liquid level monitoring method, applied to a liquid level monitoring system, the liquid in liquid device is contained for one with monitoring
Liquid level position, the liquid level monitoring system include a data processing module, and this method includes:One is read in the data processing module
Individual raw video;At least three light sections that a common intersection point is formed in the raw video are monitored with the data processing module;With
The data processing module calculates the image coordinate of the common intersection point;And the image coordinate is scaled one with the data processing module
Space coordinates, the space coordinates are the liquid level position of the liquid.
Wherein, the Sheng liquid device has a wall, and the wall is in contact with the liquid, makes the liquid level and the wall of the liquid
Face connects to forming an intersection, and the liquid level monitoring system comprises additionally in a light emitting module and a data acquisition module, the number
The light emitting module is coupled according to processing module and the data acquisition module, this method read in the raw video in the data processing module
Before, a plane laser beam is projected towards the intersection with the light emitting module, being formed with the wall in the neighbouring intersection with liquid level should
At least three light sections, and the common intersection point is located at the intersection, and towards this, at least three light sections are clapped with the data acquisition module
Take the photograph and produce the raw video.
Wherein, the plane laser beam forms a first light section and second light respectively in the wall and the liquid level
Line segment, the second light section form a 3rd light section in the wall, and the 3rd light section forms one the 4th in the liquid level
Light section, at least three articles of light sections include the first light section, the second light section, the 3rd light section and the 4th light for this
At least three light sections in section.
Wherein, the monitoring method of at least three light sections, edge detection and Morphological scale-space are performed to the raw video
To produce a two-value image, and line segment monitoring is performed to the two-value image.
Wherein, the Morphological scale-space performs filling up in morphology and skeletonizing to the raw video.
Wherein, this when at least three light sections include an at least curved segments, the data processing module is to the raw video
Perform straight line monitoring and curve monitoring.
Wherein, when the wall is a curved wall, at least three light sections include at least one curved segments for this, should
Data processing module performs straight line monitoring to the raw video and curve monitors.
Wherein, the method that the data processing module calculates the image coordinate of the common intersection point is least square method.
Wherein, the method that the image coordinate is scaled the space coordinates by the data processing module is direct linear transformation
Method.
Brief description of the drawings
The present invention is further detailed explanation with reference to the accompanying drawings and detailed description.
Fig. 1:The system architecture schematic diagram of liquid level monitoring embodiment of the method for the present invention;
Fig. 2:The hardware operation workflow figure of liquid level monitoring embodiment of the method for the present invention;
Fig. 3:The software operation workflow figure of liquid level monitoring embodiment of the method for the present invention;
Fig. 4:The light section monitoring schematic diagram of liquid level monitoring embodiment of the method for the present invention.
Description of reference numerals
The light emitting module of 1 data processing module 2
The database module of 3 data acquisition module 4
S1 pre handler S11 parameters edit step
S12 image read step S13 GTG processing steps
S2 characteristic strengthening programs
S21 edge detection step S22 morphological processing steps
S3 image analysis program S31 line segment monitoring steps
S32 concurrent calculation procedure S33 liquid level estimation steps
L liquid S liquid levels
W wall A raw videos
Plane the first light of the laser beam U sections of T
The light sections of Y the second light sections Z the 3rd
The light section G image gradient values of X the 4th
E image boundary value ω threshold values.
Embodiment
It is hereafter special according to the present invention's to enable above and other objects, features and advantages of the invention to become apparent
Preferred embodiment, and accompanying drawing appended by cooperation, are described in detail below:
" coupling " (Coupled Connection) described in full text of the present invention, refer to two electronic installations by wired or
Wireless technology mutually communicates, but is not limited, and persons of ordinary skill in the technical field of the present invention is appreciated that.
" pixel " (Pixels) described in full text of the present invention, refer to the least unit of an image composition, to represent the shadow
The resolution ratio (Resolution) of picture, such as:If the resolution ratio of the image is 1024 × 768, represents the image and share 1024
× 768 pixels, persons of ordinary skill in the technical field of the present invention are appreciated that.
" color range " (Color Level) described in full text of the present invention, refer to the pixel and show the dense of color component or brightness
Light degree, such as:The red (R) of chromatic image, green (G), the color range scope of blue (B) component are respectively 0~255;Or ash
The color range scope of the brightness (Luminance) of rank image can be 0~255, persons of ordinary skill in the technical field of the present invention
It is appreciated that.
Referring to shown in Fig. 1, it is the system architecture schematic diagram of liquid level monitoring embodiment of the method for the present invention, including:One
1, light emitting module 2 of data processing module and a data acquisition module 3.Wherein, the light emitting module 2 and the data acquisition mould
Block 3 couples the data processing module 1.The system can be applied to monitoring one contain liquid device (such as:One water channel or an appearance
Device) in liquid L liquid level S location.Wherein, the Sheng liquid device includes two side walls, a bottom wall and an accommodation space, should
Accommodation space is formed by two side walls and the bottom wall, and the accommodation space is containing liquid L.In detail, this two
It can be plane wall or curved wall that one of side wall, which has a wall W towards the accommodation space, wall W, and
Wall W has relative top and bottom.In addition, in the case of filling liquid L in the Sheng liquid device, liquid L is with being somebody's turn to do
Wall W is in contact, and liquid level S connects to forming an intersection with wall W.In addition, the data processing module 1 can preferably couple
One database module 4, such as:The databases such as MySql, Oracle, the database module 4 can be used to store the data acquisition mould
Raw video A captured by block 3, an image can be also received by the data processing module 1 as raw video A, and conduct
Successive image Treatment Analysis uses.
Refer to shown in Fig. 2, it is the hardware operation workflow figure of liquid level monitoring embodiment of the method for the present invention.Wherein, the hair
Optical module 2 projects a plane laser beam T towards the intersection, the plane laser beam T preferably cover by the light emitting module 2 and
The scope that the online direction of wall W bottom is formed to the online direction of the light emitting module 2 and wall W top.And
And the plane laser beam T is not parallel with the intersection.Whereby, in the case of liquid L being filled in the Sheng liquid device, the plane
Shape laser beam T can form at least three light sections, and at least three light Duan Yu in the wall W and liquid level S of the neighbouring intersection
The friendship forms a common intersection point online.In the present embodiment, the plane laser beam T forms one respectively in wall W and liquid level S
Individual first light section U and a second light section Y, the second light section Y form a 3rd light section Z in wall W, and this
Three light section Z form a 4th light section X in liquid level S, at least three articles of light sections include the first light section U, this
At least three articles of light sections in two light section Y, the 3rd light section Z and the 4th light section X.In addition, wall W is with a channel
The wall of side wall is embodiment as follow-up explanation.Meanwhile the light emitting module 2 can be a laser fog lamp (Laser Emitter
With Prism Lens), a Laser pen can also be used and project a stripe-shaped beam on a prism, form the plane whereby
Shape laser beam T.However, the container of this monitoring method of the embodiment and application of the light emitting module 2 is not limited in the form of above-mentioned.
Referring again to shown in Fig. 2, the data acquisition module 3 (such as:Monitoring video camera, network camera or infrared ray are taken the photograph
Shadow machine etc.) can couple the data processing module 1 (such as:Main frame, file server or cloud server etc.) as system
System performs framework.In the present embodiment, the data acquisition module 3 be may be disposed at by the light emitting module 2, and shooting is obtained including being somebody's turn to do
The raw video A (Original Image) of at least three light sections, such as:Single (Single) or continuous (Continued)
Image etc., raw video A can be colored or grey-tone image.The data processing module 1 can receive from the data acquisition module 3 should
Raw video A, and the software operation workflow disclosed in liquid level monitoring embodiment of the method for the present invention is performed according to this, to measure liquid level
Position, but be not limited.In detail, above-mentioned liquid level position is liquid L height of water level.In addition, raw video A
Subsequently illustrated using chromatic image as embodiment, but be not limited, the rest may be inferred, can be applied to black and white or continuous shadow
The liquid level position of picture measures, and it is appreciated that to hold herein and not repeated for persons of ordinary skill in the technical field of the present invention.
Refer to shown in Fig. 3, it is the software operation workflow figure of liquid level monitoring embodiment of the method for the present invention, it may include one
Pre handler S1, a characteristic strengthening program S2 and an image analysis program S3, narration is as after respectively.
Pre handler S1 may include that a parameter edits step S11, an image read step S12 and an ash
Rank processing step S13.Wherein, the parameter edits step S11 can be set at least four outside controls by the data processing module 1
Point, in the hope of the external parameter of the data acquisition module 3.The data processing module 1 is joined with the outside of the data acquisition module 3
Number, a plane correction version and a updating formula calculate, and obtain the inner parameter of the data acquisition module 3.In the present embodiment
In, the data acquisition module 3 is a video camera.And the inner parameter of the video camera can be used to correct the radiometric distortion of its camera lens
(Radial Distortion), it is that persons of ordinary skill in the technical field of the present invention is appreciated that and does not add to go to live in the household of one's in-laws on getting married herein
State.Wherein, the updating formula can consider that " Holland et al. (1997) is provided a kind of solving the correction of image distortion in light of actual conditions
Method ".In addition, the calculation of the inner parameter of the data acquisition module 3 is ordinary skill in the technical field of the invention
Personnel are appreciated that to hold herein and not repeated.
Image read step S12 can read in the raw video by the data processing module 1 from the data acquisition module 3
A, but be not limited.Wherein, raw video A may include the figure of wall W, liquid L and at least three light sections
Picture.
GTG processing step S13 can carry out GTG processing by the data processing module 1 to raw video A, and its is main
Principle is the color range of the red according to each pixels of raw video A, green and blue component, by raw video A tone
Averagely it is transformed into the brightness that color range scope is 0~255.
But the parameter edits the alternative execution of step S11 and GTG processing step S13, such as:The data acquisition
When the internal and external parameter of module 3 is not required to be edited, you can omit the parameter and edit step S11;Meanwhile raw video A
The color range scope of pixel is 0~255, you can omits GTG processing step S13, it is common in the technical field of the invention
Technical staff, which is appreciated that, not to be added to limit herein.
This feature reinforcement schedule S2 main purpose is to strengthen the feature of the light section included by raw video A, can be wrapped
Include an an edge detection step S21 and morphological processing step S22.Wherein, edge detection step S21 can be by the data
Processing module 1 monitors raw video A edge feature, and the monitoring method can be a kind of gradient operator edge search method, example
Such as:Kenny's rim detection (Canny Edge Detection) or Sobel edge detection (Sobel Edge Detection)
Deng.In the present embodiment, it is that embodiment illustrates as follow-up to use Kenny's rim detection, but is not limited, and it is main former
Reason is to calculate image gradient (Gradient) value G of each pixel in raw video A, and is calculated respectively according to image gradient value G
The image boundary value E of the pixel.In detail, can be at image after raw video A is by performing edge detection step S21
Two-value image in reason, but be not limited.Wherein, image boundary value E is 1 or 0, represents a pixel respectively as one
Border or not a border.Shown in the image gradient value G and image boundary value E calculation formula such as following formula (1)~(3):
Wherein, the grey decision-making when pixel that f (x, y) is raw video A is (x, y), and 0≤x < M and 0≤y < N;Gx
Represent the Grad of raw video A horizontal direction;GyRepresent the Grad of raw video A vertical direction;ω is one
Threshold value.If the image gradient value G of original pixels A pixel (x, y) is more than threshold value ω, then the pixel (x, y) is set
Image boundary value E (x, y) is 1;If the image gradient value G of original pixels A pixel (x, y) is not more than threshold value ω, then
The image boundary value E (x, y) for setting the pixel (x, y) is 0.In the present embodiment, the data processing module 1 is transported by the gradient
Operator edge search method monitors raw video A edge feature, using obtain its boundary value in raw video A as 1 wall,
Liquid level and at least three light sections.
Morphological processing step S22 can fill up (Fill) and bone by the data processing module 1 to raw video A uses
The morphological images processing method of frame (Skeletonizing), make to produce at least three light sections in raw video A
Feature.Can be the two-value image in image procossing after raw video A is by performing morphological processing step S22, but not
As limit.For example, after the data processing module 1 uses the morphological images processing method filled up to raw video A,
Can be solid by the edge feature of at least three light sections included by raw video A.When at least three light sections all
For straight line when, at least three light sections are all mxn quadrangle, wherein, m represents the pixel value of the quadrangle width, and m≤
1;N represents the pixel value of the quadrangle length, and n≤1;When at least three light sections include a curve for this, then the curve
The pixel value of width be m, and m≤1., can but the width of at least three light sections or the pixel value of length be when being more than 1
The erroneous judgement of successive image processing step can be caused, therefore, the data processing module 1 uses skeletonizing to raw video A again
Morphological images processing method, the pixel value of the width of at least three light sections or one of length is converted into 1 pixel.
Whereby, the accuracy and image processing efficiency of successive image processing step are improved.
Also referring to shown in Fig. 4, image analysis program S3 may include a line segment monitoring step S31, a concurrent
A calculation procedure S32 and liquid level estimation steps S33.Wherein, line segment monitoring step S31 can be supervised by the data processing module 1
Survey at least three light sections included by raw video A.In the present embodiment, when wall W is the plane wall, adopt
With Hough transformation approach (Hough Transform) can consider in light of actual conditions " Hough (1962) " monitor included by raw video A at least three
Bar light section, its cardinal principle are that the x of each point of each line segment and y-coordinate in raw video A are converted into ρ (rho) and θ
(theta) polar coordinates.Shown in the conversion formula such as following formula (4)~(5):
According to the Hough transformation approach, same direction line segment has and met on ρ and θ polar diagrams in raw video A
The characteristic of same point, therefore, can be taken off the point of maximum intersection amount, and choose ρ and θ close to the line segment of optimum value be the light that is monitored
Line segment.
But when wall W is the curved wall, at least three light sections may include at least one curve line for this
Section, therefore, straight line monitoring can be performed to raw video A by the data processing module 1 and curve monitors.
Concurrent calculation procedure S32 can be tried to achieve the line segment equation of at least three light sections by the data processing module 1.
In the present embodiment, it can appoint to take in raw video A by the data processing module 1 and form the minimum of at least three light sections
Quantity required pixel coordinate point (such as:2 pixel coordinate points are at least needed to produce a straight line equation or at least need
3 pixel coordinate points are wanted to produce a fitting equation), to produce the line segment equation of at least three light sections.This
Outside, can be by the data processing module 1 by least three light Duan Yixiang when at least three light sections are all straight-line segment for this
Measure representation and represent respective line segment equation.Then, can be produced by the data processing module 1 according to above-mentioned line segment equation
One matrix equation, and simultaneous method or least square method (Generalized Least are passed through with the data processing module 1
Squares) matrix equation is calculated, in the hope of the image coordinate of the common intersection point of at least three light sections.In this implementation
In example, the data processing module 1 uses the least square method to the line segment equation computing, but is not limited, and this is most
The computing mode of small square law is that those of ordinary skill is appreciated that and does not add to go to live in the household of one's in-laws on getting married herein in correlative technology field belonging to the present invention
State.
For example, when the wall is the plane wall, the data processing module 1 can supervise in raw video A
Measure two straight-line segments L1, L2.Wherein, the image coordinate of straight-line segment L1 any two points be respectively (248,216),
(276,538);The image coordinate of straight-line segment L2 any two points is respectively (260,387), (523,825).Straight-line segment
Vector expression such as following formula (6) shown in:
ai+tni,-∝ < t < ∝ (6)
Wherein, aiFor the matrix representations of the pixel coordinate of i-th straight-line segment, niFor the unit vector of i-th straight-line segment,
Then two respective unit vectors of straight-line segment L1, L2 are respectively [0.0866 0.9962]TAnd [0.5148 0.8573]T.With
Afterwards, the data processing module 1 is calculated with the least square method, and the image for obtaining the common intersection point of two the straight-line segments L1, L2 is sat
Shown in mark, the wherein calculation of the least square method such as following formula (7)~(9):
P=R-1q (7)
Wherein, p is the coordinate of the common intersection point, and j (j=1,2 ..., J) is j-th strip straight-line segment, and I is unit matrix, nj
For the unit vector of j-th strip straight-line segment,For the transfer matrix of the unit vector of j-th strip straight-line segment, ajFor j-th strip straight line
The vector expression of line segment.And the image coordinate for trying to achieve the common intersection point is (263,392).
The image coordinate can be converted to the wall and the liquid level by liquid level estimation steps S33 by the data processing module 1
The space coordinates of intersection, so as to estimate liquid level position.In the present embodiment, the conversion of the space coordinates can preferably use straight
Wiring transformation approach (Direct Linear Transformation), shown in its formula such as following formula (10):
Wherein, (u, v) is the image coordinate of the common intersection point, and (X, Y, Z) is that the space of the wall and the liquid level intersection is sat
Mark, Li(i=1,2 ..., 11) is the external parameter of the data acquisition module 3.Because the data acquisition module 3 shoots the channel
The wall W of side wall is as embodiment, thus, it is supposed that the data acquisition module 3 and the distance of the channel make the data acquisition module 3
Without the influence caused by the consideration depth of field.So the Y-axis of the space coordinates can be set by the data processing module 1 as zero, with drop
The time spent needed for low liquid level estimation steps S33 computings, there is the effect of lifting " image processing efficiency ".Therefore this is direct
The formula of linear transformation method can be modified as shown in following formula (11):
Wherein, (u, v) is the common intersection point image coordinate, and (X, Y, Z) is the space coordinates of the wall and the liquid level intersection,
Li(i=1,3,4,5,7,8,9,11) it is the external parameter of the data acquisition module 3.
In summary, liquid level monitoring method of the invention in image pre handler S1 to the data processing module
The 1 outside control point of setting this four, in the hope of the external parameter of the data acquisition module 3.The data processing module 1 is with outside this
Parameter, the plane correction plate and the updating formula produce the inner parameter of the data acquisition module 3.Then, the data processing mould
Block 1 reads in raw video A from the data acquisition module 3, and by performing this feature reinforcement schedule S2 to raw video A
Carry out image procossing.Furthermore the data processing module 1 performs image analysis program S3 and monitored included by raw video A
The feature of at least three light sections, and the image coordinate of the common intersection point of at least three light sections is calculated, to estimate the wall
With the space coordinates of the liquid level intersection, and the liquid level position is obtained.Accordingly, liquid level monitoring method for measurement of the invention, it is reachable
Into the purpose of accurate measurement liquid level position.
Claims (9)
- A kind of 1. liquid level monitoring method, it is characterised in that applied to a liquid level monitoring system, contained with monitoring in liquid device for one Liquid liquid level position, the liquid level monitoring system includes a data processing module, and this method includes:One raw video is read in the data processing module;At least three light sections that a common intersection point is formed in the raw video are monitored with the data processing module;The image coordinate of the common intersection point is calculated with the data processing module;AndThe image coordinate is scaled by a space coordinates with the data processing module, the space coordinates is the liquid level of the liquid Position.
- 2. liquid level monitoring method as claimed in claim 1, it is characterised in that the Sheng liquid device has a wall, the wall It is in contact with the liquid, the liquid level of the liquid connects to forming an intersection with the wall, and the liquid level monitoring system comprises additionally in one Individual light emitting module and a data acquisition module, the data processing module couple the light emitting module and the data acquisition module, should Method projects a plane laser before the data processing module reads in the raw video, with the light emitting module towards the intersection Beam, to form at least three light sections in the wall of the neighbouring intersection and liquid level, and the common intersection point is to be located at the intersection, and with The data acquisition module shoots towards at least three light sections and produces the raw video.
- 3. liquid level monitoring method as claimed in claim 2, it is characterised in that the plane laser beam is in the wall and the liquid level A first light section and a second light section are formed respectively, and the second light section forms the 3rd light in the wall Section, the 3rd light section form a 4th light section in the liquid level, and at least three light sections include the first light section, are somebody's turn to do for this At least three articles of light sections in second light section, the 3rd light section and the 4th light section.
- 4. liquid level monitoring method as claimed in claim 2, it is characterised in that when the wall is a curved wall, this is extremely Few three light sections include at least one curved segments, and the data processing module performs straight line monitoring and curve to the raw video Monitoring.
- 5. liquid level monitoring method as claimed in claim 1, it is characterised in that at least three light sections include at least one song for this During line line segment, the data processing module performs straight line monitoring to the raw video and curve monitors.
- 6. liquid level monitoring method as claimed in claim 1, it is characterised in that the monitoring method of at least three light sections is right The raw video performs edge detection and Morphological scale-space to produce a two-value image, and line segment prison is performed to the two-value image Survey.
- 7. liquid level monitoring method as claimed in claim 6, it is characterised in that the Morphological scale-space performs shape to the raw video Filling up in state and skeletonizing.
- 8. liquid level monitoring method as claimed in claim 1, it is characterised in that the data processing module calculates the shadow of the common intersection point It is least square method as sitting calibration method.
- 9. liquid level monitoring method as claimed in claim 1, it is characterised in that the data processing module converts the image coordinate Method for the space coordinates is direct linear transformation method.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW105117870A TWI590196B (en) | 2016-06-06 | 2016-06-06 | Method for detecting of liquid |
TW105117870 | 2016-06-06 |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107462301A true CN107462301A (en) | 2017-12-12 |
Family
ID=60048205
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710329130.3A Pending CN107462301A (en) | 2016-06-06 | 2017-05-11 | Liquid level monitoring method |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107462301A (en) |
TW (1) | TWI590196B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111750956A (en) * | 2020-07-07 | 2020-10-09 | 中铁十一局集团有限公司 | System and method for measuring liquid level of mortar tank of shield machine |
KR20220097743A (en) * | 2020-12-31 | 2022-07-08 | 동국대학교 산학협력단 | System of detecting defective gas-lighters using computer vision library |
CN117455922A (en) * | 2023-12-26 | 2024-01-26 | 墨卓生物科技(浙江)有限公司 | Automatic counting analysis method based on liquid drop moving image |
US12018971B2 (en) | 2018-12-03 | 2024-06-25 | Bio-Rad Laboratories, Inc. | Liquid level determination |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000230850A (en) * | 1999-02-09 | 2000-08-22 | Shinkawa Denki Kk | Surface level measuring apparatus for molten metals, etc. |
CN101219604A (en) * | 2006-12-26 | 2008-07-16 | 精工爱普生株式会社 | Liquid detecting device, liquid container, and liquid refilling method |
TW201024687A (en) * | 2008-12-18 | 2010-07-01 | Ind Tech Res Inst | Measuring device for water level by laser optical imaging technology and method for the same |
CN101988845A (en) * | 2010-07-30 | 2011-03-23 | 西安理工大学 | Device and method for detecting fused silica liquid level by laser curved mirror reflection |
TW201418671A (en) * | 2012-11-01 | 2014-05-16 | Univ Ishou | Method of water level measurement |
CN104215302A (en) * | 2014-10-06 | 2014-12-17 | 上海工程技术大学 | Method allowing real-time accurate monitoring of fuel capacity of fuel tank |
CN104296829A (en) * | 2014-09-30 | 2015-01-21 | 四川泛华航空仪表电器有限公司 | Body axis system based oil level measuring method |
CN104457911A (en) * | 2014-12-26 | 2015-03-25 | 上海神开石油化工装备股份有限公司 | Liquid level detecting system and method |
CN107449485A (en) * | 2016-05-26 | 2017-12-08 | 财团法人成大水利海洋研究发展文教基金会 | Liquid level image identification method |
-
2016
- 2016-06-06 TW TW105117870A patent/TWI590196B/en active
-
2017
- 2017-05-11 CN CN201710329130.3A patent/CN107462301A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000230850A (en) * | 1999-02-09 | 2000-08-22 | Shinkawa Denki Kk | Surface level measuring apparatus for molten metals, etc. |
CN101219604A (en) * | 2006-12-26 | 2008-07-16 | 精工爱普生株式会社 | Liquid detecting device, liquid container, and liquid refilling method |
TW201024687A (en) * | 2008-12-18 | 2010-07-01 | Ind Tech Res Inst | Measuring device for water level by laser optical imaging technology and method for the same |
CN101988845A (en) * | 2010-07-30 | 2011-03-23 | 西安理工大学 | Device and method for detecting fused silica liquid level by laser curved mirror reflection |
TW201418671A (en) * | 2012-11-01 | 2014-05-16 | Univ Ishou | Method of water level measurement |
CN104296829A (en) * | 2014-09-30 | 2015-01-21 | 四川泛华航空仪表电器有限公司 | Body axis system based oil level measuring method |
CN104215302A (en) * | 2014-10-06 | 2014-12-17 | 上海工程技术大学 | Method allowing real-time accurate monitoring of fuel capacity of fuel tank |
CN104457911A (en) * | 2014-12-26 | 2015-03-25 | 上海神开石油化工装备股份有限公司 | Liquid level detecting system and method |
CN107449485A (en) * | 2016-05-26 | 2017-12-08 | 财团法人成大水利海洋研究发展文教基金会 | Liquid level image identification method |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US12018971B2 (en) | 2018-12-03 | 2024-06-25 | Bio-Rad Laboratories, Inc. | Liquid level determination |
CN111750956A (en) * | 2020-07-07 | 2020-10-09 | 中铁十一局集团有限公司 | System and method for measuring liquid level of mortar tank of shield machine |
KR20220097743A (en) * | 2020-12-31 | 2022-07-08 | 동국대학교 산학협력단 | System of detecting defective gas-lighters using computer vision library |
KR102523809B1 (en) | 2020-12-31 | 2023-04-20 | 동국대학교 산학협력단 | System of detecting defective gas-lighters using computer vision library |
CN117455922A (en) * | 2023-12-26 | 2024-01-26 | 墨卓生物科技(浙江)有限公司 | Automatic counting analysis method based on liquid drop moving image |
CN117455922B (en) * | 2023-12-26 | 2024-04-05 | 墨卓生物科技(浙江)有限公司 | Automatic counting analysis method based on liquid drop moving image |
Also Published As
Publication number | Publication date |
---|---|
TWI590196B (en) | 2017-07-01 |
TW201743286A (en) | 2017-12-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107462301A (en) | Liquid level monitoring method | |
US20180376116A1 (en) | Method and system for projector calibration | |
CN105430376B (en) | A kind of detection method and device of panorama camera uniformity | |
CN107945268A (en) | A kind of high-precision three-dimensional method for reconstructing and system based on binary area-structure light | |
US20150085141A1 (en) | Method And Apparatus For Calibrating Multi-Spectral Sampling System | |
CN106576159A (en) | Photographing device and method for acquiring depth information | |
US20180364033A1 (en) | Three-dimensional measurement device with color camera | |
CN103389042A (en) | Ground automatic detecting and scene height calculating method based on depth image | |
CN105469427B (en) | One kind is for method for tracking target in video | |
RU2604168C2 (en) | System for machine vision, which enables to determine depth non-uniformity of image objects | |
JP2015021862A (en) | Three-dimensional measurement instrument and three-dimensional measurement method | |
CN104766310B (en) | light source detection system and detection method | |
CN102075736A (en) | Camera calibration method for high-definition intelligent internet protocol (IP) camera | |
CN105513074B (en) | A kind of scaling method of shuttlecock robot camera and vehicle body to world coordinate system | |
TWI413925B (en) | Optical touch system, apparatus and method for calculating the position of an object | |
CN107360418A (en) | A kind of panorama camera colour consistency evaluation system and method | |
CN110111394A (en) | Based on manipulator feature to the method and device of video camera automatic Calibration | |
KR20130133596A (en) | Method and apparatus for measuring slope of poles | |
CN114820924A (en) | Method and system for analyzing museum visit based on BIM and video monitoring | |
TWI521410B (en) | Apparatus and method for acquiring object image of a pointer | |
Falie et al. | Distance errors correction for the time of flight (ToF) cameras | |
CN106546196B (en) | A kind of optical axis real-time calibration method and system | |
KR20150055686A (en) | Plume Opacity Measurement Method and Medium recorded Plume Opacity Measurement Program using Optical sensing | |
CN104034729A (en) | Five-dimensional imaging system for circuit board separation and imaging method thereof | |
CN109115120A (en) | A kind of snow depth measurement method, apparatus and system |
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 | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20171212 |
|
WD01 | Invention patent application deemed withdrawn after publication |