CN105651204A - Area array autocollimator light source control method based on digital image - Google Patents

Area array autocollimator light source control method based on digital image Download PDF

Info

Publication number
CN105651204A
CN105651204A CN201410648662.XA CN201410648662A CN105651204A CN 105651204 A CN105651204 A CN 105651204A CN 201410648662 A CN201410648662 A CN 201410648662A CN 105651204 A CN105651204 A CN 105651204A
Authority
CN
China
Prior art keywords
target
light source
control method
gray
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.)
Pending
Application number
CN201410648662.XA
Other languages
Chinese (zh)
Inventor
王占涛
赵天承
魏小林
王锴磊
王春喜
林森
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Academy of Launch Vehicle Technology CALT
Beijing Aerospace Institute for Metrology and Measurement Technology
Original Assignee
China Academy of Launch Vehicle Technology CALT
Beijing Aerospace Institute for Metrology and Measurement Technology
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by China Academy of Launch Vehicle Technology CALT, Beijing Aerospace Institute for Metrology and Measurement Technology filed Critical China Academy of Launch Vehicle Technology CALT
Priority to CN201410648662.XA priority Critical patent/CN105651204A/en
Publication of CN105651204A publication Critical patent/CN105651204A/en
Pending legal-status Critical Current

Links

Abstract

The invention belongs to a control method and particularly relates to an area array autocollimator light source control method based on a digital image. The method comprises steps that 1, a light source constant current source driving and control circuit is set; 2, the target image information is extracted, in an image coordinate system, a circular spot is formed through target imaging, pre-processing on an image is carried out through employing median filtering, a target is separated from the background by utilizing a threshold segmentation formula, four coordinates of an enclosing rectangle of the target are determined, the gray sum of the target and the quantity of effective gray pixels are determined, and the average gray is calculated; and 3, through an adaptive control method, whether an average gray value is in a preset scope is determined, if yes, the first step and the second step are carried out in a cycle mode, if the average gray value is lower than the preset scope, the current is reduced, if the average gray value is higher than the preset scope, the current is increased. Through the control method, a problem of image instability caused by change of a target reflection face can be effectively avoided, and the stable image effect is realized.

Description

A kind of face battle array autocollimation instrument light source control method based on digital picture
Technical field
The invention belongs to control method, particularly relate to a kind of face battle array autocollimation instrument light source control method based on digital picture.
Background technology
Photoelectricity autocollimation instrument is launched by self light source, returning optical system after target reflection enters on image sensor, the plane of reflection of target is different, and the light intensity reflexing to image sensor will change, and the change of light intensity can not have influence on measuring result in theory, but CCD/CMOS device own characteristic, light intensity is too weak, and signal is too weak, causes image gray scale very low, low with background contrasts, it is unfavorable for the separation of target. Then cause CCD/CMOS image sensor saturated too by force, cause target distortion. Light source instability certainly will cause judder, directly causes measuring result precision impaired, and therefore improving precision needs to rely on stable light source.
Through retrieval, at present also not about the patent disclosure of the face battle array autocollimation instrument light source control method based on digital picture.
The method of current face pin autocollimation instrument stabilized image mainly relies on and changes the time shutter and change image sensor imaging gray scale, the change time shutter can effectively change gray-scale intensity, image gray scale can be realized in theory stablize, but the change of time shutter must bring the change of image sensor noise, picture quality can be deteriorated, another kind of method has generally used for reference the light source control method of line array CCD autocollimation instrument, determine that whether current light intensity is suitable by the pulsewidth of detected image sensor output signal, adopt the intensity of PWM duty cycle modulation system control light source, for based on image pick-up card framework, obtain be the autocollimation of digital picture survey instrument just cannot time meter bottom layer signal, and PWM mode can affect image quality for self-collimation measurement.
Summary of the invention
The object of present example is that the defect for prior art provides a kind of face battle array autocollimation instrument light source control method based on digital picture.
The present invention for achieving the above object, adopts following technical scheme: a kind of face battle array autocollimation instrument light source control method based on digital picture, comprises the steps:
Step one: light source constant current source driving and controlling circuits is set
Light source Constant-power drive and pilot circuit comprise following composition, the voltage signal DAV of outside input is connected by the positive input of resistance R1 with operational amplifier U2, the negative input of operational amplifier U2 is connected to ground by resistance R3 and resistance R4 successively, the positive power source terminal of operational amplifier U2 connects+5V power supply, the negative power end ground connection of operational amplifier U2, the output terminal of operational amplifier U2 is connected with the base stage of triode Q1 by resistance R2, the collector electrode of triode Q1 is connected with+5V power supply, the emtting electrode of triode Q1 is connected with the positive pole of light source, the tie point of resistance R3 and resistance R4 is connected with the negative pole of light source,
Step 2: target image information is extracted
In image coordinate system, target imaging is a circle spot, first in adopting, image is carried out pre-treatment by value filtering, threshold value segmentation formula is utilized 1. target to be separated from background, remove background information, only remain the gray scale information of effective target, in image coordinate, unit: pixel, introversive two coordinate axis X, Y-axis projects respectively, determine external tetragon four coordinate (x1 of target, y1), (x2, y1), (x1, y2), (x2, y2), thus can determine the gray scale summation of target and the pixel quantity of available gray-scale, calculate average gray,
F ( x , y ) = 0 f ( x , y ) < A f ( x , y ) f ( x , y ) &GreaterEqual; A ��
Wherein F (x, y) is the gray-scale value at gray-scale map picture (x, the y) place after segmentation, f (x, y) is the gray-scale value at coordinate (x, y) place, A is the gray scale threshold value of setting, and the value of A can select different values according to practical situation difference
Step 3: self-adaptation control method
Adaptive control is carried out according to the target gray summation that step 2 is determined, first average gray is calculated by target gray summation, then average gray value is judged whether within preset range, if within preset range, circulation performs step 2 and step 3, if lower than preset range, reduce electric current, if higher than preset range, increase electric current.
As above based on a face battle array autocollimation instrument light source control method for digital picture, wherein, described operational amplifier U2 model is AD820.
As above based on a face battle array autocollimation instrument light source control method for digital picture, wherein, described triode Q1 is NPN type triode.
As above based on a face battle array autocollimation instrument light source control method for digital picture, wherein, by reducing, external voltage signal DAV realizes described reduction electric current.
As above based on a face battle array autocollimation instrument light source control method for digital picture, wherein, by increasing, external voltage signal DAV realizes described increase electric current.
Tool of the present invention has the following advantages: the judder situation that the method for the present invention can effectively be avoided the change of target reflection face and cause, it is achieved image stabilization effect.
Accompanying drawing explanation
Fig. 1: the structural representation of driving and controlling circuits of the present invention;
Fig. 2: the figure that target image information of the present invention is extracted.
Embodiment
Based on a face battle array autocollimation instrument light source control method for digital picture, comprise the steps:
Step one: light source constant current source driving and controlling circuits is set
Light source Constant-power drive and pilot circuit are as shown in Figure 1, the voltage signal DAV of outside input is connected by the positive input of resistance R1 with operational amplifier U2, the negative input of operational amplifier U2 is connected to ground by resistance R3 and resistance R4 successively, the positive power source terminal of operational amplifier U2 connects+5V power supply, the negative power end ground connection of operational amplifier U2, the output terminal of operational amplifier U2 is connected with the base stage of triode Q1 by resistance R2, the collector electrode of triode Q1 is connected with+5V power supply, the emtting electrode of triode Q1 is connected with the positive pole of light source, the tie point of resistance R3 and resistance R4 is connected with the negative pole of light source.
Described operational amplifier U2 model is AD820.
Described triode Q1 is NPN type triode.
It is I=v that the electric current of light source is flow through in process through foregoing circuit1/ R4, wherein R4 is low temperature drift sampling with high precision resistance, wherein v1For being carried in the voltage of the positive input terminal of operational amplifier U2.
Step 2: target image information is extracted
As shown in Figure 2, in image coordinate system, target imaging is a circle spot, first in adopting, image is carried out pre-treatment by value filtering, threshold value segmentation formula is utilized 1. target to be separated from background, remove background information, only remain the gray scale information of effective target, at introversive two the coordinate axis X of image coordinate (unit: pixel), Y-axis projects respectively, determine external tetragon four coordinate (x1 of target, y1), (x2, y1), (x1, y2), (x2, y2), thus can determine the gray scale summation of target and the pixel quantity of available gray-scale, calculate average gray.
F ( x , y ) = 0 f ( x , y ) < A f ( x , y ) f ( x , y ) &GreaterEqual; A ��
Wherein F (x, y) it is the gray-scale map picture (x after segmentation, y) gray-scale value at place, f (x, y) being the gray-scale value at coordinate (x, y) place, A is the gray scale threshold value of setting, the value of A can select different values according to practical situation difference, the general half selecting full gray-scale value.
Step 3: self-adaptation control method
Adaptive control is carried out according to the target gray summation that step 2 is determined, first average gray is calculated by target gray summation, then average gray value is judged whether within preset range, if within preset range, circulation performs step 2 and step 3, if lower than preset range, reduce electric current, if higher than preset range, increase electric current.
Described preset range is the scope that staff is arranged according to practical situation, different for different particular case preset range, generally get full gray-scale value 2/1 to three/3rds as preset range.
By reducing, external voltage signal DAV realizes described reduction electric current.
By increasing, external voltage signal DAV realizes described increase electric current.

Claims (5)

1. the face battle array autocollimation instrument light source control method based on digital picture, it is characterised in that, comprise the steps:
Step one: light source constant current source driving and controlling circuits is set
Light source Constant-power drive and pilot circuit comprise following composition, the voltage signal DAV of outside input is connected by the positive input of resistance R1 with operational amplifier U2, the negative input of operational amplifier U2 is connected to ground by resistance R3 and resistance R4 successively, the positive power source terminal of operational amplifier U2 connects+5V power supply, the negative power end ground connection of operational amplifier U2, the output terminal of operational amplifier U2 is connected with the base stage of triode Q1 by resistance R2, the collector electrode of triode Q1 is connected with+5V power supply, the emtting electrode of triode Q1 is connected with the positive pole of light source, the tie point of resistance R3 and resistance R4 is connected with the negative pole of light source,
Step 2: target image information is extracted
In image coordinate system, target imaging is a circle spot, first in adopting, image is carried out pre-treatment by value filtering, threshold value segmentation formula is utilized 1. target to be separated from background, remove background information, only remain the gray scale information of effective target, in image coordinate, unit: pixel, introversive two coordinate axis X, Y-axis projects respectively, determine external tetragon four coordinate (x1 of target, y1), (x2, y1), (x1, y2), (x2, y2), thus can determine the gray scale summation of target and the pixel quantity of available gray-scale, calculate average gray,
F ( x , y ) = 0 f ( x , y ) < A f ( x , y ) f ( x , y ) &GreaterEqual; A ��
Wherein F (x, y) is the gray-scale value at gray-scale map picture (x, the y) place after segmentation, f (x, y) is the gray-scale value at coordinate (x, y) place, A is the gray scale threshold value of setting, and the value of A can select different values according to practical situation difference
Step 3: self-adaptation control method
Adaptive control is carried out according to the target gray summation that step 2 is determined, first average gray is calculated by target gray summation, then average gray value is judged whether within preset range, if within preset range, circulation performs step 2 and step 3, if lower than preset range, reduce electric current, if higher than preset range, increase electric current.
2. a kind of face battle array autocollimation instrument light source control method based on digital picture as claimed in claim 1, it is characterised in that: described operational amplifier U2 model is AD820.
3. a kind of face battle array autocollimation instrument light source control method based on digital picture as claimed in claim 2, it is characterised in that: described triode Q1 is NPN type triode.
4. a kind of face battle array autocollimation instrument light source control method based on digital picture as claimed in claim 3, it is characterised in that: by reducing, external voltage signal DAV realizes described reduction electric current.
5. a kind of face battle array autocollimation instrument light source control method based on digital picture as claimed in claim 4, it is characterised in that: by increasing, external voltage signal DAV realizes described increase electric current. .
CN201410648662.XA 2014-11-15 2014-11-15 Area array autocollimator light source control method based on digital image Pending CN105651204A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410648662.XA CN105651204A (en) 2014-11-15 2014-11-15 Area array autocollimator light source control method based on digital image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410648662.XA CN105651204A (en) 2014-11-15 2014-11-15 Area array autocollimator light source control method based on digital image

