CN108007675A - The detection device and detection method of motorized zoom lens focusing curve - Google Patents
The detection device and detection method of motorized zoom lens focusing curve Download PDFInfo
- Publication number
- CN108007675A CN108007675A CN201711235084.7A CN201711235084A CN108007675A CN 108007675 A CN108007675 A CN 108007675A CN 201711235084 A CN201711235084 A CN 201711235084A CN 108007675 A CN108007675 A CN 108007675A
- Authority
- CN
- China
- Prior art keywords
- image
- zoom lens
- matrix
- detection
- motorized zoom
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01M—TESTING STATIC OR DYNAMIC BALANCE OF MACHINES OR STRUCTURES; TESTING OF STRUCTURES OR APPARATUS, NOT OTHERWISE PROVIDED FOR
- G01M11/00—Testing of optical apparatus; Testing structures by optical methods not otherwise provided for
- G01M11/02—Testing optical properties
- G01M11/0242—Testing optical properties by measuring geometrical properties or aberrations
- G01M11/0257—Testing optical properties by measuring geometrical properties or aberrations by analyzing the image formed by the object to be tested
Abstract
The present invention proposes a kind of detection device and detection method of motorized zoom lens focusing curve, and wherein device includes:Driving and control module, image collection module and detection module;The driving and control module include:MCU, drive circuit, stepper motor, power supply and lens bracket;The drive circuit is used to drive the zooms of motorized zoom lens with stepper motor and focusing stepper motor;The lens bracket is used to fix motorized zoom lens;Described image acquisition module is used for the imaging for obtaining motorized zoom lens;The detection module is arranged in host computer, and the host computer forms serial communication with driving and control module;The detection module includes the detection control unit based on MATLAB and the image processing unit based on MATLAB.Focusing curve important role for testing motorized zoom lens, be not required in volume production period extra manpower can the focusing curve of automatic lens detecting whether there is deviation, the situation of eyeglass packaging technology and plated film can be judged with this.
Description
Technical field
The invention belongs to optics detection field, more particularly to a kind of detection device of motorized zoom lens focusing curve
And detection method.
Background technology
As science and technology is maked rapid progress, the horizontal raising of popular safe consumption of chain end is consumed, has also driven each field to peace
Demand in all directions, in some special demand occasions, such as safety-security area, the effect that user shows security device
It is it is required that more accurate.So this requires being not merely simple production camera lens as camera lens producer, will also be to each side of camera lens
Do enough tests and can introduce to the market in face.Motorized zoom lens have one to ensure the clear of whole process in use
Corresponding zoom(Zoom)And focusing(Focus)Focusing curve, but each camera lens is due to the difference focusing of production individual
Curve has little difference, at present, can also be generally applicable to industrial production and detection to motorized zoom lens without a kind of
The detection device or detection method of focusing curve.Therefore, a kind of inspection of practical, efficient motorized zoom lens focusing curve is invented
Surveying device and detection method becomes market urgent need instantly.
The content of the invention
In view of the problems of the existing technology, the present invention uses following technical scheme:
A kind of detection device of motorized zoom lens focusing curve, it is characterised in that including:Driving and control module, image obtain
Modulus block and detection module;The driving and control module include:MCU, drive circuit, stepper motor, power supply and lens bracket;
The drive circuit is used to drive the zooms of motorized zoom lens with stepper motor and focusing stepper motor;The lens bracket
For fixing motorized zoom lens;Described image acquisition module is used for the imaging for obtaining motorized zoom lens;The detection module
It is arranged in host computer, the host computer forms serial communication with driving and control module;The detection module includes being based on
The detection control unit of MATLAB and the image processing unit based on MATLAB;The detection control unit can be to driving and control
Module sends the instruction that control motorized zoom lens carry out one or multi-step zoom action or focus movement, and the step of operation of recording
Number;The detection control unit can be before the instruction for carrying out a step focus movement be sent to driving and control module each time
And/or backward image collection module send the instruction of collection image, and obtain the corresponding figure of each step from image collection module
Picture;Described image processing unit calculates detection control unit using the Sobel operators edge algorithms based on gray level image is schemed
The overall clarity value of picture, and build the corresponding overall clarity matrix of the corresponding image of each step.
Preferably, the MCU is STC15F204EA microcontrollers;The drive circuit includes two L293D driving chips,
The zoom of driving motorized zoom lens is respectively used to stepper motor and focusing stepper motor;The supply voltage of the power supply is
5V;Described image acquisition module is cmos image sensor.
Preferably, the P3.0-RX interfaces of the STC15F204EA microcontrollers, P3.1-TX interfaces and the driving and control
The ground connection mouth of module is connected to the USB port of host computer by PL2003, to realize serial communication.
Preferably, the detection module further includes preview display unit;For obtaining and showing that described image obtains in real time
The image of module collection.
Preferably, the Sobel operator edge algorithms based on gray level image include:Step A:Gray processing is carried out to image
Processing, obtains gradation of image matrix;Step B:Imfilter function call sobel operators pair are utilized to described image gray matrix
Gradation of image matrix is filtered, and obtains clarity evaluations matrix;Step C:By whole elements of the clarity evaluations matrix
Sum, obtain overall clarity value;Step D:The step number and corresponding picture recorded according to the detection control unit is overall
Definition values build the corresponding overall clarity matrix of the corresponding image of each step.
And a kind of detection method of motorized zoom lens focusing curve, it is characterised in that comprise the following steps:
Step 1:Fixed motorized zoom lens, and it is arranged to picture stage property in front of camera lens;
Step 2:Motorized zoom lens are carried out once with the complete focus movement carried out by step, carrying out image to each step adopts
Collect and the Sobel operator edge algorithms based on gray level image are performed to each image, it is corresponding to obtain the corresponding image of each step
Overall clarity matrix;The Sobel operator edge algorithms based on gray level image include:Step A:Gray processing is carried out to image
Processing, obtains gradation of image matrix;Step B:Described image gray matrix carries out gradation of image matrix using sobel operators
Filtering, obtains clarity evaluations matrix;Step C:Whole elements of the clarity evaluations matrix are summed, obtain totality
Definition values;Step D:The step number and corresponding picture overall clarity value structure recorded according to the detection control unit is described every
The corresponding overall clarity matrix of the corresponding image of one step;
Step 3:The focusing focusing curve of motorized zoom lens is generated according to overall clarity matrix.
And a kind of detection method of motorized zoom lens focusing curve, it is characterised in that comprise the following steps:
Step 4:Fixed motorized zoom lens, and it is arranged to picture stage property in front of camera lens;
Step 5:By motorized zoom lens, once complete zoom action is divided into n zoom action part by step;
Step 6:Order performs n zoom action part, and before performing zoom action, between two zoom actions and hold
The node gone after n zoom action carries out motorized zoom lens once the complete focus movement carried out by step respectively,
Image Acquisition is carried out to each step and the Sobel operator edge algorithms based on gray level image are performed to each image, is obtained each
Walk the corresponding overall clarity matrix of corresponding image;
Step 7:Motorized zoom lens gathering under different focal in adjustable extent is generated according to each overall clarity matrix
Jiao's focusing curve.
Preferably, the Sobel operator edge algorithms based on gray level image include:Step A:Gray processing is carried out to image
Processing, obtains gradation of image matrix;Step B:Described image gray matrix carries out gradation of image matrix using sobel operators
Filtering, obtains clarity evaluations matrix;Step C:Whole elements of the clarity evaluations matrix are summed, obtain totality
Definition values;Step D:The step number and corresponding picture overall clarity value structure recorded according to the detection control unit is described every
The corresponding overall clarity matrix of the corresponding image of one step.
Preferably, in step 1, the motorized zoom lens are fixed on lens bracket;
The zoom action and focus movement are controlled respectively by two stepper motors;Described two stepper motors are by two L293D
Driving chip drives respectively;Described two L293D driving chips are arranged on one drive circuit;The drive circuit and a MCU
Connection, the MCU is STC15F204EA microcontrollers;The MCU is connected by serial communication with a host computer;
Described image collection is realized by a cmos image sensor;
A detection module is provided with the host computer;The detection module includes detection control unit and base based on MATLAB
In the image processing unit of MATLAB;The detection control unit can send control motorized zoom lens to driving and control module
Carry out the instruction of one or multi-step zoom action or focus movement, and the step number of operation of recording;The detection control unit can be
To cmos image sensor before or after sending the instruction for carrying out a step focus movement to driving and control module each time
The instruction of collection image is sent, and the corresponding image of each step is obtained from cmos image sensor;Described image processing unit profit
The overall clarity value of detection control unit acquisition image, and structure are calculated with the Sobel operators edge algorithms based on gray level image
Build the corresponding overall clarity matrix of the corresponding image of each step.
The present invention can convenient, efficiently test the focusing curve of each camera lens in industrial process stream, verify mould
Tool and the technique of eyeglass assembling production, to confirm the otherness of every batch of product.Pair of the present invention for test motorized zoom lens
Burnt curve important role, be not required in volume production period extra manpower can the focusing curve of automatic lens detecting whether go out
Existing deviation, can judge the situation of eyeglass packaging technology and plated film, the focusing curve that more can conveniently judge with this
Deviation, can according to big data accumulation find batch products the bad and scope of mold members tolerance floating, or
The user of specific demand provides specific, parameter of curve of accurately focusing.
Brief description of the drawings
The present invention is described in more detail with reference to the accompanying drawings and detailed description:
Fig. 1 is the flow chart that focusing curve detection method is focused in the embodiment of the present invention;
Fig. 2 is the flow chart of the focusing focusing curve detection method in adjustable extent under different focal in the embodiment of the present invention;
Fig. 3 is the flow chart of the Sobel operator edge algorithms based on gray level image in the embodiment of the present invention.
Embodiment
Feature and advantage to allow this patent can become apparent, and special embodiment below, is described in detail below:
The detection device of the present embodiment includes:Driving and control module, image collection module and detection module;Driving and control mould
Block includes:MCU(Micro-control unit), drive circuit, stepper motor, power supply and lens bracket;Drive circuit is used to drive electronic
The zoom of zoom lens is with stepper motor and focusing stepper motor;Lens bracket is used to fix motorized zoom lens;Image obtains
Modulus block is used for the imaging for obtaining motorized zoom lens;Detection module is arranged in host computer, and host computer is with driving and controlling mould
Block forms serial communication;Detection module includes the detection control unit based on MATLAB and the image procossing list based on MATLAB
Member;Detection control unit can to driving and control module send control motorized zoom lens carry out one or multi-step zoom action or
The instruction of focus movement, and the step number of operation of recording;Detection control unit can each time to driving and control module send into
The instruction of collection image is sent before or after the instruction of one step focus movement of row to image collection module, and is obtained from image
Modulus block obtains the corresponding image of each step;Image processing unit utilizes the Sobel operator edge algorithms meters based on gray level image
The overall clarity value that detection control unit obtains image is calculated, and it is clear to build the corresponding totality of the corresponding image of each step
Spend matrix.
In the present embodiment, MCU is STC15F204EA microcontrollers;Drive circuit includes two L293D driving chips, respectively
For driving the zooms of motorized zoom lens with stepper motor and focusing stepper motor;The supply voltage of power supply is 5V;Image
Acquisition module is cmos image sensor.
The driving of the present embodiment and control module are arranged on pcb board.
Wherein, STC15F204EA is 8051 microcontroller of a new generation of high speed/highly reliable/low-power consumption of new generation, fully compatible
8051 microcontrollers, the transplanting to program provide great convenience.High-precision R/C clocks are internally integrated, ± 1% temperature drift, is omitted outer
Portion's crystal oscillator and reset circuit, can significantly reduce pcb board size.
STC15F204EA has the property that:1st, built-in highly reliable reset circuit, omits the wiring of external reset circuit;
2nd, built-in high accuracy R/C clocks, operating frequency range 5MHZ ~ 35MHZ;3rd, flash programs in 1K/2K/3K/4K/5K chunks
Memory, erasable more than 100,000 times;4th, 8 passage, 10 high-speed ADCs, can be that subsequent A/D conversion uses, using 20 pins
Microcontroller, function during its all I/O port has 4(Quasi-bidirectional interface, is recommended by force, high resistant, open-drain)It can meet exploitation demand, and this list
Piece machine has 10,8 tunnel ADC, without external AD sample circuits, disclosure satisfy that the demand of the present embodiment device.
Wherein, L293D has the property that:1st, supply voltage scope:4.5 V to 36 V;2nd, four times of high current H bridges drive
It is dynamic;3rd, output current 1A is per passage, and peak anode current 2A is per passage;4th, exterior output is the perceptual wink of high speed clamp diode
State suppresses, and L293D is arranged in H-bridge drive circuit, can reach the output of peak value 2A, drives two stepper motors enough, and make
Can foot increase and need to only change the input of the foot of IN1 ~ 4 after level and can control stepper motor start, can without other peripheral circuits
Meets the needs of the present embodiment device.
Wherein power unit uses the DC 5V inputs after external decompression, is carried out respectively using two groups of capacitances in importation
Filtering, ensures the stability of input power.
Wherein, the sensor interface for the cmos image sensor that the present embodiment device uses is USB interface, target surface size 1/
2.5, pcb board type is 38mm*38mm.
Wherein, the P3.0-RX interfaces of STC15F204EA microcontrollers, P3.1-TX interfaces and driving and control module pcb board
Ground connection mouth the USB port of host computer is connected to by PL2003, to realize serial communication.
In the present embodiment, detection module is host computer(PC)On based on MATLAB exploitation the visual software with GUI
Program.
Detection module carries serial ports linkage function, host computer is carried out serial communication with driving and control module,
Detection module carries preview display unit;For obtaining the image of cmos image sensor collection in real time and including it
On gui interface, user can judge whether detection process has exception by observing the change of video.
Detection control unit based on MATLAB and the image processing unit based on MATLAB are the core work(of detection module
Energy.
Wherein, detection control unit be used for control driving and control module in two stepper motors, with realize a step or
Multistep zoom action or focus movement, and complete to pass through collection of the cmos image sensor to image in the process;At image
Reason unit is used for the overall clarity value for calculating each step image, and it is clear to build the corresponding totality of the corresponding image of each step accordingly
Clear degree matrix.
Wherein image processing unit can be to the algorithm of image definition:1. gray variance method:I.e. according to the ash of image
Intensity of variation is spent to evaluate the clarity of present image, achievees the purpose that focusing.The focus program of the overall situation/local gray level variance exists
Since operand is larger in actual use, actual focal time is longer;2. Voice segment:What Voice segment utilized is that Fourier becomes
The characteristic changed, its picture image information is abundanter, and the frequency after Fourier changes is also more, when frame frequency is peak value
Represent that image is in most clearly situation;3. Edge Evaluation function:Drawn by the analysis to each color lump edge in image
The evaluation method of its image definition, such as more common evaluation function is:Sobel functions, prewitt functions, La Pula
This etc.;The test of focusing curve is due to requiring finely and in order to ensure that the practicality of volume production must assure that the speed of focusing picture
Degree, therefore the present embodiment has selected the Edge Evaluation scheme of sobel functions, sobel functions are in picture judgement and focal time
Suffer from good performance.
In the present embodiment, using the Sobel operator edge algorithms based on gray level image, which comprises the following steps:Step
Rapid A:Gray processing processing is carried out to image, obtains gradation of image matrix;Step B:Imfilter letters are utilized to gradation of image matrix
Number calls sobel operators to be filtered gradation of image matrix, obtains clarity evaluations matrix;Step C:Clarity is evaluated into square
Whole elements of battle array are summed, and obtain overall clarity value;Step D:The step number and correspondence recorded according to detection control unit
Picture overall clarity value builds the corresponding overall clarity matrix of the corresponding image of each step.
Specific code example:
img=getsnapshot(vid);Obtain image
img=ycbcr2rgb(img);Image is converted into RGB image
img=mat2gray(ycbcr2rgb(img));RGB image is converted into gray matrix
img1=imfilter(img,wl,’sobel’);Carry out the filtering based on sobel operators
s=[s sum(img1(:))];Calculate overall clarity value
a=[s,q];Build overall clarity matrix
This kind of algorithm calculation process speed is fast, efficient, and result is accurate.
Device includes two kinds of detection methods to base in this present embodiment, wherein, focusing curve detection method is focused on including following
Step:
Step 1:Fixed motorized zoom lens, and it is arranged to picture stage property in front of camera lens;
Step 2:Motorized zoom lens are carried out once with the complete focus movement carried out by step, carrying out image to each step adopts
Collect and the Sobel operator edge algorithms based on gray level image are performed to each image, it is corresponding to obtain the corresponding image of each step
Overall clarity matrix;
Step 3:The focusing focusing curve of motorized zoom lens is generated according to overall clarity matrix.
Wherein, the focusing focusing curve detection method in adjustable extent under different focal comprises the following steps:
Step 4:Fixed motorized zoom lens, and it is arranged to picture stage property in front of camera lens;
Step 5:By motorized zoom lens, once complete zoom action is divided into n zoom action part by step;
Step 6:Order performs n zoom action part, and before performing zoom action, between two zoom actions and hold
The node gone after n zoom action carries out motorized zoom lens once the complete focus movement carried out by step respectively,
Image Acquisition is carried out to each step and the Sobel operator edge algorithms based on gray level image are performed to each image, is obtained each
Walk the corresponding overall clarity matrix of corresponding image;
Step 7:Motorized zoom lens gathering under different focal in adjustable extent is generated according to each overall clarity matrix
Jiao's focusing curve.
Wherein, motorized zoom lens are fixed on lens bracket.The value of n and the division of zoom action part can be according to not
The The concrete specification and parameter of same motorized zoom lens determine.
In the present embodiment, before operating procedure two, need to select serial ports handle in detection module and create serial ports pair
As and serial communication parameter is set, define the interrupt function and interrupt mode of serial ports, serial ports read-write event mainly uses
Outputempty, when output buffer is empty, produces the event.
Need to set serial communication in MCU, serial port general register SCON and Timer modes deposit is respectively configured
Device TMOD, wherein SCON:SM0,SM1,SM2,REN,TB8,RB8,TI,RI.There is a=SM0SM1 in important position, and the implication of a=01 is 10
Asynchronous receiving-transmitting, baud rate are variable;REN serial received enable bits;TI sends interrupt flag bit;RI, which is received, interrupts beautiful position.TMOD
Low two M1M0=10 are commonly used, set timer/counter working method to be reset automatically for 8 initial values.
Above-mentioned configuration opens serial ports after completing.Serial ports is opened successfully, then can be from serial ports(P3.0/P3.1)Read and write number
According to, use read function:Fread, fscanf can read and write binary system or ascii data from serial ports.Asynchronous communication first sends starting
Position(Low level), then 7 data bit are sent out, finally send a bit check position(Even-odd check)With a stop position so as to complete a frame
Data sending.
In detection process, preview display unit can be opened in real time, to Imaging for Monitoring situation.
It may also be set in two kinds of detection methods of the present embodiment:When the maximum that overall clarity value is calculated
When, that is, the instruction for stopping detection control unit being sent, and detection of end, directly generates focusing curve.
This patent is not limited to above-mentioned preferred forms, anyone can draw other each under the enlightenment of this patent
The detection device and detection method of the motorized zoom lens focusing curve of kind of form, it is all to be done according to scope of the present invention patent
Equivalent changes and modifications, should all belong to the covering scope of this patent.
Claims (9)
- A kind of 1. detection device of motorized zoom lens focusing curve, it is characterised in that including:Driving and control module, image Acquisition module and detection module;The driving and control module include:MCU, drive circuit, stepper motor, power supply and camera lens branch Frame;The drive circuit is used to drive the zooms of motorized zoom lens with stepper motor and focusing stepper motor;The camera lens Stent is used to fix motorized zoom lens;Described image acquisition module is used for the imaging for obtaining motorized zoom lens;The detection Module is arranged in host computer, and the host computer forms serial communication with driving and control module;The detection module includes base Detection control unit in MATLAB and the image processing unit based on MATLAB;The detection control unit can be to driving and control Molding block sends the instruction that control motorized zoom lens carry out one or multi-step zoom action or focus movement, and operation of recording Step number;The detection control unit can be before the instruction for carrying out a step focus movement be sent to driving and control module each time And/or backward image collection module send the instruction of collection image, and obtain the corresponding figure of each step from image collection module Picture;Described image processing unit calculates detection control unit using the Sobel operators edge algorithms based on gray level image is schemed The overall clarity value of picture, and build the corresponding overall clarity matrix of the corresponding image of each step.
- 2. the detection device of motorized zoom lens focusing curve according to claim 1, it is characterised in that:The MCU is STC15F204EA microcontrollers;The drive circuit includes two L293D driving chips, is respectively used to driving motorized zoom lens Zoom with stepper motor and focusing stepper motor;The supply voltage of the power supply is 5V;Described image acquisition module is Cmos image sensor.
- 3. the detection device of motorized zoom lens focusing curve according to claim 2, it is characterised in that:It is described P3.0-RX interfaces, P3.1-TX interfaces and the ground connection mouthful of the driving and control module of STC15F204EA microcontrollers pass through PL2003 is connected to the USB port of host computer, to realize serial communication.
- 4. the detection device of motorized zoom lens focusing curve according to claim 1, it is characterised in that:The detection mould Block further includes preview display unit;For obtaining and showing the image of described image acquisition module collection in real time.
- 5. the detection device of motorized zoom lens focusing curve according to claim 1, it is characterised in that:It is described to be based on ash The Sobel operator edge algorithms of degree image include:Step A:Gray processing processing is carried out to image, obtains gradation of image matrix;Step Rapid B:Described image gray matrix is filtered gradation of image matrix using imfilter function call sobel operators, obtains Obtain clarity evaluations matrix;Step C:Whole elements of the clarity evaluations matrix are summed, obtain overall clarity Value;Step D:The step number and corresponding picture overall clarity value recorded according to the detection control unit builds each step pair The corresponding overall clarity matrix of image answered.
- 6. a kind of detection method of motorized zoom lens focusing curve, it is characterised in that comprise the following steps:Step 1:Fixed motorized zoom lens, and it is arranged to picture stage property in front of camera lens;Step 2:Motorized zoom lens are carried out once with the complete focus movement carried out by step, carrying out image to each step adopts Collect and the Sobel operator edge algorithms based on gray level image are performed to each image, it is corresponding to obtain the corresponding image of each step Overall clarity matrix;The Sobel operator edge algorithms based on gray level image include:Step A:Gray processing is carried out to image Processing, obtains gradation of image matrix;Step B:Described image gray matrix carries out gradation of image matrix using sobel operators Filtering, obtains clarity evaluations matrix;Step C:Whole elements of the clarity evaluations matrix are summed, obtain totality Definition values;Step D:The step number and corresponding picture overall clarity value structure recorded according to the detection control unit is described every The corresponding overall clarity matrix of the corresponding image of one step;Step 3:The focusing focusing curve of motorized zoom lens is generated according to overall clarity matrix.
- 7. a kind of detection method of motorized zoom lens focusing curve, it is characterised in that comprise the following steps:Step 4:Fixed motorized zoom lens, and it is arranged to picture stage property in front of camera lens;Step 5:By motorized zoom lens, once complete zoom action is divided into n zoom action part by step;Step 6:Order performs n zoom action part, and before performing zoom action, between two zoom actions and hold The node gone after n zoom action carries out motorized zoom lens once the complete focus movement carried out by step respectively, Image Acquisition is carried out to each step and the Sobel operator edge algorithms based on gray level image are performed to each image, is obtained each Walk the corresponding overall clarity matrix of corresponding image;Step 7:Motorized zoom lens gathering under different focal in adjustable extent is generated according to each overall clarity matrix Jiao's focusing curve.
- 8. the detection method of motorized zoom lens focusing curve according to claim 7, it is characterised in that:It is described to be based on ash The Sobel operator edge algorithms of degree image include:Step A:Gray processing processing is carried out to image, obtains gradation of image matrix;Step Rapid B:Described image gray matrix is filtered gradation of image matrix using sobel operators, obtains clarity evaluations matrix; Step C:Whole elements of the clarity evaluations matrix are summed, obtain overall clarity value;Step D:According to described It is corresponding total that the step number of detection control unit record and corresponding picture overall clarity value build the corresponding image of each step Body clarity matrix.
- 9. the detection method of motorized zoom lens focusing curve according to claim 8, it is characterised in that:In step 1, the motorized zoom lens are fixed on lens bracket;The zoom action and focus movement are controlled respectively by two stepper motors;Described two stepper motors are by two L293D Driving chip drives respectively;Described two L293D driving chips are arranged on one drive circuit;The drive circuit and a MCU Connection, the MCU is STC15F204EA microcontrollers;The MCU is connected by serial communication with a host computer;Described image collection is realized by a cmos image sensor;A detection module is provided with the host computer;The detection module includes detection control unit and base based on MATLAB In the image processing unit of MATLAB;The detection control unit can send control motorized zoom lens to driving and control module Carry out the instruction of one or multi-step zoom action or focus movement, and the step number of operation of recording;The detection control unit can be To cmos image sensor before or after sending the instruction for carrying out a step focus movement to driving and control module each time The instruction of collection image is sent, and the corresponding image of each step is obtained from cmos image sensor;Described image processing unit profit The overall clarity value of detection control unit acquisition image, and structure are calculated with the Sobel operators edge algorithms based on gray level image Build the corresponding overall clarity matrix of the corresponding image of each step.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711235084.7A CN108007675A (en) | 2017-11-30 | 2017-11-30 | The detection device and detection method of motorized zoom lens focusing curve |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711235084.7A CN108007675A (en) | 2017-11-30 | 2017-11-30 | The detection device and detection method of motorized zoom lens focusing curve |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108007675A true CN108007675A (en) | 2018-05-08 |
Family
ID=62055325
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711235084.7A Pending CN108007675A (en) | 2017-11-30 | 2017-11-30 | The detection device and detection method of motorized zoom lens focusing curve |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108007675A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108881729A (en) * | 2018-07-30 | 2018-11-23 | 鹰利视医疗科技有限公司 | A kind of Atomatic focusing method of endoscope |
CN109151328A (en) * | 2018-11-09 | 2019-01-04 | 浙江舜宇光学有限公司 | Lens focusing method, apparatus and zoom lens |
CN110296815A (en) * | 2019-07-02 | 2019-10-01 | 舜宇光学(中山)有限公司 | Detection device and detection method for electromotive focusing camera lens |
TWI692969B (en) * | 2019-01-15 | 2020-05-01 | 沅聖科技股份有限公司 | Camera automatic focusing method and device thereof |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20080053072A (en) * | 2006-12-08 | 2008-06-12 | 삼성전자주식회사 | Apparatus for testing lens |
CN101266390A (en) * | 2006-08-24 | 2008-09-17 | 宁波大学 | Digital image-forming automatic focusing method based on Contourlet transform |
CN101726829A (en) * | 2009-12-23 | 2010-06-09 | 重庆大学 | Method for automatically focusing zoom lens |
CN106679938A (en) * | 2015-11-06 | 2017-05-17 | 福建福光股份有限公司 | Electrical zoom lens focusing curve detection system and method |
-
2017
- 2017-11-30 CN CN201711235084.7A patent/CN108007675A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101266390A (en) * | 2006-08-24 | 2008-09-17 | 宁波大学 | Digital image-forming automatic focusing method based on Contourlet transform |
KR20080053072A (en) * | 2006-12-08 | 2008-06-12 | 삼성전자주식회사 | Apparatus for testing lens |
CN101726829A (en) * | 2009-12-23 | 2010-06-09 | 重庆大学 | Method for automatically focusing zoom lens |
CN106679938A (en) * | 2015-11-06 | 2017-05-17 | 福建福光股份有限公司 | Electrical zoom lens focusing curve detection system and method |
Non-Patent Citations (2)
Title |
---|
蒋婷: "基于图像处理的自动对焦理论和技术研究", 《中国优秀硕士学位论文全文数据库 信息科技辑》 * |
谷晨阳: "变焦镜头自动调焦技术研究", 《中国优秀硕士学位论文全文数据库工程科技Ⅱ辑》 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108881729A (en) * | 2018-07-30 | 2018-11-23 | 鹰利视医疗科技有限公司 | A kind of Atomatic focusing method of endoscope |
CN109151328A (en) * | 2018-11-09 | 2019-01-04 | 浙江舜宇光学有限公司 | Lens focusing method, apparatus and zoom lens |
CN109151328B (en) * | 2018-11-09 | 2021-06-11 | 浙江舜宇光学有限公司 | Lens focusing method and device and zoom lens |
TWI692969B (en) * | 2019-01-15 | 2020-05-01 | 沅聖科技股份有限公司 | Camera automatic focusing method and device thereof |
CN110296815A (en) * | 2019-07-02 | 2019-10-01 | 舜宇光学(中山)有限公司 | Detection device and detection method for electromotive focusing camera lens |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108007675A (en) | The detection device and detection method of motorized zoom lens focusing curve | |
CN107991065A (en) | The detection device and detection method of motorized zoom lens backhaul difference | |
CN203695443U (en) | Screening and measuring device for precise hardware | |
CN101042811A (en) | Linear array CCD synthesis experiment method and apparatus thereof | |
CN103612491A (en) | Laser marking control card | |
CN104460355A (en) | Automatic focusing optical detecting system of liquid crystal display panel | |
CN109167966A (en) | Image dynamic detection system and method based on FPGA+ARM | |
CN108873379A (en) | A kind of intelligence Zoom glasses and its Zooming method | |
CN203688743U (en) | OLED device optical and electrical property testing system | |
CN101482517B (en) | On-line image collection method and apparatus based on asynchronous reset | |
CN202512133U (en) | Large-scale particle image velocity measuring system based on double-camera visual field splice | |
CN104123728A (en) | Hough transform based round pipe detection method | |
CN1442786A (en) | Microinsect automatic counting system | |
CN103512495A (en) | Device and method for automatically detecting boundary dimension of intelligent power meter | |
CN205029751U (en) | Image data collection system based on CCD | |
CN202512042U (en) | Automatic real-time image acquirer of genetically modified crop pollen | |
CN105972284B (en) | A kind of pipeline valve control system and method | |
CN104266613A (en) | Small light sensing area measurement system based on image sensor | |
CN104236665B (en) | Contact-free level measuring system and method | |
CN208671921U (en) | A kind of detection device applied to flexible collar size | |
CN201335683Y (en) | On-line image acquisition device | |
CN201533831U (en) | Non-contact type centrometer | |
CN204836358U (en) | Linear array CCD drive arrangement | |
CN203642878U (en) | High-precision measuring device for fiber joint | |
CN219122299U (en) | Detection circuit, control host and ultrasonic operation equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180508 |