CN106370396B - A kind of light source detection method and detection device - Google Patents
A kind of light source detection method and detection device Download PDFInfo
- Publication number
- CN106370396B CN106370396B CN201510443746.4A CN201510443746A CN106370396B CN 106370396 B CN106370396 B CN 106370396B CN 201510443746 A CN201510443746 A CN 201510443746A CN 106370396 B CN106370396 B CN 106370396B
- Authority
- CN
- China
- Prior art keywords
- image
- light source
- processed
- frequency spectrum
- obtains
- 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.)
- Active
Links
Landscapes
- Image Analysis (AREA)
Abstract
The present invention is suitable for technical field of optical detection, provides a kind of light source detection method, comprising: light source to be detected is made to form inverted real image by pinhole imaging system camera lens;Imaging sensor receives inverted real image and converts optical signals to image digital signal, obtains image to be processed;Discrete Fourier transform is carried out to image to be processed and obtains characteristic frequency spectrum information;Image reconstruction is carried out based on characteristic frequency spectrum information;Characteristic image segmentation extraction is carried out to reconstructed image digital signal and obtains feature sub-image;Feature sub-image and image to be processed are done into filtering operation processing, output characteristics eigenmatrix;Property feature matrix is converted to obtain the characteristic information of light source to be detected.The present invention is imaged using pinhole imaging system camera lens, and pinhole imaging system has the characteristics that small luminous flux, the unlimited depth of field, autozoom, can effectively be solved overexposure optical issue and be reduced the exact requirements to position of image sensor;Interference can be eliminated by characteristic frequency spectrum information extraction and image reconstruction, improves anti-interference.
Description
Technical field
The invention belongs to technical field of optical detection, in particular to a kind of light source detection method and detection device.
Background technique
The detection of light source is the steps necessary before light source product factory, mainly includes the inspection of the features such as brightness, color, colour temperature
It surveys, current light source detection method is mainly using artificial visual detection method and automatic testing method.Detection method is manually visualized,
It is visually to judge light source performance by human eye after being powered to light source, which relies on the subjective judgement of human eye, can not be accurate
Quantitative analysis light source characteristic, and workload is big, low efficiency.Automatic testing method passes through hardware system-image pick-up card, light
Learn the on-line checking that camera lens, barn door, accurate transmission mechanism, control device, CCD and computer etc. carry out light source characteristic.Automatically
Detection method relies primarily on hardware performance to guarantee detection accuracy, there is imaging overexposure optical issue, needs shading before optical lens
Plate reduces light source intensity, or needs the accurate control time for exposure, structurally and operationally complicated;Also, poor anti jamming capability,
Such as be affected by external environment light, and light source and relative position of lens occur slight deviations then can not focus, make
At image blur, rotation etc., lead to not analysis output correct result.
Summary of the invention
The purpose of the present invention is to provide a kind of light source detection methods, it is intended to solve traditional automatic light source detection method and exist
Overexposure optical issue and improve the anti-interference ability of detection system.
The invention is realized in this way a kind of light source detection method, includes the following steps:
The light for issuing light source to be detected forms inverted real image by pinhole imaging system camera lens;
The inverted real image is received by imaging sensor, and is picture number by the optical signal conversion of the inverted real image
Word signal obtains image to be processed;
Discrete Fourier transform is carried out to the image to be processed, obtains characteristic frequency spectrum information;
Image reconstruction is carried out based on the characteristic frequency spectrum information, obtains the reconstructed image number letter for eliminating interference information
Number;
Characteristic image segmentation is carried out to the reconstructed image digital signal to extract, and is obtained comprising light source characteristic information to be detected
Feature sub-image;
The feature sub-image and the image to be processed are done into filtering operation processing, output characteristics eigenmatrix;
The property feature matrix is converted, the characteristic information of light source to be detected is obtained.
Another object of the present invention is to provide a kind of light source detection devices, comprising:
Pinhole imaging system camera lens is imaged for treating detection light source, obtains inverted real image;
Imaging sensor is set to the image space of the pinhole imaging system camera lens, for receiving the inverted real image and by optics
Signal is converted to image digital signal, to obtain image to be processed;
Image pre-processing module is connected with the output end of described image sensor, for carrying out to the image to be processed
Discrete Fourier transform obtains characteristic frequency spectrum information;
Image reconstruction module is connected with the output end of described image preprocessing module, for being believed based on the characteristic frequency spectrum
Breath carries out image reconstruction, obtains the reconstructed image digital signal for eliminating interference information;
Subgraph extraction module is connected with the output end of described image reconstructed module, for the reconstructed image number
Signal carries out characteristic image segmentation and extracts, and obtains the feature sub-image comprising light source characteristic information to be detected;
Data analysis module is connected with the output end of the subgraph extraction module and described image sensor, and being used for will
The feature sub-image and the image to be processed do filtering operation processing, output characteristics eigenmatrix, and special to the characteristic
Sign matrix is converted, and the characteristic information of light source to be detected is obtained.
The present invention treats detection light source using pinhole imaging system camera lens and is imaged, and pinhole imaging system has luminous flux small, unlimited
The characteristics of depth of field, autozoom, is entered the light energy of detection system convenient for limitation using the small feature of luminous flux, effectively solved
Exposure problems;The unlimited depth of field, autozoom limit the position of imaging sensor need not strictly, and structure design is more flexible,
And reduce position deviation bring detection error;The present embodiment is eliminated by characteristic frequency spectrum information extraction and image reconstruction and is trembled
The interference such as dynamic, inclination, improve the anti-interference of the detection method.
Detailed description of the invention
Fig. 1 is the flow chart of light source detection method provided in an embodiment of the present invention;
Fig. 2 is the structural schematic diagram of light source detection device provided in an embodiment of the present invention.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
It is not used in the restriction present invention.
Specific implementation of the invention is described in detail below in conjunction with specific embodiment:
Referring to FIG. 1, the embodiment of the present invention provides a kind of light source detection method, include the following steps:
In step s101, the light for issuing light source to be detected forms inverted real image by pinhole imaging system camera lens;
In step s 102, the inverted real image is received by imaging sensor, and the optical signalling of inverted real image is turned
It is changed to image digital signal, obtains image to be processed;
In step s 103, discrete Fourier transform is carried out to image to be processed, obtains characteristic frequency spectrum information;
In step S104, image reconstruction is carried out based on characteristic frequency spectrum information, obtains the reconstruct image for eliminating interference information
As digital signal;
In step s105, characteristic image segmentation is carried out to reconstructed image digital signal to extract, obtain comprising light to be detected
The feature sub-image of source characteristic information;
In step s 106, feature sub-image and image to be processed are done into filtering operation processing, output characteristics eigenmatrix;
In step s 107, property feature matrix is converted, obtains the characteristic information of light source to be detected.
The embodiment of the present invention is treated detection light source using pinhole imaging system camera lens and is imaged, and pinhole imaging system has luminous flux
The characteristics of small, unlimited depth of field, autozoom, is entered the light energy of detection system convenient for limitation using the small feature of luminous flux, had
Effect solves overexposure optical issue;The unlimited depth of field, autozoom limit the position of imaging sensor need not strictly, and structure designs more
To be flexible, and reduce location error bring detection error;The present embodiment passes through characteristic frequency spectrum information extraction and image reconstruction
The interference such as shake, inclination is eliminated, the anti-interference of the detection method is improved.
In the present embodiment, light source to be detected generally includes multiple luminescence units, for example, array LED luminescent panel,
LED display panel etc. with dot structure, each luminescence unit can by pinhole imaging system camera lens formed a picture point, institute at
Inverted real image contain the picture point of whole luminescence units.
In above-mentioned steps S102, imaging sensor receives the picture of light source, and optical signalling is changed into image digitization letter
Number, which contains the two-dimensional discrete data matrix f (x, y) for representing the gray value of each picture point, the data square
Battle array characterizes the state of each picture point, such as brightness size;
In above-mentioned steps S103, discrete Fourier transform is carried out to the two-dimensional discrete data matrix f (x, y), is obtained special
It levies spectrum information F (u, v), transform are as follows:
In formula, x=0,1 ..., M-1;Y=0,1 ..., N-1, u=0,1 ..., M-1;V=0,1 ..., N-1, M, N are positive
Integer.
After obtaining characteristic frequency spectrum information, above-mentioned steps S104 is carried out, specific u and v value series is selected to carry out image weight
Structure.Reconstructed image f2The transformation for mula of (x, y) are as follows:
In formula, x=0,1 ..., M-1;Y=0,1 ..., N-1, u=0,1 ..., M-1;V=0,1 ..., N-1, M, N are positive
Integer.
Fourier transformation and image reconstruction are carried out based on above-mentioned formula, the interference information in former image to be processed can be gone
It removes, obtains reconstructed image digital signal.
Further, the extraction of feature sub-image is carried out to the reconstructed image of removal interference, this feature subgraph contains
The property feature to be detected of light source to be detected.Again by filtering etc. processing, obtain property feature matrix, to property feature matrix into
Row transformation obtains the characteristic information of light source to be detected.
Above-mentioned light source detection method is based primarily upon following device and implements, and the present invention further provides a kind of light source detection dresses
It sets, such as Fig. 2, which includes:
Pinhole imaging system camera lens 1 is imaged for treating detection light source 2, obtains inverted real image;
Imaging sensor 3 is set to the image space of pinhole imaging system camera lens 1, for receiving inverted real image and turning optical signalling
It is changed to image digital signal, to obtain image to be processed;
Image pre-processing module 4 is connected with the output end of imaging sensor 3, for carrying out discrete Fu to image to be processed
In leaf transformation, obtain characteristic frequency spectrum information;
Image reconstruction module 5 is connected with the output end of image pre-processing module 4, for being carried out based on characteristic frequency spectrum information
Image reconstruction obtains the reconstructed image digital signal for eliminating interference information;
Subgraph extraction module 6 is connected with the output end of image reconstruction module 5, for reconstructed image digital signal into
The segmentation of row characteristic image is extracted, and the feature sub-image comprising light source characteristic information to be detected is obtained;
Data analysis module 7 is connected with the output end of subgraph extraction module 6 and imaging sensor 3, for feature is sub
Image and image to be processed do filtering operation processing, output characteristics eigenmatrix, and convert to property feature matrix, obtain
The characteristic information of light source to be detected.
Further, light source 2 to be detected generally includes multiple luminescence units, such as LED array light source, LED display panel
Deng.Each luminescence unit passes through pinhole imaging system camera lens and forms a picture point, and inverted real image includes the picture point of each luminescence unit, should
Inverted real image has the regularity of distribution identical with light source.For the luminescence unit of array distribution, image to be processed includes to represent
The two-dimensional discrete data matrix f (x, y) of the gray value of picture point.
Further, which can also include the output module 8 being connected with data analysis module 7, use
In output test result.
Same as above, image pre-processing module 4 carries out discrete Fourier transform to image to be processed, obtains characteristic frequency spectrum letter
The step of breath specifically:
Fourier transformation is carried out to two-dimensional discrete data matrix f (x, y), is obtained characteristic frequency spectrum information F (u, v), transformation
Formula are as follows:
In formula, x=0,1 ..., M-1;Y=0,1 ..., N-1, u=0,1 ..., M-1;V=0,1 ..., N-1, M, N are positive
Integer.
Further, image reconstruction module 5 is based on characteristic frequency spectrum information and carries out image reconstruction, and acquisition eliminates interference information
Reconstructed image digital signal the step of specifically:
Select specific u and v value series, reconstructed image f2(x, y), tectonic transition formula are as follows:
In formula, x=0,1 ..., M-1;Y=0,1 ..., N-1, u=0,1 ..., M-1;V=0,1 ..., N-1, M, N are positive
Integer.
Light source detection device provided in an embodiment of the present invention is treated detection light source using pinhole imaging system camera lens and is imaged, small
Borescopic imaging has the characteristics that small luminous flux, the unlimited depth of field, autozoom, enters detection using the small feature of luminous flux convenient for limitation
The light energy of system effectively solves overexposure optical issue;The unlimited depth of field, autozoom make the position of imaging sensor need not be stringent
Limitation, structure design is more flexible, and reduces the inclined bring detection error in position;Feature is extracted by image pre-processing module
Spectrum information carries out image reconstruction by image reconstruction module, eliminates the interference such as shake, inclination, improves the detection device
Anti-interference, and without increasing the complexity of device and easily operated.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention
Made any modifications, equivalent replacements, and improvements etc., should all be included in the protection scope of the present invention within mind and principle.
Claims (10)
1. a kind of light source detection method, which is characterized in that include the following steps:
The light for issuing light source to be detected forms inverted real image by pinhole imaging system camera lens;
The inverted real image is received by imaging sensor, and is image digitization letter by the optical signal conversion of the inverted real image
Number, obtain image to be processed;
Discrete Fourier transform is carried out to the image to be processed, obtains characteristic frequency spectrum information;
Image reconstruction is carried out based on the characteristic frequency spectrum information, obtains the reconstructed image digital signal for eliminating interference information;
Characteristic image segmentation is carried out to the reconstructed image digital signal to extract, and obtains the spy comprising light source characteristic information to be detected
Levy subgraph;
The feature sub-image and the image to be processed are done into filtering operation processing, output characteristics eigenmatrix;
The property feature matrix is converted, the characteristic information of light source to be detected is obtained.
2. light source detection method as described in claim 1, which is characterized in that the light source to be detected includes multiple luminous lists
Member, each luminescence unit form a picture point by the pinhole imaging system camera lens, and the inverted real image includes the multiple hair
The picture point of light unit.
3. light source detection method as claimed in claim 2, which is characterized in that the image to be processed includes to represent the picture point
The two-dimensional discrete data matrix f (x, y) of gray value;
Described the step of is carried out by discrete Fourier transform, obtains characteristic frequency spectrum information for the image to be processed specifically:
Fourier transformation is carried out to the two-dimensional discrete data matrix f (x, y), is obtained characteristic frequency spectrum information F (u, v), transformation
Formula are as follows:
In formula, x=0,1 ..., M-1;Y=0,1 ..., N-1;U=0,1 ..., M-1;V=0,1 ..., N-1;M, N are positive integer.
4. light source detection method as claimed in claim 3, which is characterized in that described to be carried out based on the characteristic frequency spectrum information
The step of image reconstruction, acquisition eliminates the reconstructed image digital signal of interference information specifically:
Select specific u and v value series, reconstructed image f2(x, y), tectonic transition formula are as follows:
In formula, x=0,1 ..., M-1;Y=0,1 ..., N-1;U=0,1 ..., M-1;V=0,1 ..., N-1;M, N are positive integer.
5. a kind of light source detection device characterized by comprising
Pinhole imaging system camera lens is imaged for treating detection light source, obtains inverted real image;
Imaging sensor is set to the image space of the pinhole imaging system camera lens, for receiving the inverted real image and by optical signalling
Image digital signal is converted to, to obtain image to be processed;
Image pre-processing module is connected with the output end of described image sensor, discrete for carrying out to the image to be processed
Fourier transformation obtains characteristic frequency spectrum information;
Image reconstruction module is connected with the output end of described image preprocessing module, for based on the characteristic frequency spectrum information into
Row image reconstruction obtains the reconstructed image digital signal for eliminating interference information;
Subgraph extraction module is connected with the output end of described image reconstructed module, for the reconstructed image digital signal
It carries out characteristic image segmentation to extract, obtains the feature sub-image comprising light source characteristic information to be detected;
Data analysis module is connected with the output end of the subgraph extraction module and described image sensor, and being used for will be described
Feature sub-image and the image to be processed do filtering operation processing, output characteristics eigenmatrix, and to the property feature square
Battle array is converted, and the characteristic information of light source to be detected is obtained.
6. light source detection device as claimed in claim 5, which is characterized in that the light source to be detected includes multiple luminous lists
Member, each luminescence unit form a picture point by the pinhole imaging system camera lens, and the inverted real image includes the multiple hair
The picture point of light unit.
7. light source detection device as claimed in claim 6, which is characterized in that the multiple luminescence unit is distributed at array,
The image to be processed includes the two-dimensional discrete data matrix f (x, y) for representing the gray value of the picture point.
8. light source detection device as claimed in claim 7, which is characterized in that described image preprocessing module is to described to be processed
The step of image carries out discrete Fourier transform, obtains characteristic frequency spectrum information specifically:
Fourier transformation is carried out to the two-dimensional discrete data matrix f (x, y), is obtained characteristic frequency spectrum information F (u, v), transformation
Formula are as follows:
In formula, x=0,1 ..., M-1;Y=0,1 ..., N-1;U=0,1 ..., M-1;V=0,1 ..., N-1;M, N are positive integer.
9. light source detection device as claimed in claim 8, which is characterized in that described image reconstructed module is based on the feature frequency
The step of spectrum information carries out image reconstruction, and acquisition eliminates the reconstructed image digital signal of interference information specifically:
Select specific u and v value series, reconstructed image f2(x, y), tectonic transition formula are as follows:
In formula, x=0,1 ..., M-1;Y=0,1 ..., N-1;U=0,1 ..., M-1;V=0,1 ..., N-1;M, N are positive integer.
10. light source detection device as claimed in claim 5, which is characterized in that further include being connected with the data analysis module
The output module connect.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510443746.4A CN106370396B (en) | 2015-07-24 | 2015-07-24 | A kind of light source detection method and detection device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510443746.4A CN106370396B (en) | 2015-07-24 | 2015-07-24 | A kind of light source detection method and detection device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106370396A CN106370396A (en) | 2017-02-01 |
CN106370396B true CN106370396B (en) | 2019-02-15 |
Family
ID=57880854
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510443746.4A Active CN106370396B (en) | 2015-07-24 | 2015-07-24 | A kind of light source detection method and detection device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106370396B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117147104B (en) * | 2023-08-10 | 2024-12-27 | 深圳市海目芯微电子装备科技有限公司 | Light source parallel half angle measuring device and light source parallel half angle measuring method |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS593238A (en) * | 1982-06-30 | 1984-01-09 | Nippon Kogaku Kk <Nikon> | Automatic lens meter |
CN102681365A (en) * | 2012-05-18 | 2012-09-19 | 中国科学院光电技术研究所 | Projection objective wave aberration detection device and method |
CN102928201A (en) * | 2012-10-24 | 2013-02-13 | 北京控制工程研究所 | Target simulating system of dynamic selenographic imaging sensor |
CN203275067U (en) * | 2013-04-22 | 2013-11-06 | 志圣科技(广州)有限公司 | Simple optical angle recorder |
CN203298878U (en) * | 2013-05-03 | 2013-11-20 | 内蒙古工业大学 | Fringe contrast and carrier frequency adjustable loop point diffraction interference wavefront sensor |
CN203965128U (en) * | 2014-06-12 | 2014-11-26 | 中国科学院上海技术物理研究所 | Large visual field camera nonlinear distortion means for correcting |
-
2015
- 2015-07-24 CN CN201510443746.4A patent/CN106370396B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS593238A (en) * | 1982-06-30 | 1984-01-09 | Nippon Kogaku Kk <Nikon> | Automatic lens meter |
CN102681365A (en) * | 2012-05-18 | 2012-09-19 | 中国科学院光电技术研究所 | Projection objective wave aberration detection device and method |
CN102928201A (en) * | 2012-10-24 | 2013-02-13 | 北京控制工程研究所 | Target simulating system of dynamic selenographic imaging sensor |
CN203275067U (en) * | 2013-04-22 | 2013-11-06 | 志圣科技(广州)有限公司 | Simple optical angle recorder |
CN203298878U (en) * | 2013-05-03 | 2013-11-20 | 内蒙古工业大学 | Fringe contrast and carrier frequency adjustable loop point diffraction interference wavefront sensor |
CN203965128U (en) * | 2014-06-12 | 2014-11-26 | 中国科学院上海技术物理研究所 | Large visual field camera nonlinear distortion means for correcting |
Also Published As
Publication number | Publication date |
---|---|
CN106370396A (en) | 2017-02-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Ma et al. | Infrared and visible image fusion using total variation model | |
CN104540445B (en) | Image processing device, image processing method and image processing system | |
CN107219638B (en) | Super-resolution correlation imaging system and imaging method based on low-pass filtering | |
CN107832677A (en) | Face identification method and system based on In vivo detection | |
Raghavendra et al. | Exploring the usefulness of light field cameras for biometrics: An empirical study on face and iris recognition | |
CN104320610B (en) | Small-sized mammalian(Muroid)Intelligent identifying system | |
Yao et al. | Improving long range and high magnification face recognition: Database acquisition, evaluation, and enhancement | |
Foster et al. | Orienting to polarized light at night–matching lunar skylight to performance in a nocturnal beetle | |
CN106022384A (en) | Image attention semantic target segmentation method based on fMRI visual function data DeconvNet | |
CN110827375A (en) | A method and system for true color coloring of infrared images based on low-light images | |
Alrifaee | A short survey of iris images databases | |
Sumriddetchkajorn et al. | Fault-tolerant optical-penetration-based silkworm gender identification | |
Graham et al. | Artistic representations: clues to efficient coding in human vision | |
Wei et al. | A novel method for automatic camouflage pattern synthesize | |
CN110111347A (en) | Logos extracting method, device and storage medium | |
CN106370396B (en) | A kind of light source detection method and detection device | |
Hérault | Vision: Images, Signals and Neural Networks-Models of Neural Processing in Visual Perception | |
Parashar et al. | Comparative study of iris databases and ubiris database for iris recognition methods for non-cooperative environment | |
CN108875500A (en) | Pedestrian recognition methods, device, system and storage medium again | |
Bhatia et al. | NGC 2214-A merging binary star cluster in the Large Magellanic Cloud? | |
CN112906510A (en) | Fishery resource statistical method and system | |
Madsen et al. | Outdoor illumination estimation in image sequences for augmented reality | |
CN111317462A (en) | A blood flow imaging method and device based on U-net neural network | |
Cornett et al. | Through the windshield driver recognition | |
Satwashil et al. | English text localization and recognition from natural scene image |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | 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 |