Capillary geometric dimension calculation method and device

Through the combination of multi-point fitting algorithm and dual light source components, the problem of large errors in traditional capillary geometric size measurement is solved and higher measurement accuracy and reliability are achieved.

CN119338892AInactive Publication Date: 2025-01-21WUHAN ZEMU TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411421121.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-12
Publication Date
2025-01-21
Estimated Expiration
Not applicable · inactive patent

Smart Images

  • Figure CN119338892A_ABST
    Figure CN119338892A_ABST
Patent Text Reader

Abstract

The invention relates to the field of capillary size calculation, and discloses a capillary geometric size calculation method, which comprises the following steps: S1, image positioning: finding the position of a capillary, and determining the center coordinate of an image and the range of subsequent measurement; s2, image binarization processing: respectively carrying out binarization processing on the outer circle and the inner circle; for an outer circle, a gray value is collected from the periphery to serve as a low threshold value of binaryzation; and an inner circle: calculating the boundary coordinates of the inner circle, obtaining the brightness and average brightness information at the boundary, obtaining the brightness information in the image, and calculating the binarized high threshold and the geometric dimension of the binarized image. By introducing a multi-point fitting algorithm, selecting a plurality of reference points on an inner circle and an outer circle, utilizing different fitting strategies, integrating results of multiple times of fitting, removing abnormal values and finally selecting an optimal solution, the method can effectively reduce measurement errors caused by image noise or irregular capillary surfaces, and the accuracy of the measurement is improved. Therefore, the reliability and stability of the fitting result are ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of capillary size calculation, and in particular to a method and device for calculating capillary geometric size. Background Art

[0002] Any tube with a very thin inner diameter is called a "capillary tube", usually referring to a thin tube with an inner diameter equal to or less than 1 mm. Because some tubes are as thin as hair, they are called capillaries. Currently, they can be seen in medicine and building materials. The geometric dimensions of the capillary tube directly affect the flow behavior of the fluid, the heat transfer efficiency and the progress of the chemical reaction. Therefore, accurate size calculation is of great significance for optimizing pipeline design, improving system efficiency and ensuring the accuracy of experimental results.

[0003] When calculating the geometric dimensions of a capillary, traditional capillary inner and outer diameter measurements usually introduce a two-point fitting algorithm, which is not precise in removing outliers and can lead to measurement errors caused by image noise or capillary surface irregularities. Traditional methods rely on simple geometric formulas and are easily affected by inner and outer diameter measurement errors. Traditional binarization processing methods usually rely on fixed thresholds, which can lead to measurement errors under complex lighting conditions. Summary of the invention

[0004] In view of the deficiencies in the prior art, the present invention provides a method and device for calculating the geometric dimensions of a capillary, which solves the problem of measurement errors generated when calculating the geometric dimensions of a capillary.

[0005] To achieve the above objectives, the present invention is implemented through the following technical solutions: A method for calculating capillary geometric dimensions, comprising the following steps:

[0006] S1: Image positioning: find the position of the capillary, determine the center coordinates of the image and the range of subsequent measurements;

[0007] S2: Image binarization: binarization of the outer circle and the inner circle respectively;

[0008] Outer circle: grayscale values ​​are collected from the periphery as the low threshold of binarization;

[0009] Inner circle: calculate the coordinates of the inner circle boundary, obtain the brightness and average brightness information at the boundary, obtain the brightness information inside the image, and calculate the high threshold of binarization and the geometric size of the binarized image;

[0010] S3: Diameter measurement: Select different points to fit the circle, and determine the best fit by the closest degree between the area of ​​the fitted circle and the area of ​​the ellipse;

[0011] S4: Major and minor axis measurement: Ellipse fitting is performed on the outer circle and the inner circle respectively, and the average value is obtained by multiple fittings and elimination of incorrect fittings;

[0012] S5: Circle diameter calibration: by measuring and comparing multiple samples, calculate the error and adjust the major and minor axis fitting values ​​of the ellipse;

[0013] S6: Wall thickness calculation: Use the calculation formula to calculate the average wall thickness through the circumference and area of ​​the ellipse;

[0014] Wall thickness difference calculation: calculate the wall thickness difference at different angles, and then get the maximum and minimum wall thickness difference;

[0015] Calculation of wall thickness difference: Calculate the wall thickness difference at different points using the distance formula from the center of the circle to the side of the ellipse and the distance formula between two points.

[0016] Preferably, the specific steps of measuring the diameter in step S3: selecting different points to fit a circle, and determining the best fit by the closest degree between the area of ​​the fitted circle and the area of ​​the ellipse are as follows:

[0017] The measurement methods of the outer circle diameter and the inner circle diameter are the same. Three different points on the image contour are selected to fit the circle. The images come from the binarized images in step S2. The selected strategies are:

[0018] A. Three confirmed points;

[0019] B. Select 3 points from 4 points, eliminate 1 point, and take the minimum fitting error;

[0020] C. Select 3 points from 5 points, eliminate 2 points, and take the minimum fitting error;

[0021] D. Select 3 points from 6 points, eliminate 3 points, and take the minimum fitting error;

[0022] Find the best result among the four fitting results as the fitting result. The best principle is that the area of ​​the fitted circle is closest to the area of ​​the fitted ellipse below, which is judged to be the best.

[0023] Preferably, the major and minor axis measurement in step S4: performing ellipse fitting on the outer circle and the inner circle respectively, and obtaining the average value by multiple fittings and eliminating wrong fittings are as follows:

[0024] The measurement method of the major and minor axes of the outer circle and the inner circle is the same. Ellipse fitting is performed based on the binarized image in step S2. The measurement method of the major and minor axes of the outer circle and the inner circle takes four averages and eliminates the two cases of fitting failure and wrong fitting.

[0025] A. The fourth fitting selects different numbers of points and methods to cover fewer points and more points. This solution selects: 30 points, 70 points, 140 points and 210 points;

[0026] B. No valid ellipse is found and the fitting is judged as failed;

[0027] C. If the out-of-roundness of the fitted ellipse exceeds 1.5%, it is judged as an incorrect fit.

[0028] Preferably, the maximum and minimum wall thickness differences in step S6 are calculated as follows:

[0029] Assuming the inclination angle of the ellipse is θ, then the equation of the ellipse can be written as:

[0030]

[0031] Draw an oblique line with an angle of α through the center of the circle, intersecting the ellipse at (x, y), so y = tanαx, substituting into the above formula: This is how to find the distance from the center of the circle to the side of the ellipse.

[0032] Preferably, the wall thickness difference at different points in step S6 is calculated as follows:

[0033] Draw two rays (angle α) from the center of the circle (coordinates are (x1, y1) and (x2, y2)), with a distance of d and an inclination angle of θ. We assume that the wall thickness of the two lines is approximately equal, set to δ, θ = atan ((y1-y2) / (x1-x2)), because r1-dcos(θ-α)+δ = r2, so δ can be calculated.

[0034] A capillary geometric dimension calculation device comprises a base, wherein a bracket is installed on one side of the upper surface of the base, a moving block 1 is slidably connected to one side of the bracket, an adjustment plate is installed on one side of the moving block 1, a moving block 2 is slidably connected to the surface of the adjustment plate, a mounting frame is installed on one side of the moving block 2, a camera is installed on the surface of the mounting frame, a lens is installed on the camera, a moving seat is installed on the other side of the upper surface of the base, a moving block 3 is slidably connected to the surface of the moving seat, a capillary carrier is installed on the surface of the moving block 3, a dual light source assembly is installed in the middle of the upper surface of the base, the dual light source assembly is arranged on the lower side of the capillary carrier, and a light control hole is opened on one side of the capillary carrier.

[0035] Preferably, the capillary carrier includes a placement seat, one side of the lower surface of the placement seat is installed on the upper surface of the moving block three, the surface of the placement seat is provided with a mounting groove, the inner wall of the mounting groove is provided with a material tray, one side of the material tray is provided with a capillary hole, the light control hole is provided on one side of the surface of the placement seat and the material tray, the inner wall of the mounting groove is slidably connected with a mounting plate, one side of the mounting plate is provided with a pressure plate, the middle part of one side of the pressure plate is fixedly connected with a sliding rod, the outer wall of the sliding rod is installed in the middle part of one side of the material tray, both sides of the pressure plate are fixedly connected with a limiting rod, the outer wall of the limiting rod is provided with a spring, one end of the spring is installed on both sides of the outer wall of the material tray.

[0036] Preferably, the dual light source assembly includes a backlight light source and a ring light source, the lower surface of the backlight light source is mounted on the middle of the upper surface of the base, and the lower surface of the ring light source is mounted on the upper surface of the shell of the backlight light source.

[0037] Preferably, a cover plate is installed on the lower surface of the material tray, and the cover plate is made of transparent glass.

[0038] Preferably, the light-controlling hole and the capillary hole are arranged in communication.

[0039] Working principle: When using the device, the capillary is inserted into the capillary hole 1104 on the material tray 1103, and the glass cover 13 controls the depth of the capillary inserted into the capillary hole 1104. Then, by pushing the mounting plate 1105, the mounting plate 1105 drives the pressure plate 1106 to move toward the material tray 1103, so that the limiting rod 1108 squeezes the spring 1109, so that the capillary can be limited, and the brightness and angle of the annular light source 1202 and the backlight source are coordinated and controlled so that the dimensions of the capillary in all directions can be clearly captured, and the camera 7 and the lens 8 can image the capillary. By setting the moving block 1 3, the moving block can be moved on the bracket 2 in the Z axis, thereby driving the camera 7 and the lens 8 to move. By setting the moving block 2 5 and the adjusting plate 4, the moving block 2 5 can be moved on the adjusting plate 4 in the Y axis, so that the position of the camera 7 and the lens 8 can be adjusted. By moving the seat 9 and the moving block 3 The setting of 10 can enable the moving block 3 10 to move on the moving seat 9 in the X-axis, thereby driving the capillary carrier 11 to move, so as to locate the image, find the position of the capillary, determine the center coordinates of the image and the range of subsequent measurements, and then binarize the outer circle and the inner circle respectively, collect gray values ​​from the periphery as the low threshold of binarization, calculate the boundary coordinates of the inner circle, obtain the brightness and average brightness information at the boundary, obtain the brightness information inside the image, and calculate the high threshold of binarization and the geometric size of the binarized image; then select different points to fit the circle, and determine the best fit by the closest degree between the area of ​​the fitted circle and the area of ​​the ellipse; fit the ellipse to the outer circle and the inner circle respectively, and obtain the average value by multiple fittings and eliminating the wrong fits; then calculate the error and adjust the major and minor axis fitting values ​​of the ellipse by measuring and comparing multiple samples; finally, use the calculation formula to calculate the average wall thickness through the circumference and area of ​​the ellipse.

[0040] The present invention provides a method and device for calculating capillary geometric dimensions, which have the following beneficial effects:

[0041] 1. In order to improve the measurement accuracy of the inner and outer diameters of the capillary, the present invention can introduce a multi-point fitting algorithm. By selecting multiple reference points on the inner and outer circles, using different fitting strategies, integrating the results of multiple fittings, removing outliers, and finally selecting the optimal solution, this method can effectively reduce the measurement error caused by image noise or capillary surface irregularities to ensure the reliability and stability of the fitting results.

[0042] 2. In the measurement of capillary geometric dimensions, the uniformity of the light source and the incident angle have an important influence on the clarity of the image. A dual light source assembly is designed, including a ring light source and a backlight source. By coordinating and controlling the brightness and angles of different light sources, the dimensions of the capillary in all directions can be clearly captured. This method is particularly suitable for capillaries with complex refractive index levels, and can significantly improve image quality, thereby improving measurement accuracy.

[0043] 3. The present invention can accurately calculate the circumference of a capillary with an elliptical cross-section by introducing the Ramanujan formula, thereby more accurately calculating the wall thickness, has stronger adaptability to cross-sections of different shapes, and can effectively reduce the wall thickness calculation error caused by irregular cross-sections. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Figure 1 A perspective view of the present invention;

[0045] Figure 2 It is a structural schematic diagram of the present invention;

[0046] Figure 3 It is a structural expansion diagram of the present invention;

[0047] Figure 4 It is a structural diagram of the present invention;

[0048] Figure 5 It is a diagram of the average wall thickness calculation method of the present invention;

[0049] Figure 6 A diagram showing a method for calculating the maximum and minimum wall thickness differences of the present invention;

[0050] Figure 7 A diagram showing a method for calculating the wall thickness difference at different points of the present invention;

[0051] Figure 8 It is a diagram of the method for measuring the major and minor axes of the outer circle and the inner circle of the present invention.

[0052] Among them, 1. base; 2. bracket; 3. moving block one; 4. adjustment plate; 5. moving block two; 6. mounting frame; 7. camera; 8. lens; 9. moving seat; 10. moving block three; 11. capillary carrier; 1101. placement seat; 1102. mounting slot; 1103. material tray; 1104. capillary hole; 1105. mounting plate; 1106. pressing plate; 1107. sliding rod; 1108. limiting rod; 1109. spring; 12. dual light source assembly; 1201. backlight light source; 1202. ring light source; 13. cover plate; 14. light control hole. DETAILED DESCRIPTION

[0053] 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.

[0054] Example:

[0055] Please see attached Figure 1 -Attached Figure 8 The embodiment of the present invention provides a method for calculating the geometric dimensions of a capillary, comprising the following steps:

[0056] S1: Image positioning: find the position of the capillary, determine the center coordinates of the image and the range of subsequent measurements;

[0057] S2: Image binarization: binarization of the outer circle and the inner circle respectively;

[0058] Outer circle: grayscale values ​​are collected from the periphery as the low threshold of binarization;

[0059] Inner circle: calculate the coordinates of the inner circle boundary, obtain the brightness and average brightness information at the boundary, obtain the brightness information inside the image, and calculate the high threshold of binarization and the geometric size of the binarized image;

[0060] S3: Diameter measurement: Select different points to fit the circle, and determine the best fit by the closest degree between the area of ​​the fitted circle and the area of ​​the ellipse;

[0061] S4: Major and minor axis measurement: Ellipse fitting is performed on the outer circle and the inner circle respectively, and the average value is obtained by multiple fittings and elimination of incorrect fittings;

[0062] S5: Circle diameter calibration: by measuring and comparing multiple samples, calculate the error and adjust the major and minor axis fitting values ​​of the ellipse;

[0063] S6: Wall thickness calculation: Use the calculation formula to calculate the average wall thickness through the circumference and area of ​​the ellipse;

[0064] Wall thickness difference calculation: calculate the wall thickness difference at different angles, and then get the maximum and minimum wall thickness difference;

[0065] Calculation of wall thickness difference: Calculate the wall thickness difference at different points using the distance formula from the center of the circle to the side of the ellipse and the distance formula between two points.

[0066] Among them, the specific steps of diameter measurement in step S3: selecting different points to fit the circle, and determining the best fit by the closest degree between the area of ​​the fitted circle and the area of ​​the ellipse are as follows:

[0067] The measurement methods of the outer circle diameter and the inner circle diameter are the same. Three different points on the image contour are selected to fit the circle. The images come from the binarized images in step S2. The selected strategies are:

[0068] A. Three confirmed points;

[0069] B. Select 3 points from 4 points, eliminate 1 point, and take the minimum fitting error;

[0070] C. Select 3 points from 5 points, eliminate 2 points, and take the minimum fitting error;

[0071] D. Select 3 points from 6 points, eliminate 3 points, and take the minimum fitting error;

[0072] Find the best result among the four fitting results as the fitting result. The best principle is that the area of ​​the fitted circle is closest to the area of ​​the fitted ellipse below, which is judged to be the best.

[0073] Among them, the major and minor axis measurement in step S4: ellipse fitting is performed on the outer circle and the inner circle respectively, and the specific steps of obtaining the average value by multiple fittings and eliminating the wrong fittings are as follows:

[0074] The measurement method of the major and minor axes of the outer circle and the inner circle is the same. Ellipse fitting is performed based on the binarized image in step S2. The measurement method of the major and minor axes of the outer circle and the inner circle takes four averages and eliminates the two cases of fitting failure and wrong fitting.

[0075] A. The fourth fitting selects different numbers of points and methods to cover fewer points and more points. This solution selects: 30 points, 70 points, 140 points and 210 points;

[0076] B. No valid ellipse is found and the fitting is judged as failed;

[0077] C. If the out-of-roundness of the fitted ellipse exceeds 1.5%, it is judged as an incorrect fit.

[0078] Among them, the calculation method of the maximum and minimum wall thickness difference in step S6 is:

[0079] Assuming the inclination angle of the ellipse is θ, then the equation of the ellipse can be written as:

[0080]

[0081] Draw an oblique line with an angle of α through the center of the circle, intersecting the ellipse at (x, y), so y = tanαx, substituting into the above formula: This is how to find the distance from the center of the circle to the side of the ellipse.

[0082] Among them, the calculation method of the wall thickness difference at different points in step S6 is:

[0083] Draw two rays (angle α) from the center of the circle (coordinates are (x1, y1) and (x2, y2)), with a distance of d and an inclination angle of θ. We assume that the wall thickness of the two lines is approximately equal, set to δ, θ = atan ((y1-y2) / (x1-x2)), because r1-dcos(θ-α)+δ = r2, so δ can be calculated.

[0084] A capillary geometric dimension calculation device comprises a base 1, a bracket 2 is installed on one side of the upper surface of the base 1, a moving block 1 3 is slidably connected to one side of the bracket 2, an adjusting plate 4 is installed on one side of the moving block 1 3, a moving block 2 5 is slidably connected to the surface of the adjusting plate 4, a mounting frame 6 is installed on one side of the moving block 2 5, a camera 7 is installed on the surface of the mounting frame 6, a lens 8 is installed on the camera 7, a moving seat 9 is installed on the other side of the upper surface of the base 1, a moving block 3 10 is slidably connected to the surface of the moving seat 9, a capillary carrier 11 is installed on the surface of the moving block 3 10, a dual light source assembly 12 is installed in the middle of the upper surface of the base 1, the dual light source assembly 12 is arranged on the lower side of the capillary carrier 11, and a light control hole 14 is opened on one side of the capillary carrier 11;

[0085] The depth of the capillary inserted into the capillary carrier 11 is controlled by the glass cover 13, and then the light irradiated by the dual light source assembly 12 to the capillary is controlled by the light control hole 14. The camera 7 and the lens 8 can image the capillary. By setting the moving block 1 3, the moving block can be moved on the bracket 2 in the Z axis, thereby driving the camera 7 and the lens 8 to move. By setting the moving block 2 5 and the adjustment plate 4, the moving block 2 5 can be moved on the adjustment plate 4 in the Y axis, thereby adjusting the position of the camera 7 and the lens 8. By setting the moving seat 9 and the moving block 3 10, the moving block 3 10 can be moved on the moving seat 9 in the X axis, thereby driving the capillary carrier 11 to move. By setting the dual light source assembly 12, capillaries with multiple different refractive index levels can be clearly imaged.

[0086] Among them, the capillary carrier 11 includes a placement seat 1101, one side of the lower surface of the placement seat 1101 is installed on the upper surface of the moving block three 10, a mounting groove 1102 is provided on the surface of the placement seat 1101, a material tray 1103 is installed on the inner wall of the mounting groove 1102, a capillary hole 1104 is provided on one side of the material tray 1103, and a light control hole 14 is provided on one side of the surface of the placement seat 1101 and the material tray 1103, a mounting plate 1105 is slidably connected to the inner wall of the mounting groove 1102, a pressing plate 1106 is installed on one side of the mounting plate 1105, a sliding rod 1107 is fixedly connected to the middle part of one side of the pressing plate 1106, an outer wall of the sliding rod 1107 is installed on the middle part of one side of the material tray 1103, both sides of the pressing plate 1106 are fixedly connected to the limiting rod 1108, the outer wall of the limiting rod 1108 is installed with a spring 1109, and one end of the spring 1109 is installed on both sides of the outer wall of the material tray 1103;

[0087] By inserting the capillary into the capillary hole 1104 on the material tray 1103 and then pushing the mounting plate 1105, the mounting plate 1105 drives the pressing plate 1106 to move toward the material tray 1103, and then the limiting rod 1108 squeezes the spring 1109, so that the capillary can be limited.

[0088] The dual light source assembly 12 includes a backlight light source 1201 and a ring light source 1202. The lower surface of the backlight light source 1201 is mounted on the middle of the upper surface of the base 1, and the lower surface of the ring light source 1202 is mounted on the upper surface of the shell of the backlight light source 1201.

[0089] By coordinating and controlling the brightness and angle of the annular light source 1202 and the backlight source, the dimensions of the capillary in all directions can be clearly captured.

[0090] Among them, a cover plate 13 is installed on the lower surface of the material tray 1103, and the cover plate 13 is made of transparent glass; the light control hole 14 and the capillary hole 1104 are arranged in communication.

[0091] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.

Claims

1. A method for calculating capillary geometric dimensions, characterized in that: The following steps are involved: S1: Image positioning: find the position of the capillary, determine the center coordinates of the image and the range of subsequent measurements; S2: Image binarization: binarization of the outer circle and the inner circle respectively; Outer circle: grayscale values ​​are collected from the periphery as the low threshold of binarization; Inner circle: calculate the coordinates of the inner circle boundary, obtain the brightness and average brightness information at the boundary, obtain the brightness information inside the image, and calculate the high threshold of binarization and the geometric size of the binarized image; S3: Diameter measurement: Select different points to fit the circle, and determine the best fit by the closest degree between the area of ​​the fitted circle and the area of ​​the ellipse; S4: Major and minor axis measurement: Ellipse fitting is performed on the outer circle and the inner circle respectively, and the average value is obtained by multiple fittings and elimination of incorrect fittings; S5: Circle diameter calibration: by measuring and comparing multiple samples, calculate the error and adjust the major and minor axis fitting values ​​of the ellipse; S6: Wall thickness calculation: Use the calculation formula to calculate the average wall thickness through the circumference and area of ​​the ellipse; Wall thickness difference calculation: calculate the wall thickness difference at different angles, and then get the maximum and minimum wall thickness difference; Calculation of wall thickness difference: Calculate the wall thickness difference at different points using the distance formula from the center of the circle to the side of the ellipse and the distance formula between two points.

2. A method for calculating capillary geometric dimensions according to claim 1, characterized in that: The specific steps of diameter measurement in step S3: selecting different points to fit a circle and determining the best fit by the closest degree between the area of ​​the fitted circle and the area of ​​the ellipse are as follows: The measurement methods of the outer circle diameter and the inner circle diameter are the same. Three different points on the image contour are selected to fit the circle. The images come from the binarized images in step S2. The selected strategies are: A. Three confirmed points; B. Select 3 points from 4 points, eliminate 1 point, and take the minimum fitting error; C. Select 3 points out of 5 points. D. Select 3 points out of 6 points, eliminate 3 points, and take the minimum fitting error. D. Select 3 points out of 6 points, eliminate 2 points, and take the minimum fitting error. Find the best result among the four fitting results as the fitting result. The best principle is that the area of ​​the fitted circle is closest to the area of ​​the fitted ellipse below, which is judged to be the best.

3. A method for calculating capillary geometric dimensions according to claim 1, characterized in that: The specific steps of measuring the major and minor axes in step S4 are as follows: performing ellipse fitting on the outer circle and the inner circle respectively, and obtaining the average value by multiple fittings and eliminating the wrong fittings: The measurement method of the major and minor axes of the outer circle and the inner circle is the same. Ellipse fitting is performed based on the binarized image in step S2. The measurement method of the major and minor axes of the outer circle and the inner circle takes four averages and eliminates the two cases of fitting failure and wrong fitting. A. The fourth fitting selects different numbers of points and methods to cover fewer points and more points. This solution selects: 30 points, 70 points, 140 points and 210 points; B. No valid ellipse is found and the fitting is judged as failed; C. If the out-of-roundness of the fitted ellipse exceeds 1.5%, it is judged as an incorrect fit.

4. A method for calculating capillary geometric dimensions according to claim 1, characterized in that: The calculation method of the maximum and minimum wall thickness difference in step S6 is: Assuming the inclination angle of the ellipse is θ, the equation of the ellipse can be written as: Draw an oblique line with an angle of α through the center of the circle, intersecting the ellipse at (x, y), so y = tanαx, substituting into the above formula: This is how to find the distance from the center of the circle to the side of the ellipse.

5. A method for calculating capillary geometric dimensions according to claim 1, characterized in that: The method for calculating the wall thickness difference at different points in step S6 is: Draw two rays (angle α) from the center of the circle (coordinates are (x1, y1) and (x2, y2)), with a distance of d and an inclination angle of θ. We assume that the wall thickness of the two lines is approximately equal, set to δ, θ = atan ((y1-y2) / (x1-x2)), because r1-dcos(θ-α)+δ = r2, so δ can be calculated.

6. A capillary geometric dimension calculation device, comprising a base (1), characterized in that: A bracket (2) is mounted on one side of the upper surface of the base (1); a moving block (3) is slidably connected to one side of the bracket (2); an adjusting plate (4) is mounted on one side of the moving block (3); a moving block (5) is slidably connected to the surface of the adjusting plate (4); a mounting frame (6) is mounted on one side of the moving block (5); a camera (7) is mounted on the surface of the mounting frame (6); a lens (8) is mounted on the camera (7); a moving seat (9) is mounted on the other side of the upper surface of the base (1); a moving block (10) is slidably connected to the surface of the moving seat (9); a capillary carrier (11) is mounted on the surface of the moving block (10); a dual light source assembly (12) is mounted in the middle of the upper surface of the base (1); the dual light source assembly (12) is arranged on a lower side of the capillary carrier (11); and a light control hole (14) is provided on one side of the capillary carrier (11).

7. A capillary geometric dimension calculation device according to claim 6, characterized in that: The capillary carrier (11) comprises a placement seat (1101), one side of the lower surface of the placement seat (1101) is mounted on the upper surface of the moving block (10), a mounting groove (1102) is provided on the surface of the placement seat (1101), a material tray (1103) is installed on the inner wall of the mounting groove (1102), a capillary hole (1104) is provided on one side of the material tray (1103), the light control hole (14) is provided on one side of the surface of the placement seat (1101) and the material tray (1103), and the inner wall of the mounting groove (1102) is provided with a capillary hole (1104). The wall is slidably connected to a mounting plate (1105), a pressure plate (1106) is installed on one side of the mounting plate (1105), a sliding rod (1107) is fixedly connected to the middle of one side of the pressure plate (1106), the outer wall of the sliding rod (1107) is installed on the middle of one side of the material tray (1103), and both sides of the pressure plate (1106) are fixedly connected to a limiting rod (1108), the outer wall of the limiting rod (1108) is installed with a spring (1109), and one end of the spring (1109) is installed on both sides of the outer wall of the material tray (1103).

8. The capillary geometric dimension calculation device according to claim 6, characterized in that: The dual light source assembly (12) comprises a backlight light source (1201) and a ring light source (1202), wherein the lower surface of the backlight light source (1201) is mounted on the middle of the upper surface of the base (1), and the lower surface of the ring light source (1202) is mounted on the upper surface of the outer shell of the backlight light source (1201).

9. The capillary geometric dimension calculation device according to claim 7, characterized in that: A cover plate (13) is installed on the lower surface of the material tray (1103), and the cover plate (13) is made of transparent glass.

10. The capillary geometric dimension calculation device according to claim 7, characterized in that: The light control hole (14) and the capillary hole (1104) are arranged in communication with each other.