CN117492164A - Automatic focusing system and method based on DLP (digital light processing) structured light and motor system - Google Patents
Automatic focusing system and method based on DLP (digital light processing) structured light and motor system Download PDFInfo
- Publication number
- CN117492164A CN117492164A CN202311379520.3A CN202311379520A CN117492164A CN 117492164 A CN117492164 A CN 117492164A CN 202311379520 A CN202311379520 A CN 202311379520A CN 117492164 A CN117492164 A CN 117492164A
- Authority
- CN
- China
- Prior art keywords
- dlp
- motor system
- structured light
- imaging
- light
- 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
- 238000000034 method Methods 0.000 title claims abstract description 12
- 238000012545 processing Methods 0.000 title description 2
- 238000003384 imaging method Methods 0.000 claims abstract description 33
- 238000010191 image analysis Methods 0.000 claims description 3
- 238000012360 testing method Methods 0.000 claims description 2
- 238000005516 engineering process Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000012634 optical imaging Methods 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G02—OPTICS
- G02B—OPTICAL ELEMENTS, SYSTEMS OR APPARATUS
- G02B7/00—Mountings, adjusting means, or light-tight connections, for optical elements
- G02B7/28—Systems for automatic generation of focusing signals
- G02B7/30—Systems for automatic generation of focusing signals using parallactic triangle with a base line
- G02B7/32—Systems for automatic generation of focusing signals using parallactic triangle with a base line using active means, e.g. light emitter
-
- G—PHYSICS
- G02—OPTICS
- G02B—OPTICAL ELEMENTS, SYSTEMS OR APPARATUS
- G02B7/00—Mountings, adjusting means, or light-tight connections, for optical elements
- G02B7/28—Systems for automatic generation of focusing signals
- G02B7/36—Systems for automatic generation of focusing signals using image sharpness techniques, e.g. image processing techniques for generating autofocus signals
-
- G—PHYSICS
- G02—OPTICS
- G02B—OPTICAL ELEMENTS, SYSTEMS OR APPARATUS
- G02B7/00—Mountings, adjusting means, or light-tight connections, for optical elements
- G02B7/28—Systems for automatic generation of focusing signals
- G02B7/40—Systems for automatic generation of focusing signals using time delay of the reflected waves, e.g. of ultrasonic waves
-
- G—PHYSICS
- G03—PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
- G03B—APPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
- G03B13/00—Viewfinders; Focusing aids for cameras; Means for focusing for cameras; Autofocus systems for cameras
- G03B13/32—Means for focusing
- G03B13/34—Power focusing
- G03B13/36—Autofocus systems
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Optics & Photonics (AREA)
- Engineering & Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Automatic Focus Adjustment (AREA)
- Focusing (AREA)
Abstract
An aspect of the present invention is to provide an auto-focusing system based on a DLP structured light and motor system for implementing auto-focusing of an imaging device, which is characterized by comprising DLP projectors disposed around the imaging device; an upper computer; an electric motor system. The invention further provides an automatic focusing method based on the DLP structured light and motor system. The present invention utilizes a DLP projector to project structured light onto an object to be imaged and calculates the distance between the object and the projector by collecting and analyzing the characteristics of the reflected light. According to the distance information, the camera lens is driven by the motor system to automatically focus so as to realize clear and sharp images. Compared with the traditional manual focusing mode, the invention has the advantages of rapidness, accuracy and no need of manual intervention, and improves the working efficiency and the imaging quality.
Description
Technical Field
The invention relates to an automatic focusing system and an automatic focusing method realized based on the automatic focusing system.
Background
Focusing is a very critical step in optical imaging technology. Conventional focusing methods typically require manual operation, which is not only inefficient, but also prone to errors. In addition, manual focusing has high requirements on the skills of operators, and has no universality. Therefore, the current technology has a problem in that it is required to improve focusing efficiency and accuracy.
Conventional focusing methods typically require focusing by manually rotating or adjusting the camera lens. This approach requires the operator to accurately determine the focus position and make adjustments, which are susceptible to artifacts such as operator skill level, viewing environment, etc. In addition, for complex scenes or fast moving targets, manual focusing often fails to track and adjust the focus in time, resulting in blurred or unclear images.
Therefore, there is a need for an automated focusing method that can automatically adjust the focal length of a camera lens according to the position and optical characteristics of a target object to achieve efficient and accurate auto-focusing. Therefore, the imaging effect can be improved, the technical requirements of operators can be reduced, and the imaging device is suitable for various environments and shooting conditions.
Disclosure of Invention
It is an object of the present invention to provide an automated focusing system and method.
In order to achieve the above object, an aspect of the present invention is to provide an autofocus system based on DLP structured light and motor system, for implementing autofocus of an imaging device, which includes:
a DLP projector disposed around the imaging apparatus for projecting structured light toward the object to be measured;
capturing reflected light reflected back from the object by the imaging device;
the upper computer is used for collecting the reflected light captured by the imaging equipment, analyzing the collected reflected light and determining the distance between the measured object and the DLP projector so as to obtain distance information;
and the upper computer controls the motor system through the distance information, and the motor system drives the imaging equipment to move so as to realize automatic adjustment of the focal length and enable the object to be measured to reach the optimal focal position on the imaging plane.
Preferably, four DLP projectors are arranged around the imaging device, evenly distributed in the circumferential direction.
Preferably, the form of the structured light is determined based on the surface detail requirements of the object under test.
Preferably, a light source is provided below the DLP projector and the imaging device.
The invention also provides an automatic focusing method based on DLP structure light and motor system, which is characterized by comprising the following steps:
step 1, a DLP projector projects structured light onto an object to be measured;
step 2, after the reflected light reflected by the measured object is captured by the imaging equipment, analyzing the characteristics of the reflected light by the upper computer, so as to determine the distance between the measured object and the DLP projector and obtain distance information;
step 3, the upper computer controls a motor system according to the distance information, and the motor system drives the imaging equipment to move, so that the focal length is automatically adjusted, and the object to be measured reaches the optimal focal position on the imaging plane;
and 4, capturing and storing the image for subsequent image analysis or storage after focusing the lens of the imaging device.
The present invention utilizes a DLP projector to project structured light onto an object to be imaged and calculates the distance between the object and the projector by collecting and analyzing the characteristics of the reflected light. According to the distance information, the camera lens is driven by the motor system to automatically focus so as to realize clear and sharp images. Compared with the traditional manual focusing mode, the invention has the advantages of rapidness, accuracy and no need of manual intervention, and improves the working efficiency and the imaging quality. Meanwhile, the invention can adapt to objects and scenes with different distances by combining the DLP projection technology and the motor system, and realize rapid and accurate focusing adjustment. The invention has wide application potential in the field of optical imaging, can be used in various imaging devices such as cameras, video cameras, mobile devices and the like, provides high-quality image capturing and shooting experience, provides an efficient and accurate automatic focusing solution, and has wide application prospect.
Drawings
FIG. 1 illustrates a system of the present disclosure;
FIG. 2 is a schematic diagram of the optical code of the dlp angle measurement structure according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a shot plane distance calculation in an embodiment of the invention.
Detailed Description
The invention will be further illustrated with reference to specific examples. It is to be understood that these examples are illustrative of the present invention and are not intended to limit the scope of the present invention. Further, it is understood that various changes and modifications may be made by those skilled in the art after reading the teachings of the present invention, and such equivalents are intended to fall within the scope of the claims appended hereto.
As shown in fig. 1, an autofocus system based on DLP structured light and motor system disclosed in this embodiment is used to implement autofocus of a camera 2 (in this embodiment, the camera 2 uses a TS12MCXP-172M/C type 1200 ten thousand pixel high-speed industrial camera, and is equipped with a lens with an applicable wavelength range of 400-700 nm) to capture an object 5 with rugged surface, and includes:
four DLP projectors 3 arranged around the camera 2, all DLP projectors 3 being uniformly distributed in the circumferential direction, these DLP projectors 3 being capable of projecting structured light of 420nm to 700 nm. The structured light may be in the form of a set of side-by-side lines or other specific shapes or patterns, depending mainly on the requirements of the surface details of the object 5 to be measured. In this embodiment, as shown in fig. 2, since stripe-shaped light with alternate brightness is used in this embodiment, the reflected light reflected by the object 5 contains depth and texture information of the surface of the object 5.
A light source 4 located below the DLP projector 3 and the camera 2.
The reflected light reflected back from the object 5 is captured by the camera 2.
And a host computer for collecting the reflected light captured by the camera 2 and analyzing the collected reflected light. The upper computer calculates and processes the characteristics of the reflected light, and can determine the distance between the object 5 to be measured and the DLP projector 3, thereby obtaining distance information. This can be achieved by calculating the phase difference, time delay or other measured parameter of the reflected light, the principle of which is shown in fig. 3, which is a conventional algorithm well known to those skilled in the art. In this embodiment, the upper computer uses Phase Shifting algorithm to analyze the collected reflected light, and calculates the Phase difference of each structured light, so as to determine the distance between the measured object 5 and the DLP projector 3, and obtain the distance information.
The upper computer controls the motor system through the distance information, and the motor system drives the camera 2 to move back and forth along the motor track 1, so that the focal length is automatically adjusted, and the object 5 to be measured reaches the optimal focal position on the imaging plane.
Another aspect of the present embodiment is to disclose an auto-focusing method based on DLP structured light and motor system implemented based on the auto-focusing system, including the following steps:
step 1, a DLP projector 3 projects structured light onto a measured object 5;
step 2, after the reflected light reflected by the measured object 5 is captured by the camera 2, the upper computer analyzes the characteristics (including phase difference, time delay and other information) of the reflected light, so as to determine the distance between the measured object 5 and the DLP projector 3 and obtain distance information;
step 3, the upper computer controls a motor system according to the distance information, the motor system drives the camera 2 to move back and forth along the motor track 1, and the focal length is automatically adjusted, so that the object 5 to be measured reaches the optimal focal position on the imaging plane;
and 4, capturing and storing the image for subsequent image analysis or storage after the lens of the camera 2 is focused.
Claims (5)
1. An automatic focusing system based on DLP structure light and motor system for realizing automatic focusing of imaging equipment, which is characterized by comprising:
a DLP projector disposed around the imaging apparatus for projecting structured light toward the object to be measured;
capturing reflected light reflected back from the object by the imaging device;
the upper computer is used for collecting the reflected light captured by the imaging equipment, analyzing the collected reflected light and determining the distance between the measured object and the DLP projector so as to obtain distance information;
and the upper computer controls the motor system through the distance information, and the motor system drives the imaging equipment to move so as to realize automatic adjustment of the focal length and enable the object to be measured to reach the optimal focal position on the imaging plane.
2. An auto-focus system based on a DLP structured light and motor system as claimed in claim 1, wherein four DLP projectors are arranged around the imaging device uniformly distributed in the circumferential direction.
3. An autofocus system based on a DLP structured light and motor system according to claim 1, wherein the form of the structured light is determined based on the surface detail requirements of the object under test.
4. An auto-focus system based on a DLP structured light and motor system as claimed in claim 1, wherein a light source is provided below said DLP projector and said imaging device.
5. An automatic focusing method based on DLP structure light and motor system, adopting the automatic focusing system as claimed in claim 1, comprising the following steps:
step 1, a DLP projector projects structured light onto an object to be measured;
step 2, after the reflected light reflected by the measured object is captured by the imaging equipment, analyzing the characteristics of the reflected light by the upper computer, so as to determine the distance between the measured object and the DLP projector and obtain distance information;
step 3, the upper computer controls a motor system according to the distance information, and the motor system drives the imaging equipment to move, so that the focal length is automatically adjusted, and the object to be measured reaches the optimal focal position on the imaging plane;
and 4, capturing and storing the image for subsequent image analysis or storage after focusing the lens of the imaging device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311379520.3A CN117492164A (en) | 2023-10-23 | 2023-10-23 | Automatic focusing system and method based on DLP (digital light processing) structured light and motor system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311379520.3A CN117492164A (en) | 2023-10-23 | 2023-10-23 | Automatic focusing system and method based on DLP (digital light processing) structured light and motor system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117492164A true CN117492164A (en) | 2024-02-02 |
Family
ID=89668135
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311379520.3A Pending CN117492164A (en) | 2023-10-23 | 2023-10-23 | Automatic focusing system and method based on DLP (digital light processing) structured light and motor system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117492164A (en) |
-
2023
- 2023-10-23 CN CN202311379520.3A patent/CN117492164A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8339463B2 (en) | Camera lens calibration system | |
US11582378B2 (en) | Methods and apparatus for absolute and relative depth measurements using camera focus distance | |
US8373789B2 (en) | Auto focus system and auto focus method | |
JPH0736613B2 (en) | Focus adjustment method for imaging device | |
CN109286751B (en) | Linear array camera focusing method, device, equipment and storage medium | |
JP2002325199A (en) | Electronic imaging device | |
CN116433780B (en) | Automatic calibration method for laser structured light based on machine vision | |
JP5662174B2 (en) | AF lens unit characteristic inspection apparatus, characteristic inspection method, control program, and readable storage medium | |
CN113219622A (en) | Objective lens focusing method, device and system for panel defect detection | |
CN109781745A (en) | A kind of optical element surface defects detection Atomatic focusing method and device | |
RU2389050C1 (en) | Automatic focusing method | |
CN111970500A (en) | Automatic distance step calibration method and system for projection equipment | |
CN113301314A (en) | Focusing method, projector, imaging apparatus, and storage medium | |
CN112461853B (en) | Automatic focusing method and system | |
JP6136019B2 (en) | Moving image photographing apparatus and focusing method of moving image photographing apparatus | |
CN117170081A (en) | Automatic focusing method based on image definition identification | |
CN117492164A (en) | Automatic focusing system and method based on DLP (digital light processing) structured light and motor system | |
CN115278072B (en) | Automatic focusing method and system for Micro LED detection | |
US7869017B2 (en) | Test apparatus and test method having a plurality of combinations of object distances | |
CN112839168B (en) | Method for automatically adjusting camera imaging resolution in AOI detection system | |
CN113805304B (en) | Automatic focusing system and method for linear array camera | |
CN115268012A (en) | Real-time automatic focusing method of camera based on edge tracking | |
JP5149984B2 (en) | Imaging device | |
CN110389088B (en) | On-line monitoring method for particle pollutants on surface of large-diameter reflector | |
CN117041710B (en) | Coke follower and control method thereof |
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 |