CN107845110A - A kind of glass for vehicle window effective area ratio-dependent method - Google Patents
A kind of glass for vehicle window effective area ratio-dependent method Download PDFInfo
- Publication number
- CN107845110A CN107845110A CN201710944414.3A CN201710944414A CN107845110A CN 107845110 A CN107845110 A CN 107845110A CN 201710944414 A CN201710944414 A CN 201710944414A CN 107845110 A CN107845110 A CN 107845110A
- Authority
- CN
- China
- Prior art keywords
- area
- glass
- pixel
- gray value
- image
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/60—Analysis of geometric attributes
- G06T7/62—Analysis of geometric attributes of area, perimeter, diameter or volume
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01B—MEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
- G01B11/00—Measuring arrangements characterised by the use of optical techniques
- G01B11/28—Measuring arrangements characterised by the use of optical techniques for measuring areas
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/11—Region-based segmentation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/30—Subject of image; Context of image processing
- G06T2207/30248—Vehicle exterior or interior
- G06T2207/30268—Vehicle interior
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Theoretical Computer Science (AREA)
- Geometry (AREA)
- Length Measuring Devices By Optical Means (AREA)
- Image Analysis (AREA)
Abstract
The invention provides a kind of glass for vehicle window effective area ratio-dependent method, this method includes:Collection includes the image of glass for vehicle window;The coordinate of each pixel of described image corresponding with the glass for vehicle window is obtained, obtains the original pixel grayscale figure of glass for vehicle window, the initial gray value of each pixel of original pixel grayscale figure is the not visible gray value of sign glass;The gray value for each pixel for descending described image at different moments can be obtained by the mode of the IMAQ and image procossing present invention, because gray value is related to the visibility of glass, therefore can according to the initial gray value of each pixel and at different moments under gray value identification visual boundary, and then the present invention is caused to determine effective area ratio according to the area and the area of described image that visual boundary is surrounded, the effective area ratio is to be obtained by machinery equipment according to certain algorithm, is substantially improved relative to manually-operated efficiency, accuracy and repeatability.
Description
Technical field
The present invention relates to automobile technical field, more particularly to a kind of glass for vehicle window effective area ratio-dependent method.
Background technology
The demisting defrosting performance of vehicle directly influence driver in bad weather can normal safe driving vehicle,
This has influence on the safety and comfort level of passenger.
When ambient temperature is less than vehicle interior temperature, when in-car sluggish in air circulation, the gas humidity of passenger exhalation is big, meets
Small water droplet can be condensed into colder windshield to be attached on windshield inner surface, make the transparency degradation of glass,
And not easy-clear, therefore the sight of driver is also destroyed.The white position and position of fog is whole conversely, there exist well on vehicle window
In the outer surface of glass, white generation also influences whether the sight of driver.
Demisting is to blow baking using hot blast to melt the frost on glass outer surface mostly except defrosting system, or cold wind is blown on inner surface
Small water droplet, so as to reach recover the visual field effect.Under subenvironment in compartment, the shadow of the flowing of air-flow by factors
Ring, such as:Shape, the arrangement of air outlet, the size of air quantity, the quantity of passenger, position, different vehicles etc. are, it is necessary to right
Vehicle-mounted demisting carries out integration test and evaluation except the performance of defrosting system.
The current mist judged in air conditioning for automobiles demisting defrosting performance, the areal calculation of frost, are all to take mark by tester
Pen, every one equal time draws mist on automobile left side glass pane, front windshield and right side glass pane, frost dissipates
Region, the area that mist, frost dissipate at different moments is then calculated, is contrasted with default criterion, to judge that air conditioning for automobiles removes
Mist defrosting performance.Due to removing the fog dissipation procedure boundary figure on fog-zone and glass, the experiment effect of this method using manual drawing
Rate is relatively low, and test data is not accurate enough, and precision is not high enough.
The content of the invention
The present invention provides a kind of glass for vehicle window effective area ratio-dependent method, it is intended to solves vehicle glass in the prior art
The problem of visual test efficiency is relatively low, and test data is not accurate enough, and precision is not high enough.
The invention provides a kind of glass for vehicle window effective area ratio-dependent method, including:
Collection includes the image of glass for vehicle window;
The coordinate of each pixel of described image corresponding with the glass for vehicle window is obtained, obtains the initial picture of glass for vehicle window
Plain gray-scale map, the initial gray value of each pixel of original pixel grayscale figure is the not visible gray value of sign glass;
The gray value for each pixel for descending described image at different moments is obtained, gray value is related to the visibility of glass;
Gray value identification visual boundary under according to the initial gray value of each pixel and at different moments;
The area and the area of described image surrounded according to visual boundary determines effective area ratio.
Preferably, methods described also includes:
Before the image comprising glass for vehicle window is gathered, by glass unit divisi8 into including first area, second area and the 3rd
Region;
The image of the first area, the second area and the 3rd region is gathered, and obtains described first respectively
The original pixel grayscale figure in region, the second area and the 3rd region;
After the effective area ratio of the first area, the second area and the 3rd region is obtained, according to
The percentage of the defrosting or defogging of effective area ratio-dependent first area, second area and the 3rd region;
According to the percentage of defrosting or defogging reach default defrosting threshold value or default demisting threshold value duration determine defrosting or
The performance of demisting.
Preferably, it is described by glass unit divisi8 into including first area, second area and the 3rd region, including:
According to longitudinal vertical plane, seating reference point and the seat back angle of driver's seating position center line, really
Surely the area that the intersection that 4 planes that two points of sign driver's eyes extend forward intersect with glass surface is closed;
Using the area as first area;
Using the vertical center line of glass as axis, the region with the symmetrical glass in the first area is as second area;
In the first area and the region on the basis of the inside at least Minimum Area of the first length of glass edge;
Using the vertical center line of glass as axis, the region with the symmetrical glass of the reference area, with the reference region
Domain sum is as the 3rd region.
Preferably, the coordinate of each pixel for obtaining described image corresponding with the glass for vehicle window, obtains vehicle window
The original pixel grayscale figure of glass includes:
The square marks of specified size are set on glass for vehicle window;
Camera collection positioned at specified location includes the image of glass for vehicle window, obtains the transverse direction of the square marks in image
Pixel number and longitudinal pixel number;
The actual side of the horizontal pixel point numbers of square marks in image, longitudinal pixel number and square marks
Long acquisition pixel point areas and pixel correspond to the proportionality coefficient of transparency area;
First area image, second area image and the 3rd area are obtained according to the image of the proportionality coefficient and glass for vehicle window
The coordinate of each pixel of area image;
Each picture of first area image, second area image and the 3rd area image when defrosting or defogging experiment is started
The gray value of vegetarian refreshments is set to initial value.
Preferably, the gray value for obtaining each pixel for descending described image at different moments includes:
A gray value ordered series of numbers is set for each pixel,
The gray value of each pixel of described image under each sampling instant is obtained, and is stored in grey corresponding to each pixel
In angle value ordered series of numbers, or the gray value of each pixel according to specified sample period acquisition described image, and it is stored in each pixel
In gray value ordered series of numbers corresponding to point.
Preferably, the initial gray value according to each pixel and at different moments under gray value identify visual boundary bag
Include:
For the current grayvalue of each pixel compared with gray value difference, the gray value difference is the first of pixel
The difference of beginning gray value and current grayvalue;
At glass it is viewing area corresponding to the pixel if current grayvalue is more than gray value difference;
At glass it is not visible region corresponding to the pixel if current grayvalue is more than gray value difference;
Visual boundary is identified according to viewing area.
Preferably, methods described also includes:
Visual boundary of the glass for vehicle window at several specified moment is obtained respectively;
The visual boundary at different specified moment is configured to different colours;
The visual boundary of different colours is superimposed in one drawing to show the change of visual boundary dynamic.
Preferably, included by image acquisition device image, described image harvester:
Camera support base, the first hollow circular-tube, Fixture for tube of seat, the second hollow circular-tube, head, stay-warm case and camera;
The camera support base is fixed with first hollow circular-tube by way of screw thread compression, and described first is hollow
Connected between pipe and second hollow circular-tube by the Fixture for tube of seat, to adjust the stay-warm case and the camera and ground
The distance between face, second hollow circular-tube are connected through a screw thread with the head, and the stay-warm case is fixed on the head
On, the stay-warm case is located on the camera, and the head is used for the posture for adjusting the camera.
Preferably, the stay-warm case has heating and heat preserving function, and is sealing cover structure, to prevent the camera by ring
Border moisture effect.
Preferably, described image harvester also includes:Several light sources.
The invention discloses a kind of glass for vehicle window effective area ratio-dependent method, including:Collection includes glass for vehicle window
Image;The coordinate of each pixel of described image corresponding with the glass for vehicle window is obtained, obtains the initial pixel of glass for vehicle window
Gray-scale map, the initial gray value of each pixel of original pixel grayscale figure is the not visible gray value of sign glass;Pass through image
The mode of collection and image procossing causes the present invention to obtain the gray value for each pixel for descending described image at different moments, by
It is related to the visibility of glass in gray value, thus can according to the initial gray value of each pixel and at different moments under gray scale
Value identification visual boundary, and then the present invention can be determined according to the area for the area and described image that visual boundary is surrounded
Effective area ratio, the effective area ratio is to be obtained by machinery equipment according to certain algorithm, relative to manually-operated effect
Rate, accuracy and repeatability are substantially improved.
Further, the present invention gather comprising glass for vehicle window image before, by glass unit divisi8 into including first area,
Second area and the 3rd region, wherein, first area, second area are pilot's line of vision important area, the visibility in the region
Importance it is higher relative to other regions, the visibility test result that can be finally given by the division and driver
Actual demand is more consistent, and the reference value of test result is higher.
Further, The present invention gives first area, the secondth area are specifically obtained from the image comprising glass for vehicle window
Domain and the acquisition methods in the 3rd region:Because first area, second area and the 3rd region are not the borderline region of glass for vehicle window,
Method provided by the invention can be extracted to the most important region of Driver Vision with precise and high efficiency from glass for vehicle window.
Further, because frost, mist etc. itself have certain transparency, when causing glass not visible by frost, mist etc., glass
Whether not the transparency of glass has a greater change scope, it is impossible to simply whether exceed given threshold with gray value to judge glass
Visually, the present invention is with dynamic algorithm:The magnitude relationship of current grayvalue and gray value difference judges whether glass is visual, calculates
Method is simple, and adapts to cause the not visible situation of glass in frost, mist etc..
Further, the present invention obtains visual boundary of the glass for vehicle window at several specified moment respectively;When difference is specified
The visual boundary at quarter is configured to different colours;The visual boundary of different colours is superimposed in one drawing to show visual boundary
Change dynamic.The present invention is so caused to demonstrate demisting, the dynamic process of defrosting in a manner of simple, intuitive.
Brief description of the drawings
, below will be to institute in embodiment in order to illustrate more clearly of the embodiment of the present application or technical scheme of the prior art
The accompanying drawing needed to use is briefly described, it should be apparent that, drawings in the following description are only one described in the present invention
A little embodiments, for those of ordinary skill in the art, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is the first flow according to glass for vehicle window effective area ratio-dependent method provided in an embodiment of the present invention
Figure;
Fig. 2 is second of flow according to glass for vehicle window effective area ratio-dependent method provided in an embodiment of the present invention
Figure;
Fig. 3 is a kind of flow chart according to the method provided in an embodiment of the present invention by glass unit divisi8 region;
Fig. 4 is to be flowed according to a kind of the of method of the original pixel grayscale figure of acquisition glass for vehicle window provided in an embodiment of the present invention
Cheng Tu;
Fig. 5 is a kind of structural representation according to image collecting device provided in an embodiment of the present invention;
Fig. 6 is enlarged drawing at Fig. 5 A;
Fig. 7 is enlarged drawing at Fig. 6 B;
Fig. 8 is enlarged drawing at Fig. 5 C.
Embodiment
Embodiments of the invention are described below in detail, the example of the embodiment is shown in the drawings, wherein from beginning to end
Same or similar label represents same or similar element or the element with same or like function.Below with reference to attached
The embodiment of figure description is exemplary, is only used for explaining the present invention, and is not construed as limiting the claims.
Glass for vehicle window effective area ratio-dependent method provided by the invention, the gray scale of the image by obtaining glass for vehicle window
Figure carrys out the visibility of the glass for vehicle window of automatic identification at different moments, relative to the efficiency, accuracy and repeatability of manual testing
It is substantially improved.
In order to be better understood from technical scheme and technique effect, below with reference to flow chart and specific implementation
Example is described in detail.
The embodiments of the invention provide a kind of glass for vehicle window effective area ratio-dependent method, as shown in figure 1, for according to this
The first flow chart for the glass for vehicle window effective area ratio-dependent method that inventive embodiments provide, this method include following step
Suddenly:
S01, collection include the image of glass for vehicle window.
In the present embodiment, the image of glass for vehicle window can be included by imaging first-class collection, for example, camera is set up
In specified location in the car or outside car, preferably set up in the car, and imitate the position of the eyes of driver, the figure so obtained
As more pressing close to real demand.
S02, the coordinate of each pixel of described image corresponding with the glass for vehicle window is obtained, obtain the first of glass for vehicle window
Beginning pixel grey scale figure, the initial gray value of each pixel of original pixel grayscale figure is the not visible gray value of sign glass.
In the present embodiment, due to not only including glass for vehicle window in the image of collection, additionally including miscellaneous part, these
Part can disturb processing result image, therefore, it is necessary to the image of glass for vehicle window is plucked out from the image of collection, specifically,
It can carry out scratching figure by the coordinate for each pixel for obtaining described image corresponding with the glass for vehicle window, then obtain and pluck out
Figure gray-scale map.In being tested for defrosting, demisting etc., the initial value of gray-scale map should be not visible corresponding gray value,
And in other experiments, such as soda acid etc. is in the erosion test of glass, initial gray value corresponding to glass should be visual phase
Corresponding gray value.
S03, obtain the gray value for each pixel for descending described image at different moments, the visibility phase of gray value and glass
Close.
In the present embodiment, the gray value of each pixel in image can be obtained by prior art.Preferably, it is each
Pixel sets a gray value ordered series of numbers, obtains the gray value of each pixel of described image under each sampling instant, and store
In gray value ordered series of numbers corresponding to each pixel, or the gray scale of each pixel according to specified sample period acquisition described image
Value, and be stored in gray value ordered series of numbers corresponding to each pixel.
S04, according to the initial gray value of each pixel and at different moments under gray value identification visual boundary.
In the present embodiment, gray-scale map can be subjected to binary conversion treatment, obtains binary map, then obtained from binary map
Visual boundary.
Specifically, for the current grayvalue of each pixel compared with gray value difference, the gray value difference is picture
The initial gray value of vegetarian refreshments and the difference of current grayvalue;If current grayvalue is more than gray value difference, the pixel pair
It is viewing area at the glass answered;If current grayvalue is more than gray value difference, for not at glass corresponding to the pixel
Viewing area.So actually carried out binary conversion treatment to gray-scale map, the process of binary conversion treatment be not with single threshold value, and
It is that dynamic is handled so that the result after binary conversion treatment more conforms to the area in visual/not visible region under the scenes such as frost, mist
Point.Then visual boundary is identified according to viewing area.
S05, the area and the area of described image surrounded according to visual boundary determine effective area ratio.
In the present embodiment, by obtaining of the pixel in the number of pixel and non-visual boundary area in visual boundary
Number, then with the total number of the pixel in visual boundary divided by total number of pixels of glass image.
Glass for vehicle window effective area ratio-dependent method provided by the invention, including:Collection includes the image of glass for vehicle window;
The coordinate of each pixel of described image corresponding with the glass for vehicle window is obtained, obtains the original pixel grayscale of glass for vehicle window
Figure, the initial gray value of each pixel of original pixel grayscale figure is the not visible gray value of sign glass;Pass through IMAQ
And the mode of image procossing causes the present invention to obtain the gray value for each pixel for descending described image at different moments, due to ash
Angle value is related to the visibility of glass, thus can according to the initial gray value of each pixel and at different moments under gray value know
Other visual boundary, and then it is visual make it that the present invention can determine according to the area for the area and described image that visual boundary is surrounded
Area ratio, the effective area ratio is to be obtained by machinery equipment according to certain algorithm, relative to manually-operated efficiency, essence
Exactness and repeatability are substantially improved.
As shown in Fig. 2 second of the glass for vehicle window effective area ratio-dependent method provided according to embodiments of the present invention
Flow chart.
In the present embodiment, methods described also includes:
S21, gather comprising glass for vehicle window image before, by glass unit divisi8 into including first area, second area and
3rd region.
In the present embodiment, it is contemplated that the different zones of glass for vehicle window are different to Driver Vision image degree, therefore,
When evaluating demisting, defrosting and other effects, it should difference evaluation is carried out for the different zones of glass, to cause evaluation result more to stick on
Close actual impression.Wherein, first area is to the most important visual zone of driver, for example, region in face of driver etc..
Specifically, as shown in figure 3, being flowed for one kind according to the method provided in an embodiment of the present invention by glass unit divisi8 region
Cheng Tu.Including:
S31, according to longitudinal vertical plane, seating reference point and the backrest angle of driver's seating position center line
Degree, it is determined that the face that the intersection that 4 planes that two points for characterizing driver's eyes extend forward intersect with glass surface is closed
Product.
In a specific embodiment, software programming by driver's seating position (if barbed chair, then should be by seat
Chair is adjusted to rearmost position) table that determines of longitudinal vertical plane of center line, seating reference point and design seat back angle
The point of driver eye positions is levied, 4 planes that the two points extend forward are sealed with the intersection that windscreen outer surface is intersected
The area closed determines the first area of front windshield.Wherein 4 planes refer to respectively by two points and on a left side for X-axis respectively
Side and X-axis into 13 ° of angles vertical plane, by first point with X-axis into 3 ° of elevations angle and the plane parallel with Y-axis, pass through second point
With X-axis into 1 ° of angle of depression and the plane parallel with Y-axis, pass through and second point at first point to X right side and X-axis into the vertical at 13 ° of angles
Plane.Obtain the actual three-dimensional coordinate of first area.
S32, using the area as first area.
S33, using the vertical center line of glass as axis, the region with the symmetrical glass in the first area is as the secondth area
Domain.
S34, in the first area and the region on the basis of the inside at least Minimum Area of the first length of glass edge.
In a specific embodiment, the area of the air regulator outer surface surrounded by 4 planes and saturating away from windscreen
Inwardly at least 25 millimeters of bright area edge, reference area is determined to be defined compared with small area, is passed through wherein 4 planes refer to respectively
First point with X-axis into 7 ° of elevations angle and the plane parallel with Y-axis, by second point and X-axis into 5 ° of angles of depression and parallel with Y-axis flat
Face, by first and second points in X left side and vertical plane of the X-axis into 17 ° of angles, the face on the basis of automobile longitudinal central plane
And with passing through the symmetrical plane of vertical plane of and second point in X left side with X-axis into 17 ° of angles at first point.
S35, using the vertical center line of glass as axis, the region with the symmetrical glass of the reference area, with the base
Quasi- region sum is as the 3rd region.
The actual coordinate value of first area, second area and the 3rd region can be obtained by S31 to S35, i.e., by glass
It is divided into including first area, second area and the 3rd region.
S22, the image of the first area, the second area and the 3rd region is gathered, and respectively described in acquisition
The original pixel grayscale figure of first area, the second area and the 3rd region.
Specifically, corresponding with the glass for vehicle window first area, the second area and the 3rd area are obtained
The coordinate of each pixel of the image in domain, i.e., obtain the image in each region from the image of collection, and then obtains firstth area
The original pixel grayscale figure in domain, the second area and the 3rd region.
In a specific embodiment, as shown in figure 4, for according to the first of acquisition glass for vehicle window provided in an embodiment of the present invention
A kind of flow chart of the method for beginning pixel grey scale figure, this method include:
S41, the square marks of specified size are set on glass for vehicle window.
S42, the camera collection positioned at specified location include the image of glass for vehicle window, the square marks in acquisition image
Horizontal pixel point number and longitudinal pixel number.
S43, the reality of the horizontal pixel point numbers of the square marks in image, longitudinal pixel number and square marks
The border length of side obtains pixel point areas and pixel corresponds to the proportionality coefficient of transparency area.
S44, first area image, second area image and the are obtained according to the image of the proportionality coefficient and glass for vehicle window
The coordinate of each pixel of three area images.Due to having had the first area of glass for vehicle window, second area and the 3rd region
Actual three-dimensional coordinate, the image of glass for vehicle window, obtain the firstth area in image of the can after obtaining proportionality coefficient from collection
The image in domain, second area and the 3rd region.In addition, can so filter out other region chaff interferences, above three is only handled
The image in region, processing speed can be improved.
S45, by first area image during defrosting or defogging experiment beginning, second area image and the 3rd area image
The gray value of each pixel is set to initial value.
The initial pixel of the first area, the second area and the 3rd region can be obtained by above-mentioned steps
Gray-scale map.
S23, after the effective area ratio of the first area, the second area and the 3rd region is obtained,
According to the percentage of the defrosting or defogging in effective area ratio-dependent first area, second area and the 3rd region.
S24, the duration that default defrosting threshold value or default demisting threshold value are reached according to the percentage of defrosting or defogging determine to remove
The performance of frost or demisting.
In other embodiments, in order to show defrosting, demisting dynamic process, methods described can further include with
Lower step:Visual boundary of the glass for vehicle window at several specified moment is obtained respectively;The visual boundary at different specified moment is configured
For different colours;The visual boundary of different colours is superimposed in one drawing to show the change of visual boundary dynamic.
In a preferred embodiment, illustrated by taking front windshield as an example:The first of glass for vehicle window is obtained first
Region, second area, the actual D coordinates value in the 3rd region.
Data acquisition software is write on the PC, recognizable mark is sticked on front windshield, labeled as side
Long 100mm square blank sheet of paper marks as identification.
Collection one has the front windshield figure that identification marks, and chooses front windshield effective coverage manually by software,
The pixel coordinate value in region is obtained, then the region P containing identifiable marker is chosen from effective coverage expert is dynamic, other regions are done
Disturb thing to filter out, the content in a processing region P, processing speed can be improved, ask for the long number of pixels x of mark in the P of region and
Wide number of pixels y, takes long number of pixels x and the wide number of pixels y arithmetic mean of instantaneous values to be(it can so avoid due to preceding
Not exclusively it is vertical relation between windshield and video camera, the problem of causing anamorphose, the degree of accuracy of demarcation can be improved,
And then improve the degree of accuracy of the image in each region obtained), known identification mark length of side 100mm, is calculated in step III
The proportionality coefficient of actual value and imageThe actual coordinate value of instruction carriage first area, the 3rd region and second area
The pixel coordinate value of instruction carriage first area on image, the 3rd region and second area is converted into, has now obtained first
The pixel coordinate of region, the 3rd region and second area on whole figure, the front windshield process gathered by test software
Figure shows three first area, the 3rd region and second area regions, three first area, the 3rd region and second area areas
Domain is that front removes fog-zone.
Result figure is stored in the Fixed disk file of PC with BMP forms.
When demisting, which is tested, to be started, one artwork of collection per second, the front windshield effective district obtained according to step before
The pixel coordinate value in domain, every artwork are all first sheared, and are obtained the image of only front windshield effective coverage, are worked as front windshield
Glass is covered with mist, chooses first figure for being covered with mist of on-test as reference chart, and front windshield glass is attached in experimentation
Mist on glass dribbles, and for the figure of the fog dissipation on its front windshield as procedure chart, every procedure chart has its gray value A
The gray value B that (A1, A2, A3, A4 ...) and front windshield are covered with the figure of mist carries out that gray value difference C is calculated, such as formula (1)
It is shown:
C=A-B (1)
During experiment, in addition to reference chart, every front windshield fog dissipation procedure chart has its corresponding gray value differences
Value C, original procedure figure are first converted into two-dimensional array, obtain the gray value that two-dimensional array is each put, the gray value and gray scale of at every
Value difference value C compares, if being more than gray value difference C, is determined as the region that mist has dissipated, i.e., fogless region R, sets no fog-zone
Domain R gray value is 255, if being less than gray value difference C, is determined as fog bank S, sets fog bank S gray value
It is 0, obtains the two-dimensional array that gray value only has 0 and 255, then be converted into a gray value from two-dimensional array and there was only 0 and 255
The result figure (i.e. binary map) of BMP forms.
Judge there is mist and fogless side in every procedure chart of the fog dissipation on front windshield by gray value difference C
Boundary, it is fog dissipation region in border, is fog bank outside border, you can fog dissipation region in filling border and calculates fog dissipation
Region obtains percentage.Preferably, the above results figure is carried out expansion 3 times, corrodes 2 times and filters out noise particle, finally filled out
Fill hollow sectors in connected region, you can obtain fog dissipation process processing figure in real time with per second, judge there is fog-zone on front windshield
Domain S and fogless region R, and fogless region R sum of all pixels m is calculated.
Fog-zone first area, second area and the 3rd area pixel coordinate are removed according to the front obtained before, according to three
The pixel coordinate in region is divided into three regions, i.e. first area, second area and the 3rd area on fog dissipation process processing figure
Domain, it is n1 that first area sum of all pixels, which is calculated, by pixel coordinate, and first area fog dissipation pixel count is m1, second area picture
Plain sum is n2, and second area fog dissipation pixel count is m2, and the 3rd area pixel sum is n3, the 3rd region fog dissipation pixel count
For m3, it is m1/n1 to learn first area fog dissipation percentage, and second area fog dissipation percentage is m2/n2, and the 3rd region mist disappears
It is m3/n3 to dissipate percentage.
According to demisting test period 10min qualifications, choose successively on-test 2min, 4min, 6min, 8min and
10min five opens the visual boundary of fog dissipation process, and sets different colours to each visual boundary, is folded successively according to the time
Add, obtain a cromogram, then by front except fog-zone first area, second area and the 3rd area pixel coordinate are superimposed upon colour
On figure, you can obtain the design sketch of a demisting experiment.
In addition, in order to further lift the degree of accuracy of the judgement of visibility, following handle can be carried out to gray value difference:
The gray value difference C (C1, C2, C3, C4 ...) each put in front windshield effective coverage is calculated, will be each
The gray value difference of point sorts according to sizes values order, is divided into 15 parts, x-axis corresponding grey scale difference, from left to right gray scale
Successively from as low as greatly, y-axis corresponds to each gray scale difference values of effective coverage Q and occupies ratio difference, and y-axis is sequentially chosen from right to left with x-axis
Occupy gray scale difference value Cn corresponding to ratio accumulative 90%, then Cm, i.e. Cm=k2 × Cn are compensated to obtain by coefficient k 2.
, can be with automatic identification glass for vehicle window using glass for vehicle window effective area ratio-dependent method provided by the invention
First area, second area and the 3rd region, gather and automatically process demisting procedure chart in each region, form fog dissipation border
Design sketch and automatic calculating fog dissipation percentage.
As shown in figure 5, it is a kind of structural representation according to image collecting device provided in an embodiment of the present invention.Fig. 6 is
Enlarged drawing at Fig. 5 A;Fig. 7 is enlarged drawing at Fig. 6 B;Fig. 8 is enlarged drawing at Fig. 5 C.
In the present embodiment, described image harvester includes:
Camera support base 1, the first hollow circular-tube 2, Fixture for tube of seat 3, the second hollow circular-tube 4, head 5, stay-warm case 6 are with taking the photograph
As first 7.
The camera support base 1 is fixed with first hollow circular-tube 2 by way of screw thread compression, and described first is empty
Connected between heart pipe 2 and second hollow circular-tube 4 by the Fixture for tube of seat 3, to adjust the stay-warm case 6 and the shooting
The distance between first 7 and ground, second hollow circular-tube 4 are connected through a screw thread with the head 5, and the stay-warm case 6 is fixed
On the head 5, the stay-warm case 6 is located on the camera 7, and the head 5 is used for the appearance for adjusting the camera 7
State.
Specifically, there are polytype instruction carriage, including the vehicle such as commercial car, passenger car in being tested due to heat pump performance, take the photograph
As first 7 position is modified according to instruction carriage type, so passing through between the first hollow circular-tube 2 and the second hollow circular-tube 4
Fixture for tube of seat 3 connects, and with distance above and below telescopic adjustment, can adjust the height of stay-warm case 6 and camera 7, make camera 7 complete
Photograph the front windshield region of instruction carriage.
First hollow circular-tube 2 and the designing material of the second hollow circular-tube 4 are stainless steel material, and quality is light and handy, be easy to carry with
It is mobile.Camera support base 1, the first hollow circular-tube 2 and the three of the second hollow circular-tube 4 closely connect, three's bending resistance, resistance to torsion
Can be excellent, can low temperature, powerful cold wind test environment under, ensure that stay-warm case 6 and camera 7 are supported on being stably fixed at
Apart from ground 2m level above, and camera 7 will not be by effect of jitter.Second hollow circular-tube 4 is connected with head 5 by screw thread
Connect, belong to interference fit, it is close to reinforce the second hollow circular-tube 4 and head 5.Stay-warm case 6 is firm to be placed on head 5, the energy of head 5
Pose adjustment is carried out to the camera 7 in stay-warm case 6.
Preferably, the stay-warm case 6 has a heating and heat preserving function, and is sealing cover structure, with prevent the camera 7 by
Humid environment influences.
For example, stay-warm case 6 can carry out heating function, heat insulation function and automatic circuit break function.Carry out heat pump performance demisting survey
During examination, the low temperature bin for parking instruction carriage is cooled, the temperature of camera 7 decreases, when camera 7 temperature be less than 0 DEG C,
Stay-warm case 6 is heated, and prevents camera 7 from being broken down because of low temperature environment.Adding around stay-warm case 6 has heat-preservation cotton, while to taking the photograph
As head insulation, camera 7 can in real time monitor and gather the image of the change procedure of front windshield at low ambient temperatures always.
Stay-warm case 6 can be dismantled simultaneously, the convenient camera 7 adjusted inside stay-warm case 6;When in low temperature bin progress fog removal performance experiment
When, humidity can increase in low temperature bin, so stay-warm case 6 is fully sealed, prevent that camera 7 from being influenceed by humid environment.Camera 7 can
Specific select can be in low temperature:The industrial camera of normal work can be kept in -40 DEG C of extreme environment, is prevented because stay-warm case 6 is imitated
Fruit is bad, causes camera 7 to break down.
In another embodiment, described image harvester also includes:Several light sources.Because single source may cause
Brightness on glass for vehicle window is inconsistent, and this can influence test result.It is preferred that using 2 light sources, the first light source fixed placement is in car
On interior front-row seats headrest, secondary light source and the 3rd light source are arranged in front windshield both sides, improve front windshield area
Domain brightness.
Each embodiment in this specification is described by the way of progressive, identical similar portion between each embodiment
Point mutually referring to.Although the present invention is disclosed as above with preferred embodiment, but is not limited to the present invention.It is any ripe
Know those skilled in the art, without departing from the scope of the technical proposal of the invention, all using the disclosure above method and
Technology contents make many possible changes and modifications to technical solution of the present invention, or are revised as the equivalence enforcement of equivalent variations
Example.Therefore, every content without departing from technical solution of the present invention, the technical spirit according to the present invention is to made for any of the above embodiments
Any simple modifications, equivalents, and modifications, still fall within technical solution of the present invention protection in the range of.
Claims (10)
- A kind of 1. glass for vehicle window effective area ratio-dependent method, it is characterised in that including:Collection includes the image of glass for vehicle window;The coordinate of each pixel of described image corresponding with the glass for vehicle window is obtained, obtains the initial pixel ash of glass for vehicle window Degree figure, the initial gray value of each pixel of original pixel grayscale figure is the not visible gray value of sign glass;The gray value for each pixel for descending described image at different moments is obtained, gray value is related to the visibility of glass;Gray value identification visual boundary under according to the initial gray value of each pixel and at different moments;The area and the area of described image surrounded according to visual boundary determines effective area ratio.
- 2. according to the method for claim 1, it is characterised in that methods described also includes:Before the image comprising glass for vehicle window is gathered, by glass unit divisi8 into including first area, second area and the 3rd region;Gather the image of the first area, the second area and the 3rd region, and obtain respectively the first area, The second area and the original pixel grayscale figure in the 3rd region;After the effective area ratio of the first area, the second area and the 3rd region is obtained, according to visual Area ratio determines the percentage of the defrosting or defogging of first area, second area and the 3rd region;The duration for reaching default defrosting threshold value or default demisting threshold value according to the percentage of defrosting or defogging determines defrosting or defogging Performance.
- 3. according to the method for claim 2, it is characterised in that it is described by glass unit divisi8 into including first area, the secondth area Domain and the 3rd region, including:According to longitudinal vertical plane, seating reference point and the seat back angle of driver's seating position center line, table is determined The area that the intersection that 4 planes that two points of sign driver's eyes extend forward intersect with glass surface is closed;Using the area as first area;Using the vertical center line of glass as axis, the region with the symmetrical glass in the first area is as second area;In the first area and the region on the basis of the inside at least Minimum Area of the first length of glass edge;Using the vertical center line of glass as axis, the region with the symmetrical glass of the reference area, with the reference area it With as the 3rd region.
- 4. according to the method for claim 3, it is characterised in that described to obtain described image corresponding with the glass for vehicle window Each pixel coordinate, obtaining the original pixel grayscale figure of glass for vehicle window includes:The square marks of specified size are set on glass for vehicle window;Camera collection positioned at specified location includes the image of glass for vehicle window, obtains the horizontal pixel of the square marks in image Point number and longitudinal pixel number;The actual length of side of the horizontal pixel point numbers of square marks in image, longitudinal pixel number and square marks obtains Pixel point areas and pixel is taken to correspond to the proportionality coefficient of transparency area;First area image, second area image and the 3rd administrative division map are obtained according to the image of the proportionality coefficient and glass for vehicle window The coordinate of each pixel of picture;Each pixel of first area image, second area image and the 3rd area image when defrosting or defogging experiment is started Gray value be set to initial value.
- 5. according to the method for claim 1, it is characterised in that described to obtain each pixel for descending described image at different moments Gray value include:A gray value ordered series of numbers is set for each pixel,The gray value of each pixel of described image under each sampling instant is obtained, and is stored in gray value corresponding to each pixel In ordered series of numbers, or the gray value of each pixel according to specified sample period acquisition described image, and it is stored in each pixel pair In the gray value ordered series of numbers answered.
- 6. according to the method for claim 5, it is characterised in that the initial gray value according to each pixel and it is different when The gray value identification visual boundary inscribed includes:For the current grayvalue of each pixel compared with gray value difference, the gray value difference is the initial ash of pixel The difference of angle value and current grayvalue;At glass it is viewing area corresponding to the pixel if current grayvalue is more than gray value difference;At glass it is not visible region corresponding to the pixel if current grayvalue is more than gray value difference;Visual boundary is identified according to viewing area.
- 7. according to the method for claim 6, it is characterised in that methods described also includes:Visual boundary of the glass for vehicle window at several specified moment is obtained respectively;The visual boundary at different specified moment is configured to different colours;The visual boundary of different colours is superimposed in one drawing to show the change of visual boundary dynamic.
- 8. according to the method described in any one of claim 1 to 7, it is characterised in that pass through image acquisition device image, institute Stating image collecting device includes:Camera support base (1), the first hollow circular-tube (2), Fixture for tube of seat (3), the second hollow circular-tube (4), head (5), insulation Cover (6) and camera (7);The camera support base (1) is fixed with first hollow circular-tube (2) by way of screw thread compression, and described first is empty Be connected between heart pipe (2) and second hollow circular-tube (4) by the Fixture for tube of seat (3), with adjust the stay-warm case (6) and The distance between the camera (7) and ground, second hollow circular-tube (4) are connected through a screw thread with the head (5), institute State stay-warm case (6) to be fixed on the head (5), the stay-warm case (6) is located on the camera (7), the head (5) For adjusting the posture of the camera (7).
- 9. according to the method for claim 8, it is characterised in that the stay-warm case (6) has heating and heat preserving function, and is close Closure structure, to prevent that the camera (7) from being influenceed by humid environment.
- 10. according to the method for claim 8, it is characterised in that described image harvester also includes:Several light sources.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710944414.3A CN107845110B (en) | 2017-09-30 | 2017-09-30 | Method for determining proportion of visible area of window glass |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710944414.3A CN107845110B (en) | 2017-09-30 | 2017-09-30 | Method for determining proportion of visible area of window glass |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107845110A true CN107845110A (en) | 2018-03-27 |
CN107845110B CN107845110B (en) | 2020-07-24 |
Family
ID=61661293
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710944414.3A Active CN107845110B (en) | 2017-09-30 | 2017-09-30 | Method for determining proportion of visible area of window glass |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107845110B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110132612A (en) * | 2019-05-31 | 2019-08-16 | 中国汽车工程研究院股份有限公司 | A kind of defrosting effect scalarization method suitable for the performance test that defrosts |
CN110406346A (en) * | 2018-04-26 | 2019-11-05 | 上海博泰悦臻网络技术服务有限公司 | Air conditioning control method, system and vehicle based on Image Acquisition |
CN111251830A (en) * | 2020-02-19 | 2020-06-09 | 王英婷 | Intelligent blowing heating driving system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150114952A1 (en) * | 2013-10-24 | 2015-04-30 | National Tsing Hua University | Flexible transparent film heater |
CN104908718A (en) * | 2015-06-29 | 2015-09-16 | 吉林大学 | Automobile glass automatic defogging system and method based on transmittance and relative humidity |
CN104908555A (en) * | 2015-06-29 | 2015-09-16 | 吉林大学 | Automobile glass optical defogging system and method |
CN106515369A (en) * | 2016-11-29 | 2017-03-22 | 北京汽车研究总院有限公司 | Control method and device for vehicle air conditioner |
-
2017
- 2017-09-30 CN CN201710944414.3A patent/CN107845110B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150114952A1 (en) * | 2013-10-24 | 2015-04-30 | National Tsing Hua University | Flexible transparent film heater |
CN104908718A (en) * | 2015-06-29 | 2015-09-16 | 吉林大学 | Automobile glass automatic defogging system and method based on transmittance and relative humidity |
CN104908555A (en) * | 2015-06-29 | 2015-09-16 | 吉林大学 | Automobile glass optical defogging system and method |
CN106515369A (en) * | 2016-11-29 | 2017-03-22 | 北京汽车研究总院有限公司 | Control method and device for vehicle air conditioner |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110406346A (en) * | 2018-04-26 | 2019-11-05 | 上海博泰悦臻网络技术服务有限公司 | Air conditioning control method, system and vehicle based on Image Acquisition |
CN110132612A (en) * | 2019-05-31 | 2019-08-16 | 中国汽车工程研究院股份有限公司 | A kind of defrosting effect scalarization method suitable for the performance test that defrosts |
CN111251830A (en) * | 2020-02-19 | 2020-06-09 | 王英婷 | Intelligent blowing heating driving system |
Also Published As
Publication number | Publication date |
---|---|
CN107845110B (en) | 2020-07-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107845110A (en) | A kind of glass for vehicle window effective area ratio-dependent method | |
CN105722708B (en) | Driving ancillary equipment and method | |
CN106515369B (en) | A kind of control method and device of vehicle air conditioning | |
CN105631853B (en) | Vehicle-mounted binocular camera demarcation and Verification method | |
CN108171673A (en) | Image processing method, device, vehicle-mounted head-up-display system and vehicle | |
CN107878301A (en) | Method and associated optical projection system for the projection system projects image by motor vehicles | |
DE102007027296A1 (en) | Automatic sun visor for a motor vehicle | |
CN109785262A (en) | Image defogging method based on dark channel prior and adaptive histogram equalization | |
CN106029416A (en) | Sun shield | |
CN106218587B (en) | A kind of method and apparatus for opening defrosting function | |
CN109263652B (en) | Method for measuring and checking front visual field of driver | |
DE102013204597A1 (en) | Method and apparatus for determining visibility in fog during the day | |
CN106394408B (en) | A kind of adjusting method and device of rearview mirror | |
CN109584176A (en) | Motor vehicle driving vision enhancement system | |
GB2465470A (en) | Head up device which can vary the image according to the background | |
CN110989344A (en) | Automatic adjustment method and system for preset parameters of inspection robot | |
CN103926060B (en) | Based on vehicle headlamp irradiation angle detection method, the Apparatus and system of facade | |
CN113125127A (en) | Optical scene simulation method and device based on human eye vision | |
DE102014221190A1 (en) | Infrared pattern in slices of vehicles | |
RU2369490C2 (en) | Multifunctional system for protecting eyes from blindness | |
CN103954437B (en) | Based on the vehicle headlamp irradiation angle detection method of facade, Apparatus and system | |
DE102006056180A1 (en) | Image processing system calibrating method for motor vehicle, involves detecting and evaluating marking on vehicle pane using image sensor, where characteristics of vehicle pane are determined based on detected marking | |
WO2014139957A1 (en) | Vehicle and method for reacting to illumination on a vehicle | |
CN108909403A (en) | A kind of automatic defrosting method and device | |
DE102006048869B4 (en) | Projection arrangement and method for displaying a design on a surface of a motor vehicle |
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 |