CN113916779A - Microscopic image acquisition control method, control system and computer readable storage medium - Google Patents

Microscopic image acquisition control method, control system and computer readable storage medium Download PDF

Info

Publication number
CN113916779A
CN113916779A CN202111163843.XA CN202111163843A CN113916779A CN 113916779 A CN113916779 A CN 113916779A CN 202111163843 A CN202111163843 A CN 202111163843A CN 113916779 A CN113916779 A CN 113916779A
Authority
CN
China
Prior art keywords
coordinate information
objective lens
reference point
focusing
axis
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
CN202111163843.XA
Other languages
Chinese (zh)
Other versions
CN113916779B (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.)
Hunan Pinsheng Biotechnology Co ltd
Original Assignee
Hunan Pinsheng Biotechnology Co ltd
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 Hunan Pinsheng Biotechnology Co ltd filed Critical Hunan Pinsheng Biotechnology Co ltd
Priority to CN202111163843.XA priority Critical patent/CN113916779B/en
Publication of CN113916779A publication Critical patent/CN113916779A/en
Application granted granted Critical
Publication of CN113916779B publication Critical patent/CN113916779B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/01Arrangements or apparatus for facilitating the optical investigation
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/01Arrangements or apparatus for facilitating the optical investigation
    • G01N2021/0106General arrangement of respective parts
    • G01N2021/0112Apparatus in one mechanical, optical or electronic block

Landscapes

  • Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Biochemistry (AREA)
  • General Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Microscoopes, Condenser (AREA)

Abstract

The invention discloses a microscopic image acquisition control method for rapid and accurate focusing, which comprises the following steps: s1, acquiring plane coordinate information of a reference point and at least two preselected points from the slide sample image collected currently; s2, controlling the objective lens to carry out full-range focusing on the reference point on the slide sample along the Z-axis direction to obtain focused initial coordinate information; s3, controlling the objective lens to respectively adjust and focus the reference point and the at least two preselected points on the slide sample along the Z-axis direction according to the Z-axis information in the plane coordinate information and the initial coordinate information to obtain at least three pieces of adjustment coordinate information; s4, constructing a fitting plane of the slide sample according to the at least three pieces of adjusting coordinate information, and then carrying out image scanning on the slide sample on the fitting plane, so that the invention can carry out rapid and accurate scanning on the sample image.

Description

Microscopic image acquisition control method, control system and computer readable storage medium
Technical Field
The invention relates to the field of microscopic shooting, in particular to a microscopic image acquisition control method, a microscopic image acquisition control system and a computer-readable storage medium for rapid and accurate focusing.
Background
The pathological section is that part of the tissue or organ with pathological changes is treated by various chemicals and embedding method, and then is fixed and hardened, and cut into slices on a microtome, and the slices are adhered on a glass slide, and stained with various colors for examination under a microscope, so as to observe pathological changes and make pathological diagnosis, and provide help for clinical diagnosis and treatment.
In order to improve the detection efficiency, most of the current mechanisms adopt an automatic image acquisition method to carry out microscopic shooting on pathological sections successively, the automatic image acquisition method combines optical, mechanical and electrical technologies with a cytological diagnosis technology, and a slide glass loaded with the pathological sections is determined to judge whether cells are abnormal or cancerate so as to make pathological diagnosis. Although the existing automatic image acquisition method can acquire images and improve the detection accuracy and detection efficiency, in the actual microscopic shooting process, the focusing process is too long and the situation of unclear focusing can frequently occur, so that the rapid and accurate focusing of sample images is still a key point which needs to be continuously improved, the quality of focusing directly affects the success or failure of sample image scanning, and the detection result is greatly interfered.
In view of the above, there is a need to provide a method for controlling microscope image acquisition with fast and precise focusing, which solves or at least alleviates the above-mentioned disadvantages of slow focusing process and unclear focusing.
Disclosure of Invention
In view of the above technical problems, the present invention provides a method for controlling the acquisition of a microscopic image with fast and accurate focusing.
In order to achieve the above object, the present invention provides a method for controlling the acquisition of a microscopic image with rapid and accurate focusing, which comprises the following steps:
s1, acquiring plane coordinate information of a reference point and at least two preselected points from the slide sample image collected currently, wherein the plane coordinate information is information of an X axis and a Y axis corresponding to the reference point and the at least two preselected points; wherein the reference point and the at least two preselected points are located on at least two different straight lines when at the same height, and the slide sample is placed between a light source and an objective lens of a microscopy apparatus;
s2, controlling the objective lens to focus the reference point on the slide sample in a full range along the Z-axis direction to obtain initial focused coordinate information, wherein the initial coordinate information is information of an X-axis, a Y-axis and a Z-axis of a focusing position corresponding to the reference point after the full range focusing;
s3, controlling the objective lens to respectively adjust and focus the reference point and the at least two preselected points on the slide sample along the Z-axis direction according to the Z-axis information in the plane coordinate information and the initial coordinate information to obtain at least three pieces of adjustment coordinate information, wherein the adjustment coordinate information is information of the X-axis, the Y-axis and the Z-axis corresponding to the reference point and the at least two preselected points after adjustment and focusing;
s4, constructing a fitting plane of the slide sample according to the at least three pieces of adjusting coordinate information, and then carrying out image scanning on the slide sample on the fitting plane.
Further, in step S1, the step of obtaining the reference point and the preselected point includes:
s11, identifying a plurality of convex hull areas in the slide sample image;
s12, constructing a plurality of concentric circles according to the convex hull regions;
s13, selecting a reference circle from the plurality of concentric circles according to the number of the convex hull regions penetrated by each of the concentric circles and the degree of dispersion of the convex hull regions on each of the concentric circles;
s14, selecting at least three scattered convex hull regions as point selection regions from the plurality of convex hull regions penetrated by the reference circle or the plurality of convex hulls closest to the reference circle, then selecting a point from the sample image in each point selection region as a base point, and using the base point as the reference point or the pre-selection point.
Further, the step of controlling the objective lens to focus the reference point on the slide sample in the full range along the Z-axis direction in step S2 includes:
s21, acquiring a preset distance range of the reference point on the slide sample and the objective lens in the Z-axis direction;
and S22, controlling the relative distance between the reference point on the slide sample and the objective lens to change within the preset distance range, and judging the initial coordinate information corresponding to the reference point after focusing in the full range according to the real-time definition value in the change process.
Further, the step S21 further includes: acquiring a preset definition value of the slide sample;
in step S22, the determining, according to the real-time sharpness value during the change process, the initial coordinate information corresponding to the reference point focused in the full range includes:
when the corresponding real-time definition value in the change process is smaller than the preset definition value, determining that the relative distance between the reference point and the objective lens does not reach the standard of full-range focusing;
and when the corresponding real-time definition in the change process is not less than the preset definition value, determining that the relative distance between the reference point and the objective reaches the standard of full-range focusing, and acquiring the initial coordinate information corresponding to the full-range focused object.
Further, the adjusting the focus includes the steps of:
s31, controlling the objective lens to move to a specified position according to the Z-axis information of the initial coordinate information and the plane coordinate information;
and S32, controlling the objective lens to move downwards for a preset distance along the Z-axis direction, judging the focusing moving direction of the objective lens according to the change result of the definition during the downward movement, and obtaining the adjustment coordinate information according to the definition change result generated in the focusing moving process of the objective lens.
Further, the determining the focus moving direction of the objective lens according to the result of the change in sharpness when moving downward includes:
when the change result of the definition is decreased in the downward movement, the focusing movement direction of the objective lens is upward movement until the definition is not increased any more;
when the change in the sharpness is an increase in the downward movement, the focus movement direction of the objective lens is a downward movement until the sharpness is no longer increased.
Further, in the step S4, the constructing a fitting plane of the slide specimen according to the at least three pieces of adjustment coordinate information includes: and performing quadratic polynomial surface fitting on the at least three pieces of adjusting coordinate information to obtain the fitting plane.
Further, in the process of the full-range focusing and the adjusting focusing, the coordinates are switched by controlling the movement of the objective lens in the directions of an X axis, a Y axis and a Z axis;
the minimum objective lens moving unit for full-range focusing is larger than the minimum objective lens moving unit for adjusting focusing, wherein the minimum objective lens moving unit is the minimum distance of the objective lens moving along the Z-axis direction in the focusing process.
The invention also provides a control system of a microscope device, which comprises a memory, a processor, a computer program stored in the memory and capable of running on the processor, and a controller for receiving instructions of the processor, and is characterized in that the processor executes the computer program to realize the steps of the image acquisition method.
The invention also provides a computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the image acquisition method as defined in any one of the preceding claims
Compared with the prior art, the invention has the following advantages:
the invention provides a microscopic image acquisition control method capable of realizing rapid and accurate focusing, which can be used for rapidly and accurately focusing a sample pattern. By acquiring one reference point and carrying out full-range focusing on the position of the reference point, initial coordinate information can be acquired, and a reference are provided for subsequent accurate focusing adjustment; by acquiring at least two pre-selected points, under the condition of matching the reference point and combining the initial coordinate information, the reference point and the at least two pre-selected points can be adjusted and focused, so that the precise focuses at the positions of the reference point and the pre-selected points are acquired, and at least three pieces of adjustment coordinate information are acquired; by obtaining the adjustment coordinate information and performing plane fitting on the slide glass sample by using the adjustment coordinate information, an accurate image scanning plane can be obtained.
In addition, in the process of obtaining the reference point and the preselected point, the convex hull region and the concentric circle are introduced, and the reference circle and the point selecting region are identified, so that the plane where the slide glass sample image is located can be reflected to the maximum degree by a finally fitted plane, and a clearer image can be obtained through subsequent scanning; in the process of adjusting focusing, the focusing moving direction of the objective lens is judged according to the change result of definition during downward movement, and the information of the adjusting coordinate can be quickly and accurately obtained through the change result of definition generated in the process of focusing movement of the objective lens; by adopting the quadratic polynomial surface fitting, the fitting plane can be obtained more accurately by means of the coordinate adjusting information.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the structures shown in the drawings without creative efforts.
FIG. 1 is a schematic flow chart of a microscopic image acquisition control method according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating the step S1 according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating the step S2 according to an embodiment of the present invention;
FIG. 4 is a flowchart illustrating the step S3 according to an embodiment of the present invention;
FIG. 5 is a schematic illustration of a reference point and a selected point of a preselected point in accordance with an embodiment of the present invention.
The reference numbers illustrate: a slide sample image 1, a convex hull region 2, a concentric circle 3, a reference circle 4, a point selection region 5 and a base point 6.
The implementation, functional features and advantages of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, are within the scope of the present invention.
It should be noted that all the directional indicators (such as the upper and lower … …) in the embodiment of the present invention are only used to explain the relative position relationship, movement, etc. of the components in a specific posture (as shown in the drawings), and if the specific posture is changed, the directional indicator is changed accordingly.
In addition, the descriptions related to "first", "second", etc. in the present invention are only for descriptive purposes and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature.
Moreover, the technical solutions in the embodiments of the present invention may be combined with each other, but it is necessary to be able to be realized by a person skilled in the art, and when the technical solutions are contradictory or cannot be realized, the combination of the technical solutions should be considered to be absent, and is not within the protection scope of the present invention.
Referring to fig. 1 to 5, in order to improve the scanning efficiency and accuracy, the present invention provides a method for controlling the acquisition of a rapidly and accurately focused microscopic image, comprising the steps of:
s1, acquiring plane coordinate information of a reference point and at least two preselected points from the slide sample image 1 acquired currently, wherein the plane coordinate information is information of an X axis and a Y axis corresponding to the reference point and the at least two preselected points; wherein the reference point and the at least two preselected points are located on at least two different straight lines when at the same height, and the slide specimen is placed between a light source and an objective lens of a microscopy apparatus. It should be noted that the slide sample image is an image of a sample on the slide, the number of the preselected points must be not less than two, and certainly, in order to better reflect the plane of the whole slide sample image 1, the number of the preselected points may be not less than 5, not less than 6, not less than 10, and the like, and may be specifically set according to actual situations.
In order to cover the slide sample image 1 with the maximum range of the selected point location and to reflect the overall plane where the slide sample image 1 is located to the maximum extent, the obtaining steps of the reference point and the pre-selected point may include:
s11, identifying a plurality of convex hull regions 2 in the slide sample image 1;
s12, constructing a plurality of concentric circles 3 according to the convex hull regions 2;
s13, selecting one reference circle 4 from the plurality of concentric circles 3 according to the number of the convex hull regions 2 penetrated by each of the concentric circles 3 and the degree of dispersion of the convex hull regions 2 on each of the concentric circles;
s14, selecting at least three convex hull regions 2 scattered from the plurality of convex hull regions 2 penetrated by the reference circle 4 or the plurality of convex hulls closest to the reference circle 4 as selected point regions 5, then selecting one point from the sample image in each selected point region 5 as a base point 6, and using the base point 6 as the reference point or the pre-selected point.
It should be noted that the convex hull region 2 refers to a region irradiated by a planar convex hull in the slide sample image 1, the planar convex hull is a protrusion on an outer contour of the slide sample image 1, and the concentric circle 3 is constructed by taking the convex hull region 2 as a reference, so that the sample image can be contained in the largest range, and the entire plane of the carrier sample is reflected to the greatest extent when a subsequent plane is fitted. When the concentric circles 3 are constructed, preferably, a center point of the slide sample image 1 may be used as a center of the circle, and since the slide sample image 1 is irregular, when the exact center point cannot be determined, a point may also be selected as a center of the circle in the middle area of the slide sample image 1.
However, since the slide sample image 1 is generally irregular and the positions of the protrusions formed on the plane are also disordered, although the coverage of the outermost concentric circle 3 is widest, most of the area through which it passes may be an image on a blank slide, and therefore, the outermost concentric circle 3 cannot be directly used as the reference circle 4, but should be selected specifically according to the step S13. Among the plurality of concentric circles 3, when the number of the convex hull regions 2 penetrated by one of the concentric circles 3 is the largest and the degree of dispersion of each of the convex hull regions 2 on the concentric circle is high, it may be used as the reference circle 4. The degree of dispersion is a referential concept, such as: when the convex hull regions 2 penetrated by one of the concentric circles 3 are the most, the dispersion degree of each convex hull region 2 on the concentric circle needs to be identified, and if each convex hull region 2 on the concentric circle is found to be extruded in a pile, the concentric circle 3 needs to be removed and then the discrimination needs to be carried out again. Moreover, when the number of the convex hull regions 2 penetrated by several concentric circles 3 is the same, the concentric circle 3 with the highest degree of dispersion of the convex hull regions 2 needs to be selected as the reference circle 4. It should be noted that, in an extreme case, when the number of the convex hull regions 2 penetrated by the two concentric circles 3 is the same, and the degree of dispersion of each convex hull region 2 on the two concentric circles is also close, the outer concentric circle may be selected as the reference circle 4. After the reference circle 4 is determined, point selection may be performed with the reference circle 4 as a reference, point selection may be performed in the convex hull region 2 through which the reference circle 4 penetrates, in order to improve the dispersion degree of the selected point locations, point selection may be performed with reference to the reference circle 4, or point selection may be performed in the convex hull region 2 with reference to the reference circle 4, which may also be combined with each other. Specifically, in the specific point selection, both the selected reference point and the pre-selected point need to fall on the sample image.
The function of the reference point is mainly to provide a focused plane location point for the full range, that is, to perform coarse focusing at the position of the reference point, and of course, in the process of adjusting focusing that is needed later, the reference point can be continuously used as one of the plane location points for adjusting focusing; the preselected point is primarily a planar point that provides focus for adjusting focus. In addition, because the reference point and the preselected point are mainly focused plane points, only plane coordinate information of the reference point and the preselected point needs to be considered when the reference point and the preselected point are selected; moreover, since the subsequent fitting of the plane is required, when the reference point and the preselected point are selected, the reference point and the at least two preselected points are required to be located on at least two different straight lines when located at the same height, a virtual height may be specifically set, and the plane coordinate information of the reference point and the at least two preselected points is obtained on the basis of the same height.
In addition, it should be understood by those skilled in the art that in a specific application scenario, the slide specimen is placed between the light source and the objective lens of the microscope device, and in the present invention, the stage carrying the slide specimen may be fixed during the subsequent focusing process, and the coordinate switching is realized by controlling the movement of the objective lens.
And S2, controlling the objective lens to focus the reference point on the slide sample in a full range along the Z-axis direction to obtain initial coordinate information after focusing, wherein the initial coordinate information is information of the X-axis, the Y-axis and the Z-axis of a focusing position corresponding to the reference point after focusing in the full range.
It should be noted that, during the full-range focusing, the objective lens needs to be adjusted to be above the reference point, and the distance between the objective lens and the slide specimen needs to be controlled along the Z-axis direction, so as to obtain the Z-axis information after full-range focusing, and the initial coordinate information can be obtained by combining the X-axis information and the Y-axis information, and the initial coordinate information is used as a reference during the subsequent focusing. In addition, since the stage can be fixedly disposed, the Z-axis information can be mainly used to refer to the relative distance between the objective lens and the slide specimen in the Z-axis direction.
Specifically, the step of controlling the objective lens to focus the reference point on the slide sample in the full range along the Z-axis direction in step S2 may include:
s21, acquiring a preset distance range of the reference point on the slide sample and the objective lens in the Z-axis direction;
and S22, controlling the relative distance between the reference point on the slide sample and the objective lens to change within the preset distance range, and judging the initial coordinate information corresponding to the reference point after focusing in the full range according to the real-time definition value in the change process.
As a further explanation of the step S21, the step S21 further includes: acquiring a preset definition value of the slide sample;
as a refinement to the step S22, in the step S22, the determining, according to the real-time sharpness value during the change process, the initial coordinate information corresponding to the reference point after focusing in the full range includes:
when the corresponding real-time definition value in the change process is smaller than the preset definition value, determining that the relative distance between the reference point and the objective lens does not reach the standard of full-range focusing;
and when the corresponding real-time definition in the change process is not less than the preset definition value, determining that the relative distance between the reference point and the objective reaches the standard of full-range focusing, and acquiring the initial coordinate information corresponding to the full-range focused object.
In addition, in order to facilitate further understanding of the criteria for the full-range focusing, the step S22 may further include:
and controlling the relative distance between the reference point and the objective lens to be sequentially changed from small to large, and when a first real-time definition value larger than a preset definition value is generated in the process that the relative distance is sequentially changed from small to large, determining that the relative distance between the reference point and the objective lens reaches the standard of full-range focusing.
And S3, controlling the objective lens to respectively adjust and focus the reference point and the at least two preselected points on the slide sample along the Z-axis direction according to the Z-axis information in the plane coordinate information and the initial coordinate information to obtain at least three pieces of adjustment coordinate information, wherein the adjustment coordinate information is information of the X-axis, the Y-axis and the Z-axis corresponding to the reference point and the at least two preselected points after adjustment and focusing.
It should be noted that, after the initial coordinate information is obtained, the reference point and the preselected point on the slide specimen may be precisely focused by controlling the movement of the objective lens based on the Z-axis information of the initial coordinate information and the plane coordinate information of the reference point and the preselected point for fitting the plane to be scanned.
In order to be able to obtain the adjustment coordinate information quickly and accurately, the adjusting focus may include the steps of:
s31, controlling the objective lens to move to a specified position according to the Z-axis information of the initial coordinate information and the plane coordinate information; the designated position may include a position referred to by the initial coordinate information and a position translated from the position of the initial coordinate information to the preselected point;
and S32, controlling the objective lens to move downwards for a preset distance along the Z-axis direction, judging the focusing moving direction of the objective lens according to the change result of the definition when the objective lens moves downwards, and obtaining the adjusting coordinate information according to the change result of the definition generated in the focusing moving process of the objective lens, wherein the coordinate information corresponding to the definition reaching the preset condition is the adjusting coordinate information.
Specifically, the judging the focus moving direction of the objective lens according to the result of the change in sharpness when moving downward may include:
when the change result of the definition is reduced during the downward movement, the focusing movement direction of the objective lens is upward movement until the definition is not increased any more, and the corresponding coordinate information is the adjusting coordinate information;
and when the change result of the definition is rising during the downward movement, the focusing movement direction of the objective lens is downward movement until the definition is not rising any more, and the corresponding coordinate information is the adjusting coordinate information.
S4, constructing a fitting plane of the slide sample according to the at least three pieces of adjusting coordinate information, and then carrying out image scanning on the slide sample on the fitting plane. It should be noted that the fitting plane construction process may employ a fitting method conventional in the art, and preferably, the constructing the fitting plane of the slide specimen according to the at least three pieces of adjustment coordinate information may also include: and performing quadratic polynomial surface fitting on the at least three pieces of adjusting coordinate information to obtain the fitting plane.
The quadratic polynomial surface formula adopted by the quadratic polynomial surface fitting is as follows:
f(x,y)=a20x2+a02y2+a11xy+a10x+a01y+a00
wherein, in the above formula, a is common20、a02、a11、a10、a01、a00And 6 coefficients are equal. In addition, f (X, Y) may be expressed as a numerical value corresponding to the Z axis, X may be expressed as a numerical value corresponding to the X axis, and Y may be expressed as a numerical value corresponding to the Y axis.
As described in the above embodiments, the coordinates can be switched by controlling the movement of the objective lens in the X-axis, Y-axis, and Z-axis directions during the full-range focusing and the focus adjustment.
In addition, the minimum objective lens moving unit for the full-range focusing is larger than the minimum objective lens moving unit for adjusting the focusing, wherein the minimum objective lens moving unit is the minimum distance of the objective lens moving along the Z-axis direction in the focusing process.
The invention also provides a control system of a microscope device, which comprises a memory, a processor, a computer program stored in the memory and capable of running on the processor, and a controller for receiving instructions of the processor, and is characterized in that the steps of the image acquisition method according to any one of the above embodiments are realized when the processor executes the computer program.
The present invention also provides a computer-readable storage medium, in which a computer program is stored, which, when being executed by a processor, carries out the steps of the image acquisition method according to any of the above embodiments.
In the above technical solutions, the above are only preferred embodiments of the present invention, and the technical scope of the present invention is not limited thereby, and all the technical concepts of the present invention include the claims of the present invention, which are directly or indirectly applied to other related technical fields by using the equivalent structural changes made in the content of the description and the drawings of the present invention.

