CN108956095A - A kind of optical lens pollution level measurement method and device - Google Patents
A kind of optical lens pollution level measurement method and device Download PDFInfo
- Publication number
- CN108956095A CN108956095A CN201810475070.0A CN201810475070A CN108956095A CN 108956095 A CN108956095 A CN 108956095A CN 201810475070 A CN201810475070 A CN 201810475070A CN 108956095 A CN108956095 A CN 108956095A
- Authority
- CN
- China
- Prior art keywords
- optical lens
- gray scale
- pollution level
- scale pictures
- light source
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01M—TESTING STATIC OR DYNAMIC BALANCE OF MACHINES OR STRUCTURES; TESTING OF STRUCTURES OR APPARATUS, NOT OTHERWISE PROVIDED FOR
- G01M11/00—Testing of optical apparatus; Testing structures by optical methods not otherwise provided for
- G01M11/02—Testing optical properties
- G01M11/0242—Testing optical properties by measuring geometrical properties or aberrations
- G01M11/0278—Detecting defects of the object to be tested, e.g. scratches or dust
Landscapes
- Physics & Mathematics (AREA)
- Geometry (AREA)
- Chemical & Material Sciences (AREA)
- Analytical Chemistry (AREA)
- General Physics & Mathematics (AREA)
- Photometry And Measurement Of Optical Pulse Characteristics (AREA)
Abstract
The present invention relates to field of optical measurements, disclosing a kind of optical lens pollution level measurement method and device, described device includes detection platform, point light source and infrared camera.The point light source is close to the detection platform bottom;The optical lens is fixed in the detection platform;The infrared camera is set between the point light source and the optical lens, in the projection print of the detection platform inner wall when for shooting when light is not contaminated through the optical lens and have pollution, gray proces are carried out to the photo again and obtain corresponding gray scale pictures, finally two gray scale pictures are chosen with the pixel at same position, the corresponding gray value of the pixel is substituted into the relative coefficient that relative coefficient calculation formula calculates two gray scale pictures, relative coefficient is bigger to indicate that the optical lens pollution level is lower.Optical lens pollution level measuring device structure of the invention is simple and convenient to operate and measures accurate, high-efficient, is with a wide range of applications.
Description
Technical field
The present invention relates to field of optical measurements, and in particular to a kind of optical lens pollution level measurement method and device.
Background technique
In automatic observation, atmospheric visibility usually is indicated with the meteorological optical range that atmospheric level transmitance defines.
In general, the observation device of meteorological optical range mainly has forward scattering type visibility meter and transmission-type visibility meter.
The near infrared light that Forward scattering selects Atmospheric Absorption faint, at 35 ° of directions, is surveyed with detection direction of beam propagation
Angulation scattering coefficient, then certain atmospheric optics mode computation total scattering coefficient is pressed, and energy is determined according to Koschmieder law
The measurement error of degree of opinion, this method is decided by the measurement of total scattering coefficient.In existing forward scattering subtraction unit, to total scattering system
The main determining factor of number measurement error is as follows: the influence of optical mode, the influence of scatter sounding beam divergence angle, background radiation
Interference and scattering radiation reasons for its use interference and the influence etc. of test device structure thermal deformation.
Transmission beam method can be shown in by the extinction coefficient or light transmission rate of horizontal blank air column in the measurement sampler space to calculate atmosphere
Degree, although it is a kind of method, since optical window is easily contaminated, and the transmitting and measurement of light beam be separated by it is different
Locate, interval farther out, is easy to be not allowed so that detecting attenuation coefficient measurement of the light beam on propagation path, can even lead when seriously polluted
Cause measurement failure.It therefore is optics to the optical lens pollution level detection of this kind of complex optics detector of transmission-type visibility meter
It cannot be neglected a problem in measurement.
Summary of the invention
In order to solve the above technical problems, the object of the present invention is to provide it is a kind of measurement it is accurate, easy to operate, efficiency is higher
Optical lens pollution level measurement method and device.
In order to achieve the above objectives, the present invention provides a kind of optical lens pollution level measurement methods, comprising the following steps:
Projection print one when S1, the shooting optical lens be not contaminated;
S2, by one gray processing of projection print, obtain corresponding gray scale pictures one;
S3, the projection print two for shooting the optical lens when having pollution;
S4, by two gray processing of projection print, obtain corresponding gray scale pictures two;
S5, the relative coefficient for calculating the gray scale pictures one and the gray scale pictures two;
Wherein, relative coefficient is bigger, and the optical lens pollution level is lower;Relative coefficient is smaller, the optics
Lens contamination degree is higher.
Further, the specific method of the gray scale pictures one and the relative coefficient of the gray scale pictures two is calculated in S5
For,
S51, pixel in the gray scale pictures one in effective view field is sequentially chosen, it is N that note, which chooses number,;
S52, according to the position of the point of selected pixels described in step S51, in effective view field of the gray scale pictures two
The interior pixel chosen at same position, selection number are N;
S53, gray value corresponding with selected pixels point described in the gray scale pictures two in the gray scale pictures one is calculated,
And the gray value is sequentially substituted into formulaCalculate the relative coefficient Rab,
RabIt is bigger to indicate that the optical lens pollution level is lower, RabThe smaller expression optical lens pollution level is higher, wherein i
Indicate the serial number of the selected pixels point, XaiWithRespectively indicate the gray scale of current selected pixels point in the gray scale pictures one
The average gray value of value and the selected pixels point set, XbiWithRespectively indicate current selected pixels in the gray scale pictures two
The average gray value of selected pixels point set described in the sum of the grayscale values of point.
Further, effective view field indicates that light penetrates the view field of the optical lens part.
Further, i≤N and i are positive integer.
The present invention also provides a kind of optical lens pollution level measuring device, the pollution for detector optical lens is sentenced
It is fixed, including,
Detection platform, point light source and infrared camera;
The infrared camera is set between the point light source and the optical lens, for shooting light through the optics
Projection print of the lens in the detection platform inner wall;
The optical lens is fixed on inside the detection platform;
The point light source is close to the detection platform bottom.
Further, the infrared camera is located at the tapered zone that the point light source and the optical lens outer rim line are formed
In domain.
Further, the infrared camera has one or more.
Further, the detection platform has trench structure, including slot bottom, the first fixed arm and the second fixed arm,
First fixed arm is parallel to second fixed arm, and vertical first fixed arm of the slot bottom and described second are fixed
Arm.
Further, arm contact is fixed with first fixed arm and described second respectively in the both ends of the optical lens.
Further, the point light source is infrared spotlight.
Projection print of the present invention by shooting light through optical lens when not contaminated and when having a pollution, then will projection
After photo is converted into gray scale pictures, image correlation is carried out to two gray scale pictures and calculates to obtain the optical lens
Pollution level situation.The measurement method is accurate and efficiency is higher, corresponding optical lens pollution level measuring device structure letter
It is single, easy to operate, facilitate the judgement of optical lens pollution level.
Detailed description of the invention
It in order to more clearly illustrate the technical solutions in the embodiments of the present invention, below will be in embodiment technical description
Required attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is only some realities of the invention
Example is applied, it for those of ordinary skill in the art, without creative efforts, can also be according to these attached drawings
Obtain other attached drawings.
Fig. 1 is measurement structural representation when preferred embodiment of the present invention optical lens is not contaminated;
Fig. 2 is measurement structural representation when embodiment optical lens described in Fig. 1 has pollution;
Fig. 3 is photo of the embodiment light described in Fig. 1 through the first drop shadow spread of optical lens when not being contaminated;
Fig. 4 is embodiment light described in Fig. 1 through the photo of the first drop shadow spread of optical lens when having a pollution.
Each symbol is expressed as follows in figure:
1, slot bottom, the 2, first fixed arm, the 3, second fixed arm,
4, point light source, the 5, second infrared camera, the 6, first infrared camera
7, optical lens, the 80, first drop shadow spread, the 81, second drop shadow spread, 9, pollutant
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
Explanation
In using measurement of the transmission-type visibility meter to atmospheric visibility, complex probe of the measurement result to R-T unit
The optical lens pollution of device is extremely sensitive, it is therefore desirable to periodically determine and to described to the pollution level of the optical lens
After optical lens is decontaminated, the transmission-type visibility meter could be used to measure atmospheric visibility.
Embodiment
Referring to attached drawing 1~2, respectively indicate the present embodiment optical lens it is not contaminated when and measurement structure when having a pollution
Schematic diagram, including detection platform, point light source and infrared camera, the point light source are infrared spotlight.
The detection platform has trench structure, including slot bottom 1, the first fixed arm 2 and the second fixed arm 3, and first is solid
Fixed arm 2 is parallel to second fixed arm 3, vertical first fixed arm 2 of slot bottom 1 and the second fixed arm 3.
Point light source 4 is equipped with two frame infrared cameras, two frame close to card slot bottom between point light source 4 and optical lens 7
Infrared camera is symmetricly set in the conical region that point light source 4 and 7 outer rim line of optical lens are formed, wherein the first infrared phase
Machine 6 shoots light and penetrates drop shadow spread 80 of the optical lens 7 on the first fixed arm 2, and the second infrared camera 5 shoots light and penetrates
Drop shadow spread 81 of the optical lens 7 on the second fixed arm 3;Optical lens 7 is fixed between card slot, and both ends are respectively with first
Fixed arm 2 and the contact of the second fixed arm 3.
Image correlation calculating is mainly used for calculating the similarity degree of content between two images, according to calculating institute
The height of relative coefficient is obtained to judge the close degree of picture material.When the present invention is not contaminated by comparing optical lens 7
The calculating of relative coefficient is carried out with the gray scale pictures of projection print when having pollutant 9, the specific steps are as follows:
Step 1, shot by above-mentioned apparatus optical lens 7 it is not contaminated when the first drop shadow spread 80 in and the second projection
Photo in range 81;
Step 1 is shot resulting projection print storage and carries out gray proces to the projection print by step 2, is obtained
Corresponding gray scale pictures (a1) and (a2) are simultaneously stored;
Pixel in step 3, selection gray scale pictures (a1) and (a2) in effective view field, it is N that note, which chooses number, and
Sequentially calculate the gray value of the selected pixels point;
Step 4, the first drop shadow spread 80 and the second drop shadow spread that optical lens 7 is shot by above-mentioned apparatus when having pollution
81 photo;
Step 4 is shot the storage of gained photo and carries out gray proces to the projection print by step 5, is obtained corresponding
Gray scale pictures (b1) and (b2);
Step 6, according to the position of selected pixels point in step 3, in effective view field of gray scale pictures (b1) and (b2)
The interior pixel chosen at same position, selection number is N, and sequentially calculates the gray value of the selected pixels point;
Wherein, the specification size of gray scale pictures (a1), (a2), (b1) and (b2) is all the same;
Step 7, by relative coefficient calculation formula,Calculate separately institute
State the relative coefficient R of gray scale pictures (a1) and (b1) and (a2) and (b2)a1b1And Ra2b2。
Wherein i indicates the serial number of the selected pixels point, and i≤N and i are positive integer, XaiWithRespectively indicate gray scale pictures
(a1) average gray value of selected pixels point set described in the sum of the grayscale values of current selected pixels point, X and in (a2)biWithRespectively
Indicate the average ash of selected pixels point set described in the sum of the grayscale values of current selected pixels point in the gray scale pictures (b1) and (b2)
Angle value.
In this method, two images of optical lens when for the ease of not being contaminated and having pollution need to make described
The size of image is completely the same, it is preferable that the pixel size of larger picture can be set into;In addition the method for image gray processing has
Many kinds mainly include absolute average method and weighted average method, and essence is exactly to be added the trichromatic color value of RGB, are put down
New value, the different only trichromatic weighteds of RGB are assigned afterwards.
Referring to attached drawing 3~4, light is respectively indicated through the first projection when not being contaminated with optical lens 7 when having pollution
The gray scale pictures of range 80, the pixel number of two photos are 276 × 203 (i.e. length direction pixel is 276 points, width
Direction pixel is 203 points), wherein gray circular region indicates effective shooting area, i.e. transmission-type visibility meter transmitting-receiving dress
There is light to penetrate the view field of optical lens part in setting, which is using 72 pixels as the region of radius, entirely
The pixel number of picture is N=3.1415925 × 72 × 72=16286 in border circular areas, calculates the phase of the border circular areas
Property coefficient is closed, to i=16286 since i=1, by the i corresponding gray value of pixel indicated and the average ash of two photos
Angle value brings the calculation formula of relative coefficient into, obtains the relative coefficient Ra1b1=0.82173;For Ra2b2Calculating
It is same step.
Relative coefficient size reflects the similitude between two photos in situation, has | Rab|≤1。Rab=1 represents two
It opens completely similar between photo;Rab=-1 represents between two photos completely on the contrary;Rab=0 represents two photos not phase completely
It closes.Relative coefficient is bigger, and two photos are more similar.Therefore, the relative coefficient that the present embodiment obtains indicates optical lens 7
There is certain pollution, but is not very serious.
Projection print of the present invention by shooting light through optical lens when not contaminated and when having a pollution, then will projection
After photo is converted into gray scale pictures, image correlation is carried out to two gray scale pictures and calculates to obtain the optical lens
Pollution level situation.The measurement method is accurate and due to there was only 256 kinds of gray values, and calculation amount is smaller, and computational efficiency is high,
Corresponding optical lens pollution level measuring device structure is simple, easy to operate, facilitates the judgement of optical lens pollution level,
It is with a wide range of applications.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention.
Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein
General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention
It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one
The widest scope of cause.
Claims (10)
1. a kind of optical lens pollution level measurement method, which comprises the following steps:
Projection print one when S1, the shooting optical lens be not contaminated;
S2, by one gray processing of projection print, obtain corresponding gray scale pictures one;
S3, the projection print two for shooting the optical lens when having pollution;
S4, by two gray processing of projection print, obtain corresponding gray scale pictures two;
S5, the relative coefficient for calculating the gray scale pictures one and the gray scale pictures two.
2. optical lens pollution level measurement method according to claim 1, it is characterised in that: calculate the gray scale in S5
Photo one and the specific method of the relative coefficient of the gray scale pictures two be,
S51, pixel in the gray scale pictures one in effective view field is sequentially chosen, it is N that note, which chooses number,;
S52, according to the position of the point of selected pixels described in step S51, selected in effective view field of the gray scale pictures two
The pixel at same position is taken, selection number is N;
Gray value corresponding with selected pixels point described in the gray scale pictures two in S53, the calculating gray scale pictures one, and according to
The gray value is substituted into formula by sequenceCalculate the relative coefficient Rab, RabMore
Indicate that the optical lens pollution level is lower greatly, RabSmaller to indicate that the optical lens pollution level is higher, wherein i indicates institute
State the serial number of selected pixels point, XaiWithRespectively indicate the sum of the grayscale values institute of current selected pixels point in the gray scale pictures one
State the average gray value of selected pixels point set, XbiWithRespectively indicate the ash of current selected pixels point in the gray scale pictures two
The average gray value of angle value and the selected pixels point set.
3. optical lens pollution level measurement method according to claim 2, it is characterised in that: effective view field
Indicate that light penetrates the view field of the optical lens part.
4. optical lens pollution level measurement method according to claim 2, it is characterised in that: i≤N and i are positive integer.
5. a kind of optical lens pollution level measuring device characterized by comprising
Detection platform, point light source and infrared camera;
The infrared camera is set between the point light source and the optical lens, for shooting light through the optical lens
In the projection print of the detection platform inner wall;
The optical lens is fixed on inside the detection platform;
The point light source is close to the detection platform bottom.
6. optical lens pollution level measuring device according to claim 5, it is characterised in that: the infrared camera is located at
In the conical region that the point light source and the optical lens outer rim line are formed.
7. optical lens pollution level measuring device according to claim 5, it is characterised in that: the infrared camera has
It is one or more.
8. optical lens pollution level measuring device according to claim 5, it is characterised in that: the detection platform has
Trench structure, including slot bottom, the first fixed arm and the second fixed arm, it is fixed that first fixed arm is parallel to described second
Arm, vertical first fixed arm of the slot bottom and second fixed arm.
9. optical lens pollution level measuring device according to claim 8, it is characterised in that: the two of the optical lens
Arm contact is fixed with first fixed arm and described second respectively in end.
10. optical lens pollution level measuring device according to claim 5, it is characterised in that: the point light source is red
Outer point light source.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810475070.0A CN108956095A (en) | 2018-05-17 | 2018-05-17 | A kind of optical lens pollution level measurement method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810475070.0A CN108956095A (en) | 2018-05-17 | 2018-05-17 | A kind of optical lens pollution level measurement method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108956095A true CN108956095A (en) | 2018-12-07 |
Family
ID=64499235
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810475070.0A Pending CN108956095A (en) | 2018-05-17 | 2018-05-17 | A kind of optical lens pollution level measurement method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108956095A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109724993A (en) * | 2018-12-27 | 2019-05-07 | 北京明略软件系统有限公司 | Detection method, device and the storage medium of the degree of image recognition apparatus |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102445458A (en) * | 2011-10-18 | 2012-05-09 | 中国科学院合肥物质科学研究院 | Method for measuring stain on optical lens |
CN104143185A (en) * | 2014-06-25 | 2014-11-12 | 东软集团股份有限公司 | Blemish zone detecting method |
CN105911060A (en) * | 2016-04-20 | 2016-08-31 | 北京视程科技有限公司 | Visualized detection method and visualized detection device for contamination on window glass of transmission-type visual range visibility meter |
CN105928881A (en) * | 2016-04-20 | 2016-09-07 | 北京视程科技有限公司 | Detection method and detection apparatus for extinction of window mirrors of transmissive visibility meter |
CN106290394A (en) * | 2016-09-30 | 2017-01-04 | 华南理工大学 | A kind of cpu heat aluminium extruded forming defect detecting system and detection method |
CN106645197A (en) * | 2016-12-29 | 2017-05-10 | 中国工程物理研究院激光聚变研究中心 | Online detection system for detecting particles on surface of precise optical element and application method |
CN107067000A (en) * | 2017-03-31 | 2017-08-18 | 深圳怡化电脑股份有限公司 | A kind of recognition methods of bank note degree and device |
CN107255641A (en) * | 2017-06-06 | 2017-10-17 | 西安理工大学 | A kind of method that Machine Vision Detection is carried out for GRIN Lens surface defect |
-
2018
- 2018-05-17 CN CN201810475070.0A patent/CN108956095A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102445458A (en) * | 2011-10-18 | 2012-05-09 | 中国科学院合肥物质科学研究院 | Method for measuring stain on optical lens |
CN104143185A (en) * | 2014-06-25 | 2014-11-12 | 东软集团股份有限公司 | Blemish zone detecting method |
CN105911060A (en) * | 2016-04-20 | 2016-08-31 | 北京视程科技有限公司 | Visualized detection method and visualized detection device for contamination on window glass of transmission-type visual range visibility meter |
CN105928881A (en) * | 2016-04-20 | 2016-09-07 | 北京视程科技有限公司 | Detection method and detection apparatus for extinction of window mirrors of transmissive visibility meter |
CN106290394A (en) * | 2016-09-30 | 2017-01-04 | 华南理工大学 | A kind of cpu heat aluminium extruded forming defect detecting system and detection method |
CN106645197A (en) * | 2016-12-29 | 2017-05-10 | 中国工程物理研究院激光聚变研究中心 | Online detection system for detecting particles on surface of precise optical element and application method |
CN107067000A (en) * | 2017-03-31 | 2017-08-18 | 深圳怡化电脑股份有限公司 | A kind of recognition methods of bank note degree and device |
CN107255641A (en) * | 2017-06-06 | 2017-10-17 | 西安理工大学 | A kind of method that Machine Vision Detection is carried out for GRIN Lens surface defect |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109724993A (en) * | 2018-12-27 | 2019-05-07 | 北京明略软件系统有限公司 | Detection method, device and the storage medium of the degree of image recognition apparatus |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10876950B2 (en) | Analyzing apparatus, system, analyzing method, and program | |
CN102841197B (en) | Analytical equipment and analytical approach | |
CN102004078B (en) | System and method of target based smoke detection | |
US20100284570A1 (en) | System and method for gas leakage detection | |
US7495767B2 (en) | Digital optical method (DOM™) and system for determining opacity | |
McRae et al. | Backscatter absorption gas imaging: a new technique for gas visualization | |
US7237946B2 (en) | Use of IR camera | |
KR101958541B1 (en) | Method for quantification of level of pollution using infrared spectrometry | |
CN105911060B (en) | A kind of visible detection method and device of the pollution of transmission-type visual range visibility meter window mirror | |
CN102331241A (en) | The evaluation method of surface configuration and the evaluating apparatus of surface configuration | |
Tang et al. | A new visibility measurement system based on a black target and a comparative trial with visibility instruments | |
Voss et al. | Upwelling radiance distribution camera system, NURADS | |
Li et al. | Correction model for microlens array assembly error in light field camera | |
CN108956095A (en) | A kind of optical lens pollution level measurement method and device | |
Du et al. | Quantification of atmospheric visibility with dual digital cameras during daytime and nighttime | |
Kim | Estimation of visibility using a visual image | |
CN214097211U (en) | Transparent plate glass's defect detecting device | |
CN105326479A (en) | Handheld animal body temperature monitoring device and data processing method thereof | |
CN106500577A (en) | A kind of clinac vane grating method for detecting position | |
JP4534877B2 (en) | Optical sensor device | |
JP3909705B2 (en) | Calculation method of dust generation prediction formula from dust source | |
WO1999065005A2 (en) | Method and system for monitoring an area | |
RU2549610C1 (en) | Method of detecting hazardous radioactive contamination of area | |
Arias et al. | Alternative procedure for LR 115 chemical etching and alpha tracks counting | |
Toth et al. | Three-dimensional combined pyrometric sizing and velocimetry of combusting coal particles. I. Velocimetry |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181207 |