CN101509998A - Automatic focusing method and microscope applying the method - Google Patents

Automatic focusing method and microscope applying the method Download PDF

Info

Publication number
CN101509998A
CN101509998A CNA200910097044XA CN200910097044A CN101509998A CN 101509998 A CN101509998 A CN 101509998A CN A200910097044X A CNA200910097044X A CN A200910097044XA CN 200910097044 A CN200910097044 A CN 200910097044A CN 101509998 A CN101509998 A CN 101509998A
Authority
CN
China
Prior art keywords
signal
module
control
automatic
measured
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.)
Granted
Application number
CNA200910097044XA
Other languages
Chinese (zh)
Other versions
CN101509998B (en
Inventor
丁海波
邱元芳
杨鸣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
YONGXIN OPTICS CO Ltd NINGBO
Original Assignee
YONGXIN OPTICS CO Ltd NINGBO
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by YONGXIN OPTICS CO Ltd NINGBO filed Critical YONGXIN OPTICS CO Ltd NINGBO
Priority to CN200910097044XA priority Critical patent/CN101509998B/en
Publication of CN101509998A publication Critical patent/CN101509998A/en
Application granted granted Critical
Publication of CN101509998B publication Critical patent/CN101509998B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to an automatic focusing method, by collecting the video signal of an original image after the imaging of an object to be measured by an objective lens in real time and changing the distance between the objective lens and the object to be measured, the automatic focusing of the object to be measured is realized. The automatic focusing method is characterized by comprising the following steps: 1. the comparable energy range value of the video signal is set and the maximum offset value M is evaluated; 2. the distance between the objective lens and the object to be measured is changed; 3. the energy of the video signal of the original image collected in real time is adjusted to be within the range of the comparable energy range of the video signal; 4. the low-frequency part of the video signal is filtered, and the high-frequency part of the video signal is retained; 5. other composite synchronous signals in the video signal are stripped; 6. small wave crests formed by interfering signals are eliminated; and 7. after being accumulated, the values of all the effective wave crests of each frame of image are compared. The method has the advantages of getting rid of the limitation of focusing process to the using occasions such as natural light, sunlight, incandescent light and the like, having high focusing accuracy and fast focusing speed.

Description

A kind of auto focusing method and use the microscope of this method
Technical field
The present invention relates to a kind of auto focusing method and use the microscope of this method.
Background technology
Microscopical automatic focus technology is widely used in biology and the medical research, and it can improve experiment and the speed of analyzing, and reduces the influence of manual operation to the micro-imaging quality.Common microscopical autofocus system is the control core usually with the computing machine, adopts stepper motor as control parts of motion, selects for use CCD or CMOS camera to carry out focus analysis and motion control in conjunction with software algorithm.Publication number is that the Chinese patent " analog circuit for autofocus microscope system " of CN1246929 (application number is 98802309.1) is a typical example.The energy distribution that this patent is measured the CCD vision signal with mimic channel is determined focus level, compares with the mode of other focusing, effectively raises self-focusing real-time and has reduced the focusing cost.But its auto focus control module also has deficiency simultaneously: (1) focusing process is restricted to use occasion, size that can not adaptive adjustment input signal, make and participate in focusing on every frame signal all in same comparable scope, thereby break away from the focusing process to use occasion (natural light, daylight, incandescent light etc.) influence; (2) the used square accumulation numerical value of spectrum energy is huge, and in the actual enforcement of circuit, easy saturated overflowing produces misdata and cause the erroneous judgement of focal position; Though described circuit arrangement is with normalization method, remedying illumination in conjunction with the mode of average illumination sign, unstable effect is unsatisfactory to focusing on result's influence, and the influence of illumination sign still exists.(3) adopt spectrum energy as criterion, can distinguish fully in theory and assemble the position, but in the practical application, especially observe in the focusing, occur, can not obtain desirable focusing appraisal curve because noise effect has the multimodal situation in high power.In addition, the mode of the account form of energy square and section pass filter also exerts an influence to the real-time that focuses on.In the occasion that focusing speed is had relatively high expectations, be coated with such as phlegm can not substitute in the detection of pulmonary tuberculosis bacterium artificial.
In addition, publication number is that the function of the bandpass filter described in the Chinese patent of Chinese patent " analog circuit for autofocus microscope system " of CN 1246929 (application number is 98802309.1) is to carry out filtering according to the frequency distribution that vision signal is formed, thereby other signals that have nothing to do with picture signal of loading such as synchronizing signal and other composite signals are weakened, though this method can weaken these irrelevant signals, but can not accomplish complete filtering, and the foundation of this method is the stack that a vision signal is expressed as the sinusoidal quantity of one group of DC component and a series of different frequencies with fourier decomposition, required picture signal and other irrelevant signals can be peeled off according to the frequency of unlike signal then, but because same signal is broken down into once, twice until n string ripple, that is an approximate boundless process, therefore adopt the mode of filtering can be infinitely near but these synchronizing signal and other composite signals that have nothing to do with pure image of filtering fully.
Desirable focusing evaluation procedure should have unbiasedness, unimodality and enough signal to noise ratio (S/N ratio)s, and publication number is that the Chinese patent " analog circuit for autofocus microscope system " of CN1246929 (application number is 98802309.1) focuses on evaluation with a gray scale square energy evaluation method that adds up.This mode is focused on index accordingly by energy value and the average illumination intensity of reference of calculating every frame image signal.All signals are carried out square adding up, and data volume is too huge, is easy to generate and overflows, and in addition, this mode is subjected to the influence of photoenvironment very big, and noise effect is obvious, and it is disconnected to form erroneous judgement easily, and the accuracy of focusing and stability can not guarantee.
Summary of the invention
First technical matters to be solved by this invention be when providing a kind of focusing evaluation at above-mentioned prior art fully the irrelevant synchronizing signal of filtering and pure image and other composite signals, and can get rid of the undesired signal influence, simultaneously can also adaptive adjustment input signal size, break away from the auto focusing method that the focusing process limits use occasion.
Second technical matters to be solved by this invention provides a kind of microscope of using above-mentioned auto focusing method.
The present invention solves the technical scheme that above-mentioned first technical matters adopts: this auto focusing method, by the original image video signals of real-time collection object being measured after the object lens imaging, and change distance between object lens and the object being measured and realize automatic focus to object being measured, it is characterized in that: described auto focusing method is realized by following steps:
Step 1, set the comparable energy range value of vision signal according to focusing on use occasion, set focusing evaluation maximum deviation value M, the M span is [0~0.3];
Step 2, the distance between object lens and the object being measured that changes;
Thereby the energy of step 3, the original image video signals that will gather is in real time adjusted to and is obtained first vision signal in the comparable energy range value of vision signal;
Step 4, first vision signal is carried out high-pass filtering, the low frequency part of filtering first vision signal keeps the HFS of first vision signal, thereby obtains second vision signal;
Step 5, other composite synchronizing signals in second vision signal are peeled off, only kept and contain pure picture signal, thereby obtain the 3rd vision signal;
Step 6, the formed small echo of undesired signal peak in the 3rd vision signal is removed, effective crest of the tangible representative image feature of content change in the 3rd vision signal is chosen, thereby obtain the 4th vision signal;
Step 7, all the significant wave peak-to-peak values of N frame image signal in the 4th vision signal are added up, and then all significant wave peak-to-peak values of N+1 frame image signal in the 4th vision signal are added up, wherein N is a natural number;
Step 8, two accumulation results are compared, if the difference of the significant wave peak-to-peak value accumulation result of the significant wave peak-to-peak value accumulation result of N+1 frame image signal and N frame image signal is greater than setting assessment maximum deviation value, then provide first control signal, change the distance between object lens and the object being measured, and variable in distance and step 2 between object lens and the object being measured are consistent; If the difference of the significant wave peak-to-peak value accumulation result of the significant wave peak-to-peak value accumulation result of N+1 frame image signal and N frame image signal is between [M~M], then provide second control signal, distance between object lens and the object being measured is remained unchanged, at this moment, realized the focusing of object being measured; If the difference of the significant wave peak-to-peak value accumulation result of the significant wave peak-to-peak value accumulation result of N+1 frame image signal and N frame image signal is less than-M, then export the 3rd control signal, change the distance between object lens and the object being measured, and make the variable in distance between object lens and the object being measured opposite with the variation of step 2.
The present invention solves above-mentioned second technical scheme that technical matters adopted: this microscope, include the automatic article carrying platform of microscope liftable that is used to place object being measured, the video signal collective module, auto focus control module and automatic carrier control and driving module; Wherein, the video signal collective module is gathered the raw video image signal of object being measured in real time and is flowed to the auto focus control module, the auto focus control module is through sending to the automatic carrier control and driving module to output control signal after the analyzing and processing of raw video image signal, the automatic carrier control and driving module sends to the automatic article carrying platform of microscope liftable to drive the lifting of the automatic article carrying platform of microscope liftable according to the control signal that receives with the lifting signal, thereby the distance between change object lens and the object being measured realizes the automatic focus to object being measured, and it is characterized in that: described auto focus control module includes:
One automatic gain control module links to each other with the output terminal of described video signal collective module, is used for realizing described step 3;
One high-pass filtering module links to each other with the output terminal of described automatic gain control module, is used for realizing described step 4;
One gating module links to each other with the output terminal of described high-pass filtering module, is used for realizing described step 5;
One effective peak is selected module, links to each other with the output terminal of described gating module, is used for realizing described step 6;
One peak value accumulator module selects the output terminal of module to link to each other with described effective peak, is used for realizing described step 7;
One core microprocessors, link to each other with described automatic gain control module and peak value accumulator module, be used for performing step one and eight, be that the comparable energy range value of outputting video signal is given the automatic gain control module, and receive that automatic gain control module sends over through the vision signal behind the automatic gain; The peak value accumulation result of effective crest of every two field picture that the peak value accumulator module is exported compares simultaneously, export first control signal or second control signal or the 3rd control signal and give the automatic carrier control and driving module, finally realize microscopical automatic focus to drive the rising and the decline of the automatic article carrying platform of liftable.
As improvement, the microscopical auto focus control module of the present invention also includes: delegation's frame signal detection module, this row frame signal detection module links to each other with the output terminal of described video signal collective module, the line synchronizing signal and the frame synchronizing signal that are used for obtaining the raw video image signal are used for described core microprocessors control, described core microprocessors is analyzed line synchronizing signal and frame synchronizing signal in the raw video image signal that records, and after frame synchronizing signal occurring in the raw video image signal, provide a frame control trigger pip, when the pure picture signal of delegation occurring in each two field picture of raw video image signal, provide a row control trigger pip according to line synchronizing signal simultaneously.
The gating module is linked to each other with described core microprocessors, and the gating module just can be triggered by the row control trigger pip of core microprocessors output other composite synchronizing signals in the vision signal are peeled off like this.The peak value accumulator module then can be triggered N frame image signal and the N+1 frame image signal in intercepting the 5th vision signal by the frame control trigger pip of core microprocessors output.
Described automatic carrier control and driving module includes a full automatic working control desk and a stepper motor, the input end of described automatic carrier control and driving module links to each other with described core microprocessors, the output terminal of described full automatic working control desk links to each other with the input end of described stepper motor, and the output terminal of described stepper motor links to each other with the automatic article carrying platform of described microscope liftable.
Compared with prior art, the invention has the advantages that:
(1), at the unsettled situation of illumination in the microscope focusing process, increase step 4, make to participate in every frame image signal of focusing on all in same comparable scope, thereby break away from of the restriction of focusing process use occasion (natural light, daylight, incandescent light etc.);
(2), by step 6 is set, make the video signal that participate in to focus on reject composite synchronizing signal fully, only kept pure picture signal, reduced the calculated amount of subsequent step, accelerated computing velocity, avoided overflowing of result of calculation.
(3), by step 7 being set, the formed small echo of undesired signals such as the background peak in the video signal that participates in focusing on being removed, effective crest of the tangible representative image feature of content change is chosen, reduced the calculated amount of subsequent step equally, accelerated computing velocity, avoided overflowing of result of calculation, control procedure is more stable.
(4), by step 8 being set, adopting method that the significant wave peak-to-peak value adds up that every two field picture of the vision signal that participates in focusing on is compared, can well judge the quality of every two field picture, so that the microscopical automatic focus of better faster realization.
Description of drawings
Fig. 1 is the process flow diagram of auto focusing method embodiment in the embodiment of the invention;
Fig. 2 is a microscopical module frame chart in the embodiment of the invention;
Fig. 3 is a microscope automatic focus process flow diagram in the embodiment of the invention.
Embodiment
Embodiment describes in further detail the present invention below in conjunction with accompanying drawing.
The present invention at first provides a kind of auto focusing method, referring to shown in Figure 1, this auto focusing method can be used for the various products of needs focusing such as microscope, camera, video camera, it is by gathering the original image video signals of object being measured after the object lens imaging of microscope or camera or video camera in real time, and change distance between object lens and the object being measured and realize automatic focus to object being measured, it may further comprise the steps:
Step 1, set the comparable energy range value of vision signal according to focusing on use occasion, set focusing evaluation maximum deviation value M, the M span is [0~0.3], M value 0.3 in the present embodiment;
Distance between step 2, change object lens and the object being measured makes object lens away from object being measured;
Certainly, in the actual use, also can make object lens near object being measured;
Thereby the energy of step 3, the original image video signals that will gather is in real time adjusted to and is obtained first vision signal in the comparable energy range value of vision signal;
Step 4, first vision signal is carried out high-pass filtering, the low frequency part of filtering first vision signal keeps the HFS of first vision signal, thereby obtains second vision signal;
Step 5, other composite synchronizing signals in second vision signal are peeled off, only kept and contain pure picture signal, thereby obtain the 3rd vision signal;
Step 6, the formed small echo of undesired signal peak in the 3rd vision signal is removed, effective crest of the tangible representative image feature of content change in the 3rd vision signal is chosen, thereby obtain the 4th vision signal;
Step 7, all the significant wave peak-to-peak values of N frame image signal in the 4th vision signal are added up obtains F N, and then all the significant wave peak-to-peak values of N+1 frame image signal in the 4th vision signal are added up obtain F N+1, wherein N is a natural number;
Step 8, with two accumulation result F N+1And F NCompare, if F N+1-F N0.3, then provide first control signal, change the distance between object lens and the object being measured, variable in distance and step 2 between object lens and the object being measured are consistent, even object lens are away from object being measured; If-0.3≤F N+1-F N≤ 0.3, then provide second control signal, the distance between object lens and the object being measured is remained unchanged, at this moment, realized the focusing of object being measured; If F N+1-F N<-0.3, then export the 3rd control signal, change the distance between object lens and the object being measured, and make the variable in distance between object lens and the object being measured opposite, even object lens are near object being measured with the variation of step 2.
Because the present invention in the focusing evaluation process, makes the every frame image signal that participates in focusing on be adjusted in the same comparable scope, thereby breaks away from the restriction of focusing process to use occasion (natural light, daylight, incandescent light etc.); And rejected composite synchronizing signal fully, only kept pure picture signal, the formed little crests of undesired signal such as background have been removed, effective crest of the tangible representative image feature of content change chosen carry out peak value and add up, reduced calculated amount, accelerated computing velocity, avoided overflowing of result of calculation, control procedure is more reliable and more stable, is specially adapted to occasion that focusing speed is had relatively high expectations, and for example powerful microscope focuses on.
The present invention provides a kind of microscope of using above-mentioned auto focusing method on the other hand, as shown in Figure 2, include the automatic article carrying platform of microscope liftable, video signal collective module, auto focus control module and the automatic carrier control and driving module that is used to place object being measured.
In the present embodiment, the video signal collective module provides the video signal source that focuses on usefulness, gather the raw video image signal of object being measured in real time, the video signal collective module adopts and is embedded in CMOS camera in the microscope lens body, directly gather the object lens imaging, guaranteed thus when focus signal and human eye or screen viewing are operated synchronously with visual field and parfocalization.Because the vision signal of CMOS camera collection, it is composite colour television signal, by luminance signal, modulated colour difference signal, composite blanking signal, composite synchronizing signal, colour burst signal is formed, wherein, luminance signal and modulated colour difference signal constitute colour picture signal, represent the brightness and the chrominance information of image being shot, in order to reappear coloured image at receiving end, because human eye far is weaker than resolution characteristic to black-and-white detail to the resolution characteristic of colour detail, therefore, luminance signal (luminance detail) is whether the decision image is crucial clearly, and the details of image, in the high fdrequency component that shows as of frequency domain, thus the focusing of image whether (whether clear) by the high fdrequency component decision of image.
The auto focus control module is through sending to the automatic carrier control and driving module to output control signal after the analyzing and processing of raw video image signal, and in the present embodiment, the auto focus control module includes:
One automatic gain control module links to each other with the output terminal of described video signal collective module, is used for realizing described step 3;
One high-pass filtering module links to each other with the output terminal of described automatic gain control module, is used for realizing described step 4;
One gating module links to each other with the output terminal of described high-pass filtering module, is used for realizing described step 5;
One effective peak is selected module, links to each other with the output terminal of described gating module, is used for realizing described step 6;
One peak value accumulator module selects the output terminal of module to link to each other with described effective peak, is used for realizing described step 7;
One core microprocessors, link to each other with described automatic gain control module and peak value accumulator module, be used for performing step one and eight, be that the comparable energy range value of outputting video signal is given the automatic gain control module, and receive that automatic gain control module sends over through the vision signal behind the automatic gain; The peak value accumulation result of effective crest of every two field picture that the peak value accumulator module is exported compares simultaneously, export first control signal or second control signal or the 3rd control signal and give the automatic carrier control and driving module, finally realize microscopical automatic focus to drive the rising and the decline of the automatic article carrying platform of liftable;
Delegation's frame signal detection module, this row frame signal detection module links to each other with the output terminal of video signal collective module, the line synchronizing signal and the frame synchronizing signal that are used for obtaining the raw video image signal are used for core microprocessors control, core microprocessors is analyzed line synchronizing signal and frame synchronizing signal in the raw video image signal that records, and after frame synchronizing signal occurring in the raw video image signal, provide a frame control trigger pip, when the pure picture signal of delegation occurring in each two field picture of raw video image signal, provide a row control trigger pip according to line synchronizing signal simultaneously.
The used signal extraction mode of gating module of the present invention is intercepting, rather than filter, its foundation is a signal characteristic in time, it is the periodic signal of a strict rule, the initial unit interval pulse that belongs to luminance signal in one-period is fixed, and therefore makes this signal pure by the complete sum that can guarantee signal in the unit at a fixed time.
The automatic carrier control and driving module includes a full automatic working control desk and a stepper motor, the input end of described automatic carrier control and driving module links to each other with described core microprocessors, the output terminal of described full automatic working control desk links to each other with the input end of described stepper motor, the output terminal of described stepper motor links to each other with the automatic article carrying platform of described microscope liftable, the full automatic working control desk sends to the lifting of the automatic article carrying platform of microscope liftable with the automatic article carrying platform of driving microscope liftable according to the control signal that receives with the lifting signal, thereby the distance between change object lens and the object being measured realizes the automatic focus to object being measured.
Therefore, the logical automatic focus process of microscope of using above-mentioned auto focusing method is: referring to shown in Figure 3
Step 1, focus on use occasion according to microscope and set the comparable energy range value of vision signal, set the adjustment step-length of the automatic article carrying platform of liftable, set assessment maximum deviation value M, the M span is [0~0.3], and the M value is 0.1 in the present embodiment;
Step 2, micro objective are motionless, and the control signal that the output of automatic carrier control and driving module is risen is given the automatic article carrying platform of liftable;
Certainly, according to actual operating position, the automatic carrier control and driving module also can be exported the control signal of decline and give the automatic article carrying platform of liftable;
Step 3, video signal collective module are gathered the raw video image signal of testing image on the automatic article carrying platform of liftable, and give automatic gain control module and row frame signal detection module with the raw video image signal conveys;
Step 4, thereby the automatic gain control module is adjusted to the energy of the raw video image signal of all inputs and is obtained first vision signal in the comparable energy range value of vision signal, row frame signal detection module obtains line synchronizing signal and frame synchronizing signal is used for core processor control, core microprocessors is analyzed line synchronizing signal in the vision signal that records and frame synchronizing signal, and after frame synchronizing signal occurring in the vision signal, provide a frame control trigger pip, when the pure picture signal of delegation occurring in each two field picture of vision signal, provide a row control trigger pip according to line synchronizing signal simultaneously;
Step 5, high-pass filtering module are carried out high-pass filtering with first vision signal, and the low frequency part of filtering first vision signal keeps the HFS of first vision signal, thereby obtain second vision signal;
Step 6, gating module are peeled off other composite synchronizing signals in second vision signal by the capable control signal triggering of core microprocessors output, only keep and contain pure picture signal, thereby obtain the 3rd vision signal;
Step 7, effective peak select module that the formed small echo of undesired signal peak in the 3rd vision signal is removed, and effective crest of the tangible representative image feature of content change in the 4th vision signal is chosen, thereby obtain the 4th vision signal;
Step 8, peak value accumulator module trigger all significant wave peak-to-peak values with N frame image signal in the 4th vision signal by the control frame signal of core microprocessors output and add up and obtain F N, and then all the significant wave peak-to-peak values of N+1 frame image signal in the 4th vision signal are added up obtain F N+1, and accumulation result flowed to core microprocessors, wherein N is a natural number;
Step 9, core microprocessors are with two accumulation result F N+1And F NCompare, if F N+1-F N0.1, then in core microprocessors output and the step 2 identical control signal to the automatic carrier control and driving module, control signal identical in automatic carrier control and driving module output and the step 2 is given the automatic article carrying platform of liftable, promptly allows the automatic article carrying platform of liftable continue rising; If-0.1≤F N+1-F N≤ 0.1, then core microprocessors output stop control signal is given the automatic carrier control and driving module, the automatic carrier control and driving module is also exported stop control signal and is given the automatic article carrying platform of liftable, promptly allows the automatic article carrying platform stop motion of liftable, has realized automatic focus; If F N+1-F N<-0.1, then in core microprocessors output and the step 2 opposite control signal to the automatic carrier control and driving module, the automatic carrier control and driving module also export with step 2 in opposite control signal give the automatic article carrying platform of liftable, promptly allow the automatic article carrying platform of liftable descend
Step 10, reduce the adjustment step-length of the automatic article carrying platform of liftable, repeating step three to nine is until-0.1≤F N+1-F N≤ 0.1, realize automatic focus.
Generally, microscope manufacturer in microscopical Default Value, with the automatic article carrying platform of liftable be fixed on the top of micro objective focus or below, at this moment, what microscopical auto focusing method was different with above-mentioned steps is:
Step 2 is: when the automatic article carrying platform of liftable on the microscope focus, automatic carrier control and driving module output decline control signal is given the automatic article carrying platform of liftable; When the automatic article carrying platform of liftable below the microscope focus, automatic carrier control and driving module output rising control signal is given the automatic article carrying platform of liftable;
Step 9 is: core microprocessors just in the 4th vision signal peak value accumulation result of all effective crests of each frame image signal compare, when maximal value appears in the peak value accumulation result, auto focus control module output stop control signal is given the automatic carrier control and driving module, automatic carrier control and driving module output stop control signal is given the automatic article carrying platform of liftable, makes the automatic article carrying platform stop motion of liftable.

Claims (6)

1, a kind of auto focusing method, by the original image video signals of real-time collection object being measured after the object lens imaging, and change distance between object lens and the object being measured and realize automatic focus to object being measured, it is characterized in that: described auto focusing method is realized by following steps:
Step 1, set the comparable energy range value of vision signal according to focusing on use occasion, set focusing evaluation maximum deviation value M, the M span is [0~0.3];
Step 2, the distance between object lens and the object being measured that changes;
Thereby the energy of step 3, the original image video signals that will gather is in real time adjusted to and is obtained first vision signal in the comparable energy range value of vision signal;
Step 4, first vision signal is carried out high-pass filtering, the low frequency part of filtering first vision signal keeps the HFS of first vision signal, thereby obtains second vision signal;
Step 5, other composite synchronizing signals in second vision signal are peeled off, only kept and contain pure picture signal, thereby obtain the 3rd vision signal;
Step 6, the formed small echo of undesired signal peak in the 3rd vision signal is removed, effective crest of the tangible representative image feature of content change in the 3rd vision signal is chosen, thereby obtain the 4th vision signal;
Step 7, all the significant wave peak-to-peak values of N frame image signal in the 4th vision signal are added up, and then all significant wave peak-to-peak values of N+1 frame image signal in the 4th vision signal are added up, wherein N is a natural number;
Step 8, two accumulation results are compared, if the difference of the significant wave peak-to-peak value accumulation result of the significant wave peak-to-peak value accumulation result of N+1 frame image signal and N frame image signal is greater than setting assessment maximum deviation value, then provide first control signal, change the distance between object lens and the object being measured, and variable in distance and step 2 between object lens and the object being measured are consistent; If the difference of the significant wave peak-to-peak value accumulation result of the significant wave peak-to-peak value accumulation result of N+1 frame image signal and N frame image signal is between [M~M], then provide second control signal, distance between object lens and the object being measured is remained unchanged, at this moment, realized the focusing of object being measured; If the difference of the significant wave peak-to-peak value accumulation result of the significant wave peak-to-peak value accumulation result of N+1 frame image signal and N frame image signal is less than-M, then export the 3rd control signal, change the distance between object lens and the object being measured, and make the variable in distance between object lens and the object being measured opposite with the variation of step 2.
2, a kind of application rights requires the microscope of 1 described auto focusing method, includes the automatic article carrying platform of microscope liftable that is used to place object being measured, video signal collective module, auto focus control module and automatic carrier control and driving module; Wherein, the video signal collective module is gathered the raw video image signal of object being measured in real time and is flowed to the auto focus control module, the auto focus control module is through sending to the automatic carrier control and driving module to output control signal after the analyzing and processing of raw video image signal, the automatic carrier control and driving module sends to the automatic article carrying platform of microscope liftable to drive the lifting of the automatic article carrying platform of microscope liftable according to the control signal that receives with the lifting signal, thereby the distance between change object lens and the object being measured realizes the automatic focus to object being measured, and it is characterized in that: described auto focus control module includes:
One automatic gain control module links to each other with the output terminal of described video signal collective module, is used for realizing described step 3;
One high-pass filtering module links to each other with the output terminal of described automatic gain control module, is used for realizing described step 4;
One gating module links to each other with the output terminal of described high-pass filtering module, is used for realizing described step 5;
One effective peak is selected module, links to each other with the output terminal of described gating module, is used for realizing described step 6;
One peak value accumulator module selects the output terminal of module to link to each other with described effective peak, is used for realizing described step 7;
One core microprocessors, link to each other with described automatic gain control module and peak value accumulator module, be used for performing step one and eight, be that the comparable energy range value of outputting video signal is given the automatic gain control module, and receive that automatic gain control module sends over through the vision signal behind the automatic gain; The peak value accumulation result of effective crest of every two field picture that the peak value accumulator module is exported compares simultaneously, export first control signal or second control signal or the 3rd control signal and give the automatic carrier control and driving module, finally realize microscopical automatic focus to drive the rising and the decline of the automatic article carrying platform of liftable.
3, microscope according to claim 2, it is characterized in that: described auto focus control module also includes: delegation's frame signal detection module, this row frame signal detection module links to each other with the output terminal of described video signal collective module, the line synchronizing signal and the frame synchronizing signal that are used for obtaining the raw video image signal are used for described core microprocessors control, described core microprocessors is analyzed line synchronizing signal and frame synchronizing signal in the raw video image signal that records, and after frame synchronizing signal occurring in the raw video image signal, provide a frame control trigger pip, when the pure picture signal of delegation occurring in each two field picture of raw video image signal, provide a row control trigger pip according to line synchronizing signal simultaneously.
4, microscope according to claim 2, it is characterized in that: described gating module links to each other with described core microprocessors, and described gating module is peeled off other composite synchronizing signals in the vision signal by the row control trigger pip triggering of described core microprocessors output.
5, microscope according to claim 2 is characterized in that: described peak value accumulator module triggers N frame image signal and the N+1 frame image signal that intercepts in the 5th vision signal by the frame control trigger pip of described core microprocessors output.
6, according to the described microscope of each claim of claim 2~4, it is characterized in that: described automatic carrier control and driving module includes a full automatic working control desk and a stepper motor, the input end of described automatic carrier control and driving module links to each other with described core microprocessors, the output terminal of described full automatic working control desk links to each other with the input end of described stepper motor, and the output terminal of described stepper motor links to each other with the automatic article carrying platform of described microscope liftable.
CN200910097044XA 2009-03-27 2009-03-27 Automatic focusing method and microscope applying the method Active CN101509998B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910097044XA CN101509998B (en) 2009-03-27 2009-03-27 Automatic focusing method and microscope applying the method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910097044XA CN101509998B (en) 2009-03-27 2009-03-27 Automatic focusing method and microscope applying the method

Publications (2)

Publication Number Publication Date
CN101509998A true CN101509998A (en) 2009-08-19
CN101509998B CN101509998B (en) 2010-09-01

Family

ID=41002448

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910097044XA Active CN101509998B (en) 2009-03-27 2009-03-27 Automatic focusing method and microscope applying the method

Country Status (1)

Country Link
CN (1) CN101509998B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102640030A (en) * 2009-10-16 2012-08-15 索雷博股份有限公司 Autofocus apparatus
CN102788682A (en) * 2012-07-25 2012-11-21 宁波大学 Method for detecting parfocality of continuous zoom stereo microscope
CN104181685A (en) * 2014-07-29 2014-12-03 杭州卓腾信息技术有限公司 Automatic digital slide focusing device and method based on microscope
CN110809113A (en) * 2019-01-25 2020-02-18 云南师范大学 Infrared imaging automatic focusing system based on FPGA
CN110945398A (en) * 2017-07-05 2020-03-31 卡尔蔡司显微镜有限责任公司 Digitally determining the position of the focus
CN111279242A (en) * 2017-11-28 2020-06-12 徕卡生物系统成像股份有限公司 Dual processor image processing

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102640030A (en) * 2009-10-16 2012-08-15 索雷博股份有限公司 Autofocus apparatus
CN102640030B (en) * 2009-10-16 2015-03-11 索雷博股份有限公司 Autofocus apparatus
CN102788682A (en) * 2012-07-25 2012-11-21 宁波大学 Method for detecting parfocality of continuous zoom stereo microscope
CN102788682B (en) * 2012-07-25 2015-02-04 宁波大学 Method for detecting parfocality of continuous zoom stereo microscope
CN104181685A (en) * 2014-07-29 2014-12-03 杭州卓腾信息技术有限公司 Automatic digital slide focusing device and method based on microscope
CN104181685B (en) * 2014-07-29 2018-12-04 杭州卓腾信息技术有限公司 Based on microscopical digital slices autofocus and its method
CN110945398A (en) * 2017-07-05 2020-03-31 卡尔蔡司显微镜有限责任公司 Digitally determining the position of the focus
US11460683B2 (en) 2017-07-05 2022-10-04 Carl Zeiss Microscopy Gmbh Digital determination of focus position
CN111279242A (en) * 2017-11-28 2020-06-12 徕卡生物系统成像股份有限公司 Dual processor image processing
CN111279242B (en) * 2017-11-28 2022-03-29 徕卡生物系统成像股份有限公司 Dual processor image processing
CN110809113A (en) * 2019-01-25 2020-02-18 云南师范大学 Infrared imaging automatic focusing system based on FPGA
CN110809113B (en) * 2019-01-25 2021-11-05 云南师范大学 Infrared imaging automatic focusing system based on FPGA

Also Published As

Publication number Publication date
CN101509998B (en) 2010-09-01

Similar Documents

Publication Publication Date Title
CN101509998B (en) Automatic focusing method and microscope applying the method
DE102010061512B4 (en) An image capture device, method for capturing images using infrared or visible light and computer readable medium
EP2387231A2 (en) Imaging apparatus
CN106780392A (en) A kind of image interfusion method and device
CN107918929B (en) A kind of image interfusion method, apparatus and system
CN104899836B (en) A kind of Misty Image intensifier and method based near infrared multispectral imaging
CN102087652A (en) Method for screening images and system thereof
CN101304489A (en) Automatic exposure method and apparatus
CN110349114A (en) Applied to the image enchancing method of AOI equipment, device and road video monitoring equipment
CN110493506A (en) A kind of image processing method and system
CN102769757A (en) Active light source-based image acquisition method and system
CN103475821B (en) Adjustment method based on automatic integration time of near infrared camera
CN106454014B (en) A kind of method and device improving backlight scene vehicle snapshot picture quality
CN1464323A (en) Process for automatic focusing
CN102129558A (en) System and method for collecting iris based on Purking spot analysis
CN110493532A (en) A kind of image processing method and system
US7822248B2 (en) Endoscope processor, computer program product, and endoscope system
CN208954611U (en) A kind of outdoor LED display screen gamma correction system
CN110018122A (en) Camouflage painting material testing apparatus and method based on multi-optical spectrum imaging technology
CN103297675A (en) Image capture method and relative image capture system
CN105592258B (en) Auto focusing method and device
CN104700424A (en) Medical colorful electronic endoscopy image bad point detection device
CN201667683U (en) Large focal variation ratio automatic focusing all-in-one video camera
CN112801891B (en) Display screen picture detection method and display screen picture detection system
CN117097994A (en) Acquisition system for amplifying and enhancing multiple low-light images

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant