Balloon parameter detection method, balloon parameter detection system and electronic equipment

Through optical vision detection methods, the balloon size information is automatically identified and calculated, and the existing testing methods are solved, with many equipment, long time and strong destructive problems, and the rapid and accurate balloon parameter detection is achieved, which improves detection accuracy and product quality control.

CN119934964APending Publication Date: 2025-05-06ZHEJIANG ACCUPATH SMART MANUFACTURING (GROUP) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311448648.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-01
Publication Date
2025-05-06

AI Technical Summary

Technical Problem

There are many nominal balloon size testing methods, long testing time, strong destructiveness, and the accuracy of the balloon is labor-intensive. The number of random inspections is small, making it difficult to reflect the fluctuations in the batch and affect product quality control.

Method used

Optical vision detection method is adopted to obtain the balloon image in a filling state, identify the outer contour of the balloon, and automatically calculate the size information of the balloon to achieve non-destructive, fast and accurate detection.

Benefits of technology

The balloon parameter detection is achieved quickly and accurately, avoid missed inspection and consistency differences in manual inspection, improve detection accuracy, reduce the flow of defective products to the next process, and save process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119934964A_ABST
    Figure CN119934964A_ABST
Patent Text Reader

Abstract

The invention provides a balloon parameter detection method, a balloon parameter detection system and electronic equipment. The detection method comprises the following steps: acquiring an image of a to-be-detected balloon in a full state; performing balloon outer contour identification on the image of the to-be-detected balloon so as to identify position information of each pixel point in the outer contour of the to-be-detected balloon; and obtaining the size information of the to-be-detected balloon according to the position information of each pixel point in the outer contour of the to-be-detected balloon. Related parameters of the balloon can be inspected in the production process, defective products are prevented from flowing to the next process, the process is saved, and damage to the balloon is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of image processing, and in particular to a balloon parameter detection method, a balloon parameter detection system and an electronic device. Background Art

[0002] The nominal size of the balloon is one of the key dimensional indicators that must be monitored for balloon catheter products. If the nominal size of the balloon is unqualified, it means that the penetration performance, pushing performance, and compliance of the balloon catheter product may be affected, resulting in the balloon catheter product being unable to be used clinically.

[0003] The batch scrapping caused by unqualified balloon catheter products will waste time and materials at the least, and at worst, defective products will flow into the market, affecting doctors' use and the company's brand image.

[0004] The current test method for nominal balloon size in the industry requires filling the balloon with water and pressurizing it (simulating the scenario when a doctor uses it) and placing it in a water bath (simulating the temperature of normal human body fluids) to measure the following diameters and lengths:

[0005] (1) Diameter: Use a calliper gauge to measure the diameter of the middle part of the balloon immersed in a water bath (the balloon is pressurized and filled using the HPT1000 test system);

[0006] (2) Length: After the balloon is inflated by connecting the inflator to a digital pressure gauge, use a steel ruler to measure the length of the straight section of the balloon immersed in the water bath.

[0007] The current test method for balloon nominal size used in the industry has the following problems:

[0008] (1) The test process requires pressure equipment, calipers, steel rulers, and water baths. There are many test equipment / accessories, and the size test of each balloon takes 5 to 10 minutes, which affects the convenience of the test.

[0009] (2) The testing process is destructive and can easily damage the balloon, affecting product quality;

[0010] (3) Manually testing the balloon size results in subjective readings, which affects the accuracy of the test;

[0011] (4) When measuring the diameter of the balloon, the caliper squeezes the balloon and cannot reflect the true value of the balloon diameter. The estimation accuracy of the steel ruler is 0.5 mm, which affects the measurement accuracy of the balloon length.

[0012] (5) The existing testing method uses a random sampling method (3pcs / lot, 3 samples are sampled per batch) to determine whether the batch is qualified. There is a risk that a batch may be qualified but some products in the batch may be unqualified;

[0013] (6) The existing testing method is to conduct random testing during factory inspection. Defects are only discovered during factory inspection. If defects are found, the warehousing rate of the batch is 0;

[0014] (7) Due to the small number of random inspections, the size fluctuations within and between batches may not be reflected, which is not conducive to product quality control.

[0015] It should be noted that the information disclosed in the background technology section of the invention is only intended to deepen the understanding of the general background technology of the invention, and should not be regarded as an admission or suggestion in any form that the information constitutes prior art already known to those skilled in the art. Summary of the invention

[0016] The purpose of the present invention is to provide a balloon parameter detection method, a balloon parameter detection system and an electronic device, which can not only inspect the relevant parameters of the balloon in the production process to prevent defective products from flowing to the next process, saving processes, but also will not cause damage to the balloon.

[0017] To achieve the above object, the present invention provides a balloon parameter detection method, comprising:

[0018] Acquire an image of the balloon to be inspected in a filled state;

[0019] Recognize the outer contour of the balloon on the image of the balloon to be detected, so as to identify the position information of each pixel point in the outer contour of the balloon to be detected;

[0020] The size information of the balloon to be detected is obtained according to the position information of each pixel point in the outer contour of the balloon to be detected.

[0021] Optionally, acquiring the size information of the balloon to be detected according to the position information of each pixel point in the outer contour of the balloon to be detected includes:

[0022] According to the position information of each pixel point in the outer contour of the to-be-detected balloon, an upper boundary point set and a lower boundary point set of the outer contour of the to-be-detected balloon are determined, wherein the upper boundary point set is composed of a plurality of upper boundary pixel points, and the lower boundary point set is composed of a plurality of lower boundary pixel points;

[0023] For each upper boundary pixel point of the upper boundary point set of the outer contour of the to-be-detected balloon, a lower boundary pixel point with the same horizontal coordinate as the upper boundary pixel point is searched in the lower boundary point set, and according to the absolute value of the difference between the vertical coordinate of the upper boundary pixel point and the vertical coordinate of the lower boundary pixel point, a radial value of the to-be-detected balloon at the horizontal position corresponding to the horizontal coordinate is obtained;

[0024] The size information of the balloon to be detected is obtained according to the radial value of the balloon to be detected at each transverse position.

[0025] Optionally, acquiring the size information of the balloon to be detected according to the radial value of the balloon to be detected at each transverse position includes:

[0026] Determining the straight section of the balloon to be detected according to the radial value of the balloon to be detected at each transverse position;

[0027] Obtaining diameter information of the balloon to be detected according to radial values ​​at each transverse position within the straight segment;

[0028] The length information of the balloon to be detected is obtained according to the distance between the distal boundary of the straight segment and the proximal boundary of the straight segment.

[0029] Optionally, determining the straight section of the balloon to be detected according to the radial value of the balloon to be detected at each transverse position includes:

[0030] According to the radial value of the balloon to be detected at each transverse position, the radial value of the balloon to be detected is derived along the transverse position to determine a first extreme radial value located at the distal end of the balloon to be detected and a second extreme radial value located at the proximal end of the balloon to be detected;

[0031] Determine the distal boundary of the straight segment according to the upper boundary pixel point and the lower boundary pixel point corresponding to the first extreme radial value located at the distal end of the balloon to be detected;

[0032] Determine the proximal boundary of the straight segment according to the upper boundary pixel point and the lower boundary pixel point corresponding to the second extreme radial value located at the proximal end of the balloon to be detected;

[0033] The area of ​​the balloon to be detected between the distal boundary of the straight segment and the proximal boundary of the straight segment is determined as the straight segment of the balloon to be detected.

[0034] Optionally, obtaining the diameter information of the balloon to be detected according to the radial values ​​at each transverse position in the straight segment includes:

[0035] Acquiring proximal diameter information of the balloon to be detected according to a first preset number of radial values ​​in the proximal region of the straight section;

[0036] Acquiring the mid-end diameter information of the balloon to be detected according to the first preset number of radial values ​​in the mid-end region of the straight section;

[0037] The distal diameter information of the balloon to be detected is obtained according to the first preset number of radial values ​​in the distal region of the straight section.

[0038] Optionally, obtaining the proximal diameter information of the balloon to be detected according to a first preset number of radial values ​​in the proximal region of the straight section includes:

[0039] Performing median filtering on a first preset number of radial values ​​in the proximal region of the straight section, and using the obtained median value as the proximal diameter of the balloon to be detected;

[0040] The step of obtaining the mid-end diameter information of the balloon to be detected according to the first preset number of radial values ​​in the mid-end region of the straight segment includes:

[0041] Performing median filtering on the first preset number of radial values ​​in the middle region of the straight section, and using the obtained median value as the middle diameter of the balloon to be detected;

[0042] The step of obtaining the distal diameter information of the balloon to be detected according to the first preset number of radial values ​​in the distal region of the straight segment includes:

[0043] The first preset number of radial values ​​in the distal region of the straight section are subjected to median filtering, and the obtained median value is used as the distal diameter of the balloon to be detected.

[0044] Optionally, the acquiring the size information of the balloon to be detected according to the radial value of the balloon to be detected at each transverse position further includes:

[0045] Acquire the maximum straightness information of the balloon to be detected according to the maximum radial value and the minimum radial value of a second preset number of radial values ​​of the straight segment in the half-section area close to the proximal end;

[0046] The minimum straightness information of the balloon to be detected is obtained according to the maximum radial value and the minimum radial value of the second preset number of radial values ​​in the half-section area of ​​the straight segment close to the distal end.

[0047] Optionally, the detection method further includes:

[0048] Recognize the outer contour of the developing ring of the image of the balloon to be detected, so as to identify the position information of each pixel point in the outer contour of each developing ring;

[0049] According to the position information of each pixel point in the outer contour of each identified developing ring, the inner spacing information between any two adjacent developing rings is obtained.

[0050] Optionally, the detection method further includes:

[0051] Recognize the outer contour of the inner core of the image of the balloon to be detected, so as to identify the position information of each pixel point in the outer contour of the inner core located inside the balloon to be detected;

[0052] The mid-axis curvature information of the balloon to be detected is obtained based on the position information of each pixel point in the outer contour of the inner core identified to be located inside the balloon to be detected.

[0053] Optionally, obtaining the central axis curvature information of the balloon to be detected according to the position information of each pixel point in the outer contour of the inner core identified inside the balloon to be detected includes:

[0054] Determine the position information of each pixel point located on the center line of the inner core inside the balloon to be detected according to the position information of each pixel point in the outer contour of the inner core inside the balloon to be detected;

[0055] Acquire chord length information corresponding to the inner core located inside the balloon to be detected according to the distance between the distal pixel point and the proximal pixel point on the center line of the inner core located inside the balloon to be detected;

[0056] Acquire arc length information corresponding to the inner core located inside the balloon to be detected according to position information of each pixel point on the center line of the inner core located inside the balloon to be detected;

[0057] The curvature of the central axis of the balloon to be tested is calculated according to the chord length information and arc length information corresponding to the inner core located inside the balloon to be tested.

[0058] Optionally, the detection method further includes:

[0059] Whether the balloon to be tested is qualified is determined based on the parameter test results of the balloon to be tested and the pre-acquired standard balloon parameter information.

[0060] Optionally, the detection method further includes:

[0061] The size information of the balloon to be detected is corrected according to the pre-acquired size ratio conversion coefficient.

[0062] Optionally, the detection method further includes:

[0063] The parameter detection result of the balloon to be detected is displayed on the image of the balloon to be detected.

[0064] To achieve the above-mentioned purpose, the present invention also provides a balloon parameter detection system, comprising an image acquisition device and a controller that are communicatively connected, wherein the image acquisition device is configured to acquire an image of the balloon to be detected in a filled state and transmit it to the controller, and the controller is configured to implement the balloon parameter detection method described above.

[0065] Optionally, the balloon parameter detection system further includes a pushing rod for fixing the balloon to be detected, and the pushing rod is configured to transport the balloon to be detected to below the image acquisition device.

[0066] Optionally, the balloon parameter detection system also includes a photoelectric sensor and a light source communicatively connected to the controller, the photoelectric sensor being configured to detect whether the balloon to be detected has arrived under the image acquisition device, and the controller being further configured to control the light source to emit illumination light to the balloon to be detected and control the image acquisition device to acquire an image of the balloon to be detected after the balloon to be detected arrives under the image acquisition device.

[0067] To achieve the above-mentioned object, the present invention further provides an electronic device, comprising a processor and a memory, wherein the memory stores a computer program, and when the computer program is executed by the processor, the balloon parameter detection method described above is implemented.

[0068] Compared with the prior art, the balloon parameter detection method, balloon parameter detection system and electronic device provided by the present invention have the following beneficial effects:

[0069] The balloon parameter detection method provided by the present invention first obtains an image of the balloon to be detected in a filled state; then identifies the outer contour of the balloon on the image of the balloon to be detected to identify the position information of each pixel in the outer contour of the balloon to be detected; then obtains the size information of the balloon to be detected based on the position information of each pixel in the outer contour of the balloon to be detected. It can be seen that the balloon parameter detection method provided by the present invention adopts an optical visual detection method, and the detection process is non-destructive, does not cause deformation of the balloon surface, and effectively avoids damage to the balloon. In addition, since the balloon parameter detection method provided by the present invention automatically calculates the size information of the balloon to be detected based on the image of the balloon to be detected, the detection result is more accurate, effectively avoiding problems such as missed detection and consistency differences caused by manual inspection, and the accuracy of the detection result of the present invention can be up to the decimal point, with higher detection accuracy. In addition, the balloon parameter detection method provided by the present invention can be embedded in the existing production process for parallel inspection, without adding a new process, effectively avoiding the flow of defective products to the next process, and saving processes. In addition, since the balloon parameter detection method provided by the present invention is more convenient, the detection of a balloon can be completed in about 5 seconds, and by adopting the balloon parameter detection method provided by the present invention, the balloon product can be fully inspected and relevant data can be stored, thereby reflecting the size level within / between batches of the balloon products.

[0070] Since the balloon parameter detection system and electronic device provided by the present invention belong to the same inventive concept as the balloon parameter detection method provided by the present invention, the balloon parameter detection system and electronic device provided by the present invention at least have all the beneficial effects of the balloon parameter detection method provided by the present invention. For details, please refer to the above description of the beneficial effects of the balloon parameter detection method provided by the present invention. Therefore, the beneficial effects of the balloon parameter detection system and electronic device provided by the present invention will not be described one by one here. BRIEF DESCRIPTION OF THE DRAWINGS

[0071] Figure 1 A flowchart of a balloon parameter detection method provided in one embodiment of the present invention;

[0072] Figure 2 A schematic diagram of an image of a balloon to be detected provided by one embodiment of the present invention;

[0073] Figure 3 A schematic diagram of calculating the mid-axis curvature of a balloon provided in one embodiment of the present invention;

[0074] Figure 4 A schematic diagram of balloon parameter detection results provided by one embodiment of the present invention;

[0075] Figure 5 A balloon diameter trend graph provided in one embodiment of the present invention;

[0076] Figure 6 A balloon length trend diagram provided by one embodiment of the present invention;

[0077] Figure 7 A schematic diagram of the block structure of a balloon parameter detection system provided in one embodiment of the present invention;

[0078] Figure 8 A schematic diagram of the block structure of an electronic device provided in one embodiment of the present invention.

[0079] The reference numerals are as follows:

[0080] Balloon to be tested-110; straight section-111; proximal cone section-112; distal cone section-113;

[0081] Inner core-120; developing ring-130;

[0082] Image acquisition device-210; camera-211; lens-212; controller-220; photoelectric sensor-230; light source-240;

[0083] Processor-310; communication interface-320; memory-330; communication bus-340. DETAILED DESCRIPTION

[0084] The balloon parameter detection method, system, electronic device and readable storage medium proposed in the present invention are further described in detail below in conjunction with the accompanying drawings and specific embodiments. According to the following description, the advantages and features of the present invention will be clearer. It should be noted that the drawings are in a very simplified form and use non-precise proportions, which are only used to conveniently and clearly assist in explaining the purpose provided by the present invention. In order to make the purposes, features and advantages of the present invention more obvious and easy to understand, please refer to the accompanying drawings. It should be noted that the structures, proportions, sizes, etc. illustrated in the drawings of this specification are only used to match the contents disclosed in the specification for people familiar with this technology to understand and read, and are not used to limit the limiting conditions for the implementation of the present invention. Any structural modification, change in proportional relationship or adjustment of size, when the effects that can be produced by the present invention and the purposes that can be achieved are the same or similar, should still fall within the scope of the technical content disclosed by the present invention.

[0085] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0086] In addition, in the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

[0087] The core idea of ​​the present invention is to provide a balloon parameter detection method, system, electronic device and readable storage medium, which can not only inspect the relevant parameters of the balloon in the production process to prevent defective products from flowing to the next process, saving processes, but also will not cause damage to the balloon.

[0088] It should be noted that the balloon parameter detection method provided by the present invention can be applied to the balloon parameter detection system and electronic device provided by the present invention, and the electronic device provided by the present invention can be applied to the balloon parameter detection system provided by the present invention, wherein the electronic device provided by the present invention can be a personal computer, a mobile terminal, etc., and the mobile terminal can be a mobile phone, a tablet computer, and other hardware devices with various operating systems. It should also be noted that, as can be understood by those skilled in the art, the "proximal end" referred to in the present invention refers to the end close to the operator, and the "distal end" referred to refers to the end close to the lesion.

[0089] To realize the above idea, the present invention provides a balloon parameter detection method, please refer to Figure 1 , which is a flow chart of a balloon parameter detection method provided by one embodiment of the present invention. Figure 1As shown, the balloon parameter detection method provided by the present invention comprises the following steps:

[0090] Step S100: Acquire an image of the balloon to be inspected in a filled state.

[0091] Step S200 : identifying the outer contour of the balloon 110 to be detected, so as to identify the position information of each pixel point in the outer contour of the balloon 110 to be detected.

[0092] Step S300 : acquiring size information of the balloon 110 to be detected according to position information of each pixel point in the outer contour of the balloon 110 to be detected.

[0093] Therefore, the balloon parameter detection method provided by the present invention adopts an optical visual detection method, and the detection process is non-destructive, does not cause deformation of the balloon surface, and effectively avoids damage to the balloon. In addition, since the balloon parameter detection method provided by the present invention automatically calculates the size information of the balloon 110 to be detected based on the image of the balloon to be detected, the detection result is more accurate, effectively avoiding problems such as missed detection and consistency differences caused by manual inspection, and the accuracy of the detection result of the present invention can be up to the decimal point, with higher detection accuracy. In addition, the balloon parameter detection method provided by the present invention can be embedded in the existing production process for parallel inspection, without adding new processes, effectively avoiding the flow of defective products to the next process, and saving processes. In addition, since the balloon parameter detection method provided by the present invention is more convenient, the detection of a balloon can be completed in about 5 seconds, and the balloon parameter detection method provided by the present invention can be used to fully inspect the balloon product and store relevant data, so that the size level of the balloon product within the batch / between batches can be reflected.

[0094] Specifically, any contour recognition algorithm known to those skilled in the art may be used to identify the outer contour of the balloon in the image of the balloon to be detected, including but not limited to the Canny edge detection algorithm, the Sobel edge detection algorithm, and the like.

[0095] It should be noted that, as can be understood by those skilled in the art, the position information of a pixel point can be represented by the horizontal coordinate and the vertical coordinate of the pixel point in a pre-created image rectangular coordinate system, wherein the horizontal axis of the image rectangular coordinate system extends along the width direction of the image of the balloon to be detected, and the vertical axis of the image rectangular coordinate system extends along the height direction of the image of the balloon to be detected.

[0096] In some exemplary embodiments, before identifying the outer contour of the balloon on the image of the balloon to be detected, the detection method further includes:

[0097] The image of the balloon to be detected is subjected to filtering processing.

[0098] Correspondingly, the identifying the outer contour of the balloon on the image of the balloon to be detected is specifically, identifying the outer contour of the balloon on the image of the balloon to be detected after filtering.

[0099] Therefore, by filtering the image of the balloon to be detected before image recognition, noise in the image of the balloon to be detected can be filtered out, so that the balloon to be detected 110 can be accurately identified later (see Figure 2 )’s outer contour lays a good foundation.

[0100] Furthermore, the image of the balloon to be detected can be filtered using a median filter algorithm. Specifically, the median filter algorithm is a nonlinear signal processing technology based on sorting statistics theory that can effectively suppress noise. Specifically, the pixel values ​​of the pixel points and the surrounding adjacent pixel points (there are an odd number of pixel points) in the digital image or digital sequence are selected, these pixel values ​​are sorted, and then the pixel value at the middle position is used as the pixel value of the current pixel point, so that the surrounding pixel values ​​are close to the true value, thereby eliminating isolated noise points.

[0101] It should be noted that, as those skilled in the art can understand, in some other embodiments, other image filtering algorithms known to those skilled in the art in addition to the median filtering algorithm can also be used to filter the image of the balloon to be detected, which will not be explained in detail here.

[0102] In some exemplary embodiments, the step of obtaining the size information of the balloon 110 to be detected according to the position information of each pixel point in the outer contour of the balloon 110 to be detected includes:

[0103] According to the position information of each pixel point in the outer contour of the to-be-detected balloon 110, an upper boundary point set and a lower boundary point set of the outer contour of the to-be-detected balloon 110 are determined, wherein the upper boundary point set is composed of a plurality of upper boundary pixel points, and the lower boundary point set is composed of a plurality of lower boundary pixel points;

[0104] For each upper boundary pixel point of the upper boundary point set of the outer contour of the to-be-detected balloon 110, a lower boundary pixel point with the same horizontal coordinate as the upper boundary pixel point is searched in the lower boundary point set, and according to the absolute value of the difference between the vertical coordinate of the upper boundary pixel point and the vertical coordinate of the lower boundary pixel point, a radial value of the to-be-detected balloon 110 at the horizontal position corresponding to the horizontal coordinate is obtained;

[0105] The size information of the balloon 110 to be detected is obtained according to the radial value of the balloon 110 to be detected at each transverse position.

