CN109932324A - A kind of method and device based on image rgb value test soil body surface moisture content - Google Patents
A kind of method and device based on image rgb value test soil body surface moisture content Download PDFInfo
- Publication number
- CN109932324A CN109932324A CN201910226404.5A CN201910226404A CN109932324A CN 109932324 A CN109932324 A CN 109932324A CN 201910226404 A CN201910226404 A CN 201910226404A CN 109932324 A CN109932324 A CN 109932324A
- Authority
- CN
- China
- Prior art keywords
- soil body
- image
- soil
- moisture content
- soil sample
- 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.)
- Granted
Links
Abstract
The invention discloses a kind of method and devices based on image rgb value test soil body surface moisture content, and step is: 1. installation and fixed image capture instrument and standard sources;2. extracting sample from the soil body to be measured, preparation calibration soil sample;3. the surface image of acquisition calibration soil sample and the soil body to be measured, with oven drying method detection calibration Water Content Tests in Soil Samples;4. soil body surface image transmitting to computer is stored;5. carrying out RGB mean analysis to soil body surface image using color analysis program;6. soil body RGB mean value, in drop, steep drop three near line sexual stages of gentle liter is delayed, establishes piecewise linearity equation according to the RGB mean value of calibration soil sample and moisture content with moisture content increase;7. inputting the RGB mean value of the different moments soil body in equation, water cut value is calculated.Device includes the soil body, image capture instrument, standard sources, spherical pan head, foot prop etc..Easy to implement the method, precision is higher;Device is simple, easy to operate, and cost is relatively low, can reach the effect of real-time, continuous, quick measurement soil body surface moisture content.
Description
Technical field
The present invention relates to geotechnical engineering soil body physical parameter test method fields, and in particular to one kind is based on image rgb value
The method for testing soil body surface moisture content also relates to a kind of device based on image rgb value test soil body surface moisture content,
Clay suitable for soft modeling to hard plastic state.
Background technique
In the especially infrastructure construction of the civil engineering construction in China, most of engineerings are all closely related with the soil body.Soil
Body moisture content is the basic and crucial physical parameter for influencing its engineering properties, in geotechnical engineering construction, prospecting, detection and scientific research
It requires to be measured in equal work.
The test method of soil moisture content has very much, and common method has oven drying method, Neutron probe method, time domain reflectometry
(TDR) etc..Oven drying method test result precision highest, generally all within 0.5%, and equipment is simple, at low cost, but it is time-consuming compared with
It is long, real time sample is needed, batch operation is more inconvenient, is unable to follow-on test;The test of Neutron probe method is very quick, and precision is still
Can, but there are certain radiation risk, equipment cost is also higher;The full accuracy of TDR method test is suitable in 2-3% or so
Follow-on test, but operation is more complicated, and reliability is lower, and cost is also very high.In addition there are frequency domain bounce techniques (FDR), gamma-rays
The methods of method, remote sensing monitoring method, geological radar, although respectively there is feature to be difficult to meet the requirement of geotechnical engineering and apply less.
Aiming at the problem that existing water cut test method, road Harbin Institute of Technology Wu Zhi etc. has been invented a kind of " based on light
The upper soll layer measurement of water ratio method of strong compensation and gray value of image " (publication number CN104155298A), realizes contactless
Formula measurement, but the requirement of geotechnical engineering is obviously unable to satisfy to the measuring accuracy of moisture content;The invention such as Liu Honglei of Northeastern University
" the aqueous uniformity detection of rock sample is carried out based on digital picture and method that diffusion coefficient calculates " (patent No.
CN201710985575), the aqueous uniformity of rock sample can be detected, but be not related to quantitative.
In geotechnical engineering application and research, it is often necessary to it is intensive, continuous quick, undisturbed aqueous to carry out multiple spot to the soil body
Rate test, but currently used soil moisture content test method is not able to satisfy the demand.For this purpose, developing a kind of continuous unperturbed
Dynamic, accurate and reliable, simple and efficient soil moisture content test method and equipment, are an important current demands.
Summary of the invention
The purpose of the invention is to provide a kind of method based on image rgb value test soil body surface moisture content, sides
Method is easy, and precision is higher, to soil body undisturbed, can get soil body part moisture content and overall moisture content cloud atlas.
Another object of the present invention is to be the provision of a kind of dress based on image rgb value test soil body surface moisture content
It sets, structure is simple, and easy to operate, test speed is fast, and cost is relatively low, and it is aqueous to can reach real-time, continuous, quick measurement soil body surface
The effect of rate.
In order to achieve the above purpose, the present invention uses following technical measures:
A method of soil body surface moisture content is tested based on image rgb value, the steps include:
1. installation and fixed image capture instrument and standard sources, image capture instrument are digital camera or camera etc., image
The camera lens perpendicular alignmnet soil body surface to be measured of Acquisition Instrument, adjusts and keeps position and its work of image capture instrument and standard sources
Parameter constant, to obtain the digital picture that illumination is consistent, quality is stable;
2. extracting a small amount of sample from the soil body to be measured, it is prepared into relatively dry calibration soil sample a and wetter calibration soil sample
B is placed in soil body surface;
3. controlling or being manually operated by computer program, disposable Image Acquisition is carried out to calibration soil sample a, calibration soil sample b,
Then with the moisture content w of oven drying method detection calibration soil sample a, calibration soil sample baAnd wb;
4. carrying out digital image acquisition to soil body surface in subsequent any different moments;
5. soil body surface image transmitting to the computer of acquisition is stored;
6. handling using color analysis program the soil body surface image for acquiring and storing in computer, energy is obtained
The RGB mean μ of more preferable characterization colouring informationL;
7. the present inventor's studies have shown that the relation curve that the soil body color RGB mean value increases with moisture content can divide
Ease up for slow drop, steep drop and rise three phases, wherein the gentle liter equal useable linear equation model of section of drop section more accurately describes suddenly;It utilizes
The image RGB mean μ calibrated soil sample a, calibrate soil sample bLa、μLbAnd corresponding water cut test value waAnd wb, establish steep drop section or
The slow two point form linear equation for rising section;
8. by the RGB mean μ of the different moments soil body surface image obtained in test processLThe input step 7. line
Property equation, is calculated water cut value w corresponding to different moments:
Wherein, w is moisture content, μLFor the RGB mean value of different moments soil body surface image, μLa、μLbRespectively calibrate soil sample a
With the RGB mean value of calibration soil sample b surface image.
Described extracts a small amount of sample from the soil body to be measured, is prepared into relatively dry calibration soil sample a and wetter calibration
Soil sample b, is placed in soil body surface, comprising:
1. calibrating the moisture content w of soil sample a when the steep drop section measuring of moisture content of application soil body color RGB Mean curveaIt can
8~10% are taken as, the moisture content w of soil sample b is calibratedbIt can be taken as 12~14%;When the slow liter of application soil body color RGB Mean curve
When section measuring of moisture content, the moisture content w of soil sample a is calibratedaIt can be taken as 22~25%, calibrate the moisture content w of soil sample bbIt can be taken as 28~
33%.
2. calibration soil sample is manually suppressed using the 20mm high thin cutting ring of Φ 61.8, dry density and the soil body to be measured are close to i.e.
It can.
Described is handled the soil body surface image for acquiring and storing using color analysis program, and obtaining can be more preferable
Characterize the RGB mean μ of colouring informationL, comprising:
1. carrying out cutting processing to image, the topography of location of interest is saved as into analysis image file.
2. being analyzed using RGB color analysis self-compiling program image file.The face of program hypothesis soil sample surface image
Color RGB histogram density profile approximation Normal Distribution, obtains equation using Gauss Distribution Fitting:
In formula, f (x) is color RGB histogram density, and x is color rgb value, and μ and σ are respectively image RGB component normal state point
The mathematic expectaion and standard deviation of cloth function.
By the color table value indicative of the mathematic expectaion μ that program the calculates soil body image being used as, soil body surface is facilitated filtering out
Because of topography's shade caused by rough, characterization effect is more preferable.
3. by the mathematic expectaion μ of tri- color components of soil sample different moments R, G, B achieved aboveR、μG、μBIt is weighted
It is average, obtain the RGB mean μ of characterization soil body image color integrated informationL, it may be assumed that
μL=(μR+μG+μB)/3
Wherein, μLFor the RGB mean value of soil body image, μR、μG、μBThe respectively mathematics of R, G, B color component of soil body image
It is expected that.
Described the present inventor's studies have shown that relation curve that soil body color RGB mean value increases with moisture content can be divided into
Slow drop, steep drop ease up and rise three phases, wherein the gentle liter equal useable linear equation model of section of drop section more accurately describes suddenly;Utilize school
Quasi- soil sample a, the image RGB mean μ for calibrating soil sample bLa、μLbAnd corresponding water cut test value waAnd wb, establish steep drop section or slow
Rise the two point form linear equation of section, comprising:
1. being ordinate by abscissa, moisture content of RGB mean value, two are calibrated the RGB mean μ of soil sampleLa、μLbAnd it is right
The water cut test data w answereda、wbIt is plotted in scatter plot respectively;
2. finding out two point form linear equation according to 2 known data pointsOr it indicates are as follows:
Wherein, w is the moisture content of different moments soil body surface, wa、wbIt respectively calibrates soil sample a, calibrate the aqueous of soil sample b
Rate, μLa、μLbThe RGB mean value respectively calibrated soil sample a, calibrate soil sample b, μ are the RGB mean value of different moments soil body image.
The RGB be color mode, rgb color mode is a kind of color standard of industry, be by red (R),
The variation of green (G), blue (B) three Color Channels and their mutual superpositions are to obtain miscellaneous color, RGB
It is the color for representing three channels of red, green, blue, this standard almost includes all colours that human eyesight can perceive,
It is current with most wide one of color system.
Committed step has the 1. to walk, and passes through fixed camera and light source working parameter, obtains the number that illumination is consistent, quality is stable
Word image is the accurate key points and difficulties for obtaining relationship between color and moisture content, and is easy ignored key point;6.
Step obtains the better RGB mean value of characterization by Gauss curve fitting, is more accurately and effectively extracted the core of soil body image
Colouring information is the important foundation for guaranteeing water cut test precision;7. the walks, it is equal that the present inventor studies discovery soil body color RGB
Value is divided into slow drop with the relationship that moisture content increases, steep drop eases up and rises three phases, wherein the gentle liter section useable linear side of drop section suddenly
Journey model more accurately describes, thus establishes steep drop section or slow liter by the moisture content of two calibration soil samples and color RGB mean value
The linear equation of section, then by the RGB mean μ of different moments soil body surface imageLThe linear equation is inputted, can be calculated
The water cut value w of the moment soil body surface, above-mentioned piecewise linearity equation model are to describe mentioning for color rgb value and moisture content relationship
Best solution has been supplied, it is both simple and can guarantee precision, it is the core that the method for the present invention was achieved and obtained very good effect
Support.
A kind of device based on image rgb value test soil body surface moisture content, it is by the soil body, calibration soil sample, Image Acquisition
Instrument (containing camera lens), spherical pan head (containing regulation handle), standard sources, light source bracket, light source base, foot prop, data transmission and control
Line processed, computer composition, connection relationship is: foot prop being installed on earth's surface and is leveled, spherical pan head is connected with foot prop, for image
Acquisition Instrument provides stable workbench, it is ensured that the distance between camera lens and the soil body are constant, are to obtain high quality to stablize image
Basis;Spherical pan head is connected with image capture instrument, and the inclination angle of image capture instrument is freely adjusted by the handle in spherical pan head
(0-150 degree) makes the camera lens of image capture instrument and soil body surface to be measured form vertical relation, is conducive in image acquisition process
Angle it is constant;Standard sources is installed beside foot prop, to provide the light source of illumination stable and consistent, standard sources when camera lens work
It is connected with light source bracket, light source bracket is connected with light source base, provides stabilised platform for light source;Image capture instrument and data
Transmission is connected with control line, and data transmission is connected with control line and computer, provides unperturbed for the Image Acquisition of image capture instrument
The dynamic channel transmitted with autocontrol method and data.
Compared with the strongest CN104155298A of correlation (road inventor Wu Zhi etc.), difference essentially consists in the present invention: adopting
Light source is different, and the present invention uses the standard sources of fixed position rather than needs the compensatory light of dynamic regulation, therefore
The illuminance of soil body surface is more stable;The extracting method of colouring information is different, and the present invention uses the rgb value mathematics of Gauss curve fitting
Desired value overcomes the interference that dim spot analyzes Color Statistical at soil body surface out-of-flatness as color value, has better table
Sign property, the road Er Wuzhi do not specify the method that colouring information extracts;The utilization method of colouring information is different, the research knot of the present inventor
Fruit shows the relationship between soil body color and moisture content in drop, the gentle liter three phases of steep drop is delayed, in approximate line in each stage
Sexual intercourse, establishes the relational model between more accurate soil body color and moisture content, and above-mentioned relation has been made list by the road Er Wuzhi
One linear hypothesis, test result can have very big error even mistake, and in addition hsv color system is suitable for the sense of naked eyes
Feel, for amplitude of variation again smaller than RGB, the sensitivity as input parameter is not so good as rgb value.
Compared with prior art, the present invention having the following advantages that and effect:
The method of the present invention is novel simple, and precision is higher, to soil body undisturbed, both can get the aqueous of soil body local cell domain
Rate, it is also possible to obtain whole moisture content cloud atlas;Test device structure is simple, easy to operate, and test speed is fast, and cost is relatively low,
It can reach real-time, METHOD FOR CONTINUOUS DETERMINATION soil body surface moisture content effect.
Detailed description of the invention
Fig. 1 is a kind of schematic device that soil body surface moisture content is tested based on image rgb value.
Fig. 2 is a kind of soil body image rgb value and moisture content typical relation schematic diagram.
Wherein: the 1- soil body, 2a- (are purchased in the market, are appointed compared with the quasi- soil sample of cadre school, the wetter calibration soil sample of 2b-, 3- camera lens
One model), 4- image capture instrument (purchasing in the market, any model), 5- spherical pan head, 6- regulation handle, 7- standard light
Source, 8- light source bracket, 9- light source base, 10- foot prop, 11- data transmission with control line, 12- computer (purchase in the market,
Any model).
Specific embodiment
The details and working condition that present invention be described in more detail with reference to the accompanying drawing.
Embodiment 1:
A method of soil body surface moisture content is tested based on image rgb value, the steps include:
A, installation and fixed image capture instrument 4 and standard sources 7, make 3 perpendicular alignmnet of the camera lens soil to be measured of image capture instrument 4
1 surface of body adjusts and keeps the position of image capture instrument 4 and standard sources 7 and its running parameter constant;
B, a small amount of sample is extracted from the soil body to be measured, is prepared into relatively dry calibration soil sample 2a and wetter calibration soil sample
2b is placed in soil body surface 1;
C, disposable Image Acquisition is carried out to calibration soil sample 2a, calibration soil sample 2b, then uses oven drying method detection calibration soil sample
2a, the moisture content w for calibrating soil sample 2baAnd wb;
D, subsequent any time carries out Image Acquisition to soil body surface 1 by the process control or manual operation of computer 12;
E, the Image Real-time Transmission of acquisition to computer 12 is stored;
F, the soil body surface image for acquiring and storing is handled using color analysis program in computer 12, is obtained
The better RGB mean μ of characterizationL;
G, the RGB mean μ calibrated soil sample 2a using two, calibrate soil sample 2b imageLa、μLbAnd corresponding water cut test
Value waAnd wb, establish two point form model of linear equation;
H, by the RGB mean μ of 1 image of different moments soil body surface obtained in test processLAbove-mentioned linear equation is inputted,
Water cut value w corresponding to the moment can be calculated, it may be assumed that
Wherein, w is moisture content, μLFor the RGB mean value of 1 image of different moments soil body surface, μLa、μLbRespectively calibrate soil sample
The RGB mean value of 2a and calibration soil sample 2b surface image.
Described extracts a small amount of sample from the soil body to be measured, is prepared into relatively dry calibration soil sample 2a and wetter calibration
Soil sample 2b is placed in soil body surface 1, comprising:
1. calibrating the moisture content w of soil sample a when the steep drop section measuring of moisture content of application soil body image RGB Mean curveaIt can
8~10% are taken as, the moisture content w of soil sample b is calibratedbIt can be taken as 12~14%;When the slow liter of application soil body image RGB Mean curve
When section measuring of moisture content, the moisture content w of soil sample a is calibratedaIt can be taken as 22~25%, calibrate the moisture content w of soil sample bbIt can be taken as 28~
33%.
2. calibration soil sample 2, using artificial compacting, dry density and the soil body 1 to be measured are close.
Described is handled the soil body surface image for acquiring and storing using color analysis program in computer 12,
Obtain the better RGB mean μ of characterizationL, comprising:
1. carrying out cutting pre-treatment to digital picture, the local digital image of location of interest is saved as into number after handling
Image file.
2. being analyzed using RGB color analysis program, program assumes the close of the color RGB histogram of soil sample digital picture
Distribution curve approximation Normal Distribution is spent, obtains equation using Gauss Distribution Fitting:
The mathematical expectation μ that program is calculated facilitates filtering out soil body surface because thick as final color component value
Topography's shade caused by rough injustice, has better characterization.
3. by the mathematical expectation μ of tri- color of soil sample different moments RGB achieved aboveR、μG、μBIt is weighted and averaged, obtains
RGB mean μL, i.e. μL=(μR+μG+μB)/3。
The RGB mean μ of described two calibration soil sample 2a of utilization, calibration soil sample 2b imageLa、μLbAnd corresponding moisture content
Test value waAnd wb, establish two point form model of linear equation, comprising:
1. being ordinate by abscissa, moisture content of the rgb value of colouring information, the RGB color that two are calibrated soil sample is believed
The mathematical expectation μ of breathLa、μLbAnd corresponding water cut test data wa、wbIt is plotted in scatter plot respectively;
2. finding out two point form linear equation according to two known data pointsOr it is expressed as
By above-mentioned particular technique measure, by the test of applicant: preparing two moisture content and differ biggish calibration
Soil sample 2a (more dry) and calibration soil sample 2b (wetter), while it being placed in soil body surface 1, acquisition digital picture is controlled by computer 12
Afterwards, calibration soil sample 2a, calibration soil sample 2b are removed, the digital picture for acquiring the soil sample surface 1 to be measured under different moments is then started,
And by Image Real-time Transmission and storage into computer 12;With the moisture content w of oven drying method detection calibration soil sampleaAnd wb。
Image processing and analysis: using RGB color analysis program to calibrate soil sample 2a, calibrate soil sample 2b image at
Reason and analysis, obtain the mathematical expectation μ of its colouring informationLaAnd μLb;The soil sample digital picture for handling all different moments, is obtained
Take the mathematical expectation μ of its color value colouring informationL。
Water cut test result arranges: according to formulaIt is calculated, when obtaining different
Carve the moisture content w on soil sample surface.
2017-2018 is in Wuhan Inst. of Rock and Soil Mechanics, Chinese Academy of Sciences's model building centrifugal modeling room, to He Nannan
The expansion soil sample that certain positive highway is taken has carried out the research of relationship between color and moisture content, and the rule of discovery is see Fig. 2.
2018 in Wuhan Inst. of Rock and Soil Mechanics, Chinese Academy of Sciences's model building centrifugal modeling room, to Nanyang, henan height
The expansion soil sample and Wuhan Urban yellow that fast Highway house takes are glued soil's water content and are tested.It is surveyed respectively with oven drying method and the present invention
Different humidity expansion and moisture content of the yellow clay sample in different moments are tried, the data obtained is respectively such as 3~4 institute of table 1~2 and table
Show.
The different humidity that 1 two methods of table respectively obtain expands Water Content Tests in Soil Samples (dropping section suddenly)
The different humidity expansion Water Content Tests in Soil Samples (slow to rise section) that 2 two methods of table respectively obtain
The different humidity yellow that 3 two methods of table respectively obtain glues Water Content Tests in Soil Samples (dropping section suddenly)
The different humidity yellow that 4 two methods of table respectively obtain glues Water Content Tests in Soil Samples (slow to rise section)
By the data of 1~table of table 4 it is found that with the method for the invention based on image rgb value test soil body surface moisture content
The moisture content obtained with oven drying method is very close, mean absolute error 0.14%, and maximum absolute error is -1.27%, test
Precision is higher, all obtains satisfactory effect to the application of swelled ground and common red clay.Institute is with the inventive method
The method for being used for soil body surface moisture content with equipment is that reliably, there is good actual use to be worth, can be widely popularized and answer
With.
Embodiment 2:
A kind of device based on image rgb value test soil body surface moisture content, it calibrates soil sample 2a, the by the soil body 1, first
Two calibration soil sample 2b, camera lens 3, image capture instrument 4, spherical pan head 5, regulation handle 6, standard sources 7, light source bracket 8, light source bottom
Seat 9, foot prop 10, data transmission and control line 11, computer 12 form, and connection relationship is: foot prop 10 being installed on earth's surface and is adjusted
It is flat, spherical pan head 5 is connected with foot prop 10, spherical pan head 5 is connected with image capture instrument 4, adjusts image by regulation handle 6 and adopts
The inclination angle (0-150 degree, unspecified angle are ok) for collecting instrument 4, makes 5 perpendicular alignmnet of the camera lens soil body 1 to be measured, equipped with the on the soil body 1
One calibration soil sample 2a, the second calibration soil sample 2b, install standard sources 7 beside foot prop 10, to provide stable light when the work of camera lens 3
Source, standard sources 7 are connected with light source bracket 8, and light source bracket 8 is connected with light source base 9,7 position of fixed standard light source.Image is adopted
Collection instrument 4 is transmitted with data to be connected with control line 11, and data transmission is connected with control line 11 and computer 12, passes through 12 control figure of computer
As the collection process and parameter of Acquisition Instrument 4.
The camera lens 3 is integrated with image capture instrument 4, is also possible to digital camera, is also possible to high-definition camera camera lens.
The ball-shaped cloud platform 5 is integrated with regulation handle 6.
By abovementioned technology, a kind of device based on image rgb value test soil body surface moisture content, the dress are obtained
It is simple to set structure, easy to operate, test speed is fast, and cost is relatively low, can reach real-time, METHOD FOR CONTINUOUS DETERMINATION soil body surface moisture content effect
Fruit.
Claims (2)
1. a kind of method based on image rgb value test soil body surface moisture content, the steps include:
1. installation and fixed image capture instrument and standard sources, image capture instrument are digital camera or camera, image capture instrument
Camera lens perpendicular alignmnet soil body surface to be measured, the position for adjusting and keeping image capture instrument and standard sources and its running parameter are not
Become, obtains the digital picture that illumination is consistent, quality is stable;
2. extracting sample from the soil body to be measured, it is prepared into relatively dry calibration soil sample a and wetter calibration soil sample b, is placed in
Soil body surface;
3. controlling or being manually operated by computer program, disposable Image Acquisition is carried out to calibration soil sample a, calibration soil sample b, then
With the moisture content w of oven drying method detection calibration soil sample a, calibration soil sample baAnd wb;
4. carrying out digital image acquisition to soil body surface in subsequent any different moments;
5. soil body surface image transmitting to the computer of acquisition is stored;
6. being handled using color analysis program the soil body surface image for acquiring and storing in computer, obtaining can be more preferable
Characterize the RGB mean μ of colouring informationL;
7. soil body image RGB mean value is divided into slow drop with the relation curve that moisture content increases, steep drop eases up and rises three phases, wherein suddenly
The gentle section useable linear equation model that rises of drop section more accurately describes;Utilize the image RGB mean value calibrated soil sample a, calibrate soil sample b
μLa、μLbAnd corresponding water cut test value waAnd wb, establish steep drop section or the slow two point form linear equation for rising section;
8. by the RGB mean μ of the different moments soil body surface image obtained in test processLThe input step 7. linear side
Water cut value w corresponding to different moments is calculated in journey:
Wherein, w is moisture content, μLFor the RGB mean value of different moments soil body surface image, μLb、μLbRespectively calibrate soil sample a and school
The RGB mean value of quasi- soil sample b surface image.
Described extracts sample from the soil body to be measured, is prepared into relatively dry calibration soil sample a and wetter calibration soil sample b, puts
It is placed in soil body surface, comprising:
1. apply the steep drop section measuring of moisture content of soil body image RGB Mean curve, the moisture content w of soil sample a is calibratedaIt is taken as 8~
10%, calibrate the moisture content w of soil sample bbIt is taken as 12~14%;It is aqueous using the slow liter section test of soil body image RGB Mean curve
When rate, the moisture content w of soil sample a is calibrateda22~25% are taken as, the moisture content w of soil sample b is calibratedbIt is taken as 28~33%.
2. calibration soil sample is manually suppressed using the 20mm high thin cutting ring of Φ 61.8, dry density and the soil body to be measured are close.
Described is handled the soil body surface image for acquiring and storing using color analysis program in computer, obtains energy
The RGB mean μ of more preferable characterization colouring informationL, comprising:
1. carrying out cutting processing to image, the topography of position is saved as into analysis image file;
2. being analyzed using RGB color analysis self-compiling program image file, the color RGB histogram of soil sample surface image is close
Distribution curve Normal Distribution is spent, obtains equation using Gauss Distribution Fitting:
In formula, f (x) is color RGB histogram density, and x is color rgb value, and μ and σ are respectively image RGB component normal distribution letter
Several mathematic expectaions and standard deviation;
By the color table value indicative of the mathematic expectaion μ that program the calculates soil body image being used as;
3. by the mathematic expectaion μ of tri- color components of soil sample different moments R, G, B of acquisitionR、μG、μBIt is weighted and averaged, obtains
Characterize the RGB mean μ of soil body image color integrated informationL, μL=(μR+μG+μB)/3;
Wherein: μLFor the RGB mean value of soil body image, μR、μG、μBThe respectively mathematic expectaion of R, G, B color component of soil body image;
The soil body color RGB mean value is divided into slow drop with the relation curve that moisture content increases, steep drop eases up and rises three phases,
In drop the gentle section useable linear equation model that rises of section suddenly and more accurately describe;Using calibrating, soil sample a, the image RGB of calibration soil sample b are equal
Value μLa、μLbAnd corresponding water cut test value waAnd wb, establish steep drop section or the slow two point form linear equation for rising section, comprising:
1. being ordinate by abscissa, moisture content of RGB mean value, two are calibrated the RGB mean μ of soil sampleLa、μLbAnd corresponding contain
Water rate test data wa、wbIt is plotted in scatter plot respectively;
2. finding out two point form linear equation according to two known data pointsOr it is expressed as
Wherein, w is the moisture content of different moments soil body surface, wa、wbThe moisture content respectively calibrated soil sample a, calibrate soil sample b,
μLa、μLbThe RGB mean value respectively calibrated soil sample a, calibrate soil sample b, μ are the RGB mean value of different moments soil body image.
2. it is described in claim 1 it is a kind of based on image rgb value test soil body surface moisture content device, it include the soil body (1),
Camera lens (3), image capture instrument (4), spherical pan head (5), regulation handle (6), standard sources (7), light source bracket (8), light source bottom
Seat (9), foot prop (10), data transmission and control line (11), computer (12), it is characterised in that: foot prop (10) is installed on earth's surface
And level, spherical pan head (5) is connected with foot prop (10), spherical pan head (5) is connected with image capture instrument (4), passes through ball-type cloud
Regulation handle (6) on platform (5) adjusts the angle of image capture instrument (4), camera lens (3) perpendicular alignmnet on image capture instrument (4)
The soil body (1) to be measured installs standard sources (7) beside foot prop (10), and standard sources (7) is connected with light source bracket (8), light source branch
Frame (8) is connected with light source base (9), and image capture instrument (4) is transmitted with data to be connected with control line (11), data transmission and control
Line (11) is connected with computer (12).
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910226404.5A CN109932324B (en) | 2019-03-25 | 2019-03-25 | Method and device for testing surface water content of soil body based on image RGB value |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910226404.5A CN109932324B (en) | 2019-03-25 | 2019-03-25 | Method and device for testing surface water content of soil body based on image RGB value |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109932324A true CN109932324A (en) | 2019-06-25 |
CN109932324B CN109932324B (en) | 2020-06-09 |
Family
ID=66988142
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910226404.5A Active CN109932324B (en) | 2019-03-25 | 2019-03-25 | Method and device for testing surface water content of soil body based on image RGB value |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109932324B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110887761A (en) * | 2019-12-07 | 2020-03-17 | 宁夏大学 | Method and system for measuring surface soil water content |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH1048204A (en) * | 1996-08-05 | 1998-02-20 | Matsumura Electron:Kk | Method for measuring surface moisture rate in fresh concrete production plant |
JP3230217B2 (en) * | 1999-06-16 | 2001-11-19 | ベルスリーニシハツ株式会社 | Dry laver quality inspection method |
CN102495005A (en) * | 2011-11-17 | 2012-06-13 | 江苏大学 | Method for diagnosing crop water deficit through hyperspectral image technology |
KR101244068B1 (en) * | 2011-05-19 | 2013-03-18 | 경북대학교 산학협력단 | A method for measuring concentration of air and water pollutants |
CN104155298A (en) * | 2014-08-12 | 2014-11-19 | 哈尔滨工业大学 | Light intensity compensation and image gray value based method for measuring water content of soil surface |
CN108387534A (en) * | 2018-03-15 | 2018-08-10 | 中国农业科学院农田灌溉研究所 | Measure plant water content method and apparatus |
-
2019
- 2019-03-25 CN CN201910226404.5A patent/CN109932324B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH1048204A (en) * | 1996-08-05 | 1998-02-20 | Matsumura Electron:Kk | Method for measuring surface moisture rate in fresh concrete production plant |
JP3230217B2 (en) * | 1999-06-16 | 2001-11-19 | ベルスリーニシハツ株式会社 | Dry laver quality inspection method |
KR101244068B1 (en) * | 2011-05-19 | 2013-03-18 | 경북대학교 산학협력단 | A method for measuring concentration of air and water pollutants |
CN102495005A (en) * | 2011-11-17 | 2012-06-13 | 江苏大学 | Method for diagnosing crop water deficit through hyperspectral image technology |
CN104155298A (en) * | 2014-08-12 | 2014-11-19 | 哈尔滨工业大学 | Light intensity compensation and image gray value based method for measuring water content of soil surface |
CN108387534A (en) * | 2018-03-15 | 2018-08-10 | 中国农业科学院农田灌溉研究所 | Measure plant water content method and apparatus |
Non-Patent Citations (5)
Title |
---|
JOÃO F. C. DOS SANTOS 等: "Use of digital images to estimate soil moisture", 《REVISTA BRASILEIRA DE ENGENHARIA AGRÍCOLA E AMBIENTAL》 * |
MARTA CHIESI 等: "Spatio-temporal fusion of NDVI data for simulating soil water content in heterogeneous Mediterranean areas", 《EUROPEAN JOURNAL OF REMOTE SENSING》 * |
S. NOR HAFIZAH 等: "Colour spaces for paddy soil moisture content determination", 《J. TROP. AGRIC. AND FD. SC》 * |
朱元骏 等: "利用土壤表面灰度值反演表层土壤含水率", 《中国科学: 地球科学》 * |
陈如意 等: "土的颜色研究进展与展望", 《土工基础》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110887761A (en) * | 2019-12-07 | 2020-03-17 | 宁夏大学 | Method and system for measuring surface soil water content |
Also Published As
Publication number | Publication date |
---|---|
CN109932324B (en) | 2020-06-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107957408B (en) | Method for measuring soil suction by light reflection theory | |
CN102679914B (en) | Method and device for measuring percolating water area of shield tunnel lining segment | |
Collessy | First results from the 2dF galaxy redshift survey | |
CN108537851B (en) | Detection method of soil humidity and application thereof | |
CN101210876A (en) | Rice nutrient information measuring method based on visible/near infrared multispectral imaging | |
CN104155298B (en) | Light intensity compensation and image gray value based method for measuring water content of soil surface | |
CN102331244B (en) | Method of acquiring leaf area index (LAI) of rice canopy by using common digital camera | |
CN107621438B (en) | Dynamic monitoring method for coupling slope terrain evolution and water erosion process | |
CN102297660A (en) | Measuring method of shield tunnel lining segment seam open width and apparatus thereof | |
CN106501816B (en) | A kind of satellite remote-sensing monitoring method of jujube tree canopy nitrogen content | |
CN109470580B (en) | Method for evaluating cohesive soil strength parameters of different sea areas in China | |
CN110426336A (en) | A kind of subgrade soils Unsaturated Hydraulic Conductivity measuring system and its relevant measurement method | |
CN109827957B (en) | Rice leaf SPAD value estimation method and system based on computer vision | |
CN104359789A (en) | Soil body shrinkage limit tester based on image analyzing method | |
CN108982406A (en) | A kind of soil nitrogen near-infrared spectral characteristic band choosing method based on algorithm fusion | |
Zhang et al. | A novel evaluation method of aggregate distribution homogeneity for asphalt pavement based on the characteristics of texture structure | |
CN109030755A (en) | The detection device and method of grain moisture content, mass of 1000 kernel and bulk density based on image processing techniques | |
CN109932324A (en) | A kind of method and device based on image rgb value test soil body surface moisture content | |
CN108876172A (en) | A kind of surface soil moisture content assessment method based on modified MODIS Water-supplying for vegetation | |
Gadi et al. | Understanding soil surface water content using light reflection theory: a novel color analysis technique considering variability in light intensity | |
CN106504240B (en) | A kind of satellite remote-sensing monitoring method of jujube tree canopy Chlorophyll-a Content | |
CN113804560B (en) | Unsaturated soil and structure interface shear visualization test device and method | |
CN107631803A (en) | Surface temperature of concrete accurate measurement method based on thermal sensation imaging | |
WO2024041560A1 (en) | Surface water quality monitoring method based on high-spatial-resolution satellite | |
CN113723000A (en) | Farmland soil moisture simulation method based on Sentinel data and deep learning model |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |