CN109239901B - Method and device for quickly calibrating focusing surface and positioning focusing of microscopic imaging system - Google Patents

Method and device for quickly calibrating focusing surface and positioning focusing of microscopic imaging system Download PDF

Info

Publication number
CN109239901B
CN109239901B CN201811318299.XA CN201811318299A CN109239901B CN 109239901 B CN109239901 B CN 109239901B CN 201811318299 A CN201811318299 A CN 201811318299A CN 109239901 B CN109239901 B CN 109239901B
Authority
CN
China
Prior art keywords
plane
image
coordinate
imaging system
convergence
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811318299.XA
Other languages
Chinese (zh)
Other versions
CN109239901A (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.)
Luster LightTech Co Ltd
Original Assignee
Luster LightTech 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 Luster LightTech Co Ltd filed Critical Luster LightTech Co Ltd
Priority to CN201811318299.XA priority Critical patent/CN109239901B/en
Publication of CN109239901A publication Critical patent/CN109239901A/en
Application granted granted Critical
Publication of CN109239901B publication Critical patent/CN109239901B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B21/00Microscopes
    • G02B21/36Microscopes arranged for photographic purposes or projection purposes or digital imaging or video purposes including associated control and data processing arrangements
    • G02B21/368Microscopes arranged for photographic purposes or projection purposes or digital imaging or video purposes including associated control and data processing arrangements details of associated display arrangements, e.g. mounting of LCD monitor
    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B21/00Microscopes
    • G02B21/36Microscopes arranged for photographic purposes or projection purposes or digital imaging or video purposes including associated control and data processing arrangements
    • G02B21/365Control or image processing arrangements for digital or video microscopes

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • General Physics & Mathematics (AREA)
  • Optics & Photonics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Studio Devices (AREA)
  • Automatic Focus Adjustment (AREA)

Abstract

The application discloses a method and a device for quickly calibrating and positioning a focusing surface of a microscopic imaging system. The calibration method comprises the steps of selecting four end points and a center point of a screen to be detected as calibration points, and dividing the screen to be detected into four plane areas by the calibration points; establishing plane equations of the four plane areas; and solving a plane equation to obtain a plane equation coefficient. The focusing positioning method comprises the steps of obtaining a defect coordinate of a to-be-focused point; judging a plane area where the focus to be focused is located according to the defect coordinates; and determining the distance between the point to be focused and the screen to be detected according to the plane equation of the plane area where the point to be focused is located and the defect coordinate. According to the method, the screen is divided into four triangular areas, plane equation fitting is carried out respectively, accumulated errors caused by distances are reduced, errors of all points are reduced to the maximum extent due to the triangular plane, the phenomenon that the angles which are not involved are very fuzzy due to the fact that the plane is made in the whole area of the mobile phone screen is avoided, and the curved surface equation fitting is simplified.

Description

