CN106324795B - A kind of automatic quick focusing method in more visuals field of detector microscope - Google Patents
A kind of automatic quick focusing method in more visuals field of detector microscope Download PDFInfo
- Publication number
- CN106324795B CN106324795B CN201610859719.XA CN201610859719A CN106324795B CN 106324795 B CN106324795 B CN 106324795B CN 201610859719 A CN201610859719 A CN 201610859719A CN 106324795 B CN106324795 B CN 106324795B
- Authority
- CN
- China
- Prior art keywords
- focusing
- image
- microscope
- video flowing
- visual field
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
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/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
- G02B21/00—Microscopes
- G02B21/24—Base structure
- G02B21/241—Devices for focusing
- G02B21/244—Devices for focusing using image analysis techniques
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- General Physics & Mathematics (AREA)
- Optics & Photonics (AREA)
- Chemical & Material Sciences (AREA)
- Analytical Chemistry (AREA)
- Microscoopes, Condenser (AREA)
- Automatic Focus Adjustment (AREA)
Abstract
The invention discloses a kind of automatic quick focusing method in more visuals field of detector microscope, solves the problems, such as that artificial manual microscopy focusing causes human cost high and will produce inaccurate error, reduce labour cost.This method obtains video image by mobile to focal axis, obtains a most clearly image from video image, which is most clearly image;Segmentation is moved by fixed step size during mobile focusing is walked, and is carried out at the same time the clarity detection of fixed step size, goes out most clearly image so as to fast resolution.Reach saving human cost, improves the effect of focusing speed.
Description
Technical field
The present invention relates to a kind of methods for realizing the more visual field rapid focus of full-automatic leukorrhea detector microscope.
Background technology
With the development and progress of science and technology, in medical fields such as leukorrhea detections, microscopical use is very frequent, but he
Be substantially auto-focusing carried out by manual operation microscope, it is excessively high to cause human cost, inconvenient for operation, to close-burning
In addition the problems such as fruit error is big is applied to microscopical automatic equipment for some, focused using software control microscope
In the process, directly use single frames clap figure, inefficiency, often detect 20 visual field sample, need expend 10min when
Between, it largely reduced the operation rate of full-automatic leukorrhea detection machine.
Invention content
It is an object of the invention to overcome drawbacks described above, provide a kind of more visuals field of detector microscope automatic rapid focus side
Method realizes the rapid focus to the different visuals field.
In order to realize that purpose, the technical solution adopted by the present invention are as follows:
A kind of automatic quick focusing method in more visuals field of detector microscope, includes the following steps:
Step 1:By motor control it is microscopical initial position is moved to focal axis, and record initial position;
Step 2:By being controlled to focal axis setting in motion fixed step size to motor, camera starts to shoot video flowing, to camera
Each frame of the video flowing of shooting carries out the calculating of image definition, and the position for recording shooting most clear image is first
The visual field successful position of focusing;
Step 3:After changing the microscope focusing visual field, make to be moved to last successful position of focusing to focal axis first;
Step 4:The negative direction of moving direction moves one section of fixed step size when control motor makes the focusing axial last time focus,
Camera shoots video flowing in this section of fixed step size simultaneously;
Step 5:Judge that the size trend of shot image clarity in the segment distance is looked for if peak value occurs in clarity
Go out most clearly image be focusing point image;If it is what is successively decreased, then reversely shooting two fixed step sizes video flowing, continue into
Most clear image is found out in the judgement of line definition;
Step 6:The return to step 3 after changing the microscope focusing visual field again.
Further, the clarity of each image is drawn clearly in the video flowing that also shot according to camera in the step 2
Write music line, search out articulation curve across 1 when two positions, then find out the two images nearest apart from the two positions,
It calculates corresponding to focal axis displacement distance, the Distance positioning fixed step size between this two images.
Compared with prior art, the present invention haing the following advantages and advantageous effect:
(1) present invention to focal axis to microscope by sending movement of the Pulse Width Control motor rotation realization to focal axis, simultaneously
In conjunction with the image capturing system and image definition algorithm of microscope camera, the most clear position of picture can be calculated at what
Place realizes that software control microscope realizes the process of auto-focusing, and accuracy is high, improves the accuracy of image detection.
(2) in the focus process in the present invention, the process of Image Acquisition uses the mode of video flowing acquisition image, can
It quickly to acquire image, adopts figure with single frames and compares, substantially reduce and adopt figure time spent in focus process, Er Qiegen
According to the variation tendency of the image definition to focal axis movement a period of time clapped figure, there can be finding from next focus point for target
Proximity largely shortens the focusing time in next visual field, similarly, behind all visuals field focus point nearly all
Can be found in each step-length, in addition to first visual field looks for the focusing position time slightly longer, behind each visual field focusing
Position can quickly be found according to the position in the previous visual field, substantially reduce the time integrally focused.
Description of the drawings
Fig. 1 is the flow chart of the present invention.
Specific implementation mode
The present invention is done with reference to embodiment and its attached drawing and is further described in detail, but embodiments of the present invention are not
It is limited to this.
Embodiment
Microscope inspection test sample this when is being carried out, often artificially to focusing microscope is being carried out according to personal experience, due to a
Body otherness, mobility artificial in this way is too big, also error is caused to become larger, meanwhile, manually focusing, time-consuming in multiple visuals field, efficiency
It is low, under current science and technology rapid development, the background that automation is slowly popularized, under artificial focusing seems that efficiency is at a fairly low, moreover,
In existing full-automatic leukorrhea detection machine, auto-focusing is carried out using single frames bat figure, a sample of focusing, 20 visuals field need
10min, it is time-consuming too long during automatic detection, or even will be long than the cervical arthroplasty time, the present invention is directed to existing skill
Art defect passes through creative labor based on allowing the mode of software-driven hardware effort separately to ward off thinking in conjunction with image capturing system
It is dynamic, it provides and a kind of controlling the automation focusing that full-automatic leukorrhea detector microscope realizes efficiently quickly more visuals field by software
A kind of method.
As shown in Figure 1, a kind of method for realizing the automatic rapid focus in the full-automatic more visuals field of leukorrhea detector microscope, the party
Method mainly controls motor movement to reach the function of camera auto-focusing with software, and image capturing system can be used in focus process
The acquisition of video flowing and the application of image definition algorithm, to find microscopical focusing position.Specifically, this method
Including following three steps:
(1) by motor control it is microscopical initial position is moved to focal axis, and record the height of initial position;
(2) it by sending pulse to motor, controls to focal axis setting in motion, camera starts to shoot video flowing, claps camera
Each frame of the video flowing taken the photograph carries out the calculating of image definition, finds a kind of most clearly picture, records shooting figure at this time
The position of picture is the position of first focus point;
(3) position of mobile microscope carrier changes the microscope focusing visual field, sends 1000 pulses to the last time
Mobile opposite direction movement, repeats step (2), finds the focus point in second visual field, the reconvert visual field.It repeats above-mentioned (2)
Step, to realize the focusing in the multiple visuals field of microscope.
Microscope focus process, needs to use to focal axis, is the axis of microscopical object lens movement to focal axis, it can only on
Lower movement, the initial position to focal axis are by sample thickness degree, object lens multiple, and the factors such as number of plies of the sample to be observed determine
, motor is sent the pulse to by software, the rotation of motor pushing gear achievees the purpose that controlling microscope moves focal axis, institute
Movement in focus process is all relative motion, and the position of record is also all relative position.
When starting focusing, needs to be moved successively to focal axis from top to bottom first, calculate the clarity for obtaining video flowing, obtain
Clearly nearest two images of distance 1, the displacement distance of corresponding symmetry axis between two images is calculated, the movement away from
From for fixed step size.1000 pulses that motor is calculated in the specific embodiment of the invention are fixed step size, right at second
1000 pulses of focusing downwards are started to focal axis during burnt, pause 1s, during movement, camera opens video flowing acquisition
Pattern preserves each frame image in the process, after movement, calls image definition algorithm, calculates per frame image
Clarity illustrate the point of utmost sharpness in the side for, needing to focus above if the clarity of these images is successively decreased
To reversed, 2000 pulses are moved upwards;If there are maximum peak points for the clarity of these images, can be with stop motion.
The position where maximum articulation point is preserved, which is exactly the position of first visual field focus point.Moving stage changes focusing
The visual field repeats the above steps and carries out the focusing in next visual field until all visuals field are all focused and terminated.
This focusing method is by being determined in next step after video one section of figure of bat by judging the tendency of image definition
The direction of motion, the advantage of doing so is that, if the visual field to be replaced, it is preceding it is primary focused clearly under the premise of, more
The speed for changing visual field focusing can faster, because being near focusing articulation point to focal axis after the completion of focusing for the first time, institute
After converting the visual field, need to only move the umber of pulse of very little can find most clearly position.
According to examples detailed above, you can embody the present invention well.
Claims (1)
1. a kind of automatic quick focusing method in more visuals field of detector microscope, includes the following steps:
Step 1:By motor control it is microscopical initial position is moved to focal axis, and record initial position;
Step 2:By being controlled to focal axis setting in motion fixed step size to motor, camera starts to shoot video flowing, is shot to camera
Video flowing each frame carry out image definition calculating, record shooting most clear image position be first visual field
It focuses successful position;
Step 3:After changing the microscope focusing visual field, make to be moved to last successful position of focusing to focal axis first;
Step 4:The negative direction of moving direction moves one section of fixed step size when control motor makes the focusing axial last time focus, simultaneously
Camera shoots video flowing in this section of fixed step size;
Step 5:Judge that the size trend of shot image clarity in the segment distance is found out most if peak value occurs in clarity
Clearly image is focusing point image;If it is what is successively decreased, then the video flowing of two fixed step sizes is reversely shot, continued clear
Most clear image is found out in the judgement of clear degree;
Step 6:The return to step 3 after changing the microscope focusing visual field again;
It is characterized in that also wanting root in the step 2
Draw articulation curve according to the clarity of each image in the video flowing of camera shooting, search out articulation curve across 1 when
Two positions, then find out the two images nearest apart from the two positions, calculate corresponding focusing between this two images
Axis displacement distance, the Distance positioning fixed step size.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610859719.XA CN106324795B (en) | 2016-09-29 | 2016-09-29 | A kind of automatic quick focusing method in more visuals field of detector microscope |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610859719.XA CN106324795B (en) | 2016-09-29 | 2016-09-29 | A kind of automatic quick focusing method in more visuals field of detector microscope |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106324795A CN106324795A (en) | 2017-01-11 |
CN106324795B true CN106324795B (en) | 2018-10-16 |
Family
ID=57821006
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610859719.XA Active CN106324795B (en) | 2016-09-29 | 2016-09-29 | A kind of automatic quick focusing method in more visuals field of detector microscope |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106324795B (en) |
Families Citing this family (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107103604B (en) * | 2017-05-23 | 2018-11-13 | 重庆天之助生物科技有限公司 | A kind of particulate coloration auto-clustering analysis system |
CN109752831B (en) * | 2017-11-02 | 2022-01-14 | 山东颐泽天泰医疗科技有限公司 | Automatic focusing method, system and device for microscope with controllable focusing time |
CN108731960A (en) * | 2018-05-18 | 2018-11-02 | 湖南乾康科技有限公司 | A kind of Medical Devices debugging detecting system and method |
CN108873242A (en) * | 2018-07-20 | 2018-11-23 | 芜湖市皖江光电仪器有限公司 | A method of for number relatively microscope auto-focusing |
CN109151319B (en) * | 2018-09-28 | 2021-01-19 | 深圳市盛世生物医疗科技有限公司 | Method and device for processing focusing sequence of mark points of multi-mark-point target object |
CN109612992B (en) * | 2018-11-26 | 2021-07-23 | 深圳辉煌耀强科技有限公司 | Rapid scanning method and system for cervical exfoliated cell smear |
CN111277744B (en) * | 2018-12-04 | 2022-04-15 | 武汉华大智造科技有限公司 | Focusing method and system, gene sequencer and computer readable storage medium |
CN110146974B (en) * | 2019-05-29 | 2020-10-23 | 电子科技大学 | Intelligent biological microscope |
CN112903675B (en) * | 2019-11-15 | 2024-09-06 | 深圳迈瑞生物医疗电子股份有限公司 | Sample analyzer and cell image processing method for sample analyzer |
CN110927918A (en) * | 2019-12-27 | 2020-03-27 | 屏丽科技成都有限责任公司 | Long-stroke focusing lens rapid convergence focusing method and projector applying same |
CN112540456A (en) * | 2020-12-03 | 2021-03-23 | 重庆奥亚医疗器械有限公司 | Microscope precision automatic focusing method based on human-simulated definition judgment |
CN113063352B (en) * | 2021-03-31 | 2022-12-16 | 深圳中科飞测科技股份有限公司 | Detection method and device, detection equipment and storage medium |
CN113837137B (en) * | 2021-09-30 | 2024-09-27 | 湖南品胜生物技术有限公司 | Positioning capturing method, control system and readable storage medium for sample microscopic image acquisition |
CN114167594A (en) * | 2021-12-24 | 2022-03-11 | 湖南伊鸿健康科技有限公司 | Automatic focusing method of electron microscope |
CN116095477B (en) * | 2022-08-16 | 2023-10-20 | 荣耀终端有限公司 | Focusing processing system, method, equipment and storage medium |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7030351B2 (en) * | 2003-11-24 | 2006-04-18 | Mitutoyo Corporation | Systems and methods for rapidly automatically focusing a machine vision inspection system |
JP4708143B2 (en) * | 2005-09-30 | 2011-06-22 | シスメックス株式会社 | Automatic microscope and analyzer equipped with the same |
AU2010249729A1 (en) * | 2009-05-19 | 2011-12-15 | Bionano Genomics, Inc. | Devices and methods for dynamic determination of sample position and orientation and dynamic repositioning |
CN102998787B (en) * | 2012-07-24 | 2015-08-26 | 中华人民共和国南京出入境检验检疫局 | Fiber cross section section focusing digital picture acquisition methods under a kind of microscope |
CN105181538B (en) * | 2015-10-20 | 2018-06-26 | 丹东百特仪器有限公司 | With scanning, the dynamic particle image granularity particle shape analyzer of splicing and method |
-
2016
- 2016-09-29 CN CN201610859719.XA patent/CN106324795B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN106324795A (en) | 2017-01-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106324795B (en) | A kind of automatic quick focusing method in more visuals field of detector microscope | |
CN105430279B (en) | Camera fast automatic focusing method and device | |
CN105391945B (en) | Camera autofocus control method and device | |
CN107395993B (en) | Full-automatic focusing method and system | |
CN107797262B (en) | Microscope different multiples camera lens based on image texture combines focus method | |
CN102801857B (en) | Smart phone photographing guiding method based on image matching | |
CN103945133B (en) | Auto-focus device and method for visible light lens | |
CN104836954B (en) | Zoom tracking and its device | |
CN108881729A (en) | A kind of Atomatic focusing method of endoscope | |
WO2014153950A1 (en) | Quick automatic focusing method and image acquisition device | |
JP2007034261A5 (en) | ||
CN102231798B (en) | A kind of method and system controlling the automatic zoom of monopod video camera | |
CN106707674A (en) | Automatic focusing method of projection equipment and the projection equipment | |
JP5453573B2 (en) | Imaging apparatus, imaging method, and program | |
CN108769533B (en) | Automatic focusing method | |
TWI515470B (en) | Auto-focus system for multiple lens and method thereof | |
CN105430277B (en) | Autofocus control method and device | |
KR101784787B1 (en) | Imaging device and method for automatic focus in an imaging device as well as a corresponding computer program | |
EP3879172B1 (en) | Machine vision based intelligent focusing method for a moving head lamp | |
CN110012218B (en) | Automatic focusing method in large-amplitude out-of-focus state | |
WO2016101092A1 (en) | Digital microscope and focusing method thereof | |
JP2015185925A5 (en) | ||
CN106210548B (en) | A kind of method and device of rapid focus | |
CN106791353B (en) | The methods, devices and systems of auto-focusing | |
JP2008177785A5 (en) |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |