Device and method for detecting levelness of objective table of full-automatic microscopic imager
By designing a level detection device for fully automatic microscope images, using automatic focus and ROI area center calibration, the automation problem of stage level detection is solved, the detection efficiency and accuracy are improved, and the cost is reduced. in a wide range of microscopic imaging instruments.
Patent Information
- Application Number
- CN202411213815.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-31
- Publication Date
- 2024-12-06
AI Technical Summary
The prior art is difficult to automatically detect and evaluate the stage level of fully automatic microscope images without the help of other instruments and expertise, resulting in impact on imaging quality and high detection costs and limited applicability.
A detection device including a level test device, a fixture, a stage and an imaging device is designed to perform automatic focus and ROI area center calibration by moving the imaging device to multiple imaging display elements positions to calculate the stage plane and imaging. The angle of the plane is included, and the controller receives position data for calculation to determine the level of the stage.
It realizes stage level detection with unmanned error, simple operation and high efficiency, provides reasonable reports and guides instrument calibration, and is suitable for all fully automatic microscope images with automatic XYZ axis, which is low cost and widely applicable. .
Smart Images

Figure CN119085534A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of instrument detection, and more particularly to a device and method for detecting the horizontality of a stage of a full-automatic microscope imaging instrument. Background Art
[0002] Currently, the fully automatic microscope imagers on the market can perform microscopic imaging of a single specimen over a large area or of different specimens arranged on the stage at a time, thanks to their large-stroke stages. There are two types of stage movement mechanisms: one is that the objective lens does not move, and different specimen areas are observed and imaged by moving the stage; the other is that the stage does not move, and the objective lens and imaging module are integrated on a mobile platform, and the objective lens and imaging module are moved to the required specimen area by the movement of the mobile platform for imaging. The second method is particularly important for specimens that are not easy to move, such as living cells. This requires that the plane where the objective lens is located and the plane where the stage is located be absolutely horizontal to facilitate the imaging and subsequent analysis of the fully automatic microscope imager.
[0003] However, in reality, due to the machining accuracy, the errors of the motion mechanism itself, the assembly errors, etc., the plane where the stage is located and the plane where the objective lens is located may not be completely parallel. The horizontality of the stage will seriously affect the imaging quality of the fully automatic microscope. On the one hand, under the support of the objective lens magnification of the imager itself, the unclear imaging caused by the angle between the stage plane and the imaging plane will be magnified by the objective lens, resulting in a clear part of the same field of view and a blurred part. On the other hand, due to the existence of the angle, there will be a large difference between the Z axis near the intersection of the two planes and the position far from the intersection of the two planes, which is not conducive to fast focusing and imaging for high-throughput imaging. This requires the detection of the horizontality of the two or the angle between the two planes, especially when the instrument leaves the factory, it is more necessary to detect and evaluate its horizontality for correction.
[0004] At present, special instruments are required for levelness testing, such as flat gratings, laser level measuring instruments, etc., which are relatively expensive equipment and cannot be equipped in large quantities. It is even more impossible for each fully automatic microscopic imager to be equipped with a test instrument. Special instruments must have strict operating procedures and must be operated by professionals. Professional testing instruments have high environmental requirements and are only suitable for professional testing laboratories, not suitable for large-scale promotion. The existing solution CN 105547659 B "System and method for detecting the platform inclination of a digital slice pathology scanner" discloses a method that can be used to set a plurality of focus areas on the stage, and the focus areas are provided with parallel and equal-distance oblique lines. The linear array CCD is used to image the focus area to detect the distance from the lens to the platform to calculate whether the stage is horizontal. This method is more advanced than requiring a third-party instrument to detect whether the scanning platform of the digital slice scanner is horizontal, but it can only detect whether the scanning platform of the digital slice scanner is horizontal, because it sets the focus area on the stage of the slice scanner, and it cannot be generalized to detect the horizontality of the stage of all fully automatic microscopic imagers. Its focus area uses parallel and equidistant oblique lines, which do not have a calibration standard and are difficult to promote. In addition, it uses a linear array CCD to image the focus area, which introduces an independent imaging system in addition to the imaging system of the slice scanner itself (basically a planar array CCD or CMOS). Not only is the optical design complex, but the signal drawn out on the main light path itself causes the slice scanner's own imaging system to lose the signal. Therefore, although this invention has certain advancement, it can only be used for the instrument itself, is not easy to promote, and cannot be widely used in all fully automatic microscopic imagers. In addition, its parallel oblique lines of focus are not convenient to be verified and calibrated, and the test results are not convincing.
[0005] Therefore, how to propose a device and method for detecting the horizontality of the stage of a fully automatic microscope imager, which can automatically perform detection and evaluation using simple tools without the aid of other instruments and professional knowledge, detect and evaluate the horizontality of the stage of the fully automatic microscope imager, and give a reasonable report to guide the tester to calibrate the instrument is a problem that technical personnel in this field urgently need to solve. Summary of the invention
[0006] In view of this, the present invention provides a device and method for detecting the horizontality of the stage of a fully automatic microscope imaging instrument. Without the aid of other instruments and professional knowledge, only simple tools are used to automatically perform detection and evaluation, detect and evaluate the horizontality of the stage of the fully automatic microscope imaging instrument, and give a reasonable report to guide the tester to adjust the instrument. In order to achieve the above purpose, the present invention adopts the following technical solutions:
[0007] A fully automatic microscope imaging instrument stage level detection device comprises: a level tester, a fixture, a stage, an imaging device and a controller; the level tester is respectively provided with a plurality of imaging display elements, the level tester is clamped on the fixture, the fixture is horizontally arranged on the stage, the imaging device moves in the XYZ axis relative to the stage, the imaging device is connected to the controller signal, the imaging device collects position data of the imaging display elements, and the controller receives the position data of the plurality of imaging display elements and calculates the level of the stage.
[0008] Optionally, the size of the levelness testing device is adapted to the movement range of the imaging device.
[0009] Optionally, arranging a plurality of imaging display elements on the levelness testing tool respectively includes: arranging a plurality of identical cross marks, C-shaped rulers or standard circles as imaging display elements at the positions of a plurality of vertices of the levelness testing tool, and the center point of the cross marks or the scale of the ruler is used as a positioning point.
[0010] Optionally, an imaging plane is constructed based on the collected position data of multiple imaging display elements, and a stage plane is constructed based on the reference position of the stage. The angle between the imaging plane and the stage plane is calculated and compared with a test standard to determine the horizontality of the imaging device stage.
[0011] Optionally, the imaging device is a fully automatic microscopic imager.
[0012] Optionally, a method for detecting the horizontality of a stage of a fully automatic microscope imaging instrument is applied to a device for detecting the horizontality of a stage of a fully automatic microscope imaging instrument, comprising:
[0013] S1: Move the imaging device to the positions of multiple imaging display elements of the levelness tester respectively, perform autofocus and ROI area center calibration, and calculate the angle between the stage plane and the imaging plane;
[0014] S2: Repeat step S1 to calculate the average value of the angle between the stage plane and the imaging plane.
[0015] Optionally, the calculating the average value of the angle between the stage plane and the imaging plane includes:
[0016] Repeat the test n times, the angle of the i-th test is θ i , calculate the average value of the angle between the stage plane and the imaging plane
[0017] Optionally, the step of S1 is:
[0018] S101: moving the imaging device to the imaging display element position;
[0019] S102: Optimize auto focus at S101 position;
[0020] S103: Calibrate the center position of the ROI area so that the center of the imaged ROI area is located at the center of the imaging device;
[0021] S104: Automatically focusing the imaging display element again and acquiring position data;
[0022] S105: Move to other n-1 imaging display element positions and repeat steps S101 to S104;
[0023] S106: Using the position data of one of the positions as the reference position, subtracting the Z-axis data of the other n-1 positions to obtain the deviation data of the Z-axis in the vertical direction, and calculating the angle between the test plane of the loading platform formed by the n-1 points and the imaging plane where the reference position is located.
[0024] It can be seen from the above technical solutions that, compared with the prior art, the present invention discloses a device and method for detecting the horizontality of a stage of a fully automatic microscope imaging instrument, which has the following beneficial effects:
[0025] The present invention proposes a device for detecting the horizontality of a stage of a fully automatic microscopic imaging instrument, comprising: a horizontality testing apparatus, a fixture, a stage, an imaging device and a controller; a plurality of imaging display elements are respectively arranged on the horizontality testing apparatus, the horizontality testing apparatus is clamped on the fixture, the fixture is horizontally arranged on the stage, the imaging device moves the XYZ axis relative to the stage, the imaging device is connected to the controller signal, the imaging device collects the position data of the imaging display element, the controller receives the position data of the plurality of imaging display elements and calculates the horizontality of the stage. The present invention does not require special instruments, and the horizontality of the stage can be tested by using the fully automatic microscopic imaging instrument itself and with the aid of simple instruments; the operation is simple and the efficiency is high; there is no human error; the report can be output, so that the detection result is reasonable and well-founded; the applicability is wide, and any fully automatic microscopic imaging instrument with an automatic XYZ axis can be realized by using the apparatus, the cost is low, and it can be widely promoted. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.
[0027] Figure 1 Schematic diagram of the levelness testing device provided by the present invention.
[0028] Figure 2 Flowchart of a single test location provided for the present invention.
[0029] Figure 3 A single test flow chart provided by the present invention.
[0030] Figure 4 A schematic diagram of a single test result provided by the present invention in space.
[0031] Figure 5 This is a schematic diagram of the angle between two plane vectors provided by the present invention. DETAILED DESCRIPTION
[0032] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0033] The embodiment of the present invention discloses a device for detecting the horizontality of a stage of a fully automatic microscope imaging instrument, comprising: a horizontality testing apparatus, a fixture, a stage, an imaging device and a controller; a plurality of imaging display elements are respectively arranged on the horizontality testing apparatus, the horizontality testing apparatus is clamped on the fixture, the fixture is horizontally arranged on the stage, the imaging device moves along the XYZ axes relative to the stage, the imaging device is connected to the controller by signal, the imaging device collects position data of the imaging display elements, and the controller receives the position data of the plurality of imaging display elements and calculates the horizontality of the stage.
[0034] Furthermore, the levelness testing device clamped by the fixture is level with the stage.
[0035] Furthermore, the size of the levelness testing device is adapted to the movement range of the imaging device.
[0036] Furthermore, the prior art provides a focusing area for the stage of the slice scanner, which cannot be generalized to detect the horizontality of the stage of all fully automatic microscopic imagers, and the focusing area uses parallel oblique lines with equal distances, which do not have a calibration standard and are even more difficult to promote. Its focused parallel oblique lines are not convenient to be calibrated and tested, and the test results are not convincing. Therefore, the levelness test instrument described in the present invention is a standard size plate, and the levelness test instrument has a rectangular structure, and the length and width of the rectangular structure are the same as the length and width of the SBS orifice plate; a plurality of positioning points are provided on the rectangular structure. Currently, the fully automatic microscopic imagers on the market can image the orifice plates of the SBS standard, so a special instrument can be designed using the SBS orifice plate fixture of the fully automatic microscopic imager for testing the positioning accuracy and repeatability of the XYZ axis. If there is no SBS plate fixture, other fixtures can be used. As long as the fully automatic microscope imager can move in the XYZ axis, it is applicable. Since the SBS plate has a wide range of applications, the size design and placement of the SBS plate fixture are preferred. The SBS standard is an internationally used laboratory spare parts standard. Laboratory spare parts that meet the SBS standard, such as cell culture plates, are compatible with most instruments and automation equipment.
[0037] Furthermore, the level tester is provided with a plurality of imaging display elements, including: providing a plurality of identical cross marks, C-shaped rulers or standard circles as imaging display elements at the positions of the vertices of the level tester, and the center points of the cross marks or the scales of the ruler are used as positioning points.
[0038] Specifically, the focused imaging shows that the original is a standard cross mark (it can also be a C-shaped ruler or a standard circle, etc. Whether it is a cross mark, a standard circle or a ruler, it is a recognized one in the field of microscopic imaging and can be verified and calibrated by formal testing units such as the Institute of Metrology / China Institute of Measurement and Control. The test results made by the verified and calibrated tools with calibration certificates are convincing.
[0039] Furthermore, an imaging plane is constructed based on the collected position data of multiple imaging display elements, a stage plane is constructed based on the reference position of the stage, the angle between the imaging plane and the stage plane is calculated, and compared with the test standard to determine the horizontality of the imaging device stage.
[0040] Furthermore, the imaging device is a fully automatic microscopic imager.
[0041] In a specific embodiment, a method for detecting the levelness of a stage of a fully automatic microscope imaging instrument is applied to a device for detecting the levelness of a stage of a fully automatic microscope imaging instrument, comprising:
[0042] S1: Move the imaging device to the positions of multiple imaging display elements of the levelness tester respectively, perform autofocus and ROI area center calibration, and calculate the angle between the stage plane and the imaging plane;
[0043] S2: Repeat step S1 to calculate the average value of the angle between the stage plane and the imaging plane.
[0044] Furthermore, the calculating the average value of the angle between the stage plane and the imaging plane includes:
[0045] Repeat the test n times, the angle of the i-th test is θ i , calculate the average value of the angle between the stage plane and the imaging plane
[0046] Furthermore, the step of S1 is:
[0047] S101: moving the imaging device to the imaging display element position;
[0048] S102: Optimize auto focus at S101 position;
[0049] S103: Calibrate the center position of the ROI area so that the center of the imaged ROI area is located at the center of the imaging device;
[0050] S104: Automatically focusing the imaging display element again and acquiring position data;
[0051] S105: Move to other n-1 imaging display element positions and repeat steps S101 to S104;
[0052] S106: Using the position data of one of the positions as the reference position, subtracting the Z-axis data of the other n-1 positions to obtain the deviation data of the Z-axis in the vertical direction, and calculating the angle between the test plane of the loading platform formed by the n-1 points and the imaging plane where the reference position is located.
[0053] In a specific embodiment, a fully automatic microscope imaging instrument stage level detection device, such as Figure 1As shown, specifically including: SBS orifice plate is a universal orifice plate, SBS is a universal consumable standard for a variety of testing instruments, and the fully automatic microscopic imagers currently on the market can image SBS standard orifice plates, so a special instrument can be designed using the SBS orifice plate fixture of the fully automatic microscopic imager for XYZ axis positioning accuracy and repeat positioning accuracy testing. If there is no SBS orifice plate fixture, other fixtures can also be used, as long as the fully automatic microscopic imager that can move the XYZ axis is applicable. It is just that the SBS orifice plate is basically the maximum XY axis travel of the fully automatic microscope imager, and because the SBS orifice plate has a wide range of applications, the size design and placement of the SBS orifice plate fixture are preferred. On a thin rectangular block the size of the SBS orifice plate (which can be plastic or other metal materials), four identical cross marks (preferably the commonly used 0.01 mm cross marks) are set near the four vertices as positioning points. It is tentatively named a levelness tester. The length and width of the instrument are known (SBS standard), and the specific values of the XY axes of the center points of the four cross marks are known.
[0054] According to the described fully automatic microscope stage level detection device, an automated test is performed: the level tester is placed on the stage, and then moved to the positions of the four cross-marks respectively, so that the imaging center point of the fully automatic microscope imager coincides with the center point of the cross-marks, and the focus is clear and the image is formed, and the Z-axis values of the four points are recorded respectively. Since the positions of the four cross-marks center points can form a plane, the plane and the stage plane are either parallel (0°) or have an angle. If the Z-axis values of the four points are consistent, the two planes are parallel. If the Z-axis values of the four points are different, the angle between the two planes, that is, the offset angle of the Z-axis in the vertical direction, is calculated using the known XY-axis values of the four points according to the Pythagorean theorem and inverse trigonometric functions. It can be compared according to the test standard (depending on the magnification of the fully automatic microscope, the test standard is different, for example, under the 4X objective lens, 2° is used as the reference standard). If the offset angle is greater than the test standard, the automated detection software will give a prompt that the instrument is not level and the specific angle is what it is, and give a graphic report to indicate which of the four points has the largest offset, so as to guide the inspection personnel to adjust or correct the instrument. At the same time, the report can also include information such as the inspection time, the inspection personnel, the model and serial number of the instrument, so that it can be displayed to the instrument owner and other relevant personnel and kept as a test record.
[0055] In a specific embodiment, a method for detecting the horizontality of a stage of a fully automatic microscope imaging device is provided. Figure 1 The levelness tester shown is placed on the loading platform of the fully automatic microscopic imaging instrument, combined with Figure 2 As shown, operate on a single test point:
[0056] Step 1: Move the camera of the fully automatic microscopic imaging instrument to the P0 position, which is not fixed. In the embodiment, this position is selected as the P0 position;
[0057] The imaging display element at the P0 position is fully automatically focused so that the imaging display element can be clearly imaged. Full automatic focus is to automatically focus from the starting point to the end point of the Z axis where the camera is located. Only the first test uses full automatic focus, and subsequent tests use optimized automatic focus to increase the test speed. Optimized automatic focus is to select a smaller focus interval and a suitable first focus step length for a rough focus in combination with the focus curve of the imaging image when the approximate position of the focus is known, and then select a focus step length of a suitable multiple. This embodiment uses a 4-fold step interval, that is, 2 step intervals before and after the focus for secondary precise focusing. The focusing algorithm includes but is not limited to various clarity algorithms that come with OpenCV, such as scharr, sobel, laplacian, blur, canny, etc. According to the calculation algorithm for image clarity provided by OpenCV, the clarity corresponding to the image can be obtained, or the focusing algorithm that comes with the microscope imager or is self-developed by the microscope imager manufacturer.
[0058] Step 2: Use the OpenCV algorithm to calculate the center position of the ROI area of the imaging display element on the imaging device, and continuously adjust the X-axis and Y-axis of the fully automatic microscope imager to make the ROI area center of the imaging display element on the imaging device coincide with the center of the imaging device.
[0059] Step 3: Optimize the autofocus again. Since the loading platform may be unbalanced, moving the imaging device may cause the image to not be in the clearest position. Optimize the autofocus a second time to ensure that the Z-axis data obtained is accurate.
[0060] Step 4: Combine Figure 3 , Figure 4 and Figure 5 As shown, it is a single test of the loading platform of the fully automatic microscopic imaging instrument in the embodiment: Figure 1 The position P0 shown is tested to obtain the position data P0 of P0, wherein the X-axis coordinate is X0, the Y-axis coordinate is Y0, and the Z-axis coordinate is Z0. The position P0 is taken as the reference position and is considered to be on the imaging plane of the horizontality test device of the loading platform. The other three positions are tested to see whether they are on the imaging plane.
[0061] Figure 1 The other three positions P i , i is 1, 2, 3, and its position data P i The XYZ coordinates are X i , Y i , Zi , the tested P1, P2, and P3 positions are as follows Figure 4 shown.
[0062] The calculated relative position coordinates are:
[0063] P i=1,2,3 =(X i -X0,Y i -Y0,Z i -Z0);
[0064] Since what is calculated is the angle between the imaging plane of the loading platform of the fully automatic microscope imaging instrument and the plane of the imaging device, only the relative position of the Z axis needs to be calculated.
[0065] Step 5: If Figure 4 As shown, taking the plane where P0 is located as the reference system, the vector of the reference plane where P0 is located is as follows Figure 5 , is a plane perpendicular to the Z axis, then is (1, 1, 0). P1, P2, and P3 form a plane. Using the method of undetermined coefficients, let the plane equation be:
[0066] aX+bY+cZ+d=0;
[0067] Calculate the angle between the planes where P1, P2, and P3 are located and the reference plane where P0 is located. Then, the planes where P1, P2, and P3 are located can be moved to pass through the origin, and d = 0. The above plane equation can be simplified to:
[0068] aX+bY+cZ=0;
[0069] The plane normal vector (a, b, c) is obtained by calculating the cross product of the vectors P1P2 (X2-X1, Y2-Y1, Z2-Z1) and P1P3 (X3-X1, Y3-Y1, Z3-Z1) between the two points. The plane normal is perpendicular to these two vectors, so the normal vector
[0070]
[0071] but:
[0072] a=(Y2-Y1)*(Z3-Z1)-(Z2-Z1)*(Y3-Y1);
[0073] b = (X3-X1)*(Z2-Z1)-(X2-X1)*(Z3-Z1);
[0074] c=(X2-X1)*(Y3-Y1)-(X2-X1)*(Y2-Y1);
[0075] The angle between two planes can be calculated using the vector angle formula to obtain the smaller angle between them:
[0076]
[0077] Assumptions is (i, j, k), The vector is (a, b, c), and substituting it into the above equation yields:
[0078]
[0079] Will is (1,1,0) and Substituting the vector into the above equation we get:
[0080]
[0081] θ is in radians, which can be converted to an angle as follows:
[0082]
[0083] The embodiment repeats the test for the i-th time to obtain the angle value anglei of the loading platform of the fully automatic microscopic imaging instrument. The test is repeated for n times and the average value of the loading platform of the fully automatic microscopic imaging instrument is
[0084]
[0085] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.
[0086] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A fully automatic microscope stage level detection device, It is characterized in that include: A level testing apparatus, a fixture, a stage, an imaging device and a controller; a plurality of imaging display elements are respectively arranged on the level testing apparatus, the level testing apparatus is clamped on the fixture, the fixture is horizontally arranged on the stage, the imaging device moves in the XYZ axis relative to the stage, the imaging device is connected to the controller by signal, the imaging device collects position data of the imaging display elements, the controller receives the position data of the plurality of imaging display elements and calculates the levelness of the stage.
2. A fully automatic microscope stage level detection device according to claim 1, It is characterized in that The size of the levelness testing device is adapted to the movement stroke of the imaging device.
3. The fully automatic microscope stage level detection device according to claim 1, It is characterized in that The multiple imaging display elements are respectively arranged on the levelness testing tool, including: multiple identical cross marks, C-shaped scales or standard circles are arranged at the positions of the vertices of the multiple levelness testing tools as imaging display elements.
4. The fully automatic microscope stage level detection device according to claim 3, It is characterized in that An imaging plane is constructed based on the collected position data of multiple imaging display elements, and a stage plane is constructed based on the reference position of the stage. The angle between the imaging plane and the stage plane is calculated and compared with the test standard to determine the horizontality of the imaging device stage.
5. The fully automatic microscope stage level detection device according to claim 1, It is characterized in that The imaging device is a fully automatic microscopic imager.
6. A method for detecting the levelness of a stage of a fully automatic microscopic imaging instrument, applied to any one of the devices for detecting the levelness of a stage of a fully automatic microscopic imaging instrument in claims 1-5, It is characterized in that include: S1: Move the imaging device to the positions of multiple imaging display elements of the levelness tester respectively, perform autofocus and ROI area center calibration, and calculate the angle between the stage plane and the imaging plane; S2: Repeat step S1 to calculate the average value of the angle between the stage plane and the imaging plane.
7. A method for detecting the horizontality of a stage of a fully automatic microscopic imaging device according to claim 6, It is characterized in that The calculating the average value of the angle between the stage plane and the imaging plane comprises: Repeat the test n times, the angle of the i-th test is θ i , calculate the average value of the angle between the stage plane and the imaging plane 8. A method for detecting the horizontality of a stage of a fully automatic microscopic imaging device according to claim 6, It is characterized in that The steps of S1 are: S101: moving the imaging device to the imaging display element position; S102: Optimize auto focus at S101 position; S103: Calibrate the center position of the ROI area so that the center of the imaged ROI area is located at the center of the imaging device; S104: Automatically focusing the imaging display element again and acquiring position data; S105: Move to other n-1 imaging display element positions and repeat steps S101 to S104; S106: Using the position data of one of the positions as the reference position, subtracting the Z-axis data of the other n-1 positions to obtain the deviation data of the Z-axis in the vertical direction, and calculating the angle between the test plane of the loading platform formed by the n-1 points and the imaging plane where the reference position is located.