Method and device for quickly calibrating focusing surface and positioning focusing of microscopic imaging system
Technical Field
The application relates to the technical field of screen defect detection, in particular to a method for quickly calibrating a focusing surface of a microscopic imaging system, a focusing positioning method and a focusing positioning device.
Background
With the continuous development of the Liquid Crystal Display (LCD) industry, the automation degree of the LCD defect detection equipment is higher and higher, the detection precision requirement is higher and higher, and a microscopic imaging system becomes necessary. The depth of field of a microscopic imaging system is small, the precision is high, imaging blurring can be caused by errors of 1mm, and in order to solve the precision problem, a plurality of automatic focusing algorithms appear in the industry.
At present, a method for performing plane equation fitting by using the whole liquid crystal display area as a plane mainly substitutes three points into a plane equation, and the accuracy can be improved if the final result is near the three points. However, the curved surface and the jig of the liquid crystal display are not necessarily exactly horizontal, and this problem may cause a large error ratio in the area far from the coordinates of three points, and it is likely that the initial position of the camera is far higher than the acceptable range of the microscopic imaging system. At present, a method of presetting a liquid crystal screen as a curved surface and fitting the curved surface by using a curved surface equation is provided, but the liquid crystal screen is placed on a jig, different jig equations are different, a specific equation is difficult to obtain, a plurality of points need to be collected, and the operation is inconvenient.
Although most focusing algorithms can ensure accuracy, they all have a common premise that the initial position of the camera is within a certain error range, and beyond this range, the image formed by the microscopic imaging system hardly contains any available information, and is a blurred image. Therefore, the conventional focusing algorithm has the problem of low precision due to large error.
Disclosure of Invention
The application aims to provide a method and a device for quickly calibrating and positioning a focusing surface of a microscopic imaging system, so as to solve the problem of low precision caused by large error of the existing focusing algorithm.
In a first aspect, according to an embodiment of the present application, a method for quickly calibrating a focal plane of a microscopic imaging system is provided, including:
selecting four end points and a center point of a screen to be detected as calibration points, wherein the calibration points divide the screen to be detected into four plane areas;
establishing plane equations of the four plane areas;
and solving the plane equation to obtain a plane equation coefficient.
With reference to the first aspect, in a first implementable manner of the first aspect, the step of solving the plane equation to obtain the plane equation coefficients includes:
acquiring two adjacent endpoint convergence coordinates and a center point convergence coordinate of the screen to be detected;
and substituting the convergence coordinates of the two adjacent end points and the convergence coordinate of the central point into the plane equation to obtain a plane equation coefficient.
With reference to the first implementable manner of the first aspect, in a second implementable manner of the first aspect, the step of obtaining two adjacent endpoint convergence coordinates and a center point convergence coordinate of the screen to be detected includes:
moving the microscopic imaging system to the end point or the central point, and acquiring images at pulse intervals;
calculating the definition of the image;
selecting a position corresponding to the image with the highest definition as a focusing surface;
judging whether the image with the highest definition is the first image or the last image;
and if the highest-definition image is not the first image or the last image, selecting the position coordinate corresponding to the highest-definition image as a convergence coordinate.
With reference to the second implementable manner of the first aspect, in a third implementable manner of the first aspect, the step of obtaining two adjacent endpoint convergence coordinates and a center point convergence coordinate of the screen to be detected further includes:
if the image with the highest definition is the first image or the last image, amplifying the pulse skipping range and re-collecting the image;
and repeating the step of calculating the definition of the image until the position coordinate corresponding to the image with the highest definition is selected as a convergence coordinate.
In a second aspect, according to an embodiment of the present application, there is provided a method for positioning a microscopic imaging system in focus, including:
acquiring a defect coordinate of a to-be-focused point;
judging the plane area where the focus to be focused is located according to the defect coordinates;
and determining the distance between the point to be focused and the screen to be detected according to the plane equation of the plane area where the point to be focused is located and the defect coordinate.
In a third aspect, according to an embodiment of the present application, there is provided a device for quickly calibrating a focusing surface of a microscopic imaging system, including:
the calibration point selection unit is used for selecting four end points and a center point of a screen to be detected as calibration points, and the calibration points divide the screen to be detected into four plane areas;
the plane equation establishing unit is used for establishing plane equations of the four plane areas;
and the plane equation solving unit is used for solving the plane equation to obtain a plane equation coefficient.
With reference to the third aspect, in a first implementable manner of the third aspect, the plane equation solving unit includes:
the convergence coordinate acquisition unit is used for acquiring two adjacent endpoint convergence coordinates and a center point convergence coordinate of the screen to be detected;
and the plane equation solving subunit is used for substituting the two adjacent endpoint convergence coordinates and the central point convergence coordinate into the plane equation to obtain a plane equation coefficient.
With reference to the first implementable manner of the third aspect, in a second implementable manner of the third aspect, the converged coordinate acquisition unit includes:
the acquisition unit is used for moving the microscopic imaging system to the end point or the central point and acquiring images at pulse intervals;
a calculating unit for calculating the definition of the image;
the focusing surface selecting unit is used for selecting a position corresponding to the image with the highest definition as a focusing surface;
the judging unit is used for judging whether the image with the highest definition is the first image or the last image;
and the convergence coordinate selecting unit is used for selecting the position coordinate corresponding to the highest-definition image as a convergence coordinate if the highest-definition image is not the first image or the last image.
With reference to the second implementable manner of the third aspect, in a third implementable manner of the third aspect, the convergent coordinate acquisition unit further includes:
the amplifying unit is used for amplifying the pulse skipping range and re-collecting the image if the image with the highest definition is the first image or the last image;
and the repeated execution unit is used for repeatedly executing the step of calculating the definition of the image until the position coordinate corresponding to the image with the highest definition is selected as the convergence coordinate.
In a fourth aspect, according to an embodiment of the present application, a focus positioning apparatus for a microscopy imaging system includes:
the defect coordinate acquisition unit is used for acquiring the defect coordinate of the focus to be focused;
the judging unit is used for judging the plane area where the focus to be focused is located according to the defect coordinates;
and the determining unit is used for determining the distance between the to-be-focused point and the screen to be detected according to the plane equation of the plane area where the to-be-focused point is located and the defect coordinate.
According to the technical scheme, the embodiment of the application provides a method and a device for quickly calibrating and positioning a focusing surface of a micro-imaging system. The calibration method comprises the steps that four end points and a center point of a screen to be detected are selected as calibration points, and the calibration points divide the screen to be detected into four plane areas; establishing plane equations of the four plane areas; and solving the plane equation to obtain a plane equation coefficient. The focusing positioning method comprises the steps of obtaining a defect coordinate of a to-be-focused point; judging the plane area where the focus to be focused is located according to the defect coordinates; and determining the distance between the point to be focused and the screen to be detected according to the plane equation of the plane area where the point to be focused is located and the defect coordinate. According to the method, the screen to be measured is divided into four triangular areas, the four triangular areas are subjected to plane equation fitting respectively, when different coordinates need to be focused, the triangular areas where the points are located can be judged, corresponding equations are substituted, and a z value is obtained. The plane is changed into four triangles, so that the accumulated error caused by the distance is reduced, and the error of each point is reduced to the maximum extent due to the triangular plane, so that the phenomenon that the angle which is not involved is very fuzzy due to the fact that the plane is made in the whole area of the mobile phone screen is avoided, and the curved surface equation fitting is simplified.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
FIG. 1 is a flow chart illustrating a method for fast calibration of a focal plane of a microscopic imaging system according to a preferred embodiment;
FIG. 2 is a schematic diagram illustrating a division of a plane area of a screen to be detected according to a preferred embodiment;
FIG. 3 is a flow chart illustrating a method for focus positioning of a microscopic imaging system in accordance with a preferred embodiment;
FIG. 4 is a block diagram of a device for fast calibrating a focal plane of a microscopic imaging system according to a preferred embodiment;
fig. 5 is a block diagram of a focusing and positioning apparatus of a microscopy imaging system according to a preferred embodiment.
Detailed Description
Under the condition that the camera is focused clearly, the R, G, B and W pixels of the camera are shot clearly; when the image is not shot at the focusing position, the R, G, B and W pixels are not clear. However, when more ambiguous, no matter what autofocus algorithm, it can be declared invalid because there is no accurate information for the algorithm to decide on the path.
Referring to fig. 1, an embodiment of the present application provides a method for quickly calibrating a focusing surface of a microscopic imaging system, including:
s11, selecting four end points and a center point of a screen to be detected as calibration points, wherein the calibration points divide the screen to be detected into four plane areas;
fig. 2 is a schematic diagram for dividing the plane area of the screen to be detected, as shown in fig. 2, points (i), (ii), (iii), (iv) and (iv) are four end points of the screen to be detected, respectively, and point (v) is a central point of the screen to be detected. Connecting the points I, II and V pairwise to form a plane area A; connecting the points I, II and V pairwise to form a plane area B; the third point, the fourth point and the fifth point are connected in pairs to form a plane area C; two points III and five points are connected to form a plane area D.
Step S12, establishing plane equations of the four plane areas;
establishing a plane equation x + α y + β z + ζ of the four plane areas as 0, wherein α, β, ζ is a constant and α, β are not zero at the same time.
And step S13, solving the plane equation to obtain a plane equation coefficient.
The coordinates of three points in each of the four planar regions are known, and the plane equation coefficients are obtained by substituting the three points of the plane into the plane equation. For example, the coordinates of the points (i), (ii) and (iv) of the plane a are known, and the plane a equation is solved by taking the coordinates of the points (i), (ii) and (iv) as three fixed points of the plane a equation, so as to obtain the plane a equation coefficients (α _ r, β _ r, ζ _ r).
It should be noted that the screens to be detected include, but are not limited to, a mobile phone screen, a tablet computer screen, and a computer monitor screen. The application does not limit the type of the screen to be detected.
According to the technical scheme, the embodiment of the application provides a method for quickly calibrating the focusing surface of the microscopic imaging system. The calibration method comprises the steps that four end points and a center point of a screen to be detected are selected as calibration points, and the calibration points divide the screen to be detected into four plane areas; establishing plane equations of the four plane areas; and solving the plane equation to obtain a plane equation coefficient. The screen to be tested is divided into four triangular areas, and plane equation fitting is carried out on the four triangular areas respectively. The plane is changed into four triangles, so that the accumulated error caused by the distance is reduced, and the error of each point is reduced to the maximum extent due to the triangular plane, so that the phenomenon that the angle which is not involved is very fuzzy due to the fact that the plane is made in the whole area of the mobile phone screen is avoided, and the curved surface equation fitting is simplified.
In some embodiments, the step of solving the plane equations to obtain the plane equation coefficients comprises:
acquiring two adjacent endpoint convergence coordinates and a center point convergence coordinate of the screen to be detected;
in the embodiment of the present application, the convergence coordinates refer to coordinates of a point where the clearest image is acquired at the end point or the center point. If the convergence coordinate is represented by (x, y, z), the x value and the y value of the end point or the central point are determined, and the point at which the image is acquired is clearest, namely the z value is determined, so that the convergence coordinate of the two adjacent end points and the convergence coordinate of the central point of the screen to be detected are obtained
And substituting the convergence coordinates of the two adjacent end points and the convergence coordinate of the central point into the plane equation to obtain a plane equation coefficient.
The three points can determine a plane, the two end point convergence coordinates and the center point convergence coordinates are substituted into the plane equation, the plane equation is solved, and the plane equation coefficient can be obtained.
For example, the convergence coordinates of the two end points (point (r) and point (c)) are (x _ r, y _ r, z _ r) and (x _ c, y _ c, z _ c), respectively, the convergence coordinate of the center point (c) is (x _ c, y _ c, z _ c), and the three point coordinates of (x _ r, y _ r, z _ c), (x _ c, y _ c, z _ c) and (x _ c, y _ c, z _ c) are substituted into the a plane equation x + α y + β z + ζ 0 to obtain the solution of the a plane equation, i.e., the a plane equation coefficient, which is used as the final processing formula for calibration.
In some embodiments, the step of obtaining two adjacent end point convergence coordinates and a center point convergence coordinate of the screen to be detected includes:
moving the microscopic imaging system to the end point or the central point, and acquiring images at pulse intervals;
the microscopic imaging system is moved, so that the center of the field of view of the imaging system is aligned with an end point or a central point to acquire images. The pulse interval is fixed. The pulse interval refers to how many pulses are used by the microscopic imaging system to acquire one image, and the pulse range can judge how many images are acquired by the microscopic imaging system at most. For example, if the pulse interval is 5 and the number of pulses is 7, then the pulse jump range is (-15, 15).
Calculating the definition of the image;
in the embodiment of the application, the definition of the images acquired according to the pulse interval needs to be calculated, so that the subsequent definition comparison is convenient. The method for calculating the image definition is not limited in the present application.
Selecting a position corresponding to the image with the highest definition as a focusing surface;
and comparing the definition of the acquired image, and selecting the position corresponding to the image with the highest definition as a focusing surface.
And the position coordinate corresponding to the image with the highest definition is used as a convergence coordinate.
However, in some embodiments, the locations to which the highest resolution images correspond are not necessarily convergent due to the limited range of pulse skipping. Therefore, further judgment is required.
In this embodiment, the step of obtaining two adjacent endpoint convergence coordinates and a center point convergence coordinate of the screen to be detected further includes:
judging whether the image with the highest definition is the first image or the last image;
and if the highest-definition image is not the first image or the last image, selecting the position coordinate corresponding to the highest-definition image as a convergence coordinate.
If the image with the highest definition is the first image or the last image, amplifying the pulse skipping range and re-collecting the image;
when the highest-resolution image is the first image or the last image, it is stated that the highest-resolution image may not be within the current burst jump range, and therefore, the burst jump range needs to be further expanded. The current burst jump range is (-15, 15), and the amplified burst jump range may be (-20, 20). The amplification degree of the pulse skipping range can be preset or can be manually selected.
And repeating the step of calculating the definition of the image until the position coordinate corresponding to the image with the highest definition is selected as a convergence coordinate.
It should be noted that, repeatedly executing the step of calculating the sharpness of the image until the position coordinate corresponding to the image with the highest sharpness is selected as the convergence coordinate means that: performing a sharpness calculation of the image; selecting a position corresponding to the image with the highest definition as a focusing surface; until judging whether the highest-definition image is the first image or the last image, and selecting a position coordinate corresponding to the highest-definition image as a convergence coordinate.
In this embodiment, whether the position coordinate corresponding to the highest-resolution image is a convergence coordinate is determined by determining whether the highest-resolution image is the first image or the last image, so that the convergence coordinate of the end point or the central point can be determined more accurately, and the accuracy of obtaining the plane equation coefficient when solving the plane equation is improved.
For further explanation of the present application, the following detailed description will be given with reference to specific examples to describe the method for fast calibrating the focal plane of the microscopic imaging system provided in the present application, but they should not be construed as limiting the scope of the present application.
Example 1
The first step, referring to fig. 2, moving the microscopic imaging system, aligning the center of the field of view of the microscopic imaging system to the position of the end point of the screen to be measured, collecting a series of images according to a fixed pulse interval, calculating the sharpness of each image, using the position with the highest sharpness as a focusing plane, if the image with the highest sharpness is in the first image or the last image, enlarging the pulse jump range, collecting and calculating again until convergence (the image with the highest sharpness is not in the first image or the last image), and marking the converged coordinates (x _ r, y _ r, z _ r) as the first point of calibration.
And secondly, moving the microscopic imaging system, aligning the center of a view field of the microscopic imaging system to the end point of the screen to be measured to acquire images, acquiring a series of images according to a fixed pulse interval, calculating the definition of each image, taking the position with the highest image definition as a focusing surface, if the image with the highest definition is in the first image or the last image, amplifying the pulse jump range, acquiring and calculating again until convergence (the image with the highest definition is not in the first image or the last image), and marking the converged coordinates (x _ ②, y _ ② and z _ ②) as a calibrated second point.
And thirdly, moving the microscopic imaging system, aligning the center of the field of view of the microscopic imaging system to the position of the endpoint of the screen to be measured, acquiring a series of images according to a fixed pulse interval, calculating the definition of each image, taking the position with the highest image definition as a focusing plane, if the image with the highest definition is in the first image or the last image, amplifying the pulse skipping range, acquiring and calculating again until convergence (the image with the highest definition is not in the first image or the last image), and marking the converged coordinates (x _ fifth, y _ fifth and z _ fifth) as a calibrated third point.
And fourthly, solving the plane equation by taking the convergence coordinates of the points I, II and V as three fixed points of the plane equation to obtain coefficients (alpha _ I, beta _ I and zeta _ I).
And fifthly, obtaining other three plane equation coefficients (alpha _ phi, beta _ phi, zeta _ phi), (alpha _ phi, beta _ phi and zeta _ phi) by the same steps from the first step to the fourth step respectively, and completing calibration.
According to the technical scheme, the embodiment of the application provides a method for quickly calibrating the focusing surface of the microscopic imaging system. The calibration method comprises the steps that four end points and a center point of a screen to be detected are selected as calibration points, and the calibration points divide the screen to be detected into four planes; establishing plane equations of the four planes; and solving the plane equation to obtain a plane equation coefficient. The screen to be tested is divided into four triangular areas, and plane equation fitting is carried out on the four triangular areas respectively. The plane is changed into four triangles, so that the accumulated error caused by the distance is reduced, and the error of each point is reduced to the maximum extent due to the triangular plane, so that the phenomenon that the angle which is not involved is very fuzzy due to the fact that the plane is made in the whole area of the mobile phone screen is avoided, and the curved surface equation fitting is simplified.
Referring to fig. 3, an embodiment of the present application provides a focus positioning method for a microscopic imaging system, including:
step S21, acquiring a defect coordinate of a to-be-focused point;
the defect coordinate of the to-be-focused point refers to the coordinate of a point mapped by the center of the field of view of the microscopic imaging system at the imaging position of the mobile phone screen.
Step S22, judging the plane area where the focus to be focused is located according to the defect coordinates;
according to the defect coordinates, the plane area of the focus to be focused can be determined. But there are points at the intersection of two planar regions for which the following method decision is provided for this application.
The determination order of the planar regions is preset, for example, the determination order of the planar regions is a, B, C, D, and the determination order of the planar regions can be set according to specific situations.
Sequentially judging whether the focus to be focused is in the range of the plane area or not according to the judging sequence of the plane area;
if so, judging to end; if not, the next planar area is determined.
For example, a point located at the boundary between a and B is determined to be located in the a-plane area because it is determined with priority whether the point is located in the a-plane area. Similarly, a point located at the boundary between a and D is determined to be located in the a-plane area because it is determined preferentially whether the point is located in the a-plane area.
And step S23, determining the distance between the point to be focused and the screen to be detected according to the plane equation of the plane area where the point to be focused is located and the defect coordinate.
The method for focusing and positioning the microscopic imaging system is characterized in that the method for focusing and positioning the microscopic imaging system is used for roughly detecting the defects of the screen to be detected, and the microscopic imaging system is used for re-judging the rough detection result so as to improve the accuracy of detecting the defects of the screen.
For further explanation of the present application, the following detailed description will be provided with reference to specific examples to describe the focus positioning method of the microscopic imaging system, but they should not be construed as limiting the scope of the present application.
Example 2
Firstly, acquiring defect coordinates (x, y) of a focus to be focused;
secondly, judging which plane area (x, y) the focus to be focused (the point mapped by the center of the field of view of the microscopic imaging system at the imaging position of the mobile phone screen) belongs to, for example, the plane area A;
and thirdly, calculating to obtain a z value according to the plane equation of the plane where the focus to be focused is located and the defect coordinate, namely substituting the defect coordinate (x, y) into the plane equation of the plane area A, namely determining the distance between the focus to be focused and the screen to be detected.
According to the technical scheme, the focusing and positioning method of the microscopic imaging system comprises the steps of obtaining a defect coordinate of a to-be-focused point; judging the plane area where the focus to be focused is located according to the defect coordinates; and determining the distance between the point to be focused and the screen to be detected according to the plane equation of the plane area where the point to be focused is located and the defect coordinate. According to the method, the screen to be measured is divided into four triangular areas, the four triangular areas are subjected to plane equation fitting respectively, when different coordinates need to be focused, the triangular areas where the points are located can be judged, corresponding equations are substituted, and a z value is obtained. The plane is changed into four triangles, so that the accumulated error caused by the distance is reduced, and the error of each point is reduced to the maximum extent due to the triangular plane, so that the phenomenon that the angle which is not involved is very fuzzy due to the fact that the plane is made in the whole area of the mobile phone screen is avoided, and the curved surface equation fitting is simplified.
Referring to fig. 4, an embodiment of the present application provides a device for quickly calibrating a focusing surface of a microscopic imaging system, including:
the calibration point selecting unit 11 is configured to select four end points and a center point of a screen to be detected as calibration points, where the calibration points divide the screen to be detected into four plane areas;
a plane equation establishing unit 12, configured to establish plane equations of the four plane areas;
and the plane equation solving unit 13 is used for solving the plane equation to obtain a plane equation coefficient.
In some embodiments, the plane equation solving unit 13 includes:
the convergence coordinate acquisition unit is used for acquiring two adjacent endpoint convergence coordinates and a center point convergence coordinate of the screen to be detected;
and the plane equation solving subunit is used for substituting the two adjacent endpoint convergence coordinates and the central point convergence coordinate into the plane equation to obtain a plane equation coefficient.
In some embodiments, the convergent coordinate acquisition unit includes:
the acquisition unit is used for moving the microscopic imaging system to the end point or the central point and acquiring images at pulse intervals;
a calculating unit for calculating the definition of the image;
the focusing surface selecting unit is used for selecting a position corresponding to the image with the highest definition as a focusing surface;
the judging unit is used for judging whether the image with the highest definition is the first image or the last image;
and the convergence coordinate selecting unit is used for selecting the position coordinate corresponding to the highest-definition image as a convergence coordinate if the highest-definition image is not the first image or the last image.
In some embodiments, the convergent coordinate acquisition unit further comprises:
the amplifying unit is used for amplifying the pulse skipping range and re-collecting the image if the image with the highest definition is the first image or the last image;
and the repeated execution unit is used for repeatedly executing the step of calculating the definition of the image until the position coordinate corresponding to the image with the highest definition is selected as the convergence coordinate.
Referring to fig. 5, an embodiment of the present application provides a focus positioning apparatus for a microscopic imaging system, including:
a defect coordinate acquiring unit 21 configured to acquire a defect coordinate of a focus to be focused;
the judging unit 22 is used for judging the plane area where the focus to be focused is located according to the defect coordinates;
the determining unit 23 is configured to determine a distance between the to-be-focused point and the screen to be detected according to the plane equation of the plane area where the to-be-focused point is located and the defect coordinate.
According to the technical scheme, the embodiment of the application provides a method and a device for quickly calibrating and positioning a focusing surface of a micro-imaging system. The calibration method comprises the steps that four end points and a center point of a screen to be detected are selected as calibration points, and the calibration points divide the screen to be detected into four plane areas; establishing plane equations of the four plane areas; and solving the plane equation to obtain a plane equation coefficient. The focusing positioning method comprises the steps of obtaining a defect coordinate of a to-be-focused point; judging the plane area where the focus to be focused is located according to the defect coordinates; and determining the distance between the point to be focused and the screen to be detected according to the plane equation of the plane area where the point to be focused is located and the defect coordinate. According to the method, the screen to be measured is divided into four triangular areas, the four triangular areas are subjected to plane equation fitting respectively, when different coordinates need to be focused, the triangular areas where the points are located can be judged, corresponding equations are substituted, and a z value is obtained. The plane is changed into four triangles, so that the accumulated error caused by the distance is reduced, and the error of each point is reduced to the maximum extent due to the triangular plane, so that the phenomenon that the angle which is not involved is very fuzzy due to the fact that the plane is made in the whole area of the mobile phone screen is avoided, and the curved surface equation fitting is simplified.
It should be noted that, in this document, terms such as "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It will be understood that the present application is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (10)

1. A method for quickly calibrating a focusing surface of a microscopic imaging system is characterized by comprising the following steps:
selecting four end points and a center point of a screen to be detected as calibration points, wherein the calibration points divide the screen to be detected into four triangular plane areas;
establishing plane equations of the four plane areas;
and solving the plane equation to obtain a plane equation coefficient.
2. The method for rapidly calibrating the focal plane of the microscopic imaging system according to claim 1, wherein the step of solving the plane equation to obtain the plane equation coefficients comprises:
acquiring two adjacent endpoint convergence coordinates and a center point convergence coordinate of the screen to be detected;
and substituting the convergence coordinates of the two adjacent end points and the convergence coordinate of the central point into the plane equation to obtain a plane equation coefficient.
3. The method for rapidly calibrating the focal plane of the microscopic imaging system according to claim 2, wherein the step of obtaining the convergence coordinates of two adjacent end points and the convergence coordinates of the center point of the screen to be detected comprises:
moving the microscopic imaging system to the end point or the central point, and acquiring images at pulse intervals;
calculating the definition of the image;
selecting a position corresponding to the image with the highest definition as a focusing surface;
judging whether the image with the highest definition is the first image or the last image;
and if the highest-definition image is not the first image or the last image, selecting the position coordinate corresponding to the highest-definition image as a convergence coordinate.
4. The method for rapidly calibrating the focal plane of the microscopic imaging system according to claim 3, wherein the step of obtaining the convergence coordinates of two adjacent end points and the convergence coordinates of the center point of the screen to be detected further comprises:
if the image with the highest definition is the first image or the last image, amplifying the pulse skipping range and re-collecting the image;
and repeating the step of calculating the definition of the image until the position coordinate corresponding to the image with the highest definition is selected as a convergence coordinate.
5. A focusing and positioning method of a microscopic imaging system is characterized by comprising the following steps:
acquiring a defect coordinate of a to-be-focused point;
judging the plane area where the focus to be focused is located according to the defect coordinates;
determining the distance between the focus point to be focused and the screen to be detected according to the plane equation of the plane area where the focus point to be focused is located and the defect coordinate; the plane equation of the plane area is generated by the plane equation coefficient in the rapid calibration method of the focal plane of the microscopic imaging system as claimed in any one of claims 1 to 4.
6. A device for quickly calibrating a focal plane of a microscopic imaging system, which is used for executing the method for quickly calibrating the focal plane of the microscopic imaging system according to any one of claims 1-4, and which comprises:
the calibration point selection unit is used for selecting four end points and a center point of a screen to be detected as calibration points, and the calibration points divide the screen area to be detected into four triangular plane areas;
the plane equation establishing unit is used for establishing plane equations of the four plane areas;
and the plane equation solving unit is used for solving the plane equation to obtain a plane equation coefficient.
7. The microscopic imaging system focusing surface rapid calibration device according to claim 6, wherein the plane equation solving unit comprises:
the convergence coordinate acquisition unit is used for acquiring two adjacent endpoint convergence coordinates and a center point convergence coordinate of the screen to be detected;
and the plane equation solving subunit is used for substituting the two adjacent endpoint convergence coordinates and the central point convergence coordinate into the plane equation to obtain a plane equation coefficient.
8. The device for rapidly calibrating the focal plane of a microscopic imaging system according to claim 7, wherein the convergent coordinate acquisition unit comprises:
the acquisition unit is used for moving the microscopic imaging system to the end point or the central point and acquiring images at pulse intervals;
a calculating unit for calculating the definition of the image;
the focusing surface selecting unit is used for selecting a position corresponding to the image with the highest definition as a focusing surface;
the judging unit is used for judging whether the image with the highest definition is the first image or the last image;
and the convergence coordinate selecting unit is used for selecting the position coordinate corresponding to the highest-definition image as a convergence coordinate if the highest-definition image is not the first image or the last image.
9. The device for rapidly calibrating the focal plane of a microscopic imaging system according to claim 8, wherein the convergent coordinate capturing unit further comprises:
the amplifying unit is used for amplifying the pulse skipping range and re-collecting the image if the image with the highest definition is the first image or the last image;
and the repeated execution unit is used for repeatedly executing the step of calculating the definition of the image until the position coordinate corresponding to the image with the highest definition is selected as the convergence coordinate.
10. A focusing and positioning device of a microscopic imaging system is characterized by comprising:
the defect coordinate acquisition unit is used for acquiring the defect coordinate of the focus to be focused;
the judging unit is used for judging the plane area where the focus to be focused is located according to the defect coordinates;
the determining unit is used for determining the distance between the to-be-focused point and the screen to be detected according to the plane equation of the plane area where the to-be-focused point is located and the defect coordinate; the plane equation of the plane area is generated by the plane equation coefficient in the focal plane fast calibration device of the microscopic imaging system as claimed in any one of claims 6 to 9.
CN201811318299.XA 2018-11-07 2018-11-07 Method and device for quickly calibrating focusing surface and positioning focusing of microscopic imaging system Active CN109239901B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811318299.XA CN109239901B (en) 2018-11-07 2018-11-07 Method and device for quickly calibrating focusing surface and positioning focusing of microscopic imaging system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811318299.XA CN109239901B (en) 2018-11-07 2018-11-07 Method and device for quickly calibrating focusing surface and positioning focusing of microscopic imaging system

Publications (2)

Publication Number Publication Date
CN109239901A CN109239901A (en) 2019-01-18
CN109239901B true CN109239901B (en) 2021-08-27

Family

ID=65077098

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811318299.XA Active CN109239901B (en) 2018-11-07 2018-11-07 Method and device for quickly calibrating focusing surface and positioning focusing of microscopic imaging system

Country Status (1)

Country Link
CN (1) CN109239901B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111526297B (en) * 2020-06-18 2020-09-25 武汉精立电子技术有限公司 Curved screen image acquisition method and device and terminal equipment
CN113109354B (en) * 2021-04-07 2024-06-11 上海御微半导体技术有限公司 Calibration block, defect detection device and defect detection method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101762232A (en) * 2008-12-23 2010-06-30 鸿富锦精密工业(深圳)有限公司 Multi-surface focusing system and method
CN104614952A (en) * 2014-12-30 2015-05-13 江苏影速光电技术有限公司 Real-time focusing method and device based on passive focusing
CN108200342A (en) * 2018-01-19 2018-06-22 广东顺德墨赛生物科技有限公司 Auto focusing method, device, computer equipment and storage medium
CN108628061A (en) * 2018-05-07 2018-10-09 凌云光技术集团有限责任公司 A kind of adaptive Atomatic focusing method of industrial camera and device
CN108760767A (en) * 2018-05-31 2018-11-06 电子科技大学 Large-size LCD Screen defect inspection method based on machine vision

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8896808B2 (en) * 2006-06-21 2014-11-25 Asml Netherlands B.V. Lithographic apparatus and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101762232A (en) * 2008-12-23 2010-06-30 鸿富锦精密工业(深圳)有限公司 Multi-surface focusing system and method
CN104614952A (en) * 2014-12-30 2015-05-13 江苏影速光电技术有限公司 Real-time focusing method and device based on passive focusing
CN108200342A (en) * 2018-01-19 2018-06-22 广东顺德墨赛生物科技有限公司 Auto focusing method, device, computer equipment and storage medium
CN108628061A (en) * 2018-05-07 2018-10-09 凌云光技术集团有限责任公司 A kind of adaptive Atomatic focusing method of industrial camera and device
CN108760767A (en) * 2018-05-31 2018-11-06 电子科技大学 Large-size LCD Screen defect inspection method based on machine vision

