CN110753186A - Photoelectric system automatic focusing method based on image processing - Google Patents
Photoelectric system automatic focusing method based on image processing Download PDFInfo
- Publication number
- CN110753186A CN110753186A CN201911050223.8A CN201911050223A CN110753186A CN 110753186 A CN110753186 A CN 110753186A CN 201911050223 A CN201911050223 A CN 201911050223A CN 110753186 A CN110753186 A CN 110753186A
- Authority
- CN
- China
- Prior art keywords
- module
- digital image
- focusing
- signal processing
- automatic focusing
- 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
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/67—Focus control based on electronic image sensor signals
Abstract
The invention discloses an automatic focusing method of an optoelectronic system based on image processing, and belongs to the field of automatic focusing of image processing. The realization method of the invention is as follows: an automatic focusing platform of the photoelectric system is set up, and the automatic focusing platform of the photoelectric system mainly comprises an imaging module, an embedded signal processing module, a lens motor control module and a terminal display module; acquiring a digital image signal through an imaging module, and transmitting the digital image signal to an embedded signal processing module; the digital image signal processing of the embedded signal processing module generates a control signal and transmits the generated control signal to the lens motor control module; the lens motor control module controls the lens to focus according to the control signal; and the terminal display module displays the imaging result after focusing, and the automatic focusing of the photoelectric system based on image processing is completed. The automatic focusing process of the invention does not need manual intervention, and can improve focusing precision and efficiency.
Description
Technical Field
The invention relates to an automatic focusing method of an optoelectronic system, in particular to an automatic focusing method of the optoelectronic system based on image processing, and belongs to the field of automatic focusing of image processing.
Background
Clear images are an important prerequisite for target trajectory, flight attitude measurement and real-time condition recording in the photoelectric system. The traditional photoelectric measuring equipment usually carries out manual focusing according to human eye observation, the focusing effect often depends on the level of an operator, and the focusing effect of different operators is different. This easily causes low focusing accuracy, large influence of human factors, manual intervention every time, and low focusing efficiency.
Disclosure of Invention
In order to solve the problems of poor focusing precision, manual intervention required each time and low focusing efficiency in an optoelectronic system, the invention discloses an automatic focusing method of the optoelectronic system based on image processing, which aims to solve the technical problems that: the photoelectric system automatic focusing based on image processing can improve focusing precision and efficiency, and does not need manual intervention.
The purpose of the invention is realized by the following technical scheme.
The invention discloses an automatic focusing method of an optoelectronic system based on image processing, which comprises the steps of constructing an automatic focusing platform of the optoelectronic system; acquiring a digital image signal through an imaging module, and transmitting the digital image signal to an embedded signal processing module; the digital image signal processing of the embedded signal processing module generates a control signal and transmits the generated control signal to the lens motor control module; the lens motor control module controls the lens to focus according to the control signal; and the terminal display module displays the imaging result after focusing, and the automatic focusing of the photoelectric system based on image processing is completed.
The invention discloses an automatic focusing method of an optoelectronic system based on image processing, which comprises the following steps:
the method comprises the following steps: and (5) building an automatic focusing platform of the photoelectric system.
The automatic focusing platform of the photoelectric system mainly comprises an imaging module, an embedded signal processing module, a lens motor control module and a terminal display module.
The imaging module is used for converting the information after the target is imaged into a digital image signal;
the embedded signal processing module is used for generating a control signal according to the digital image signal processing and transmitting the generated control signal to the lens motor control module;
the lens motor control module is used for controlling the lens to focus according to the control signal;
and the terminal display module is used for displaying the imaging result.
Step two: and obtaining a digital image signal through the imaging module, and transmitting the digital image signal to the embedded signal processing module.
The A/D conversion module collects a scene image through the imager, firstly, the A/D conversion module carries out switch selection and differential amplification on a plurality of paths of analog image signals output by the imager, then, the A/D conversion is carried out on the amplified plurality of paths of analog image signals of the imager, the plurality of paths of analog image signals are changed into digital image signals, and the digital image signals are transmitted to the embedded signal processing module.
Step three: the digital image signal processing of the embedded signal processing module generates a control signal and transmits the generated control signal to the lens motor control module;
the digital image signal is f (i, j), and the evaluation function of the quality of the digital image signal is e (k), where k is a step size and k is [1,2, …,10 ]. The square of the gradient between k pixels in the horizontal direction is calculated by:
the embedded signal processing module transmits the step length k as a control signal to the lens motor control module.
Step four: and the lens motor control module controls the lens to focus according to the control signal.
When the lens motor control module moves one step length k every time, the imaging module acquires one digital image signal, and continuously acquires 3 digital image signals by using different step lengths k in the same direction to obtain values E (k) of 3 positions0),E(k1),E(k2). If E (k)0)<E(k1)<E(k2) If yes, the focusing is approaching the correct focusing direction; if E (k)0)>E(k1)>E(k2) If the focusing direction is opposite, focusing is carried out in the opposite direction, and the step length is reduced; until the occurrence of E (k)1)>E(k0) And E (k)1)>E(k2) The focusing process is completedAnd (4) bundling.
Preferably, the step size is reduced in step four, preferably by a reduction of step k to 50% of the original.
Step five: and the terminal display module displays the imaging result after focusing, and the automatic focusing of the photoelectric system based on image processing is completed.
Has the advantages that:
in order to solve the problems of poor focusing precision, manual intervention required each time and low focusing efficiency in an optoelectronic system, the invention discloses an automatic focusing method of the optoelectronic system based on image processing, which is used for building an automatic focusing platform of the optoelectronic system; acquiring a digital image signal through an imaging module, and transmitting the digital image signal to an embedded signal processing module; the digital image signal processing of the embedded signal processing module generates a control signal and transmits the generated control signal to the lens motor control module; the lens motor control module controls the lens to focus according to the control signal; and the terminal display module displays the imaging result after focusing, and the automatic focusing of the photoelectric system based on image processing is completed. The automatic focusing process of the photoelectric system based on image processing does not need manual intervention, and focusing precision and efficiency can be improved.
Drawings
Fig. 1 is a schematic flow chart of an automatic focusing method for an optoelectronic system based on image processing according to the present invention.
Detailed Description
For a better understanding of the objects and advantages of the present invention, reference should be made to the following detailed description taken in conjunction with the accompanying drawings and examples.
Example 1:
as shown in fig. 1, the present embodiment discloses an automatic focusing method for an optoelectronic system based on image processing, which includes the following specific steps:
the method comprises the following steps: and (5) building an automatic focusing platform of the photoelectric system.
The automatic focusing platform of the photoelectric system mainly comprises an imaging module, an embedded signal processing module, a lens motor control module and a terminal display module.
The imaging module is used for converting the information after the target is imaged into a digital image signal;
the embedded signal processing module is used for generating a control signal according to the digital image signal processing and transmitting the generated control signal to the lens motor control module;
the lens motor control module is used for controlling the lens to focus according to the control signal;
and the terminal display module is used for displaying the imaging result.
Step two: and obtaining a digital image signal through the imaging module, and transmitting the digital image signal to the embedded signal processing module.
The A/D conversion module collects a scene image through the imager, firstly, the A/D conversion module carries out switch selection and differential amplification on a plurality of paths of analog image signals output by the imager, then, the A/D conversion is carried out on the amplified plurality of paths of analog image signals of the imager, the plurality of paths of analog image signals are changed into digital image signals, and the digital image signals are transmitted to the embedded signal processing module.
Step three: the digital image signal processing of the embedded signal processing module generates a control signal and transmits the generated control signal to the lens motor control module;
let the digital image signal be f (i, j), and let the digital image signal quality evaluation function be e (k), where k is the step size and k is [1,2, …,10 ]. By calculating the square of the gradient among k pixels in the horizontal direction, the expression is as follows:
the embedded signal processing module transmits the step length k as a control signal to the lens motor control module.
Step four: and the lens motor control module controls the lens to focus according to the control signal.
When the lens motor control module moves one step length k every time, the imaging module acquires one digital image signal, and continuously acquires 3 digital image signals by using different step lengths k in the same direction to obtain values E (k) of 3 positions0),E(k1),E(k2). If E (k)0)<E(k1)<E(k2) If yes, the focusing is approaching the correct focusing direction; if E (k)0)>E(k1)>E(k2) If yes, the focusing direction is opposite, the focusing is required to be performed in the opposite direction, and the step length k is reduced to 50% of the original step length k; until the occurrence of E (k)1)>E(k0) And E (k)1)>E(k2) By this time, the focusing process ends.
Step five: and the terminal display module displays the imaging result after focusing, and the automatic focusing of the photoelectric system based on image processing is completed.
The above detailed description is intended to illustrate the objects, aspects and advantages of the present invention, and it should be understood that the above detailed description is only exemplary of the present invention and is not intended to limit the scope of the present invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.
Claims (6)
1. An automatic focusing method of an optoelectronic system based on image processing is characterized in that: comprises the following steps of (a) carrying out,
the method comprises the following steps: building an automatic focusing platform of the photoelectric system;
step two: acquiring a digital image signal through an imaging module, and transmitting the digital image signal to an embedded signal processing module;
step three: the digital image signal processing of the embedded signal processing module generates a control signal and transmits the generated control signal to the lens motor control module;
step four: the lens motor control module controls the lens to focus according to the control signal;
step five: and the terminal display module displays the imaging result after focusing, and the automatic focusing of the photoelectric system based on image processing is completed.
2. The method of claim 1, wherein the method comprises: the first implementation method comprises the following steps of,
the automatic focusing platform of the photoelectric system mainly comprises an imaging module, an embedded signal processing module, a lens motor control module and a terminal display module;
the imaging module is used for converting the information after the target is imaged into a digital image signal;
the embedded signal processing module is used for generating a control signal according to the digital image signal processing and transmitting the generated control signal to the lens motor control module;
the lens motor control module is used for controlling the lens to focus according to the control signal;
and the terminal display module is used for displaying the imaging result.
3. The method of claim 2, wherein the method comprises: the second step is realized by the method that,
the A/D conversion module collects a scene image through the imager, firstly, the A/D conversion module carries out switch selection and differential amplification on a plurality of paths of analog image signals output by the imager, then, the A/D conversion is carried out on the amplified plurality of paths of analog image signals of the imager, the plurality of paths of analog image signals are changed into digital image signals, and the digital image signals are transmitted to the embedded signal processing module.
4. The method of claim 3, wherein the method comprises: the third step is to realize the method as follows,
the digital image signal is f (i, j), and the evaluation function of the digital image signal quality is e (k), where k is a step size, and k is [1,2, …,10 ]; the square of the gradient between k pixels in the horizontal direction is calculated by:
the embedded signal processing module transmits the step length k as a control signal to the lens motor control module.
5. The method of claim 4, wherein the method comprises: the implementation method of the fourth step is that,
when the lens motor control module moves one step length k every time, the imaging module acquires one digital image signal, and continuously acquires 3 digital image signals by using different step lengths k in the same direction to obtain values E (k) of 3 positions0),E(k1),E(k2) (ii) a If E (k)0)<E(k1)<E(k2) If yes, the focusing is approaching the correct focusing direction; if E (k)0)>E(k1)>E(k2) If the focusing direction is opposite, focusing is carried out in the opposite direction, and the step length is reduced; until the occurrence of E (k)1)>E(k0) And E (k)1)>E(k2) By this time, the focusing process ends.
6. The method of claim 5, wherein the method comprises: and step four, reducing the step size, wherein the step size k is reduced to 50 percent of the original step size.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911050223.8A CN110753186A (en) | 2019-10-31 | 2019-10-31 | Photoelectric system automatic focusing method based on image processing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911050223.8A CN110753186A (en) | 2019-10-31 | 2019-10-31 | Photoelectric system automatic focusing method based on image processing |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110753186A true CN110753186A (en) | 2020-02-04 |
Family
ID=69281403
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911050223.8A Pending CN110753186A (en) | 2019-10-31 | 2019-10-31 | Photoelectric system automatic focusing method based on image processing |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110753186A (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1848924A (en) * | 2005-04-15 | 2006-10-18 | 索尼株式会社 | Control apparatus, control method, and computer program |
CN101729780A (en) * | 2009-10-13 | 2010-06-09 | 河南平原光电有限公司 | Automatic focusing method of optical imaging system |
CN201732207U (en) * | 2010-08-17 | 2011-02-02 | 芜湖市奥特光学仪器厂 | Auto-focusing recognition system for microscope |
-
2019
- 2019-10-31 CN CN201911050223.8A patent/CN110753186A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1848924A (en) * | 2005-04-15 | 2006-10-18 | 索尼株式会社 | Control apparatus, control method, and computer program |
CN101729780A (en) * | 2009-10-13 | 2010-06-09 | 河南平原光电有限公司 | Automatic focusing method of optical imaging system |
CN201732207U (en) * | 2010-08-17 | 2011-02-02 | 芜湖市奥特光学仪器厂 | Auto-focusing recognition system for microscope |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109615652B (en) | Depth information acquisition method and device | |
CN106161941B (en) | Automatic double-camera focus tracking method and device and terminal | |
CN101572828B (en) | Method for correcting distortion of camera and video camera in real time based on GPU | |
CN103502866B (en) | Imaging device and program | |
CN101221375A (en) | Machine vision system used for step photo-etching machine alignment system and its calibration method | |
CN106780391A (en) | A kind of distortion correction algorithm for full visual angle 3 D measuring instrument optical system | |
CN101635782B (en) | Method and device for obtaining image based on dynamic time delay integral | |
CN104574332A (en) | Image fusion method for airborne optoelectronic pod | |
CN106060376A (en) | Display control apparatus, display control method, and image capturing apparatus | |
CN112927233A (en) | Marine laser radar and video combined target capturing method | |
CN100384222C (en) | Method and device for adjusting camera position | |
CN111510631A (en) | Rapid automatic focusing method and focusing device | |
CN106991701A (en) | A kind of calibration system and method for panorama shooting device parameter | |
CN201667683U (en) | Large focal variation ratio automatic focusing all-in-one video camera | |
CN104359560A (en) | Dual-spectrum viewer synchronous view field control system and method based on stepping motor | |
CN105516600B (en) | Atomatic focusing method | |
US7339147B2 (en) | System and method for automatic focusing of images | |
JP6529360B2 (en) | Image processing apparatus, imaging apparatus, image processing method and program | |
CN108345084A (en) | It is a kind of to lead the zoom automatic focusing method passively combined and system | |
CN110753186A (en) | Photoelectric system automatic focusing method based on image processing | |
CN105404127A (en) | Holographic imaging system and imaging method for taking photos to collect three-dimensional information | |
CN114157852B (en) | Virtual camera array three-dimensional imaging method and system based on rotating double prisms | |
CN102041345B (en) | Thermal infrared imager focusing method for monitoring converter tapping | |
CN104717419A (en) | Auto-focusing image capturing device and method | |
CN110807773B (en) | Panoramic image detection method for surface defects of nuclear power station |
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 | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20200204 |