[0106] Specifically, according to the horizontal coordinate and the vertical coordinate of each pixel point, in the order of the horizontal coordinate from small to large, the pixel point with a smaller vertical coordinate can be determined as the upper boundary pixel point and incorporated into the upper boundary point set, and the pixel point with a larger vertical coordinate can be determined as the lower boundary pixel point and incorporated into the lower boundary point set; or the pixel point with a larger vertical coordinate can be determined as the upper boundary pixel point and incorporated into the upper boundary point set, and the pixel point with a smaller vertical coordinate can be determined as the lower boundary pixel point and incorporated into the lower boundary point set. Thus, by subtracting the vertical coordinate of each upper boundary pixel point in the upper boundary point set from the vertical coordinate of the corresponding lower boundary pixel point in the lower boundary point set and taking the absolute value, the radial value (i.e., diameter) of the to-be-detected balloon 110 at the corresponding horizontal position can be obtained, and then the size information of the to-be-detected balloon 110 can be obtained according to the radial value of the to-be-detected balloon 110 at each horizontal position.

[0107] In some exemplary embodiments, obtaining the size information of the balloon 110 to be detected according to the radial value of the balloon 110 to be detected at each transverse position includes:

[0108] According to the radial value of the balloon 110 to be detected at each transverse position, the straight section 111 of the balloon 110 to be detected is determined (see Figure 2 );

[0109] Obtaining diameter information of the balloon 110 to be detected according to radial values ​​at each transverse position within the straight section 111;

[0110] The length information of the balloon 110 to be detected is obtained according to the distance between the distal boundary of the straight section 111 and the proximal boundary of the straight section 111. It should be noted that the effective length of the balloon refers to the length of the straight section 111, which is the length information of the balloon 110.

[0111] Specifically, please refer to Figure 2 , which is a schematic diagram of an image of a balloon to be detected provided by one embodiment of the present invention. Figure 2As shown, the balloon 110 to be detected in a filled state includes a proximal cone section 112, a distal cone section 113, and a straight section 111 located between the proximal cone section 112 and the distal cone section 113, and theoretically, the diameter of the balloon in a filled state is evenly distributed in the straight section 111, while the diameter of the proximal cone section 112 gradually decreases from the distal end to the proximal end, and the diameter of the distal cone section 113 gradually decreases from the proximal end to the distal end. Therefore, based on this, the straight section 111 of the balloon 110 to be detected can be determined according to the radial values ​​at each transverse position of the balloon 110 to be detected. Therefore, according to the radial values ​​at each transverse position in the straight section 111, the diameter information of the balloon 110 to be detected can be obtained, and according to the distance between the distal boundary of the straight section 111 and the proximal boundary of the straight section 111, the length information of the balloon 110 to be detected can be obtained. It should be noted that, as can be understood by those skilled in the art, the distal boundary of the straight section 111 is located at the junction of the straight section 111 and the distal cone section 113 , and the proximal boundary of the straight section 111 is located at the junction of the straight section 111 and the proximal cone section 112 .

[0112] In some exemplary embodiments, determining the straight section 111 of the balloon 110 to be detected according to the radial value of the balloon 110 to be detected at each transverse position includes:

[0113] According to the radial value of the balloon 110 to be detected at each transverse position, the radial value of the balloon 110 to be detected is derived along the transverse position to determine a first extreme radial value located at the distal end of the balloon 110 to be detected and a second extreme radial value located at the proximal end of the balloon 110 to be detected;

[0114] Determine the distal boundary of the straight section 111 according to the upper boundary pixel point and the lower boundary pixel point corresponding to the first extreme radial value located at the distal end of the balloon 110 to be detected;

[0115] Determine the proximal boundary of the straight section 111 according to the upper boundary pixel point and the lower boundary pixel point corresponding to the second extreme radial value located at the proximal end of the balloon 110 to be detected;

[0116] The area of ​​the balloon 110 to be detected that is located between the distal boundary of the straight section 111 and the proximal boundary of the straight section 111 is determined as the straight section 111 of the balloon 110 to be detected.

[0117] Specifically, since the diameter (i.e., radial value) of the balloon in a filled state is uniformly distributed in the straight section 111 in theory, the derivative value obtained by taking the derivative of two adjacent radial values ​​in the straight section 111 is close to 0; and when entering the proximal conical section 112 and the distal conical section 113, the diameter (i.e., radial value) suddenly decreases, and thus the derivative result suddenly increases, so based on the derivative results of each radial value, the extreme point can be determined, that is, the distal end of the balloon 110 to be detected can be determined. The first extreme radial value at the end and the second extreme radial value at the proximal end of the balloon 110 to be detected, wherein the line segment formed by the upper boundary pixel point and the lower boundary pixel point corresponding to the first extreme radial value is the distal boundary of the straight segment 111, and the line segment formed by the upper boundary pixel point and the lower boundary pixel point corresponding to the second extreme radial value is the proximal boundary of the straight segment 111, so based on the distal boundary and the proximal boundary, the area where the straight segment 111 of the balloon 110 to be detected is located can be determined.

[0118] Further, when the straight section 111 of the balloon 110 to be detected is relatively straight, the distance between the upper boundary pixel point corresponding to the first extreme radial value and the upper boundary pixel point corresponding to the second extreme radial value can be used as the distance between the distal boundary of the straight section 111 and the proximal boundary of the straight section 111, and this distance is the length of the balloon 110 to be detected. When the straight section 111 of the balloon 110 to be detected is partially curved, the arc length between the upper boundary pixel point corresponding to the first extreme radial value and the upper boundary pixel point corresponding to the second extreme radial value (the arc length is equal to the sum of the distances between all two adjacent upper boundary pixel points located between the two upper boundary pixel points) can be used as the distance between the distal boundary of the straight section 111 and the proximal boundary of the straight section 111, and this arc length is the length of the balloon 110 to be detected.

[0119] In some exemplary embodiments, obtaining the diameter information of the balloon 110 to be detected according to the radial values ​​at each transverse position in the straight section 111 includes:

[0120] Acquire the proximal diameter information of the balloon 110 to be detected according to a first preset number of radial values ​​in the proximal region of the straight section 111;

[0121] According to the first preset number of radial values ​​in the middle end region of the straight section 111, obtaining the middle end diameter information of the balloon 110 to be detected;

[0122] According to the first preset number of radial values ​​in the distal region of the straight section 111 , the distal diameter information of the balloon 110 to be detected is obtained.

[0123] Specifically, radial values ​​at a first preset number of transverse positions (e.g., radial values ​​at 10 transverse positions) can be concentratedly selected in the proximal region of the straight section 111 (e.g., selected within a transverse distance of 0.2 mm) to obtain the proximal diameter of the balloon 110 to be detected; radial values ​​at a first preset number of transverse positions (e.g., radial values ​​at 10 transverse positions) can be concentratedly selected in the middle region of the straight section 111 (e.g., selected within a transverse distance of 0.2 mm) to obtain the middle diameter of the balloon 110 to be detected; radial values ​​at a first preset number of transverse positions (e.g., radial values ​​at 10 transverse positions) can be concentratedly selected in the distal region of the straight section 111 (e.g., selected within a transverse distance of 0.2 mm) to obtain the distal diameter of the balloon 110 to be detected. It should be noted that, as can be understood by those skilled in the art, the first preset number can be, but is not limited to, 10, and the first preset number can be set according to actual conditions, and the present invention does not limit this.

[0124] In some exemplary embodiments, the obtaining of the proximal diameter information of the balloon 110 to be detected according to a first preset number of radial values ​​in the proximal region of the straight section 111 includes:

[0125] Performing median filtering on a first preset number of radial values ​​in the proximal region of the straight section 111, and using the obtained median value as the proximal diameter of the balloon 110 to be detected;

[0126] The step of obtaining the mid-end diameter information of the balloon 110 to be detected according to the first preset number of radial values ​​in the mid-end region of the straight section 111 includes:

[0127] Performing median filtering on the first preset number of radial values ​​in the middle region of the straight section 111, and using the obtained median value as the middle diameter of the balloon 110 to be detected;

[0128] The step of obtaining the distal diameter information of the balloon 110 to be detected according to the first preset number of radial values ​​in the distal region of the straight section 111 includes:

[0129] The first preset number of radial values ​​in the distal region of the straight section 111 is subjected to median filtering, and the obtained median value is used as the distal diameter of the balloon 110 to be detected.

[0130] Therefore, by using the median value obtained by median filtering of the first preset number of radial values ​​selected from the proximal area of ​​the straight section 111 as the proximal diameter of the straight section 111, it can be ensured that the obtained proximal diameter is more consistent with the actual proximal diameter; by using the median value obtained by median filtering of the first preset number of radial values ​​selected from the mid-end area of ​​the straight section 111 as the mid-end diameter of the straight section 111, it can be ensured that the obtained mid-end diameter is more consistent with the actual mid-end diameter; by using the median value obtained by median filtering of the first preset number of radial values ​​selected from the distal area of ​​the straight section 111 as the distal diameter of the straight section 111, it can be ensured that the obtained distal diameter is more consistent with the actual distal diameter.

[0131] It should be noted that, as can be understood by those skilled in the art, in some other embodiments, the average value of a first preset number of radial values ​​selected from the proximal region of the straight section 111 can be directly used as the proximal diameter of the straight section 111; the average value of a first preset number of radial values ​​selected from the mid-end region of the straight section 111 can be used as the mid-end diameter of the straight section 111; and the average value of a first preset number of radial values ​​selected from the distal region of the straight section 111 can be used as the distal diameter of the straight section 111.

[0132] In some exemplary embodiments, the acquiring the size information of the balloon 110 to be detected according to the radial value of the balloon 110 to be detected at each transverse position further includes:

[0133] Acquire the maximum straightness information of the balloon 110 to be detected according to the maximum radial value and the minimum radial value of a second preset number of radial values ​​of the straight segment 111 in the half-section region close to the proximal end;

[0134] The minimum straightness information of the balloon 110 to be detected is obtained according to the maximum radial value and the minimum radial value of the second preset number of radial values ​​of the straight segment 111 in the half-section region close to the distal end.

[0135] Specifically, the half region of the straight segment 111 near the proximal end refers to the half region of the straight segment 111 near the proximal end, and the half region of the straight segment 111 near the distal end refers to the half region of the straight segment 111 near the distal end. Assume that the maximum radial value among the second preset number (e.g., 10) of radial values ​​selected from the half region near the proximal end of the straight segment 111 is D A , the minimum radial value is D B , the maximum straightness P of the balloon 110 to be tested can be calculated according to the following formula max :

[0136] P max =((D A -D B ) / D A )×100%

[0137] Assume that the maximum radial value among the second preset number (eg, 10) of radial values ​​selected from the half region of the straight section 111 close to the distal end is D A’ , the minimum radial value is D B’ , the minimum straightness P of the balloon 110 to be tested can be calculated according to the following formula: min :

[0138] P min =((D A’ -D B’ ) / D A’ )×100%

[0139] It should be noted that, as can be understood by those skilled in the art, the second preset number may be but is not limited to 10, and the second preset number may be set according to actual conditions, and the present invention does not limit this.

[0140] In some exemplary embodiments, the detection method further comprises:

[0141] Recognize the outer contour of the developing ring 130 on the image of the balloon to be detected, so as to identify the position information of each pixel point in the outer contour of each developing ring 130;

[0142] The inner spacing information between any two adjacent developing rings 130 is obtained based on the position information of each pixel point in the outer contour of each identified developing ring 130 .

[0143] Therefore, by obtaining the inner spacing information between any two adjacent developing rings 130, more comprehensive balloon parameter information can be provided to the user, thereby providing the user with more comprehensive balloon parameter optimization feedback, effectively avoiding the production of defective products. Figure 2 ,like Figure 2As shown, since the developing ring 130 is sleeved on the inner core 120, the outer diameter of the developing ring 130 is greater than the outer diameter of the inner core 120, that is, in the image, the radial dimension of the developing ring 130 is greater than the radial dimension of the inner core 120, and thus, the outer contour of the developing ring 130 can be identified, and the inner spacing information between any two adjacent developing rings 130 can be obtained according to the position information of each pixel point in the outer contour of each identified developing ring 130. Further, for each group of two adjacent developing rings 130, the distance between the two closest pixel points in the two developing rings 130 can be used as the inner spacing between the two developing rings 130.

[0144] It should be noted that, as those skilled in the art can understand, the inner core 120 can be an inner tube or a supporting wire, and the present invention is not limited to this.

[0145] In some exemplary embodiments, the detection method further comprises:

[0146] Recognize the outer contour of the inner core 120 of the image of the balloon to be detected, so as to identify the position information of each pixel point in the outer contour of the inner core 120 located inside the balloon 110 to be detected;

[0147] According to the position information of each pixel point in the outer contour of the inner core 120 identified to be located inside the balloon 110 to be inspected, the central axis curvature information of the balloon 110 to be inspected is obtained.

[0148] Since the mid-axis curvature can reflect the overall straightness of the balloon, by obtaining the mid-axis curvature information of the balloon, more comprehensive balloon parameter information can be further provided to the user, thereby providing the user with more comprehensive balloon parameter optimization feedback, further effectively avoiding the production of defective products.

[0149] In some exemplary embodiments, the obtaining of the central axis curvature information of the balloon 110 to be inspected according to the position information of each pixel point in the outer contour of the inner core 120 identified to be located inside the balloon 110 to be inspected includes:

[0150] Determine the position information of each pixel point on the center line of the inner core 120 inside the balloon 110 to be detected according to the position information of each pixel point in the outer contour of the inner core 120 inside the balloon 110 to be detected;

[0151] Acquire the chord length information corresponding to the inner core 120 located inside the balloon 110 to be detected according to the distance between the distal pixel point and the proximal pixel point on the center line of the inner core 120 located inside the balloon 110 to be detected;

[0152] According to the position information of each pixel point on the center line of the inner core 120 located inside the balloon 110 to be detected, the arc length information corresponding to the inner core 120 located inside the balloon 110 to be detected is obtained;

[0153] The mid-axis curvature of the balloon 110 to be tested is calculated according to the chord length information and arc length information corresponding to the inner core 120 located inside the balloon 110 to be tested.

[0154] Specifically, please refer to Figure 3 , which is a schematic diagram of calculating the central axis curvature of a balloon provided by one embodiment of the present invention. Figure 3 As shown in the figure, point A in the figure represents the distal pixel point on the center line of the inner core 120 inside the balloon 110 to be detected, point B represents the proximal pixel point on the center line of the inner core 120 inside the balloon 110 to be detected, the straight-line distance AB between point A and point B is the chord length corresponding to the inner core 120 inside the balloon 110 to be detected, arc ACB represents the arc fitted based on the center line of the inner core 120 inside the balloon 110 to be detected, point O represents the center point corresponding to the fitted arc, the arc length of arc ACB is the length of the arc fitted based on the center line of the inner core 120 inside the balloon 110 to be detected, point C is the intersection of the perpendicular bisector of the chord AB and the arc ACB, point D is the midpoint of the chord AB, and the central axis curvature W of the balloon 110 to be detected can be calculated according to the following formula:

[0155] W=(L 2 / H)+H

[0156] Among them, L is half the length of the chord AB, that is, L=AD=DB=AB / 2, and H is the distance between point C and point D.

[0157] It should be noted that, as can be understood by those skilled in the art, when the inner core 120 located inside the balloon 110 to be detected is straight, its center line is a straight line, and the diameter corresponding to the arc fitted based on the center line is infinite, so at this time the curvature W of the central axis of the balloon 110 to be detected is also infinite. It should also be noted that, regarding how to determine the center line of the inner core 120 located inside the balloon 110 to be detected based on the position information of each pixel point in the outer contour of the inner core 120 identified to be located inside the balloon 110 to be detected, reference can be made to the center point extraction technology known to those skilled in the art, which will not be described in detail here.

[0158] In some exemplary embodiments, the detection method further comprises:

[0159] The parameter detection result of the balloon to be detected 110 is displayed on the image of the balloon to be detected.

[0160] Please continue to refer to Figure 4 , which is a schematic diagram of balloon parameter detection results provided by one embodiment of the present invention. Figure 4 As shown in the figure, D L Indicates the distal diameter of the balloon, D in the figure R Indicates the proximal diameter of the balloon, D in the figure C Indicates the mid-end diameter of the balloon. L in the figure P Indicates the length of the balloon, L in the figure X represents the inner distance between two adjacent developing rings 130, W in the figure represents the curvature of the central axis of the balloon, and P max Indicates the maximum straightness of the balloon, P min Indicates the minimum straightness of the balloon. Thus, by displaying the detection results of the parameters of the balloon 110 to be detected on the image of the balloon to be detected, the detection results of the parameters of the balloon 110 to be detected can be intuitively presented to the user.

[0161] In some exemplary embodiments, the detection method further comprises:

[0162] Whether the balloon 110 to be tested is qualified is determined based on the parameter test results of the balloon 110 to be tested and the pre-acquired standard balloon parameter information.

[0163] Therefore, by comparing the parameter detection results of the balloon 110 to be tested with the parameter information of the standard balloon, it is possible to automatically determine whether the balloon 110 to be tested is qualified, thereby facilitating the subsequent statistics of qualified and unqualified products and being more conducive to avoiding the outflow of defective products.

[0164] Specifically, please refer to Table 1 below, which is a balloon parameter determination result table.

[0165] Table 1 Balloon parameter determination results

[0166]

[0167] As shown in Table 1, the length value of the balloon 110 to be tested (i.e., the measured value of the length test item in Table 1) can be compared with the corresponding standard value. If the difference between the two is within the range defined by the upper deviation and the lower deviation, the length of the balloon 110 to be tested is determined to be qualified (i.e., OK); similarly, the distal diameter value of the balloon 110 to be tested (i.e., the measured value of the distal diameter test item in Table 1) can be compared with the corresponding standard value. If the difference between the two is within the range defined by the upper deviation and the lower deviation, the distal diameter value of the balloon 110 to be tested is determined to be qualified (i.e., OK); The mid-end diameter value of the balloon 110 to be tested (i.e., the measured value of the mid-end diameter test item in Table 1) is compared with the corresponding standard value. If the difference between the two is within the range defined by the upper deviation and the lower deviation, the mid-end diameter of the balloon 110 to be tested is determined to be qualified (i.e., OK); the proximal diameter value of the balloon 110 to be tested (i.e., the measured value of the proximal diameter test item in Table 1) is compared with the corresponding standard value. If the difference between the two is within the range defined by the upper deviation and the lower deviation, the proximal diameter of the balloon 110 to be tested is determined to be qualified (i.e., OK); The inner spacing value of the developing ring 130 (i.e., the measured value of the inner spacing test item of the developing ring 130 in Table 1) is compared with the corresponding standard value. If the difference between the two is within the range defined by the upper deviation and the lower deviation, the inner spacing of the developing ring 130 of the balloon 110 to be tested is determined to be qualified (i.e., OK); the maximum straightness value of the balloon 110 to be tested (i.e., the measured value of the maximum straightness test item in Table 1) is compared with the corresponding standard value. If the difference between the two is within the range defined by the upper deviation and the lower deviation, the maximum straightness of the balloon 110 to be tested is determined to be qualified (i.e., OK ); compare the minimum straightness value of the balloon 110 to be tested (i.e. the measured value of the minimum straightness test item in Table 1) with the corresponding standard value. If the difference between the two is within the range defined by the upper deviation and the lower deviation, the minimum straightness of the balloon 110 to be tested is determined to be qualified (i.e. OK); compare the central axis curvature value of the balloon 110 to be tested (i.e. the measured value of the central axis curvature test item in Table 1) with the corresponding standard value. If the difference between the two is within the range defined by the upper deviation and the lower deviation, the central axis curvature of the balloon 110 to be tested is determined to be qualified (i.e. OK).

[0168] Please continue to refer to Table 2, which is a statistical table of balloon size detection results.

[0169] Table 2 Balloon size test results statistics

[0170]

[0171] As shown in Table 2, by counting qualified products and unqualified products, users can clearly know the number of qualified products and unqualified products in the same batch, as well as the specific non-conformities (i.e. which parameter is unqualified), so that users can formulate reasonable treatment measures.

[0172] In some exemplary embodiments, the detection method further comprises:

[0173] Based on the diameter information of each balloon 110 to be detected, a balloon diameter trend graph is drawn;

[0174] According to the length information of each balloon 110 to be detected, a balloon length trend graph is drawn.

[0175] Specifically, please refer to Figure 5 and Figure 6 ,in, Figure 5 A balloon diameter trend graph provided in one embodiment of the present invention; Figure 6 This is a balloon length trend diagram provided by one embodiment of the present invention. Figure 5 As shown in FIG. 1 , by drawing a balloon diameter trend graph, the intra-batch / inter-batch diameter level of balloon products can be more intuitively displayed to users; Figure 6 As shown, by drawing a balloon length trend graph, the length level of balloon products within a batch / between batches can be more intuitively displayed to the user. It should be noted that, as can be understood by those skilled in the art, for each balloon, a balloon diameter trend graph can be drawn based on the average value of the distal diameter, the middle diameter, and the proximal diameter of the balloon.

[0176] In some exemplary embodiments, the detection method further comprises:

[0177] The size information of the balloon 110 to be detected is corrected according to the pre-acquired size ratio conversion coefficient.

[0178] Specifically, for each specification of balloon products, the size of the balloon sample belonging to the specification detected based on the balloon image provided by the present invention is first confirmed to be consistent with the size of the same balloon sample detected based on the existing balloon size testing system, so as to summarize the size ratio conversion coefficient between the two, so that the size information detected based on the image of the balloon to be tested can be corrected according to the size ratio conversion coefficient, so that the corrected result is more consistent with the actual size. It should be noted that, as can be understood by those skilled in the art, since in the prior art, the diameter of the balloon is tested by the HPT1000 system, and the length of the balloon is measured by using a steel ruler, therefore, for each specification of balloon products, the diameter ratio conversion coefficient and length ratio change coefficient corresponding to the balloon product of this specification need to be confirmed separately.

[0179] Based on the same inventive concept, the present invention also provides a balloon parameter detection system, please refer to Figure 7 , which is a schematic diagram of the block structure of a balloon parameter detection system provided by one embodiment of the present invention. Figure 7As shown, the balloon parameter detection system provided by the present invention includes an image acquisition device 210 and a controller 220 that are communicatively connected. The image acquisition device 210 is configured to acquire an image of the balloon to be detected in a filled state and transmit it to the controller 220. The controller 220 is configured to implement the balloon parameter detection method described above. Therefore, the balloon parameter detection system provided by the present invention adopts an optical visual detection method, and the detection process is non-destructive, does not cause deformation of the balloon surface, and effectively avoids damage to the balloon. In addition, since the balloon parameter detection system provided by the present invention automatically calculates the size information of the balloon 110 to be detected based on the image of the balloon to be detected, the detection result is more accurate, effectively avoiding problems such as missed detection and consistency differences caused by manual inspection, and the accuracy of the detection result of the present invention can be up to the decimal point, with higher detection accuracy. In addition, the balloon parameter detection system provided by the present invention can be embedded in the existing production process for parallel inspection, without adding a new process, effectively avoiding the flow of defective products to the next process, and saving processes. In addition, since the balloon parameter detection system provided by the present invention is more convenient, the detection of a balloon can be completed in about 5 seconds, and by adopting the balloon parameter detection system provided by the present invention, the balloon products can be fully inspected and relevant data can be stored, thereby reflecting the size level within / between batches of balloon products.

[0180] Specifically, the image acquisition device 210 includes a camera 211 and a lens 212 . The camera 211 may be, but is not limited to, an industrial high-resolution camera, and the lens 212 may be, but is not limited to, an industrial optical lens.

[0181] In some exemplary embodiments, the balloon parameter detection system further includes a push rod (not shown in the figure) for fixing the balloon to be detected 110, and the push rod is configured to transport the balloon to be detected 110 to the bottom of the image acquisition device 210. Specifically, the catheter product with the balloon to be detected 110 can be placed on the push rod, and the balloon to be detected 110 can be exposed (that is, the balloon to be detected 110 is suspended), and then the push rod is pushed toward the direction of the image acquisition device 210 to transport the balloon to be detected 110 to the bottom of the image acquisition device 210.

[0182] In some exemplary embodiments, the balloon parameter detection system further includes a photoelectric sensor 230 and a light source 240 that are communicatively connected to the controller 220, the photoelectric sensor 230 being configured to detect whether the balloon 110 to be detected has reached below the image acquisition device 210, and the controller 220 being further configured to control the light source 240 to emit illumination light to the balloon 110 to be detected and control the image acquisition device 210 to acquire an image of the balloon to be detected after the balloon 110 to be detected has reached below the image acquisition device 210. Thus, by controlling the light source 240 to emit illumination light to the balloon 110 to be detected and controlling the image acquisition device 210 to acquire an image of the balloon to be detected after detecting that the balloon 110 to be detected has reached below the image acquisition device 210, the quality of the image of the balloon to be detected can be ensured, laying a good foundation for improving the accuracy of the acquired balloon parameters. It should be noted that, as can be understood by those skilled in the art, for each balloon 110 to be detected, the image acquisition device 210 will capture multiple images of the balloon to be detected, and the controller 220 is configured to select the clearest and most complete image of the balloon from the multiple images of the balloon 110 to be detected to calculate the balloon parameters.

[0183] Based on the same inventive concept, the present invention also provides an electronic device, please refer to Figure 8 , which is a schematic diagram of a block structure of an electronic device provided by an embodiment of the present invention. Figure 8 As shown, the electronic device provided by the present invention includes a processor 310 and a memory 330, and a computer program is stored on the memory 330. When the computer program is executed by the processor 310, the balloon parameter detection method described above is implemented. Since the electronic device provided by the present invention and the balloon parameter detection method provided by the present invention belong to the same inventive concept, the electronic device provided by the present invention has all the beneficial effects of the balloon parameter detection method provided by the present invention. For details, please refer to the relevant description of the beneficial effects of the balloon parameter detection method provided by the present invention above, so the beneficial effects of the electronic device provided by the present invention will not be repeated here. It should be noted that, as can be understood by those skilled in the art, the electronic device provided by the present invention can be used as the controller 220 in the balloon parameter detection system provided by the present invention.

[0184] like Figure 8As shown, the electronic device also includes a communication interface 320 and a communication bus 340, wherein the processor 310, the communication interface 320, and the memory 330 communicate with each other through the communication bus 340. The communication bus 340 can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus 340 can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus. The communication interface 320 is used for communication between the above-mentioned electronic device and other devices.

[0185] Specifically, the processor 310 referred to in the present invention may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc. The processor 310 is the control center of the electronic device, and uses various interfaces and lines to connect various parts of the entire electronic device.

[0186] The memory 330 may be used to store the computer program, and the processor 310 implements various functions of the electronic device by running or executing the computer program stored in the memory 330 and calling the data stored in the memory 330 .

[0187] Further, the memory 330 may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0188] The present invention also provides a readable storage medium, wherein a computer program is stored in the readable storage medium, and when the computer program is executed by a processor, the balloon parameter detection method described above can be implemented. Since the readable storage medium provided by the present invention and the balloon parameter detection method provided by the present invention belong to the same inventive concept, the readable storage medium provided by the present invention has all the beneficial effects of the balloon parameter detection method provided by the present invention. For details, reference can be made to the relevant description of the beneficial effects of the balloon parameter detection method provided by the present invention above, so the beneficial effects of the readable storage medium provided by the present invention will not be repeated here.

[0189] The readable storage medium provided by the present invention can adopt any combination of one or more computer-readable media. The readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to, a system, device or component of electricity, magnetism, light, electromagnetic, infrared or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer hard disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this article, a computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, a device or a device or used in combination with it.

[0190] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, which carry computer-readable program codes. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, device, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to wireless, wire, optical cable, RF, etc., or any suitable combination of the above.

[0191] In summary, the balloon parameter detection method, balloon parameter detection system, electronic device and readable storage medium provided by the present invention have the following beneficial effects:

[0192] The present invention adopts an optical vision detection method, and the detection process is non-destructive, will not cause deformation of the balloon surface, and effectively avoids damage to the balloon. In addition, because the present invention automatically calculates the size information of the balloon 110 to be detected based on the image of the balloon to be detected, the detection result is more accurate, effectively avoiding the problems of missed detection and consistency differences caused by manual inspection, and the accuracy of the detection result of the present invention can be up to the decimal place, with higher detection accuracy. In addition, the present invention can be embedded in the existing production process for parallel inspection without adding new processes, effectively avoiding the flow of defective products to the next process, and saving processes. In addition, because the present invention is more convenient, the detection of a balloon can be completed in about 5 seconds, and the present invention can perform a full inspection of the balloon product and store relevant data, so as to reflect the size level within the batch / between batches of the balloon product.

[0193] It should be noted that the computer program code for performing the operation of the present invention can be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages-such as Java, Smalltalk, C++, and also conventional procedural programming languages-such as "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as an independent software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network-including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (for example, using an Internet service provider to connect through the Internet).

[0194] It should be noted that the devices and methods disclosed in the embodiments of this article can also be implemented in other ways. The device implementation described above is only schematic. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to multiple embodiments of this article. In this regard, each box in the flowchart or block diagram can represent a part of a module, program or code, and the module, program segment or part of the code contains one or more executable instructions for implementing the specified logical function, and the module, program segment or part of the code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented by a dedicated hardware-based system for performing a specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions. In addition, the functional modules in the various embodiments of this document may be integrated together to form an independent part, or each module may exist independently, or two or more modules may be integrated to form an independent part.

[0195] The above description is only a description of the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any changes and modifications made by a person skilled in the art in the field of the present invention based on the above disclosure are within the scope of protection of the present invention. Obviously, a person skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations fall within the scope of the present invention and its equivalents, the present invention is also intended to include these modifications and variations.

Claims

1. A balloon parameter detection method, characterized in that: include: Acquire an image of the balloon to be inspected in a filled state; Recognize the outer contour of the balloon on the image of the balloon to be detected, so as to identify the position information of each pixel point in the outer contour of the balloon to be detected; The size information of the balloon to be detected is obtained according to the position information of each pixel point in the outer contour of the balloon to be detected.