Also Published As

Publication number Publication date
CN109239901A (en) 2019-01-18

Similar Documents

Publication Publication Date Title
JP6282508B2 (en) Edge detection tool enhanced for edges on uneven surfaces
US8311311B2 (en) Optical aberration correction for machine vision inspection systems
US7724942B2 (en) Optical aberration correction for machine vision inspection systems
CN106814083B (en) Filter defect detection system and detection method thereof
CN108489423B (en) Method and system for measuring horizontal inclination angle of product surface
Van Den Heuvel et al. Digital close-range photogrammetry using artificial targets
US9456120B2 (en) Focus height repeatability improvement in a machine vision inspection system
CN109239901B (en) Method and device for quickly calibrating focusing surface and positioning focusing of microscopic imaging system
CN102768762A (en) Digital camera calibration method targeted to shield tunnel defect digital radiography detection and device thereof
JP2011153905A (en) Optical aberration correction for machine vision inspection system
US6532310B1 (en) Removing noise caused by artifacts from a digital image signal
CN211374003U (en) Lens testing device
CN117392127B (en) Method and device for detecting display panel frame and electronic equipment
CN117637513B (en) Method, device, equipment and storage medium for measuring critical dimension
CN110653016B (en) Pipetting system and calibration method thereof
CN112635346A (en) Wafer detection method, semiconductor detection device and storage medium
US8102516B2 (en) Test method for compound-eye distance measuring apparatus, test apparatus, and chart used for the same
CN115002450B (en) Test chart card detection method and system
US20220398778A1 (en) Lens calibration method for digital imaging apparatus
KR101703715B1 (en) The apparatus for measuring camera principal point and the method thereof
CN115638723A (en) Shape inspection apparatus and height image processing apparatus
CN109916341B (en) Method and system for measuring horizontal inclination angle of product surface
CN113670280A (en) Verticality measuring device and method
CN112710662A (en) Generation method and device, generation system and storage medium
JPH0252204A (en) Measuring instrument for three-dimensional coordinate

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
CB02 Change of applicant information

Address after: 100094 Beijing city Haidian District Cui Hunan loop 13 Hospital No. 7 Building 7 room 701

Applicant after: Lingyunguang Technology Co.,Ltd.

Address before: 100094 Beijing city Haidian District Cui Hunan loop 13 Hospital No. 7 Building 7 room 701

Applicant before: Beijing lingyunguang Technology Group Co.,Ltd.

Address after: 100094 Beijing city Haidian District Cui Hunan loop 13 Hospital No. 7 Building 7 room 701

Applicant after: Beijing lingyunguang Technology Group Co.,Ltd.

Address before: 100094 Beijing city Haidian District Cui Hunan loop 13 Hospital No. 7 Building 7 room 701

Applicant before: LUSTER LIGHTTECH GROUP Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant