<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">GEP</journal-id><journal-title-group><journal-title>Journal of Geoscience and Environment Protection</journal-title></journal-title-group><issn pub-type="epub">2327-4336</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/gep.2016.411002</article-id><article-id pub-id-type="publisher-id">GEP-71770</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Earth&amp;Environmental Sciences</subject></subj-group></article-categories><title-group><article-title>
 
 
  Research on Dynamic Monitoring Algorithm of Visual Safety Distance in Highway
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Jiajia</surname><given-names>Zhang</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Yu</surname><given-names>Liu</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Jianming</surname><given-names>Li</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Yanhua</surname><given-names>Guan</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib></contrib-group><aff id="aff1"><addr-line>Meteorological Technology and Equipment Center in Hebei Province, Shijiazhuang, China</addr-line></aff><pub-date pub-type="epub"><day>30</day><month>10</month><year>2016</year></pub-date><volume>04</volume><issue>11</issue><fpage>6</fpage><lpage>12</lpage><history><date date-type="received"><day>October</day>	<month>17,</month>	<year>2016</year></date><date date-type="rev-recd"><day>Accepted:</day>	<month>October</month>	<year>28,</year>	</date><date date-type="accepted"><day>October</day>	<month>31,</month>	<year>2016</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
  To develop the dynamic monitoring algorithm of visual safety distance in highway, by using the highway video traffic monitoring system, the research platform of four kinds of terrain environment in plateau, mountainous area, plain and coastal area is established. Results show that through the contrast between the sample data and visibility train of thought, based on the theory of mathematical morphology, expressway visibility dynamic monitoring image information system can be established. Based on the theory of the measurement of the basic formula of visibility, the dynamic model of the optimization is established, set up 200 meters distance visual observation target system, research visual range detection algorithm process.
 