2. The balloon parameter detection method according to claim 1, characterized in that: The step of obtaining the size information of the balloon to be detected according to the position information of each pixel point in the outer contour of the balloon to be detected includes: According to the position information of each pixel point in the outer contour of the to-be-detected balloon, an upper boundary point set and a lower boundary point set of the outer contour of the to-be-detected balloon are determined, wherein the upper boundary point set is composed of a plurality of upper boundary pixel points, and the lower boundary point set is composed of a plurality of lower boundary pixel points; For each upper boundary pixel point of the upper boundary point set of the outer contour of the to-be-detected balloon, a lower boundary pixel point with the same horizontal coordinate as the upper boundary pixel point is searched in the lower boundary point set, and according to the absolute value of the difference between the vertical coordinate of the upper boundary pixel point and the vertical coordinate of the lower boundary pixel point, a radial value of the to-be-detected balloon at the horizontal position corresponding to the horizontal coordinate is obtained; The size information of the balloon to be detected is obtained according to the radial value of the balloon to be detected at each transverse position.

3. The balloon parameter detection method according to claim 2, characterized in that: The step of obtaining the size information of the balloon to be detected according to the radial value of the balloon to be detected at each transverse position includes: Determining the straight section of the balloon to be detected according to the radial value of the balloon to be detected at each transverse position; Obtaining diameter information of the balloon to be detected according to radial values ​​at each transverse position within the straight segment; The length information of the balloon to be detected is obtained according to the distance between the distal boundary of the straight segment and the proximal boundary of the straight segment.

4. The balloon parameter detection method according to claim 3, characterized in that: Determining the straight section of the balloon to be detected according to the radial value of the balloon to be detected at each transverse position includes: According to the radial value of the balloon to be detected at each transverse position, the radial value of the balloon to be detected is derived along the transverse position to determine a first extreme radial value located at the distal end of the balloon to be detected and a second extreme radial value located at the proximal end of the balloon to be detected; Determine the distal boundary of the straight segment according to the upper boundary pixel point and the lower boundary pixel point corresponding to the first extreme radial value located at the distal end of the balloon to be detected; Determine the proximal boundary of the straight segment according to the upper boundary pixel point and the lower boundary pixel point corresponding to the second extreme radial value located at the proximal end of the balloon to be detected; The area of ​​the balloon to be detected between the distal boundary of the straight segment and the proximal boundary of the straight segment is determined as the straight segment of the balloon to be detected.

5. The balloon parameter detection method according to claim 3, characterized in that: The step of obtaining the diameter information of the balloon to be detected according to the radial values ​​at each transverse position in the straight segment comprises: Acquiring proximal diameter information of the balloon to be detected according to a first preset number of radial values ​​in the proximal region of the straight section; Acquiring the mid-end diameter information of the balloon to be detected according to the first preset number of radial values ​​in the mid-end region of the straight section; The distal diameter information of the balloon to be detected is obtained according to the first preset number of radial values ​​in the distal region of the straight section.

6. The balloon parameter detection method according to claim 5, characterized in that: The step of obtaining the proximal diameter information of the balloon to be detected according to a first preset number of radial values ​​in the proximal region of the straight section includes: Performing median filtering on a first preset number of radial values ​​in the proximal region of the straight section, and using the obtained median value as the proximal diameter of the balloon to be detected; The step of obtaining the mid-end diameter information of the balloon to be detected according to the first preset number of radial values ​​in the mid-end region of the straight segment includes: Performing median filtering on the first preset number of radial values ​​in the middle region of the straight section, and using the obtained median value as the middle diameter of the balloon to be detected; The step of obtaining the distal diameter information of the balloon to be detected according to the first preset number of radial values ​​in the distal region of the straight segment includes: The first preset number of radial values ​​in the distal region of the straight section are subjected to median filtering, and the obtained median value is used as the distal diameter of the balloon to be detected.

7. The balloon parameter detection method according to claim 3, characterized in that: The step of obtaining the size information of the balloon to be detected according to the radial value of the balloon to be detected at each transverse position also includes: Acquire the maximum straightness information of the balloon to be detected according to the maximum radial value and the minimum radial value of a second preset number of radial values ​​of the straight segment in the half-section area close to the proximal end; The minimum straightness information of the balloon to be detected is obtained according to the maximum radial value and the minimum radial value of the second preset number of radial values ​​in the half-section area of ​​the straight segment close to the distal end.

8. The balloon parameter detection method according to claim 1, characterized in that: The detection method further comprises: Recognize the outer contour of the developing ring of the image of the balloon to be detected, so as to identify the position information of each pixel point in the outer contour of each developing ring; According to the position information of each pixel point in the outer contour of each identified developing ring, the inner spacing information between any two adjacent developing rings is obtained.

9. The balloon parameter detection method according to claim 1, characterized in that: The detection method further comprises: Recognize the outer contour of the inner core of the image of the balloon to be detected, so as to identify the position information of each pixel point in the outer contour of the inner core located inside the balloon to be detected; The mid-axis curvature information of the balloon to be detected is obtained based on the position information of each pixel point in the outer contour of the inner core identified to be located inside the balloon to be detected.

10. The balloon parameter detection method according to claim 9, characterized in that: The step of obtaining the central axis curvature information of the balloon to be detected based on the position information of each pixel point in the outer contour of the inner core inside the balloon to be detected comprises: Determine the position information of each pixel point located on the center line of the inner core inside the balloon to be detected according to the position information of each pixel point in the outer contour of the inner core inside the balloon to be detected; Acquire chord length information corresponding to the inner core located inside the balloon to be detected according to the distance between the distal pixel point and the proximal pixel point on the center line of the inner core located inside the balloon to be detected; Acquire arc length information corresponding to the inner core located inside the balloon to be detected according to position information of each pixel point on the center line of the inner core located inside the balloon to be detected; The curvature of the central axis of the balloon to be tested is calculated according to the chord length information and arc length information corresponding to the inner core located inside the balloon to be tested.

11. The balloon parameter detection method according to claim 1, characterized in that: The detection method further comprises: Determine whether the balloon to be tested is qualified according to the parameter test result of the balloon to be tested and the pre-acquired standard balloon parameter information; and / or, Correcting the size information of the balloon to be detected according to the pre-acquired size ratio conversion coefficient; and / or, The parameter detection result of the balloon to be detected is displayed on the image of the balloon to be detected.

12. A balloon parameter detection system, characterized in that: It comprises an image acquisition device and a controller which are communicatively connected, wherein the image acquisition device is configured to acquire an image of a balloon to be detected in a filled state and transmit the image to the controller, and the controller is configured to implement the balloon parameter detection method according to any one of claims 1 to 11.

13. The balloon parameter detection system according to claim 12, characterized in that: The balloon parameter detection system also includes a pushing rod for fixing the balloon to be detected, and the pushing rod is configured to transport the balloon to be detected to the bottom of the image acquisition device.

14. The balloon parameter detection system according to claim 12, characterized in that: The balloon parameter detection system also includes a photoelectric sensor and a light source that are communicatively connected to the controller, the photoelectric sensor is configured to detect whether the balloon to be detected has arrived under the image acquisition device, and the controller is also configured to control the light source to emit illumination light to the balloon to be detected and control the image acquisition device to acquire an image of the balloon to be detected after the balloon to be detected arrives under the image acquisition device.

15. An electronic device, characterized in that: The method comprises a processor and a memory, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the balloon parameter detection method according to any one of claims 1 to 11 is implemented.