Claims (10)

1. A microscopic image acquisition control method for rapid and accurate focusing is characterized by comprising the following steps:
s1, acquiring plane coordinate information of a reference point and at least two preselected points from the slide sample image collected currently, wherein the plane coordinate information is information of an X axis and a Y axis corresponding to the reference point and the at least two preselected points; wherein the reference point and the at least two preselected points are located on at least two different straight lines when at the same height, and the slide sample is placed between a light source and an objective lens of a microscopy apparatus;
s2, controlling the objective lens to focus the reference point on the slide sample in a full range along the Z-axis direction to obtain initial focused coordinate information, wherein the initial coordinate information is information of an X-axis, a Y-axis and a Z-axis of a focusing position corresponding to the reference point after the full range focusing;
s3, controlling the objective lens to respectively adjust and focus the reference point and the at least two preselected points on the slide sample along the Z-axis direction according to the Z-axis information in the plane coordinate information and the initial coordinate information to obtain at least three pieces of adjustment coordinate information, wherein the adjustment coordinate information is information of the X-axis, the Y-axis and the Z-axis corresponding to the reference point and the at least two preselected points after adjustment and focusing;
s4, constructing a fitting plane of the slide sample according to the at least three pieces of adjusting coordinate information, and then carrying out image scanning on the slide sample on the fitting plane.
2. The image capturing control method according to claim 1, wherein in step S1, the reference point and the pre-selected point acquiring step includes:
s11, identifying a plurality of convex hull areas in the slide sample image;
s12, constructing a plurality of concentric circles according to the convex hull regions;
s13, selecting a reference circle from the plurality of concentric circles according to the number of the convex hull regions penetrated by each of the concentric circles and the degree of dispersion of the convex hull regions on each of the concentric circles;
s14, selecting at least three scattered convex hull regions as point selection regions from the plurality of convex hull regions penetrated by the reference circle or the plurality of convex hulls closest to the reference circle, then selecting a point from the sample image in each point selection region as a base point, and using the base point as the reference point or the pre-selection point.
3. The image capture control method according to claim 1, wherein the step of controlling the objective lens to focus the reference point on the slide sample in the full range in the Z-axis direction in step S2 includes:
s21, acquiring a preset distance range of the reference point on the slide sample and the objective lens in the Z-axis direction;
and S22, controlling the relative distance between the reference point on the slide sample and the objective lens to change within the preset distance range, and judging the initial coordinate information corresponding to the reference point after focusing in the full range according to the real-time definition value in the change process.
4. The image acquisition control method according to claim 3, wherein the step S21 further includes: acquiring a preset definition value of the slide sample;
in step S22, the determining, according to the real-time sharpness value during the change process, the initial coordinate information corresponding to the reference point focused in the full range includes:
when the corresponding real-time definition value in the change process is smaller than the preset definition value, determining that the relative distance between the reference point and the objective lens does not reach the standard of full-range focusing;
and when the corresponding real-time definition in the change process is not less than the preset definition value, determining that the relative distance between the reference point and the objective reaches the standard of full-range focusing, and acquiring the initial coordinate information corresponding to the full-range focused object.
5. The image acquisition control method according to claim 1, wherein the adjusting of the focus includes the steps of:
s31, controlling the objective lens to move to a specified position according to the Z-axis information of the initial coordinate information and the plane coordinate information;
and S32, controlling the objective lens to move downwards for a preset distance along the Z-axis direction, judging the focusing moving direction of the objective lens according to the change result of the definition during the downward movement, and obtaining the adjustment coordinate information according to the definition change result generated in the focusing moving process of the objective lens.
6. The image capture control method of claim 5, wherein said determining the focus movement direction of the objective lens according to the result of the change in sharpness when moving downward comprises:
when the change result of the definition is decreased in the downward movement, the focusing movement direction of the objective lens is upward movement until the definition is not increased any more;
when the change in the sharpness is an increase in the downward movement, the focus movement direction of the objective lens is a downward movement until the sharpness is no longer increased.
7. The image acquisition control method according to claim 1, wherein in the step S4, the constructing a fitting plane of the slide specimen from the at least three pieces of adjustment coordinate information includes: and performing quadratic polynomial surface fitting on the at least three pieces of adjusting coordinate information to obtain the fitting plane.
8. The image capture control method according to any one of claims 1 to 7, wherein during the full-range focusing and the focus adjustment, switching of coordinates is performed by controlling movement of the objective lens in X-axis, Y-axis, and Z-axis directions;
the minimum objective lens moving unit for full-range focusing is larger than the minimum objective lens moving unit for adjusting focusing, wherein the minimum objective lens moving unit is the minimum distance of the objective lens moving along the Z-axis direction in the focusing process.
9. A control system for a microscopy apparatus, comprising a memory, a processor, a computer program stored in the memory and executable on the processor, and a controller receiving instructions of the processor, wherein the processor, when executing the computer program, performs the steps of the image acquisition method according to any of claims 1 to 8.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the image acquisition method according to any one of claims 1 to 8.
CN202111163843.XA 2021-09-30 2021-09-30 Microscopic image acquisition control method, microscopic image acquisition control system and computer-readable storage medium Active CN113916779B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111163843.XA CN113916779B (en) 2021-09-30 2021-09-30 Microscopic image acquisition control method, microscopic image acquisition control system and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111163843.XA CN113916779B (en) 2021-09-30 2021-09-30 Microscopic image acquisition control method, microscopic image acquisition control system and computer-readable storage medium

Publications (2)

Publication Number Publication Date
CN113916779A true CN113916779A (en) 2022-01-11
CN113916779B CN113916779B (en) 2024-04-02

Family

ID=79237759

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111163843.XA Active CN113916779B (en) 2021-09-30 2021-09-30 Microscopic image acquisition control method, microscopic image acquisition control system and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN113916779B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070031056A1 (en) * 2005-08-02 2007-02-08 Perz Cynthia B System for and method of focusing in automated microscope systems
WO2008028745A1 (en) * 2006-09-06 2008-03-13 Leica Microsystems Cms Gmbh Method for examining a specimen using a microscope and a microscope
CN105938243A (en) * 2016-06-29 2016-09-14 华南理工大学 Multi-magnification microscope fast focusing method applied to TFT-LCD detection
CN109239900A (en) * 2018-11-07 2019-01-18 华东师范大学 A kind of full-automatic quick focusing method for the big visual field acquisition of microscopic digital image
CN110658618A (en) * 2018-06-28 2020-01-07 湖南爱威医疗科技有限公司 Method and device for fitting and focusing sample image, computer equipment and storage medium
CN111399208A (en) * 2020-03-31 2020-07-10 上海澜澈生物科技有限公司 Focusing shooting implementation method of biological fluorescence sample, microscope and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070031056A1 (en) * 2005-08-02 2007-02-08 Perz Cynthia B System for and method of focusing in automated microscope systems
WO2008028745A1 (en) * 2006-09-06 2008-03-13 Leica Microsystems Cms Gmbh Method for examining a specimen using a microscope and a microscope
CN105938243A (en) * 2016-06-29 2016-09-14 华南理工大学 Multi-magnification microscope fast focusing method applied to TFT-LCD detection
CN110658618A (en) * 2018-06-28 2020-01-07 湖南爱威医疗科技有限公司 Method and device for fitting and focusing sample image, computer equipment and storage medium
CN109239900A (en) * 2018-11-07 2019-01-18 华东师范大学 A kind of full-automatic quick focusing method for the big visual field acquisition of microscopic digital image
CN111399208A (en) * 2020-03-31 2020-07-10 上海澜澈生物科技有限公司 Focusing shooting implementation method of biological fluorescence sample, microscope and storage medium

Also Published As

Publication number Publication date
CN113916779B (en) 2024-04-02

Similar Documents

Publication Publication Date Title
EP1336888B1 (en) Microscopy imaging system and data acquisition method
US8000511B2 (en) System for and method of focusing in automated microscope systems
EP1830217B1 (en) Image acquiring apparatus, image acquiring method, and image acquiring program
CN109239900B (en) Full-automatic rapid focusing method for large-field acquisition of microscopic digital image
EP2916160B1 (en) Image acquisition device and method for focusing image acquisition device
EP2402813A2 (en) Microscope and area determination method
WO2001090796A2 (en) Reverse focusing methods and systems
JP3283208B2 (en) Automatic focus control method and automatic focus control system
JP2003303564A (en) Automatic focusing system in scanning type charged particle microscope
JP2014178357A (en) Digital microscope device, imaging method of the same and program
CN116754565B (en) Automatic focusing detection method for optical element full-caliber surface micro-defect photo-induced fluorescence detection
WO2018197193A1 (en) Optical scanning arrangement and method
JP4812325B2 (en) Scanning confocal microscope and sample information measuring method
JP2007515969A (en) Biological tissue analysis method and system
EP3951472A1 (en) Autofocusing means for a microscope
US8410440B2 (en) Specimen observation method
CN113916779A (en) Microscopic image acquisition control method, control system and computer readable storage medium
CN113899698A (en) Real-time focusing and centering adjustment method and device for in-situ test platform
JP3579166B2 (en) Scanning laser microscope
DE102023115998A1 (en) SYSTEM AND METHOD FOR HIGH-SPEED AUTOFOCUSING OF A MICROSCOPE
JP2003029151A (en) Confocal laser scanning microscope and control program
US20050056784A1 (en) Structure determination of materials using electron microscopy
JP2005216645A (en) Transmission electron microscope
CN114994895A (en) Method and device for the light-sheet microscopic examination of a sample
JP2000182555A (en) Automatic focusing device

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