</p></abstract><kwd-group><kwd>The Highway</kwd><kwd> Visual Range</kwd><kwd> Dynamic Monitoring</kwd><kwd> Mathematical Model</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>Fog is one of the most serious traffic accidents caused by highway disastrous weather. Over the past years, the highway traffic accidents caused by heavy fog occurred frequently. The visibility detection sample space is quite limited; it is difficult to truly reflect the visibility of the road section, which is not conducive to the analysis of fog distribution. Research on digital video camera provides distance measurement based on the new principle and method, and the way to obtain the target information is basically consistent with the observation of the human eye [<xref ref-type="bibr" rid="scirp.71770-ref1">1</xref>] [<xref ref-type="bibr" rid="scirp.71770-ref2">2</xref>] . The aim of this paper is to solve the problem of monitoring the visibility distance of 200 meters. According to the basic formula of photography measurement of visibility, to obtain the optimum value of the visibility calculation model, to make full use of the high density of highway traffic video camera device, a dynamic monitoring algorithm for visual safety distance of freeway is proposed.</p></sec><sec id="s2"><title>2. Dynamic Monitoring Image Information System</title><p>Based on highway traffic video monitoring system of Expressway in Hebei province, Selected routes Zhangbei (plateau), Fengning (mountain), Xingtai (plain) and Laoting (coastal) (four counties in Hebei, China) four terrain environment, climate conditions of high-speed road section as a research test point, and the establishment of traffic video monitoring terminal system, set up regular image capture, image information of each traffic camera device.</p></sec><sec id="s3"><title>3. Visual Security Distance Database</title><sec id="s3_1"><title>3.1. Image Database</title><p>In the process of visual safety distance monitoring, the system will continue to produce a large number of pictures, and therefore need to carry out scientific management of the picture [<xref ref-type="bibr" rid="scirp.71770-ref3">3</xref>] . The image data is the image pixel gray value of the record, to the rank data matrix representation. The image database is composed of two levels of image data and image data dictionary, and can be set according to the basic data of the image, retrieval and processing operation. Image database system can be used to deal with image data, graphics, graphics, data, general text, figures and other information [<xref ref-type="bibr" rid="scirp.71770-ref4">4</xref>] .</p></sec><sec id="s3_2"><title>3.2. Observation Data Base</title><p>Based on the SQL database technology, establish the visual range observation database. However, due to the complexity of the measurement between each other, it is often difficult to use accurate numerical methods and mathematical methods to determine [<xref ref-type="bibr" rid="scirp.71770-ref5">5</xref>] . According to the clarity of the image, the principle of fuzzy logic is applied, and observation data storage is analyzed, so as to obtain more accurate results for forecasting the visual safety distance on the highway.</p></sec></sec><sec id="s4"><title>4. High Speed Road Distance Visual Safety Establishment</title><p>Natural light is the more optional targets. Because the detection process of the human eye is a contrast detection process, the pattern of the target object should have the edge of high contrast [<xref ref-type="bibr" rid="scirp.71770-ref6">6</xref>] . The road visibility detection focuses within 200 m of the situation. Therefore, the distance information points are set at 20 m, 50 m, 100 m, 200 m, as showed in <xref ref-type="fig" rid="fig1">Figure 1</xref>.</p><p>In the absence of natural light in the night, the luminous object light source is the ideal choice of visual distance. According to our provincial highway, according to the province of high-speed roads, traffic around the camera without self luminous body, the visible light from the reflected light traveling between the vehicle headlights and illuminated objects. The middle of the highway isolation fence as a target, on the one hand to ensure stability of the illuminated objects reflect light, to ensure the consistency of the target time on the other hand, avoid at different times due to atmospheric</p><fig id="fig1"  position="float"><label><xref ref-type="fig" rid="fig1">Figure 1</xref></label><caption><title> 200 m internal target selection</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-2170308x2.png"/></fig><p>changes caused by change of flux visibility misalignment [<xref ref-type="bibr" rid="scirp.71770-ref7">7</xref>] . Highway traffic monitoring cameras capture images as samples for target selection, shown in <xref ref-type="fig" rid="fig2">Figure 2</xref>.</p><p>For the daytime mist condition, the target object selection can be selected with the same night, that the middle of the highway guardrail. In the same section select the same night samples and found that the isolation barrier has become blurred, the difference of foreground and background luminance brightness is small, but the car lane on both sides but with a different background. In this case, select on both sides of road line as the target to determine the results as scheduled target quality control part in the calculation. The pictures are shown in <xref ref-type="fig" rid="fig3">Figure 3</xref>.</p><p>Quantitative measurement of visual distance by MOR, Incandescent lamp as the light source, the visible light spectrum natural, the characteristic is that it can cause the naked eye, and the normal human eyes can be different in the visible light at different wavelengths. The infrared and ultraviolet light has no visual response, according to the physical definition of meteorological optical range, establishment of test field visual distance target observation system, meet the visibility meter calibration and visual distance observation comparison.</p></sec><sec id="s5"><title>5. Calculation Model</title><sec id="s5_1"><title>5.1. Visibility Algorithm Flow (<xref ref-type="fig" rid="fig4">Figure 4</xref>)</title><p>Visibility detection algorithm flow is as follows: establishment of observation target with distance information; eliminate the image pre-processing in image noise; target detection based on SAD algorithm; analog camera image edge feature extraction of human; nonlinear fitting of the relationship between the degree of contrast and distance, and the visibility value [<xref ref-type="bibr" rid="scirp.71770-ref8">8</xref>] .</p></sec><sec id="s5_2"><title>5.2. Digital Photography Measurement Model of Visibility</title><p>The camera and the pavement of highway traffic between the imaging geometry is the visibility value calculated on the basis of the model, as shown in <xref ref-type="fig" rid="fig5">Figure 5</xref>.</p><fig id="fig2"  position="float"><label><xref ref-type="fig" rid="fig2">Figure 2</xref></label><caption><title> The target of the night fence</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-2170308x3.png"/></fig><fig id="fig3"  position="float"><label><xref ref-type="fig" rid="fig3">Figure 3</xref></label><caption><title> Lane targets under the mist</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-2170308x4.png"/></fig><fig id="fig4"  position="float"><label><xref ref-type="fig" rid="fig4">Figure 4</xref></label><caption><title> Visibility algorithm processes</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-2170308x5.png"/></fig><fig id="fig5"  position="float"><label><xref ref-type="fig" rid="fig5">Figure 5</xref></label><caption><title> Visibility calculation models</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-2170308x6.png"/></fig><p>Based on the definition of camera parameters, the coordinate transformation between the ground coordinate system and the camera coordinate system is established, as follows:</p><disp-formula id="scirp.71770-formula40"><label>. (1)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-2170308x7.png"  xlink:type="simple"/></disp-formula><p>The distance from the camera on the actual road surface can be obtained by the above formula, as follows:</p><disp-formula id="scirp.71770-formula41"><label>. (2)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-2170308x8.png"  xlink:type="simple"/></disp-formula><p>Usually, a pixel normalized contrast C &lt; 0.05, that is, the pixel cannot be resolved by the human eye. Therefore, according to the results of the camera calibration, for all the pixels in the image contrast of C ≥ 0.05i, the distance between the camera and the camera can be calculated d<sub>i</sub>. From the definition of visibility, the current value of the visibility V = max(d<sub>i</sub>).</p></sec><sec id="s5_3"><title>5.3. Digital Photography Measurement of Visual Distance Model</title><p>At night when there is no natural light of the light source, a luminous object is an ideal target visibility. The flow around the camera without self luminous body, the visible light source of the visible light source is from the reflected light between the moving vehicle lamp and the irradiated object. The middle of the highway guardrail as binocular object, on the one hand, the reflection coefficient and the scattering coefficient are in good agreement; on the other hand, it can eliminate the influence of the dark current and background stray light of the CCD digital camera system. The middle of the highway isolation fence as a target, establishes a numerical model of visual distance.</p><p>According to the law of Allard, the expression of visual distance at night is given:</p><disp-formula id="scirp.71770-formula42"><label>. (3)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-2170308x9.png"  xlink:type="simple"/></disp-formula><p>The luminance threshold value is when the visibility distance is V and the intensity of the light source is I. Night visual distance affected by the flux density in the atmospheric attenuation. The above formula is being written as follows:</p><disp-formula id="scirp.71770-formula43"><label>. (4)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-2170308x10.png"  xlink:type="simple"/></disp-formula><p>The visibility is calculated by the formula above.</p><p>It is obviously unrealistic to calculate the visibility of the above formula. It does not know about σ, and must be suitable for different lighting conditions. Therefore, the double object method is used to measure the visibility of the night [<xref ref-type="bibr" rid="scirp.71770-ref9">9</xref>] . This is no longer needed E<sub>th</sub> and σ.</p><p>Select the middle of the highway as a binocular reference standard, visibility calculation model. The distance from the camera namely is d<sub>1</sub> and d<sub>2</sub>. Its settings are shown in <xref ref-type="fig" rid="fig6">Figure 6</xref>.</p><p>Assuming monitoring of the barrier imaging brightness is E<sub>1</sub> and E<sub>2</sub>. According to the above two type can have a visible distance of the night:</p><disp-formula id="scirp.71770-formula44"><label>. (5)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-2170308x11.png"  xlink:type="simple"/></disp-formula><p>ε is determined by the field experiment. In order to eliminate the recurrence relation, it is further simplified:</p><disp-formula id="scirp.71770-formula45"><label>. (6)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-2170308x12.png"  xlink:type="simple"/></disp-formula><p>α is a multiplicative factor, can be obtained through a large amount of data information, d<sub>1</sub> and d<sub>2</sub> are obtained by measuring, E<sub>1</sub> and E<sub>2</sub> are obtained by calculating [<xref ref-type="bibr" rid="scirp.71770-ref10">10</xref>] . The model can be established by referring to the model of the visual distance in the night.</p></sec></sec><sec id="s6"><title>6. Conclusion</title><p>The pavement and the two sides are directly observed from the view point of video observation, and the selection of the same kind of object as the object is selected. In this</p><fig id="fig6"  position="float"><label><xref ref-type="fig" rid="fig6">Figure 6</xref></label><caption><title> Double target selection schemes. The red triangle denotes the projection after irradiation</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-2170308x13.png"/></fig><p>paper, the concept of binocular vision is introduced to minimize the influence of the atmospheric extinction coefficient and the brightness threshold, and dynamic monitoring of visual safe distance in the 200 meters of the highway is solved. The project can build the expressway visual distance extension prediction products based on 50 m, 100 m and 200 m visual distance forecasting methods, and establish the short-term forecast service products within 3 hours of the expressway to improve the quality of forecasting. After the completion, the project can be extended to neighboring provinces and cities.</p></sec><sec id="s7"><title>Cite this paper</title><p>Zhang, J.J., Liu, Y., Li, J.M. and Guan, Y.H. (2016) Research on Dynamic Monitoring Algorithm of Visual Safety Distance in Highway. Journal of Geo- science and Environment Protection, 4, 6- 12. http://dx.doi.org/10.4236/gep.2016.411002</p></sec></body><back><ref-list><title>References</title><ref id="scirp.71770-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Lin, M. and Zhang, W. (2008) Setting Methods of Traffic Signs on Expressway. Communications Standardization, 9, 31-33.</mixed-citation></ref><ref id="scirp.71770-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Guazzi, A.R., Villarroel, M., Jorge, J., Daly, J., Frise, M.C., Robbins, P.A., et al. (2015) Non-Contact Measurement of Oxygen Saturation with an RGB Camera. Biomedical Optics Express, 6, 3320-3338. http://dx.doi.org/10.1364/BOE.6.003320</mixed-citation></ref><ref id="scirp.71770-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Hyde, R.F. (2014) Safety Distance Monitoring of Adjacent Vehicles. US Patent No. 201400-95061.</mixed-citation></ref><ref id="scirp.71770-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Bian, M. and Li, K. (2005) Estimation of Longitudinal Road Friction Coefficient Based on a Dual-Exponential Model. Transactions of the Chinese Society of Agricultural Machinery, 36, 5-8.</mixed-citation></ref><ref id="scirp.71770-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">You, F., Zhang, R., Wang, H., et al. (2013) Warning Model for Safety Analysis of Overtaking Behavior Based on Longitudinal Safety Spacing. Journal of South China University of Technology (Natural Science Edition), 41, 87-92.</mixed-citation></ref><ref id="scirp.71770-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Xu, L., Ni, Y., Luo, Q., et al. (2011) Lane-Changing Model Based on Minimum Safety Distance. Journal of Guangxi Normal University: Natural Science Edition, 29, 1-6.</mixed-citation></ref><ref id="scirp.71770-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">Xu, H., Pei, Y. and Cheng, G. (2010) Study on the Safety of Lane-Changing Based on Virtual Desire Trajectory. China Safety Science Journal, 20, 90-95.</mixed-citation></ref><ref id="scirp.71770-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">Xu, L., Luo, Q., Wu, J., et al. (2010) Study of Car-Following Model Based on Minimum Safety Distance. Journal of Highway and Transportation Research and Development, 27, 95-100.</mixed-citation></ref><ref id="scirp.71770-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">Li, W., Gao, D. and Duan, J. (2010) Research on Lane Change Model for Intelligent Vehicles. Journal of Highway and Transportation Research and Development, 27, 119-123.</mixed-citation></ref><ref id="scirp.71770-ref10"><label>10</label><mixed-citation publication-type="other" xlink:type="simple">Hidas, P. (2005) Modelling Vehicle Interactions in Microscopic Simulation of Merging and Weaving. Transportation Research Part C: Emerging Technologies, 13, 37-62.http://dx.doi.org/10.1016/j.trc.2004.12.003</mixed-citation></ref></ref-list></back></article>