Optical fiber bundle light transmission uniformity detection method, medium and device
Through the automated optical fiber bundle light uniformity detection method, dual light source and image processing technology are used to solve the problems of low accuracy and low efficiency of the end surface detection of fiber bundles, and efficient and accurate fiber bundle detection is achieved.
Patent Information
- Application Number
- CN202510578137.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-07
- Publication Date
- 2025-08-15
AI Technical Summary
Existing fiber bundle end surface detectors rely on manual subjective judgment, resulting in low detection accuracy and poor efficiency, easy to miss subtle defects and easy operator fatigue.
Using an automated optical fiber bundle light uniformity detection method, light irradiates from the near and far ends of the optical fiber bundle by the first and second light sources, and combines the image acquisition and processing unit to calculate the brightness ratio and standard deviation of the communication domain to generate detection results.
It realizes fully automatic optical fiber bundle light uniformity detection, avoids manual errors, improves detection accuracy and efficiency, and adapts to optical fiber bundles of different lengths and transmittances.
Smart Images

Figure CN120489513A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of optical fiber detection, and in particular to a method, medium and device for detecting light uniformity of an optical fiber bundle. Background Art
[0002] Optical fiber is widely used in communications, healthcare, and other fields due to its high-quality light-guiding properties. Laser transmission is particularly common, with fiber bundles being a popular method of transmitting laser light. As a precision transmission medium, fiber bundles are subject to defects such as dust, dirt, scratches, damage, and poor polishing on their end faces, which can severely impact light transmission efficiency and signal integrity. Therefore, strict inspection of the fiber bundle end faces is essential during the production process to maximize their effectiveness.
[0003] The current detectors used on the market for inspecting fiber bundle end faces require the fiber bundle to be inserted into an adapter during use. The inspector then determines whether the fiber bundle end face is qualified by directly observing the image of the fiber bundle end face displayed through an eyepiece or a monitor. The following shortcomings exist when using the above-mentioned detectors to inspect fiber bundle end faces:
[0004] 1) When the detector detects the end face of the optical fiber bundle, the operator needs to use his or her own experience and subjective judgment of the clarity of the detection image to roughly adjust the position of the optical fiber bundle end face relative to the detection lens. Not only are the parameters that can be detected limited, but the efficiency and accuracy are also low. In addition, the inability to provide a suitable lighting source leads to unstable quality of the obtained detection image.
[0005] 2) Fiber optic bundles generally contain tens of thousands of optical fibers, which can easily be missed by naked eye observation, resulting in human errors.
[0006] 3) The end face of the optical fiber bundle is in a honeycomb shape. Observing this dense honeycomb shape with the naked eye a certain number of times can easily cause eye fatigue and discomfort. Summary of the Invention
[0007] The present invention provides a method, a medium and a device for detecting the uniformity of light transmission of an optical fiber bundle, which solve the above-mentioned technical problems.
[0008] A first aspect of an embodiment of the present invention provides a method for detecting light uniformity of an optical fiber bundle, comprising the following steps:
[0009] A second aspect of the embodiments of the present invention provides a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, the above-mentioned method for detecting light transmission uniformity of an optical fiber bundle is implemented.
[0010] A third aspect of an embodiment of the present invention provides a device for detecting light uniformity of an optical fiber bundle, comprising a first light source, a second light source, a clamping assembly for clamping the optical fiber bundle to be detected, a lens group, a dichroic mirror, an image acquisition unit, and an image processing unit.
[0011] The second light source is arranged at the distal end of the optical fiber bundle to be detected, and the light source light of the second light source is injected from the distal end of the optical fiber bundle to be detected and emitted from the proximal end, and then is focused by the lens group and transmitted through the dichroic mirror;
[0012] The first light source is arranged above the dichroic mirror, and the light source light of the first light source is reflected by the dichroic mirror and focused by the lens group to enter the proximal end of the optical fiber bundle to be detected;
[0013] The image acquisition unit is used to acquire a first end face image of the optical fiber bundle to be detected when the first light source is turned on and a second end face image of the optical fiber bundle to be detected when the second light source is turned on;
[0014] The image processing unit is used to execute the light uniformity detection method.
[0015] The beneficial effects of the present invention are as follows: the present invention provides a method, medium and device for detecting the uniformity of light transmission of an optical fiber bundle, which can automatically complete the detection of the uniformity of light transmission of an optical fiber bundle, avoiding the errors caused by naked eye detection. At the same time, the brightness of the illumination light source is adjustable and can adapt to optical fiber bundles of different lengths and different transmittances.
[0016] In order to make the above-mentioned objects, features and advantages of the invention more obvious and easy to understand, preferred embodiments of the present invention are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments. It should be understood that the following drawings only illustrate certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other relevant drawings can be obtained based on these drawings without paying any creative work.
[0018] Figure 1 1 is a flow chart of a method for detecting light uniformity of an optical fiber bundle provided in Example 1;
[0019] Figure 2 2 is a schematic structural diagram of a device for detecting light uniformity of an optical fiber bundle provided in Example 2;
[0020] Figure 3 3 is a schematic diagram of the structure of the image processing unit in the light uniformity detection device provided in Example 3. DETAILED DESCRIPTION
[0021] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0022] It should be noted that, unless there is a conflict, the various features of the embodiments of the present invention may be combined with each other and are all within the scope of protection of the present invention. In addition, although the functional modules are divided in the device schematics and the logical order is shown in the flow charts, in some cases, the steps shown or described may be performed in a different order than the module division in the device or the order in the flow charts. Furthermore, the terms "first," "second," "third," etc. used in the present invention do not limit the data or execution order, but only distinguish between identical or similar items with substantially the same functions and effects.
[0023] Figure 1 FIG. 1 is a flow chart of a method for detecting light uniformity of an optical fiber bundle provided in Example 1. Figure 1 As shown, the following steps are included:
[0024] Step 1: Control a preset light source to illuminate the optical fiber bundle to be tested at an optimal illumination intensity, wherein the light of the preset light source enters from the distal end of the optical fiber bundle to be tested;
[0025] Step 2: collecting an end face image of the optical fiber bundle to be inspected, extracting connected domains of the end face image, and generating a defect determination result for each connected domain;
[0026] Step 3, obtaining target connected domain information of a non-defective state in the defect determination result, extracting the brightness values of all target connected domains in the end face image, and calculating the standard deviation as the current light uniformity of the optical fiber bundle to be inspected;
[0027] Step 4: compare the current light transmission uniformity with a reference threshold, and generate a light transmission uniformity detection result of the optical fiber bundle to be detected according to the comparison result.
[0028] The above embodiment provides a method for detecting the uniformity of light transmission of an optical fiber bundle, which can automatically complete the detection of the uniformity of light transmission of an optical fiber bundle, avoiding errors caused by naked eye detection. At the same time, the brightness of the illumination light source is adjustable, which can adapt to optical fiber bundles of different lengths and different transmittances.
[0029] Each step of the above method is described in detail below using specific embodiments.
[0030] In one specific embodiment, the preset light source includes a first light source whose light source light is emitted from the proximal end of the optical fiber bundle to be tested, and a second light source whose light source light is emitted from the distal end of the optical fiber bundle to be tested, wherein the brightness of the first light source is greater than the brightness of the second light source. Exemplarily, the first light source may be a laser light source, and the second light source may be an LED parallel surface light source. By controlling the on and off of the first and second light sources, the uniformity of the light transmission through the optical fiber bundle is detected.
[0031] The quality of imaging at the end face of the optical fiber bundle varies depending on the length and transmittance of the optical fiber bundle. In a preferred embodiment, to accommodate optical fiber bundles of different lengths and transmittances to be inspected, the method of the present invention further includes a step of jointly adjusting the brightness and position of the first light source, i.e., adjusting the end face of the optical fiber bundle to be inspected to an optimal position relative to the lens assembly, and controlling the first light source to illuminate the optical fiber bundle to be inspected at the optimal illumination, specifically:
[0032] S101, configuring a plurality of illumination levels with successively increasing illumination intensities for the first light source, and configuring a plurality of preset positions with successively increasing distances relative to the lens group for the optical fiber bundle to be inspected;
[0033] S102, setting the initial illumination of the first light source to an intermediate level, and moving the optical fiber bundle to be inspected to an intermediate position;
[0034] S103, capturing a first end-face image of the optical fiber bundle to be inspected under illumination by the first light source, calculating an actual brightness of the first end-face image, and determining whether the actual brightness is within a preset brightness range; if so, calculating a focus of the first end-face image and executing S104; if not, adjusting a current illumination level of the first light source according to the determination result until the actual brightness is within the preset brightness range;
[0035] S104: Maintaining the current illumination of the first light source unchanged, the optical fiber bundle to be inspected is moved to the next preset position, and then the first end face image is captured again to obtain the focus. It is determined whether the change in the focus between two adjacent times is less than a preset threshold. If so, S105 is executed. If not, the current position of the optical fiber bundle to be inspected is adjusted according to the determination result, and the process returns to step S103.
[0036] S105, keeping the current illumination of the first light source and the current position of the optical fiber bundle to be detected unchanged, collecting the first end face image again and calculating the actual brightness. If the actual brightness is within the preset brightness range, the current illumination is the optimal illumination and the current position is the optimal position.
[0037] Specifically, the focus here can be defined as one or more of the image's gradient mean, gradient sum, variance, and standard deviation. By adjusting the fiber bundle end face to the optimal position and optimal light brightness, the acquired image to be detected can be optimized and the detection accuracy can be improved.
[0038] In another preferred embodiment, the brightness of the second light source can also be adjusted, that is, the second light source is controlled to illuminate the optical fiber bundle to be detected with optimal illumination, specifically:
[0039] configuring a plurality of illumination levels with successively increasing illumination for the second light source, and setting an initial illumination of the second light source to an intermediate level;
[0040] Acquire a second end face image of the optical fiber bundle to be inspected under the illumination of the second light source, and calculate the actual brightness of the light source imaging corresponding to the current illumination level based on the second end face image;
[0041] Determine whether the actual brightness is within the preset brightness range. If so, the current illumination is the optimal illumination. If the actual brightness is higher than the preset brightness range, adjust the current illumination of the light source to the previous illumination level. If the actual brightness is lower than the preset brightness range, adjust the current illumination of the light source to the next illumination level, and repeat the above steps until the actual brightness is within the preset brightness range, thereby taking into account both detection efficiency and detection accuracy.
[0042] In a further preferred embodiment, the light uniformity detection method of the present invention generates a defect determination result for each connected domain, specifically including:
[0043] S201, collecting an end face image of the end face of the optical fiber bundle to be inspected after being focused by a lens group, the end face image including a first end face image corresponding to a first light source and a second end face image corresponding to a second light source;
[0044] S202: Extract a first brightness value of each connected domain in the first end face image and a second brightness value of the corresponding connected domain in the second end face image. The first brightness value is recorded as The second brightness value is recorded as Wherein K represents the number of connected domains corresponding to the optical fiber bundle to be detected;
[0045] S203: Calculate the second brightness value of each connected region With the first brightness value The brightness ratio of k , k=1,2,…,K;
[0046] S204, for {r k,k=1,2,…,K} is fitted according to Gaussian distribution to generate Gaussian function parameters u1 and σ1;
[0047] S205, when the brightness ratio r of any connected region k ≥u1-3σ1, the connected domain is determined to be in a non-defective state; otherwise, the connected domain is determined to be in a defective state.
[0048] The above preferred embodiment calculates the brightness ratio and utilizes Gaussian distribution fitting. Gaussian distribution fitting can provide statistical characteristics about the distribution of brightness ratio, reduce misjudgment caused by factors such as ambient light changes and image noise, thereby more accurately identifying defects on the optical fiber end face and improving detection efficiency and detection accuracy.
[0049] Specifically, when any connected domain has only one pixel, the brightness value of the connected domain is the pixel value of the corresponding pixel; when any connected domain has multiple pixels, the brightness value of the connected domain is the maximum value of the pixel values of all pixels. This not only simplifies the calculation process, but also highlights the brightness characteristics of the fiber core in the optical fiber bundle and reduces the impact of noise.
[0050] In a preferred embodiment, the light transmission uniformity detection method further includes the following steps: based on the detection parameters of the optical fiber bundle to be detected and querying the preset mapping table, a corresponding reference threshold is generated. Specifically, the standard deviation can measure the discrete degree of the brightness values of all non-defective connected domains in the optical fiber bundle to be detected, that is, the difference between the brightness values of different connected domains. The larger the standard deviation of the brightness value, the more dispersed the distribution of the brightness values of these connected domains, that is, the greater the difference in brightness values, and the worse the light transmission uniformity; conversely, the smaller the standard deviation, the more concentrated the distribution of brightness values, that is, the smaller the difference in brightness values, and the better the light transmission uniformity. For example, a threshold value s can be set based on an empirical value. th , if the standard deviation s calculated in step 3 is ≤ s th , then the light uniformity is good, otherwise the light uniformity is poor. In a more preferred embodiment, historical light uniformity detection data of optical fiber bundles with different processes and structures can also be collected, and a preset mapping table can be established based on the historical data. The preset mapping table can reflect the preset reference thresholds corresponding to different detection parameters under the current detection method, thereby improving the detection accuracy. Exemplarily, the detection parameters include the length, transmittance, curvature, preparation process (including materials, process parameters) of the optical fiber bundle to be detected and / or the environmental parameters of the optical fiber bundle detection, such as the light source type and power of the first light source and the second light source, etc., one or more of them can be selected to calculate the corresponding influencing factors, and the preset threshold s can be calculated based on the influencing factors. th Make adjustments and take comprehensive considerations.
[0051] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
[0052] An embodiment of the present invention further provides a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, the above-mentioned method for detecting light transmission uniformity of an optical fiber bundle is implemented.
[0053] Figure 2 Schematic diagram of the structure of the optical fiber bundle light uniformity detection device provided in Example 2, as shown in FIG. Figure 2 As shown, it includes a first light source 1, a second light source 3, a clamping assembly for clamping the optical fiber bundle 15 to be detected, a lens group 7, a dichroic mirror 6, an image acquisition unit 5 and an image processing unit 4.
[0054] The second light source 3 is disposed at the distal end of the optical fiber bundle 15 to be detected. Light from the second light source 3 enters from the distal end of the optical fiber bundle 15 to be detected, exits from the proximal end, is focused by the lens group 7, and is transmitted through the dichroic mirror 6.
[0055] The first light source 1 is arranged above the dichroic mirror 6. The light from the first light source 1 is reflected by the dichroic mirror 6 and focused by the lens group 7 before entering the proximal end of the optical fiber bundle 15 to be detected.
[0056] The image acquisition unit 5 is used to acquire a first end surface image of the optical fiber bundle 15 to be detected when the first light source 1 is turned on and a second end surface image of the optical fiber bundle 15 to be detected when the second light source 3 is turned on;
[0057] The image processing unit 4 is used to execute the above-mentioned light uniformity detection method.
[0058] The above embodiment provides a device for detecting the uniformity of light transmission of an optical fiber bundle, which can automatically complete the detection of the uniformity of light transmission of an optical fiber bundle, avoiding errors caused by naked eye detection. At the same time, the brightness of the illumination light source is adjustable, which can adapt to optical fiber bundles of different lengths and different transmittances.
[0059] Exemplarily, the clamping assembly includes a proximal clamping device 8 for clamping one end of the optical fiber bundle 15 to be detected close to the lens assembly 7 and a distal clamping device 12 for clamping the other end of the optical fiber bundle 15 to be detected.
[0060] In a preferred embodiment, the light uniformity detection device further includes a movement controller 9 connected to the clamping assembly, and the movement controller 9 is used to move the clamping assembly axially so that the end face of the optical fiber bundle 15 to be detected is close to or away from the lens group 7.
[0061] Exemplarily, the lens assembly 7 can be a collection of two or more lenses, such as a first lens element, a second lens element, a third lens element, and a fourth lens element, wherein the first lens element is a plano-convex lens, the second lens element is a doublet, the third lens element is an aspheric lens, and the fourth lens element is a biconvex lens. This lens assembly can focus light passing through the optical fiber bundle, thereby ensuring a clearer captured image and enabling accurate identification of defects on the end face of the optical fiber bundle.
[0062] Figure 3 FIG. 4 is a schematic diagram of the structure of the image processing unit 4 in one embodiment. Figure 3 As shown, it includes a first control unit 100, an image acquisition unit 200, a calculation unit 300 and a result generation unit 400,
[0063] The first control unit 100 is used to control a preset light source to illuminate the optical fiber bundle to be inspected with an optimal illumination, and the light of the preset light source is emitted from the far end of the optical fiber bundle to be inspected;
[0064] The image acquisition unit 200 is used to acquire the end face image of the optical fiber bundle to be inspected, extract the connected domains of the end face image, and generate a defect determination result for each connected domain;
[0065] The calculation unit 300 is used to obtain the target connected domain information of the non-defective state in the defect determination result, extract the brightness values of all target connected domains in the end face image, and calculate the standard deviation as the current light uniformity of the optical fiber bundle to be tested;
[0066] The result generating unit 400 is configured to compare the current light transmission uniformity with a reference threshold value, and generate a light transmission uniformity detection result of the optical fiber bundle to be detected according to the comparison result.
[0067] Furthermore, the result generating unit 400 is specifically configured to generate a corresponding reference threshold value based on the detection parameters of the optical fiber bundle to be detected and by querying a preset mapping table.
[0068] It should be noted that the above explanation of the embodiment of the method for detecting light transmission uniformity of an optical fiber bundle is also applicable to the apparatus for detecting light transmission uniformity of an optical fiber bundle in the above embodiment, and will not be repeated here.
[0069] Those skilled in the art can clearly understand that, for the convenience and brevity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated into one processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0070] In the above embodiments, the description of each embodiment has its own focus. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant description of other embodiments.
[0071] Those skilled in the art will appreciate that the units and method steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present invention.
[0072] In the embodiments provided by the present invention, it should be understood that the disclosed devices / terminal equipment and methods can be implemented in other ways. For example, the device / terminal equipment embodiments described above are merely illustrative. For example, the division of the modules or units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0073] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0074] In addition, the functional units in the various embodiments of the present invention may be integrated into a single processing unit, each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.
[0075] The present invention is not limited to what is described in the specification and embodiments, and additional advantages and modifications will be readily apparent to those skilled in the art. Therefore, the present invention is not limited to the specific details, representative devices, and illustrative examples shown and described herein without departing from the spirit and scope of the general concept defined by the claims and their equivalents.
Claims
1. A method for detecting light uniformity of an optical fiber bundle, characterized in that: The following steps are involved: Step 1: Control a preset light source to illuminate the optical fiber bundle to be tested at an optimal illumination intensity, wherein the light of the preset light source enters from the distal end of the optical fiber bundle to be tested; Step 2: collecting an end face image of the optical fiber bundle to be inspected, extracting connected domains of the end face image, and generating a defect determination result for each connected domain; Step 3, obtaining target connected domain information of a non-defective state in the defect determination result, extracting the brightness values of all target connected domains in the end face image, and calculating the standard deviation as the current light uniformity of the optical fiber bundle to be inspected; Step 4: compare the current light transmission uniformity with a reference threshold, and generate a light transmission uniformity detection result of the optical fiber bundle to be detected according to the comparison result.
2. The method for detecting light uniformity of an optical fiber bundle according to claim 1, wherein: The preset light source includes a first light source whose light source light is emitted from the proximal end of the optical fiber bundle to be detected and a second light source whose light source light is emitted from the distal end of the optical fiber bundle to be detected. The brightness of the first light source is greater than that of the second light source.
3. The method for detecting light uniformity of an optical fiber bundle according to claim 2, wherein: The first light source is a laser light source. The end face of the optical fiber bundle to be detected is adjusted to an optimal position relative to the lens group, and the first light source is controlled to illuminate the optical fiber bundle to be detected with optimal illumination. Specifically, S101, configuring a plurality of illumination levels with successively increasing illumination intensities for the first light source, and configuring a plurality of preset positions with successively increasing distances relative to the lens group for the optical fiber bundle to be inspected; S102, setting the initial illumination of the first light source to an intermediate level, and moving the optical fiber bundle to be inspected to an intermediate position; S103, capturing a first end-face image of the optical fiber bundle to be inspected under illumination by the first light source, calculating an actual brightness of the first end-face image, and determining whether the actual brightness is within a preset brightness range; if so, calculating a focus of the first end-face image and executing S104; if not, adjusting a current illumination level of the first light source according to the determination result until the actual brightness is within the preset brightness range; S104: Maintaining the current illumination of the first light source unchanged, the optical fiber bundle to be inspected is moved to the next preset position, and then the first end face image is captured again to obtain the focus. It is determined whether the change in the focus between two adjacent times is less than a preset threshold. If so, S105 is executed. If not, the current position of the optical fiber bundle to be inspected is adjusted according to the determination result, and the process returns to step S103. S105, keeping the current illumination of the first light source and the current position of the optical fiber bundle to be detected unchanged, collecting the first end face image again and calculating the actual brightness. If the actual brightness is within the preset brightness range, the current illumination is the optimal illumination and the current position is the optimal position.
4. The method for detecting light uniformity of an optical fiber bundle according to claim 2, wherein: The second light source is an LED parallel surface light source, and the second light source is controlled to illuminate the optical fiber bundle to be detected with optimal illumination, specifically: configuring a plurality of illumination levels with successively increasing illumination for the second light source, and setting an initial illumination of the second light source to an intermediate level; Acquire a second end face image of the optical fiber bundle to be inspected under the illumination of the second light source, and calculate the actual brightness of the light source imaging corresponding to the current illumination level based on the second end face image; Determine whether the actual brightness is within the preset brightness range. If so, the current illumination is the optimal illumination. If the actual brightness is higher than the preset brightness range, adjust the current illumination of the light source to the previous illumination level. If the actual brightness is lower than the preset brightness range, adjust the current illumination of the light source to the next illumination level, and repeat the above steps until the actual brightness is within the preset brightness range.
5. The method for detecting light uniformity of an optical fiber bundle according to any one of claims 2 to 4, characterized in that: Generate defect determination results for each connected domain, including: S201, collecting an end face image of the end face of the optical fiber bundle to be inspected after being focused by a lens group, the end face image including a first end face image corresponding to a first light source and a second end face image corresponding to a second light source; S202: Extract a first brightness value of each connected domain in the first end face image and a second brightness value of the corresponding connected domain in the second end face image. The first brightness value is recorded as The second brightness value is recorded as Wherein K represents the number of connected domains corresponding to the optical fiber bundle to be detected; S203: Calculate the second brightness value of each connected region With the first brightness value The brightness ratio of k , k=1,2,…,K; S204, for {r k ,k=1,2,…,K} is fitted according to Gaussian distribution to generate Gaussian function parameters u1 and σ1; S205, when the brightness ratio r of any connected region k ≥u1-3σ1, the connected domain is determined to be in a non-defective state; otherwise, the connected domain is determined to be in a defective state.
6. The method for detecting light uniformity of an optical fiber bundle according to claim 5, wherein: When any connected domain has only one pixel, the brightness value of the connected domain is the pixel value of the corresponding pixel; when any connected domain has multiple pixels, the brightness value of the connected domain is the maximum value of the pixel values of all pixels.
7. The method for detecting light transmission uniformity of an optical fiber bundle according to claim 5, wherein in step 4, a corresponding reference threshold is generated by querying a preset mapping table based on the detection parameters of the optical fiber bundle to be detected.
8. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method for detecting light uniformity according to any one of claims 1 to 7 is implemented.
9. A device for detecting light uniformity of an optical fiber bundle, characterized in that: The device comprises a first light source (1), a second light source (3), a clamping assembly for clamping an optical fiber bundle (15) to be detected, a lens group (7), a dichroic mirror (6), an image acquisition unit (5), and an image processing unit (4). The second light source (3) is arranged at the distal end of the optical fiber bundle (15) to be detected, and the light source light of the second light source (3) is injected from the distal end of the optical fiber bundle (15) to be detected and emitted from the proximal end, and then is focused by the lens group (7) and transmitted through the dichroic mirror (6); The first light source (1) is arranged above the dichroic mirror (6), and the light source light of the first light source (1) is reflected by the dichroic mirror (6) and focused by the lens group (7) before entering the proximal end of the optical fiber bundle (15) to be detected; The image acquisition unit (5) is used to acquire a first end face image of the optical fiber bundle (15) to be detected when the first light source (1) is turned on, and a second end face image of the optical fiber bundle (15) to be detected when the second light source (3) is turned on; The image processing unit (4) is used to execute the light uniformity detection method according to any one of claims 1 to 7.
10. The optical fiber bundle light uniformity detection device according to claim 9, characterized in that: It also includes a movement controller (9) connected to the clamping assembly, and the movement controller (9) is used to move the clamping assembly along the axial direction so that the end face of the optical fiber bundle (15) to be detected is close to or away from the lens group (7).