Publications (1)

Publication Number Publication Date
CN105651204A true CN105651204A (en) 2016-06-08

Family

ID=56478883

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410648662.XA Pending CN105651204A (en) 2014-11-15 2014-11-15 Area array autocollimator light source control method based on digital image

Country Status (1)

Country Link
CN (1) CN105651204A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6617559B1 (en) * 2000-01-13 2003-09-09 Hewlett-Packard Development Company, L.P. Light arrangement for vision systems
CN101827221A (en) * 2010-03-23 2010-09-08 华南理工大学 CCD (Charge Coupled Device) light source intensity self-adaption regulation system and method thereof
CN102081275A (en) * 2010-12-24 2011-06-01 中国科学院长春光学精密机械与物理研究所 Full-automatic real-time dimming method for transit instrument based on digital images
CN103279921A (en) * 2013-05-17 2013-09-04 复旦大学 Image embedded processing system and obtaining and positioning method for low-light image light spots
CN103702472A (en) * 2012-09-28 2014-04-02 北京航天计量测试技术研究所 Self-adaptive light source for photoelectric automatic-collimation system
CN104113946A (en) * 2013-04-17 2014-10-22 宝山钢铁股份有限公司 light source illuminance adaptive control device and light source illuminance adaptive control method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6617559B1 (en) * 2000-01-13 2003-09-09 Hewlett-Packard Development Company, L.P. Light arrangement for vision systems
CN101827221A (en) * 2010-03-23 2010-09-08 华南理工大学 CCD (Charge Coupled Device) light source intensity self-adaption regulation system and method thereof
CN102081275A (en) * 2010-12-24 2011-06-01 中国科学院长春光学精密机械与物理研究所 Full-automatic real-time dimming method for transit instrument based on digital images
CN103702472A (en) * 2012-09-28 2014-04-02 北京航天计量测试技术研究所 Self-adaptive light source for photoelectric automatic-collimation system
CN104113946A (en) * 2013-04-17 2014-10-22 宝山钢铁股份有限公司 light source illuminance adaptive control device and light source illuminance adaptive control method
CN103279921A (en) * 2013-05-17 2013-09-04 复旦大学 Image embedded processing system and obtaining and positioning method for low-light image light spots

Similar Documents

Publication Publication Date Title
CN105025290B (en) A kind of inclined method between adjust automatically camera module sensor and camera lens
CN102768071B (en) Non-refrigerant thermal imager shutter-free nonuniformity correcting device based on template method
CN103235939A (en) Datum point positioning method based on machine vision
CN108259789A (en) Solid-state imaging apparatus
CN102342090A (en) Image capturing device, operator monitoring device, method for measuring distance to face, and program
JP5996970B2 (en) In-vehicle imaging device
US20180108297A1 (en) Amoled display panel detection method and detection device
KR102076575B1 (en) Camera module
KR101774779B1 (en) Distance measurement device and operating method of distance measurement device
CN103377474A (en) Camera lens shadow correction coefficient determination method and device, and camera lens shadow correction method and device
CN105717513B (en) A kind of cost laser distance measuring method based on common camera chip
US9916665B2 (en) Cell tracking device and method, and storage medium non-transitory storing computer-readable cell tracking programs
US20150093032A1 (en) Image processing apparatus and method, and program
CN103140735A (en) Displacement sensor
CN104408709A (en) Rapid correction method of image with non-uniform gray scale of linear-array CCD camera
CN108871185B (en) Method, device and equipment for detecting parts and computer readable storage medium
CN110689572B (en) Mobile robot positioning system and method in three-dimensional space
TW201630409A (en) Method and apparatus for increasing pixel sensitivity and dynamic range
CN110784665A (en) Local strong light protection method of image intensifier based on ICMOS image feedback
CN105651204A (en) Area array autocollimator light source control method based on digital image
CN103616775A (en) Method for automatically adjusting Auto-Flicker of liquid crystal module on basis of machine vision
CN106686363B (en) Signal mixed processing method and device in display terminal
CN105321152A (en) Image mosaic method and system
CN112785963B (en) LED lamp bead positioning method and device and storage medium
CN105606213B (en) A kind of laser micropulse peak power test device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into 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: 20160608