CN110244444A - Microscopical focusing method, device, terminal device and storage medium - Google Patents
Microscopical focusing method, device, terminal device and storage medium Download PDFInfo
- Publication number
- CN110244444A CN110244444A CN201910423048.6A CN201910423048A CN110244444A CN 110244444 A CN110244444 A CN 110244444A CN 201910423048 A CN201910423048 A CN 201910423048A CN 110244444 A CN110244444 A CN 110244444A
- Authority
- CN
- China
- Prior art keywords
- objective table
- focusing
- location information
- image
- wave crest
- 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
Links
Classifications
-
- 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
-
- 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
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)
- Automatic Focus Adjustment (AREA)
- Microscoopes, Condenser (AREA)
Abstract
The present invention is suitable for micro-imaging technique field, provide microscopical focusing method, device, terminal device and storage medium, method includes: to control objective table to move in the first displacement range of mobile range for being less than objective table along the direction towards or away from object lens, the first image of sample on one group of objective table is acquired in the moving process of objective table, and records the location information of objective table when acquiring each first image;The definition values of each first image are obtained, and according to the definition values and location information of each first image, generate the first focusing curve;Judge the corresponding location information of wave crest of the first focusing curve whether within the maximum value of the first displacement range or the default bias amount of minimum value;If it is not, control objective table is moved to the position that the corresponding location information of wave crest is characterized.It solves the problems, such as that the focusing needs of fluorescence microscope take considerable time and reduce image quality, realizes and shorten focusing time, guarantee the quality of micro-imaging.
Description
Technical field
The invention belongs to micro-imaging technique field more particularly to microscopical focusing method, device, terminal device and deposit
Storage media.
Background technique
Fluorescent microscopic imaging has an important application in field of biomedical research, and the Atomatic focusing method of fluorescence microscope
It is the key that fluorescent microscopic imaging.In order to ensure fluorescence microscope is focused successfully, existing Atomatic focusing method needs guarantee
When acquiring focus image, objective table has to pass through focus.And in order to guarantee objective table through overfocus, then need to be arranged objective table compared with
Big moving range, but in this way fluorescence microscope focusing needs take a substantial amount of time, and fluorescent sample can with when
Between passage and be quenched, finally reduce image quality.
Summary of the invention
In view of this, the embodiment of the invention provides microscopical focusing method, device, terminal device and storage medium,
To solve the problems, such as that the focusing needs of fluorescence microscope in the prior art take considerable time and reduce image quality.
The first aspect of the embodiment of the present invention provides a kind of microscopical focusing method, and microscope includes at least objective table
And object lens, focusing method include:
Objective table is controlled in the first displacement range of mobile range for being less than objective table along towards or away from object lens
Direction is mobile, and the first image of sample on one group of objective table is acquired in the moving process of objective table, and records acquisition each the
The location information of objective table when one image;
The definition values of each first image are obtained, and according to the definition values and location information of each first image, it is raw
At the first focusing curve;
Judge first focusing curve the corresponding location information of wave crest whether the first displacement range maximum value or minimum
Within the default bias amount of value;
If it is not, control objective table is moved to the position that the corresponding location information of wave crest is characterized.
The second aspect of the embodiment of the present invention provides a kind of microscopical focusing mechanism, comprising:
Acquisition module, for controlling objective table in the first displacement range of mobile range for being less than objective table along direction
Or the direction far from object lens is mobile, the first image of sample on one group of objective table is acquired in the moving process of objective table, and remember
The location information of objective table when record acquires each first image;
Generation module, for obtaining the definition values of each first image, and according to the definition values of each first image
And location information, generate the first focusing curve;
Judgment module, for judging the corresponding location information of wave crest of the first focusing curve whether in the first displacement range
Within the default bias amount of maximum value or minimum value;
Control module, for if it is not, control objective table is moved to the position that the corresponding location information of wave crest is characterized.
The third aspect of the embodiment of the present invention provides a kind of terminal device, including memory, processor and is stored in
In memory and the computer program that can run on a processor, when processor executes computer program the step of implementation method.
The fourth aspect of the embodiment of the present invention provides a kind of computer readable storage medium, computer readable storage medium
It is stored with computer program, when computer program is executed by processor the step of implementation method.
The present invention by control objective table be less than objective table mobile range the first displacement range in along towards or
Direction far from object lens is mobile, the first image of sample on one group of objective table is acquired in the moving process of objective table, and record
The location information of objective table when acquiring each first image;The definition values of each first image are obtained, and according to each first
The definition values and location information of image generate the first focusing curve;Judge the corresponding position letter of the wave crest of the first focusing curve
Whether breath is within the maximum value of the first displacement range or the default bias amount of minimum value;If it is not, control objective table is moved to wave
The position that the corresponding location information in peak is characterized.The focusing needs for solving fluorescence microscope in the prior art take considerable time
And the problem of reducing image quality, shorten focusing time, guarantees the quality of micro-imaging.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art
Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some
Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these
Attached drawing obtains other attached drawings.
Fig. 1 is the step schematic diagram of microscopical focusing method provided in an embodiment of the present invention;
Fig. 2 is the schematic diagram for the first focusing curve that one embodiment of the invention provides;
Fig. 3 be another embodiment of the present invention provides first focusing curve schematic diagram;
Fig. 4 is the exemplary diagram for the first focusing curve that further embodiment of this invention provides;
Fig. 5 is the schematic diagram for the first focusing curve that yet another embodiment of the invention provides;
Fig. 6 is the structural schematic diagram of microscopical focusing mechanism provided in an embodiment of the present invention;
Fig. 7 is the schematic diagram of terminal device provided in an embodiment of the present invention.
Specific embodiment
In being described below, for illustration and not for limitation, the tool of such as particular system structure, technology etc is proposed
Body details, to understand thoroughly the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specific
The present invention also may be implemented in the other embodiments of details.In other situations, it omits to well-known system, device, electricity
The detailed description of road and method, in case unnecessary details interferes description of the invention.
Currently, existing Atomatic focusing method needs to be arranged the biggish movement of objective table to guarantee objective table through overfocus
Range, but the focusing needs of fluorescence microscope in this way take a substantial amount of time, and fluorescent sample can be over time
And be quenched, finally reduce image quality.
In the present embodiment, the displacement range of objective table is adjusted, control objective table moves in lesser displacement range every time,
It solves the problems, such as that the focusing needs of fluorescence microscope in the prior art take considerable time and reduce image quality, shortens and adjust
Shift length when objective table guarantees the quality of micro-imaging so as to shorten focusing time.
In order to illustrate technical solutions according to the invention, the following is a description of specific embodiments.
Referring to Fig.1, in an embodiment of the present invention, a kind of microscopical focusing method, the microscope, which includes at least, to be carried
Object platform and object lens, the focusing method include:
S101 controls the objective table in the first displacement range of mobile range for being less than the objective table along direction
Or the direction far from object lens is mobile, one group is acquired in the moving process of the objective table described on objective table sample the first figure
Picture, and record the location information of objective table when acquiring each the first image;
Above-mentioned objective table is the observation platform for placing sample to be seen, it is adjusted in position vertically and horizontally
To find the position of most suitable object lens observation sample.Above-mentioned mobile range is for objective table in vertical direction (i.e. towards or away from object
The direction of mirror) maximum displacement range.Above-mentioned first movement range is one section of default moving range in mobile range, optional
Ground, user can adjust first movement range before microscope is focused, can not also adjust and use preset default scoping, for example,
First movement range is the range of 1/5th sizes of mobile range.Above-mentioned location information is that objective table is starting mobile position
It sets to the displacement mobile close to or far from object lens direction.
After sample is placed in objective table by user, microscopical controller control objective table is according to default movement routine first
It is moved in displacement range along the direction towards or away from object lens.Preferably, microscopical controller control objective table is default
The first displacement range in unidirectionally moved along towards or away from the direction of object lens, when the current location of objective table is further away from object
When the position of mirror, control objective table is moved along towards the direction of object lens, when the current location of objective table is in closer object lens
When position, control objective table is moved along the direction far from object lens.Do not need in this way near or farthest away from object lens position
Start moving stage, can since any position moving stage to find focal position, with shorten the displacement of objective table away from
From so as to shorten focusing time.
In one embodiment, user can first adjust the range size of the first displacement range, then by microscopical control
Device control objective table unidirectionally moves in preset first displacement range along towards or away from the direction of object lens, in objective table
In moving process, control COMS camera is at predetermined intervals or distance interval acquires objective table loading observed by object lens
This one group of first image, and record the location information of objective table when collecting each first image.
S102 obtains the definition values of each the first image, and according to the described clear of each the first image
Angle value and the location information generate the first focusing curve;
Above-mentioned first focusing curve is the clear of each position information of the objective table in the first displacement range and each first image
The curve of the corresponding relationship of clear angle value and the corresponding focusing curve of the first displacement range, wherein the first displacement range is loading
A segment limit in the mobile range of platform, i.e., the first focusing curve are the corresponding complete focusing curve of mobile range in objective table
In a part of curve, can according to first focusing curve tendency estimate it is above-mentioned it is complete focusing curve wave crest, wave crest pair
The position for answering location information to be characterized is focusing position, does not need the mobile complete mobile range of objective table in this way, shortens and carry
The displacement range of object platform so as to shorten displacement time, and then accelerates focusing speed.
Optionally, the definition values of the first image can be calculated by focusing evaluation function, focusing evaluation function can be gray scale
Gradient function (gray scale fluctuation and change function or gray scale absolute change function etc.), information mathematic(al) function (such as information entropy function), frequency domain
Function (such as high frequency pass band method function) or statistics mathematic(al) function.
In one embodiment, the definition values of each the first image of above-mentioned acquisition, comprising: obtain each described first
Width value, height value and the gray value of image, and calculated according to the width value, height value and gray value of each the first image
The definition values of the first image out.
Preferably, the width value, height value and gray value of above-mentioned first image can be substituted into following formula and calculates clarity
Value:Wherein Nx, Ny difference
It is the width and height (as unit of pixel) of the first image, I (i, j) is the gray value of the first image, i.e. the seat of the first image
Mark the pixel value at (i, j).
In one embodiment, the above-mentioned definition values according to each the first image and the location information, it is raw
At the first focusing curve, comprising: using the location information as X-axis, using the definition values as Y-axis, generate first focusing
Curve.
In the present embodiment, using location information as X-axis, using definition values as Y-axis, plane right-angle coordinate is established, according to
The definition values of first image and location information when collecting the first image, mark each first in plane right-angle coordinate
The coordinate points of image fit the first smooth focusing curve according to fit curve equation and each coordinate points, and with microscope
Controller communication connection display unit on show, to show user with intuitive exhibition method.
Whether S103 judges the corresponding location information of wave crest of the first focusing curve in first displacement range
Within the default bias amount of maximum value or minimum value;
The corresponding definition values of wave crest of above-mentioned first focusing curve are highest definition values in the first focusing curve, and
First focusing curve is one section in the corresponding complete focusing curve of mobile range, if the wave crest of the first focusing curve is also above-mentioned
The wave crest of complete focusing curve, the then position that the corresponding location information of wave crest is characterized are best focusing position.In the present embodiment
In, judge first focusing curve the corresponding location information of wave crest whether the first displacement range maximum value or minimum value it is pre-
If within offset, thus judge the first focusing curve wave crest whether be complete focusing curve wave crest.
Preferably, the value of above-mentioned default bias amount is related with the range size of the first displacement range, when the first displacement model
When enclosing bigger, default bias amount is smaller, and the first displacement range is smaller, and default bias amount is bigger, can guarantee judgement first in this way
The wave crest of focusing curve must be the wave crest of complete focusing curve, so that determining that result is accurate.For example, the first displacement range
Range size when being the one third of mobile range, default bias amount can be 10%, i.e., the maximum value of the first displacement range or
The 10% of minimum value, when the size of the first displacement range is 1/10th of mobile range, default bias amount is 30%.It needs
Bright, the value of above-mentioned default bias amount is preferred embodiment, but is not limited to this embodiment, in other embodiments,
The value of default bias amount is also possible to fixed value.
In one embodiment, whether the above-mentioned corresponding location information of wave crest for judging the first focusing curve is described the
Before within the maximum value of one displacement range or the default bias amount of minimum value, comprising: whether judge the first focusing curve
There are the wave crests;If so, whether carrying out the corresponding location information of wave crest for judging the first focusing curve in institute
It states within the maximum value of the first displacement range or the default bias amount of minimum value;If it is not, then adjusting the objective table in horizontal plane
Position.
Above-mentioned horizontal plane is the plane where objective table placement fluorescent sample.Such as Fig. 2, when fluorescent sample is not in the view of object lens
When in wild range, then acquired image does not have speck, i.e. image is pure black image, so the definition values of the first image are 0,
First focusing curve is the horizontal line that definition values are 0 at this time, therefore wave crest is not present in the first focusing curve.The present embodiment passes through
Judge the first focusing curve with the presence or absence of wave crest, and when wave crest is not present automatic adjustment objective table in the position of horizontal plane, with
Make fluorescent sample object lens within sweep of the eye, solve the problems, such as previous Atomatic focusing method focusing failure.
In one embodiment, the above-mentioned adjusting objective table is in the position of horizontal plane, comprising: controls the objective table in water
Planar movement, and acquire the second image of the sample described in the objective table moving process;Obtain the clear of second image
Clear angle value, and control the objective table corresponding position when the definition values of second image are not zero and stop movement.
Motion track of the objective table when horizontal plane is mobile can be random motion track, can also be with preset moving rail
Mark.It controls CMOS camera at predetermined intervals or distance interval acquires second of sample on objective table observed by object lens
Image, and the clarity of the second image is analyzed in real time, it is not then 0 in definition values when the definition values of the second image are not 0
When corresponding position stop movement, cause objective table not to be 0 corresponding in definition values if the movement speed of objective table is too fast
Position, then corresponding position when to be moved to clarity not be 0 by objective table.
S104, if it is not, controlling the position that the objective table is moved to the corresponding location information characterization of the wave crest.
Such as Fig. 3, when the first focusing curve the corresponding location information of wave crest not in the maximum value of the first displacement range or most
Within the default bias amount of small value, illustrate wave crest not first focusing curve both ends, but first focusing curve centre,
And according to the object lens visual field from obscuring to clearly again to fuzzy rule, therefore when wave crest is at the centre for curve of focusing, it can sentence
The fixed wave crest is the wave crest of complete focusing curve, i.e., the position that its corresponding location information is characterized is best focusing position.
Preferably, wave crest can be to avoid not within the default bias amount of the maximum value of the first displacement range or minimum value
First focusing curve is contingency rising as a result, being likely to occur real wave on the right of maximum value or the left side of minimum value
Peak to guarantee that the wave crest determined is the wave crest of complete focusing curve, and then guarantees that result is accurate.
If first focusing curve the corresponding location information of wave crest the first displacement range maximum value or minimum value it is pre-
If within offset, illustrating that the wave crest of the first focusing curve is not necessarily the wave crest of complete focusing curve, it is therefore desirable to adjust position
Range is moved to find the wave crest of complete focusing curve.
In one embodiment, whether the above-mentioned corresponding location information of wave crest for judging the first focusing curve is described the
After within the maximum value of one displacement range or the default bias amount of minimum value, comprising: if the wave crest of the first focusing curve
Corresponding location information is within the default bias amount of the minimum value of the first movement range, then by first displacement range
It is adjusted to second displacement range with the preset amplitude of accommodation, until the corresponding location information of wave crest of the second focusing curve generated
Not within the default bias amount of the minimum value of the second displacement range, value within the scope of the second displacement is less than described the
The minimum value of one displacement range, the second focusing curve are that the objective table is corresponding when moving within the scope of the second displacement
Focusing curve;It controls the objective table and is moved to the position that the corresponding location information of wave crest of the second focusing curve is characterized
It sets.
When first focusing curve the corresponding location information of wave crest the minimum value of the first displacement range default bias amount
Within, i.e., wave crest may be on the left side of the first focusing curve, so the first displacement range is adjusted to the with the default amplitude of accommodation
Two displacement ranges.Such as Fig. 4, the location information of wave crest is within the default bias amount of the minimum value of the first focusing curve, and first
Displacement range is 0 to 35, then second displacement range can be -35 to 0, and wherein "-" is indicated with former moving direction on the contrary, generation -
Displacement range is then adjusted to -70 when not finding focusing position -35 to 0 by the focusing curve of 35 to 0 place movings range
To -35, until finding focusing position, the focusing curve of focusing position will be found as the second focusing curve.35 have been subtracted in this way
It is mobile 35 to N without objective table to the moving range of N, shorten moving range, wherein N is the maximum value of mobile range.
It should be noted that can not be moved when the displacement range of objective table exceeds mobile range, and in the second mobile model
It encloses when not finding focusing position, determines that the wave crest of the first focusing curve is focusing position, and objective table is directly moved to first
The position that the corresponding location information of wave crest of focusing curve is characterized.
In one embodiment, whether the above-mentioned corresponding location information of wave crest for judging the first focusing curve is described the
After within the maximum value of one displacement range or the default bias amount of minimum value, comprising: if the wave crest of the first focusing curve
Corresponding location information is within the default bias amount of the maximum value of the first movement range, then by first displacement range
It is adjusted to third displacement range with the preset amplitude of accommodation, until the corresponding location information of wave crest of the third focusing curve generated
Not within the default bias amount of the maximum value of the third displacement range, value in the third displacement range is greater than described the
The maximum range of one displacement range, when the third focusing curve is that the objective table moves in the third displacement range
Corresponding focusing curve;It controls the objective table and is moved to the corresponding location information of wave crest of third focusing curve and characterized
Position.
When first focusing curve the corresponding location information of wave crest the maximum value of the first displacement range default bias amount
Within, i.e., wave crest may be on the right of the first focusing curve, so the first displacement range is adjusted to the with the default amplitude of accommodation
Two displacement ranges.Such as Fig. 5, the location information of wave crest is within the default bias amount of the maximum value of the first focusing curve, and first
Displacement range is 0 to 35, then second displacement range can be 35 to 70, generates the focusing curve of 35 to 70 place movings range, when
Focusing position is not found 35 to 70, then displacement range is adjusted to 70 to 105, until finding focusing position, will find focusing
The focusing curve of position is as the second focusing curve.The moving range for having subtracted M to 0 in this way, without objective table in M to 0
It is mobile, shorten moving range, wherein M is the minimum value of mobile range.
It should be noted that can not be moved when the displacement range of objective table exceeds mobile range, and in the mobile model of third
It encloses when not finding focusing position, determines that the wave crest of the first focusing curve is focusing position, and objective table is directly moved to first
The position that the corresponding location information of wave crest of focusing curve is characterized.
Referring to Fig. 6, in one embodiment of the invention, a kind of microscopical focusing fills 600, comprising:
Acquisition module 601, for controlling the objective table in the first displacement model for being less than the mobile range of the objective table
Moved along the direction towards or away from object lens in enclosing, one group is acquired in the moving process of the objective table described on objective table
First image of sample, and record the location information of objective table when acquiring each the first image;
Generation module 602, for obtaining the definition values of each the first image, and according to each the first image
The definition values and the location information, generate first focusing curve;
Judgment module 603, for judging the corresponding location information of wave crest of the first focusing curve whether described the
Within the maximum value of one displacement range or the default bias amount of minimum value;
Control module 604, for being characterized if it is not, controlling the objective table and being moved to the corresponding location information of the wave crest
Position.
It is apparent to those skilled in the art that for convenience and simplicity of description, the device of foregoing description,
The specific work process of module and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
It should be appreciated that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each mistake
The execution sequence of journey should be determined by its function and internal logic, and the implementation process without coping with the embodiment of the present invention constitutes any limit
It is fixed.
Fig. 7 is the schematic diagram for the terminal device that one embodiment of the invention provides.As shown in fig. 7, the terminal of the embodiment is set
Standby 7 include: processor 70, memory 71 and are stored in the meter that can be run in the memory 71 and on the processor 70
Calculation machine program 72, such as the program that control objective table is mobile.The processor 70 is realized when executing the computer program 72
State the step in each microscopical focusing method embodiment, such as step 101 shown in FIG. 1 is to 104.Alternatively, the processing
Device 70 realizes the function of each module/unit in above-mentioned each Installation practice when executing the computer program 72, such as shown in Fig. 6
The function of module 601 to 604.
Illustratively, the computer program 72 can be divided into one or more module/units, it is one or
Multiple module/units are stored in the memory 71, and are executed by the processor 70, to complete the present invention.Described one
A or multiple module/units can be the series of computation machine program instruction section that can complete specific function, which is used for
Implementation procedure of the computer program 72 in the terminal device 7 is described.For example, the computer program 72 can be divided
It is cut into acquisition module, generation module, judgment module and control module, each module concrete function is as follows: acquisition module, for controlling
The objective table is in the first displacement range of mobile range for being less than the objective table along towards or away from the direction of object lens
It is mobile, one group is acquired in the moving process of the objective table described on objective table sample the first image, and it is every to record acquisition
The location information of objective table when a the first image;Generation module, for obtaining the clear of each the first image
Angle value, and according to the definition values of each the first image and the location information, generate the first focusing curve;Judgement
Module, for judge it is described first focusing curve the corresponding location information of wave crest whether first displacement range maximum
Within the default bias amount of value or minimum value;Control module, for being corresponded to if it is not, controlling the objective table and being moved to the wave crest
The position that is characterized of location information.
The terminal device 7 can be the calculating such as desktop PC, notebook, palm PC and cloud server and set
It is standby.The terminal device may include, but be not limited only to, processor 70, memory 71.It will be understood by those skilled in the art that Fig. 7
The only example of terminal device 7 does not constitute the restriction to terminal device 7, may include than illustrating more or fewer portions
Part perhaps combines certain components or different components, such as the terminal device can also include input-output equipment, net
Network access device, bus etc..
Alleged processor 70 can be central processing unit (Central Processing Unit, CPU), can also be
Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit
(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor
Deng.
The memory 71 can be the internal storage unit of the terminal device 7, such as the hard disk or interior of terminal device 7
It deposits.The memory 71 is also possible to the External memory equipment of the terminal device 7, such as be equipped on the terminal device 7
Plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card dodge
Deposit card (Flash Card) etc..Further, the memory 71 can also both include the storage inside list of the terminal device 7
Member also includes External memory equipment.The memory 71 is for storing needed for the computer program and the terminal device
Other programs and data.The memory 71 can be also used for temporarily storing the data that has exported or will export.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each function
Can unit, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different
Functional unit, module are completed, i.e., the internal structure of described device is divided into different functional unit or module, more than completing
The all or part of function of description.Each functional unit in embodiment, module can integrate in one processing unit, can also
To be that each unit physically exists alone, can also be integrated in one unit with two or more units, it is above-mentioned integrated
Unit both can take the form of hardware realization, can also realize in the form of software functional units.In addition, each function list
Member, the specific name of module are also only for convenience of distinguishing each other, the protection scope being not intended to limit this application.Above system
The specific work process of middle unit, module, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment
The part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician
Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed
The scope of the present invention.
In embodiment provided by the present invention, it should be understood that disclosed device/terminal device and method, it can be with
It realizes by another way.For example, device described above/terminal device embodiment is only schematical, for example, institute
The division of module or unit is stated, only a kind of logical function partition, there may be another division manner in actual implementation, such as
Multiple units or components can be combined or can be integrated into another system, or some features can be ignored or not executed.Separately
A bit, shown or discussed mutual coupling or direct-coupling or communication connection can be through some interfaces, device
Or the INDIRECT COUPLING or communication connection of unit, it can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated module/unit be realized in the form of SFU software functional unit and as independent product sale or
In use, can store in a computer readable storage medium.Based on this understanding, the present invention realizes above-mentioned implementation
All or part of the process in example method, can also instruct relevant hardware to complete, the meter by computer program
Calculation machine program can be stored in a computer readable storage medium, the computer program when being executed by processor, it can be achieved that on
The step of stating each embodiment of the method.Wherein, the computer program includes computer program code, the computer program
Code can be source code form, object identification code form, executable file or certain intermediate forms etc..Computer-readable Jie
Matter may include: can carry the computer program code any entity or device, recording medium, USB flash disk, mobile hard disk,
Magnetic disk, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM,
Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that described
The content that computer-readable medium includes can carry out increasing appropriate according to the requirement made laws in jurisdiction with patent practice
Subtract, such as does not include electric carrier signal and electricity according to legislation and patent practice, computer-readable medium in certain jurisdictions
Believe signal.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned reality
Applying example, invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each
Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified
Or replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution should all
It is included within protection scope of the present invention.
Claims (10)
1. a kind of microscopical focusing method, the microscope includes at least objective table and object lens, which is characterized in that the focusing
Method includes:
The objective table is controlled in the first displacement range of mobile range for being less than the objective table along towards or away from object
The direction of mirror is mobile, one group is acquired in the moving process of the objective table described on objective table sample the first image, and remember
Record acquires the location information of objective table when each the first image;
Obtain the definition values of each the first image, and according to definition values of each the first image and described
Location information generates the first focusing curve;
Judge it is described first focusing curve the corresponding location information of wave crest whether first displacement range maximum value or
Within the default bias amount of minimum value;
If it is not, controlling the objective table is moved to the position that the corresponding location information of the wave crest is characterized.
2. microscopical focusing method according to claim 1, which is characterized in that described to obtain each the first image
Definition values, comprising:
The width value, height value and gray value of each the first image are obtained, and according to the width of each the first image
Value, height value and gray value calculate the definition values of the first image.
3. microscopical focusing method according to claim 1, which is characterized in that described according to each the first image
The definition values and the location information, generate first focusing curve, comprising:
Using the location information as X-axis, using the definition values as Y-axis, the first focusing curve is generated.
4. microscopical focusing method according to claim 1-3, which is characterized in that the judgement described the
One focusing curve the corresponding location information of wave crest whether first displacement range maximum value or minimum value it is default partially
Before within shifting amount, comprising:
Judge the first focusing curve with the presence or absence of the wave crest;
If so, whether carrying out the corresponding location information of wave crest for judging the first focusing curve in first displacement
Within the maximum value of range or the default bias amount of minimum value;
If it is not, then adjusting the objective table in the position of horizontal plane.
5. microscopical focusing method according to claim 4, which is characterized in that described to adjust the objective table in level
The position in face, comprising:
It is mobile in horizontal plane to control the objective table, and acquires the second figure of the sample described in the objective table moving process
Picture;
The definition values of second image are obtained, and controls the objective table and is not zero in the definition values of second image
When corresponding position stop movement.
6. microscopical focusing method according to claim 1-3, which is characterized in that the judgement described the
One focusing curve the corresponding location information of wave crest whether first displacement range maximum value or minimum value it is default partially
After within shifting amount, comprising:
If it is described first focusing curve the corresponding location information of wave crest the first movement range minimum value it is default partially
Within shifting amount, then first displacement range is adjusted to second displacement range with the preset amplitude of accommodation, until generate the
The corresponding location information of wave crest of two focusing curves is not within the default bias amount of the minimum value of the second displacement range, institute
The minimum value that the value within the scope of second displacement is less than first displacement range is stated, the second focusing curve is the objective table
Corresponding focusing curve when being moved within the scope of the second displacement;
It controls the objective table and is moved to the position that the corresponding location information of wave crest of the second focusing curve is characterized.
7. microscopical focusing method according to claim 1-3, which is characterized in that the judgement described the
One focusing curve the corresponding location information of wave crest whether first displacement range maximum value or minimum value it is default partially
After within shifting amount, comprising:
If it is described first focusing curve the corresponding location information of wave crest the first movement range maximum value it is default partially
Within shifting amount, then first displacement range is adjusted to third displacement range with the preset amplitude of accommodation, until generate the
The corresponding location information of wave crest of three focusing curves is not within the default bias amount of the maximum value of the third displacement range, institute
The maximum range that the value in third displacement range is greater than first displacement range is stated, the third focusing curve is the load
Object platform corresponding focusing curve when being moved in the third displacement range;
It controls the objective table and is moved to the position that the corresponding location information of wave crest of the third focusing curve is characterized.
8. a kind of microscopical focusing mechanism characterized by comprising
Acquisition module, for control the objective table be less than the objective table mobile range the first displacement range in along
It is mobile towards or away from the direction of object lens, one group is acquired in the moving process of the objective table described on objective table sample the
One image, and record the location information of objective table when acquiring each the first image;
Generation module, for obtaining the definition values of each the first image, and according to each the first image
Definition values and the location information generate the first focusing curve;
Judgment module, for judging the corresponding location information of wave crest of the first focusing curve whether in the first displacement model
Within the default bias amount of the maximum value or minimum value enclosed;
Control module, for if it is not, controlling the objective table is moved to the position that the corresponding location information of the wave crest is characterized.
9. a kind of terminal device, including memory, processor and storage are in the memory and can be on the processor
The computer program of operation, which is characterized in that the processor realizes such as claim 1 to 7 when executing the computer program
The step of any one the method.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists
In when the computer program is executed by processor the step of any one of such as claim 1 to 7 of realization the method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910423048.6A CN110244444B (en) | 2019-05-21 | 2019-05-21 | Microscope focusing method and device, terminal equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910423048.6A CN110244444B (en) | 2019-05-21 | 2019-05-21 | Microscope focusing method and device, terminal equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110244444A true CN110244444A (en) | 2019-09-17 |
CN110244444B CN110244444B (en) | 2021-09-03 |
Family
ID=67884628
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910423048.6A Active CN110244444B (en) | 2019-05-21 | 2019-05-21 | Microscope focusing method and device, terminal equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110244444B (en) |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110764244A (en) * | 2019-11-05 | 2020-02-07 | 安图实验仪器(郑州)有限公司 | Automatic focusing method for microscope tabletting microscopic examination |
CN110930363A (en) * | 2019-10-29 | 2020-03-27 | 北京临近空间飞行器系统工程研究所 | Method and device for determining sharpness evaluation value of curved-surface blurred image and storage medium |
CN111694476A (en) * | 2020-05-15 | 2020-09-22 | 平安科技(深圳)有限公司 | Translation browsing method and device, computer system and readable storage medium |
WO2021092742A1 (en) * | 2019-11-12 | 2021-05-20 | 深圳迈瑞生物医疗电子股份有限公司 | Method for adjusting film reader, device, apparatus and medium |
CN112911133A (en) * | 2019-12-03 | 2021-06-04 | 精微视达医疗科技(武汉)有限公司 | Endoscope focusing method and device |
CN112904548A (en) * | 2019-12-03 | 2021-06-04 | 精微视达医疗科技(武汉)有限公司 | Endoscope focusing method and device |
CN112954138A (en) * | 2021-02-20 | 2021-06-11 | 东营市阔海水产科技有限公司 | Aquatic economic animal image acquisition method, terminal equipment and movable material platform |
CN113655610A (en) * | 2021-07-14 | 2021-11-16 | 中国电子科技集团公司第十三研究所 | Automatic focusing method and control device for photothermal reflection microscopic thermal imaging |
WO2022009104A3 (en) * | 2020-07-07 | 2022-02-17 | S.D. Sight Diagnostics Ltd | Focusing a microscope using fluorescent images |
CN114280769A (en) * | 2020-12-28 | 2022-04-05 | 深圳同舟光电科技有限公司 | High-sensitivity optical imaging system, method and device |
US11803964B2 (en) | 2013-05-23 | 2023-10-31 | S.D. Sight Diagnostics Ltd. | Method and system for imaging a cell sample |
CN117969518A (en) * | 2024-04-01 | 2024-05-03 | 笑纳科技(苏州)有限公司 | Cell image acquisition method and system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080012978A1 (en) * | 2006-07-13 | 2008-01-17 | Fujifilm Corporation | Image capture apparatus and focus adjustment method |
CN102540639A (en) * | 2010-12-08 | 2012-07-04 | 佳能企业股份有限公司 | Automatic focusing method and image capturing system |
CN105700106A (en) * | 2016-03-28 | 2016-06-22 | 华为技术有限公司 | Automatic focusing method and automatic focusing device |
CN109116541A (en) * | 2018-09-10 | 2019-01-01 | 广州鸿琪光学仪器科技有限公司 | Microscope focusing method, device, computer equipment and storage medium |
CN109218718A (en) * | 2018-10-31 | 2019-01-15 | 广州立景创新科技有限公司 | Auto-focusing adjustment method, device, equipment and storage medium |
-
2019
- 2019-05-21 CN CN201910423048.6A patent/CN110244444B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080012978A1 (en) * | 2006-07-13 | 2008-01-17 | Fujifilm Corporation | Image capture apparatus and focus adjustment method |
CN102540639A (en) * | 2010-12-08 | 2012-07-04 | 佳能企业股份有限公司 | Automatic focusing method and image capturing system |
CN105700106A (en) * | 2016-03-28 | 2016-06-22 | 华为技术有限公司 | Automatic focusing method and automatic focusing device |
CN109116541A (en) * | 2018-09-10 | 2019-01-01 | 广州鸿琪光学仪器科技有限公司 | Microscope focusing method, device, computer equipment and storage medium |
CN109218718A (en) * | 2018-10-31 | 2019-01-15 | 广州立景创新科技有限公司 | Auto-focusing adjustment method, device, equipment and storage medium |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11803964B2 (en) | 2013-05-23 | 2023-10-31 | S.D. Sight Diagnostics Ltd. | Method and system for imaging a cell sample |
CN110930363A (en) * | 2019-10-29 | 2020-03-27 | 北京临近空间飞行器系统工程研究所 | Method and device for determining sharpness evaluation value of curved-surface blurred image and storage medium |
CN110764244A (en) * | 2019-11-05 | 2020-02-07 | 安图实验仪器(郑州)有限公司 | Automatic focusing method for microscope tabletting microscopic examination |
WO2021092742A1 (en) * | 2019-11-12 | 2021-05-20 | 深圳迈瑞生物医疗电子股份有限公司 | Method for adjusting film reader, device, apparatus and medium |
CN112911133A (en) * | 2019-12-03 | 2021-06-04 | 精微视达医疗科技(武汉)有限公司 | Endoscope focusing method and device |
CN112904548A (en) * | 2019-12-03 | 2021-06-04 | 精微视达医疗科技(武汉)有限公司 | Endoscope focusing method and device |
CN111694476A (en) * | 2020-05-15 | 2020-09-22 | 平安科技(深圳)有限公司 | Translation browsing method and device, computer system and readable storage medium |
CN111694476B (en) * | 2020-05-15 | 2022-07-08 | 平安科技(深圳)有限公司 | Translation browsing method and device, computer system and readable storage medium |
WO2022009104A3 (en) * | 2020-07-07 | 2022-02-17 | S.D. Sight Diagnostics Ltd | Focusing a microscope using fluorescent images |
CN114280769A (en) * | 2020-12-28 | 2022-04-05 | 深圳同舟光电科技有限公司 | High-sensitivity optical imaging system, method and device |
CN112954138A (en) * | 2021-02-20 | 2021-06-11 | 东营市阔海水产科技有限公司 | Aquatic economic animal image acquisition method, terminal equipment and movable material platform |
CN113655610A (en) * | 2021-07-14 | 2021-11-16 | 中国电子科技集团公司第十三研究所 | Automatic focusing method and control device for photothermal reflection microscopic thermal imaging |
CN113655610B (en) * | 2021-07-14 | 2024-04-26 | 中国电子科技集团公司第十三研究所 | Automatic focusing method and control device for photothermal reflection microscopic thermal imaging |
CN117969518A (en) * | 2024-04-01 | 2024-05-03 | 笑纳科技(苏州)有限公司 | Cell image acquisition method and system |
Also Published As
Publication number | Publication date |
---|---|
CN110244444B (en) | 2021-09-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110244444A (en) | Microscopical focusing method, device, terminal device and storage medium | |
EP4421749A2 (en) | Data processing method, apparatus, system and storage media | |
CN103558229B (en) | A kind of MURA vision automatic testing method of TFT-LCD processing procedure and device | |
CN110661983B (en) | Image acquisition method, device, equipment and storage medium | |
CN109084955A (en) | Display screen quality determining method, device, electronic equipment and storage medium | |
CN107749268A (en) | Screen detection method and equipment | |
CN109489620A (en) | A kind of monocular vision distance measuring method | |
CN103473776B (en) | A kind of method, system and autofocus control method of movement images definition | |
CN103492926A (en) | Imaging apparatus and program | |
CN102843517B (en) | A kind of image processing method, device and display device | |
CN112200887B (en) | Multi-focus image fusion method based on gradient sensing | |
CN110910445B (en) | Object size detection method, device, detection equipment and storage medium | |
CN109766818A (en) | Pupil center's localization method and system, computer equipment and readable storage medium storing program for executing | |
CN106228515A (en) | A kind of image de-noising method and device | |
CN106031148A (en) | Imaging device and method for automatic focus in an imaging device as well as a corresponding computer program | |
CN116051391B (en) | Image processing method and electronic equipment | |
CN110378887A (en) | Screen defect inspection method, apparatus and system, computer equipment and medium | |
CN108665436A (en) | A kind of multi-focus image fusing method and system based on gray average reference | |
CN111062916B (en) | Definition evaluation method and device for microscopic image | |
CN108229392A (en) | A kind of pupil positioning method, device, equipment and medium | |
CN107113377A (en) | Image processing apparatus, image processing method, image processing program and storage medium | |
CN117310962A (en) | Microscopic imaging focusing control method and device | |
CN105893578A (en) | Method and device for selecting photos | |
Kutsenko et al. | An approach to quality evaluation of embryos based on their geometrical parameters | |
CN116017129A (en) | Method, device, system, equipment and medium for adjusting angle of light supplementing lamp |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |