CN109146968A - A kind of panda type polarization-preserving fiber end face axis fixation method and device - Google Patents
A kind of panda type polarization-preserving fiber end face axis fixation method and device Download PDFInfo
- Publication number
- CN109146968A CN109146968A CN201810828967.7A CN201810828967A CN109146968A CN 109146968 A CN109146968 A CN 109146968A CN 201810828967 A CN201810828967 A CN 201810828967A CN 109146968 A CN109146968 A CN 109146968A
- Authority
- CN
- China
- Prior art keywords
- opal
- face
- image
- optical fibre
- maintaining optical
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/70—Determining position or orientation of objects or cameras
- G06T7/73—Determining position or orientation of objects or cameras using feature-based methods
-
- G—PHYSICS
- G02—OPTICS
- G02B—OPTICAL ELEMENTS, SYSTEMS OR APPARATUS
- G02B6/00—Light guides; Structural details of arrangements comprising light guides and other optical elements, e.g. couplings
- G02B6/02—Optical fibres with cladding with or without a coating
- G02B6/024—Optical fibres with cladding with or without a coating with polarisation maintaining properties
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/11—Region-based segmentation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/13—Edge detection
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/136—Segmentation; Edge detection involving thresholding
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Theoretical Computer Science (AREA)
- Optics & Photonics (AREA)
- Mechanical Coupling Of Light Guides (AREA)
Abstract
The embodiment of the present invention provides a kind of panda type polarization-preserving fiber end face axis fixation method and device, the method comprise the steps that the positional relationship of coordinate and cladding center and opal based on cladding center in the end face figure like to the polarization maintaining optical fibre of dead axle, extracts opal image by ROI image cutting techniques from end face figure like;Opal image is converted into opal bianry image, is based on opal bianry image, obtains the centre coordinate of the first opal and the centre coordinate of the second opal;The centre coordinate of centre coordinate and the second opal based on the first opal calculates the polarization angle of polarization maintaining optical fibre, completes the dead axle of polarization maintaining optical fibre end face.Method and apparatus provided in an embodiment of the present invention extract opal image by ROI cutting techniques from end face figure like, reduce the subsequent operand for obtaining opal coordinate, shorten and calculate the time, enhance the real-time of polarization maintaining optical fibre end face axis fixation method.
Description
Technical field
The present embodiments relate to photoelectron technical field more particularly to a kind of panda type polarization-preserving fiber end face axis fixation methods
And device.
Background technique
Polarization maintaining optical fibre is a kind of special optical fiber with important use value, it is to the polarization vibrated along its polarization axis direction
Light has stronger polarization holding capacity, is widely used in optic communication and sensory field of optic fibre.
In the application of polarization maintaining optical fibre, especially in the manufacturing process of polarization-preserving optical fibre device, two polarization maintaining optical fibres are polarized
The coupling of axis or welding angle have higher required precision, therefore the accurate polarization axle for determining polarization maintaining optical fibre is one in its application
Item key technology.
It is divided into side view imaging using the method that image processing techniques determines polarization maintaining optical fibre polarization axle and two kinds of sides is imaged in end face
Method, wherein end face imaging method haves the shortcomings that computationally intensive, the calculating time is long, is not suitable for the real-time to dead axle process
More demanding occasion.
Summary of the invention
The embodiment of the present invention provides a kind of panda type polarization-preserving fiber end face axis fixation method and device, to solve existing guarantor
There is real-time difference in inclined fiber end face axis fixation method.
On the one hand, the embodiment of the present invention provides a kind of panda type polarization-preserving fiber end face axis fixation method, comprising:
The position of coordinate and cladding center and opal based on cladding center in the end face figure like to the polarization maintaining optical fibre of dead axle
Relationship is set, extracts opal image from end face figure like by ROI image cutting techniques;
Opal image is converted into opal bianry image, is based on opal bianry image, obtains the centre coordinate of the first opal
With the centre coordinate of the second opal;
The centre coordinate of centre coordinate and the second opal based on the first opal, calculates the polarization angle of polarization maintaining optical fibre, complete
At the dead axle of polarization maintaining optical fibre end face.
On the other hand, the embodiment of the present invention provides a kind of panda type polarization-preserving fiber end face dead axle device, comprising:
Image extraction unit, coordinate and packet for cladding center in the end face figure like based on the polarization maintaining optical fibre to dead axle
The positional relationship at layer center and opal, extracts opal image by ROI image cutting techniques from end face figure like;
Centre coordinate acquiring unit is based on opal bianry image, obtains for opal image to be converted to opal bianry image
Take the centre coordinate of the first opal and the centre coordinate of the second opal;
Dead axle unit calculates polarization maintaining optical fibre for the centre coordinate of centre coordinate and the second opal based on the first opal
Polarization angle, complete polarization maintaining optical fibre end face dead axle.
Another aspect, the embodiment of the present invention provide a kind of panda type polarization-preserving fiber end face dead axle equipment, including processor, logical
Believe interface, memory and bus, wherein processor, communication interface, memory complete mutual communication by bus, processing
Device can call the logical order in memory, to execute foregoing panda type polarization-preserving fiber end face axis fixation method.
In another aspect, the embodiment of the present invention provides a kind of computer readable storage medium, it is stored thereon with computer program,
The computer program realizes foregoing panda type polarization-preserving fiber end face axis fixation method when being executed by processor.
A kind of panda type polarization-preserving fiber end face axis fixation method and device provided in an embodiment of the present invention, divide skill by ROI
Art extracts opal image from end face figure like, reduces the subsequent operand for obtaining opal coordinate, shortens and calculates the time, enhancing
The real-time of polarization maintaining optical fibre end face axis fixation method.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair
Bright some embodiments for those of ordinary skill in the art without creative efforts, can be with root
Other attached drawings are obtained according to these attached drawings.
Fig. 1 is a kind of flow diagram of panda type polarization-preserving fiber end face axis fixation method of the embodiment of the present invention;
Fig. 2 is a kind of flow diagram of panda type polarization-preserving fiber end face axis fixation method of the embodiment of the present invention;
Fig. 3 is the end face gray level image of the embodiment of the present invention;
Fig. 4 is the panda type polarization-preserving fiber covering edge null circle fitting result schematic diagram of the embodiment of the present invention;
Fig. 5 is the opal image of the embodiment of the present invention;
Fig. 6 is the opal bianry image of the embodiment of the present invention;
Fig. 7 is the panda type polarization-preserving fiber opal circle fitting result schematic diagram of the embodiment of the present invention;
Fig. 8 is a kind of structural schematic diagram of panda type polarization-preserving fiber end face dead axle device of the embodiment of the present invention;
Fig. 9 is a kind of structural schematic diagram of panda type polarization-preserving fiber end face dead axle equipment of the embodiment of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is
A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art
Every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
Have the shortcomings that computationally intensive, the calculating time is long for existing polarization maintaining optical fibre end face axis fixation method, is not suitable for
To the defect of the higher occasion of the requirement of real-time of dead axle process, the embodiment of the present invention proposes a kind of for panda type polarization-maintaining light
The fine end face axis fixation method for helping to improve dead axle speed, Fig. 1 are a kind of panda type polarization-preserving fiber end of the embodiment of the present invention
The flow diagram of face axis fixation method, as shown in Figure 1, the above method includes:
101, coordinate and cladding center and opal based on cladding center in the end face figure like to the polarization maintaining optical fibre of dead axle
Positional relationship, opal image is extracted from end face figure like by ROI image cutting techniques.
Wherein, ROI (region of interest) is area-of-interest, the end view drawing based on the polarization maintaining optical fibre to dead axle
The region of interest ROI that the coordinate of cladding center and cladding center and the positional relationship of opal are chosen as in is in end face figure like
Opal region, based on ROI image cutting techniques by end face figure like two opals (the first opal and the second opal) separate
Out, and opal image is saved as.Herein, opal image is the packet extracted from end face figure like based on ROI image cutting techniques
Image containing the first opal and the second opal.
It should be noted that the first opal and the second opal herein is only used for carrying out two opals in end face figure like
It distinguishes.
102, opal image is converted into opal bianry image, is based on opal bianry image, obtains the center of the first opal
The centre coordinate of coordinate and the second opal.
Herein, opal bianry image refers to obtains after the gray value by each pixel on opal image is set as 0 or 255
The image arrived.Herein, there are many ways to centre coordinate of the first opal and the second opal being obtained based on opal bianry image, example
The edge point set of the first opal in opal bianry image, and the marginal point based on the first opal are such as obtained by edge detection
Set carries out center of circle fitting, obtains the centre coordinate of the first opal, and the embodiment of the present invention is not made the method for carrying out center of circle fitting
It is specific to limit, it can be realized by the methods of least square method, mean value method, weighted mean method.
103, the centre coordinate of centre coordinate and the second opal based on the first opal calculates the angle of polarization of polarization maintaining optical fibre
Degree completes the dead axle of polarization maintaining optical fibre end face.
In the embodiment of the present invention, opal image is extracted from end face figure like by ROI cutting techniques, reduces subsequent acquisition
The operand of opal coordinate shortens and calculates the time, enhances the real-time of polarization maintaining optical fibre end face axis fixation method.
Based on the above embodiment, a kind of panda type polarization-preserving fiber end face axis fixation method, 101, based on the polarization-maintaining light to dead axle
The coordinate of cladding center and the positional relationship of cladding center and opal in fine end face figure like, pass through ROI image cutting techniques
Opal image is extracted from end face figure like, before further include:
End face figure like is converted into end face bianry image;Based on end face bianry image, the cladding center of polarization maintaining optical fibre is obtained
Coordinate.
Specifically, when performing image segmentation, it needs through the coordinate and cladding center of cladding center and the position of opal
The relationship of setting determines region of interest ROI, thus before this, it is thus necessary to determine that the coordinate of cladding center.Herein, end face bianry image
Refer to the image obtained after the gray value by each pixel in end face figure like is set as 0 or 255.Herein, it is based on end face two
It is worth there are many ways to image obtains the cladding center coordinate of polarization maintaining optical fibre, such as covering edge point set is obtained by edge detection
It closes, and center of circle fitting is carried out based on covering edge point set, obtain cladding center coordinate, the embodiment of the present invention is not to the progress center of circle
The method of fitting makees specific restriction, can be realized by the methods of least square method, mean value method, weighted mean method.
Based on any of the above-described embodiment, a kind of panda type polarization-preserving fiber end face axis fixation method, 101, it is sat based on cladding center
It is marked with and the positional relationship of cladding center and opal, extracts opal image from end face figure like by ROI image cutting techniques, have
Body includes:
The all pixels point for meeting following formula is extracted from end face figure like, constitutes opal image:
In formula, A is the pixel collection of opal image, and (x, y) is any pixel point in opal image, x0And y0Respectively
For the abscissa and ordinate of cladding center, maximum distance of the Radius between cladding center and opal edge.
Specifically, cladding center and the positional relationship of opal refer specifically to the distance between cladding center and opal edge.Root
According to above-mentioned formula, it may be determined that it is the circle of Radius that region of interest ROI, which is by the radius in the center of circle of cladding center,.Preferably,
All pixels for meeting above-mentioned formula in end face figure like can be retained, and by the above-mentioned formulas that are unsatisfactory for all in end face figure like
Part all fills into as white, then passes through rectangle (x0-Radius,y0- Radius, 2*Radius, 2*Radius) it will be in satisfaction
The all pixels point for stating formula is split from end face figure like, saves as the image of Mat type, and be denoted as opal image.
In the axis fixation method of existing polarization maintaining optical fibre end face, side view imaging method exist it is stringent to imaging surface required distance, it is fixed
The disadvantages of axis error is big is based on any of the above-described embodiment, a kind of panda type polarization-preserving fiber end face dead axle to solve the above-mentioned problems
Method, 102, opal image is converted into opal bianry image, is specifically included:
1) grey level histogram based on opal image obtains the opal threshold value of opal image by peak-to-valley value searching method.
Wherein, grey level histogram is the function about grey level distribution in opal image, is to gray level in opal image
The statistics of distribution.Grey level histogram is that all pixels in opal image according to the size of gray value, are counted the frequency of its appearance
Rate.Peak-to-valley value is searched plain method and is referred to by analyzing grey level histogram, and wave crest and adjacent wave all in grey level histogram are found
The corresponding grey scale pixel value of all trough points is stored in gray threshold array, subsequent basis by all trough points between peak
The corresponding image pixel number of gray value is ranked up the element in gray threshold array at trough point, and image pixel number is most
The corresponding gray value of trough point come the first place of gray threshold array, and so on, all trough points are traversed, by gray scale threshold
It is worth the gray value of array first place as opal threshold value.
2) opal image is converted to by opal bianry image based on opal threshold value.
In addition, it can include: after obtaining opal bianry image, it is default to judge whether current opal bianry image meets
Condition: it if current opal bianry image is unsatisfactory for preset condition, recycles and facilitates in opal Near Threshold, update gray threshold number
Group obtains new opal threshold value and carries out binaryzation, until obtaining the bianry image comprising two opals for meeting preset requirement.
In the embodiment of the present invention, opal bianry image is obtained by grey level histogram peak-to-valley value searching method, compared to general
Bianry image acquisition methods, more appropriate opal threshold value can be obtained, for subsequent progress cat it is oculocentric calculating provide more
Add accurate bianry image, helps to improve the accuracy of polarization maintaining optical fibre end face axis fixation method.
In the axis fixation method of existing polarization maintaining optical fibre end face, it is unsuitable for when fiber end face occurs dirty or there is cutting crackle
The case where, to solve the above-mentioned problems, be based on any of the above-described embodiment, a kind of panda type polarization-preserving fiber end face axis fixation method,
102, it is based on opal bianry image, the centre coordinate of the first opal and the centre coordinate of the second opal is obtained, specifically includes:
1) it is based on opal bianry image, by looking for profile operator to obtain the profile point set and second opal of the first opal
Profile point set.
Herein, profile operator i.e. findcontours function is looked for, for retrieving profile from bianry image, and returns to detection
The number of the profile arrived.In the embodiment of the present invention, by looking for profile operator to obtain profile point set and the second cat of the first opal
The profile point set of eye.
2) interative least square method is based on to the profile point set of the first opal and carries out round fitting, obtained in the first opal
Heart coordinate;Interative least square method is based on to the profile point set of the second opal and carries out round fitting, obtains the center of the second opal
Coordinate.
Specifically, continuous by successive ignition least square circle approximating method by taking the profile point set of the first opal as an example
Ground updates the center of circle of the profile point set institute fitting circle based on the first opal, and the noise spot that will be present filters out, but some are true
Point on edge causes the point on the true circle of a concentration to reduce because non-edge point is taken as to exclude.It is original by using returning
The method of the profile point set of first opal takes a little again, and the point accidentally deleted participates in iteration, the center of circle being fitted by selection again
Also can be closer to the true center of circle, the removal of desultory point also can be faster.Herein, the center of circle being fitted by interative least square method
For the center of the first opal.The oculocentric approximating method of second cat is same as above, and details are not described herein again.
In the embodiment of the present invention, by looking for profile operator to obtain the profile point set of the first opal and the profile of the second opal
Point set carries out round fitting by interative least square method, obtains the centre coordinate of the first opal and the second opal, above-mentioned fitting
Method can exclude the dirty influence to opal profile, improve the precision and robustness of dead axle.
Based on any of the above-described embodiment, a kind of panda type polarization-preserving fiber end face axis fixation method, 103, based on the first opal
The centre coordinate of centre coordinate and the second opal calculates the polarization angle of polarization maintaining optical fibre, specifically includes:
It is calculate by the following formula the polarization angle of polarization maintaining optical fibre:
In formula, θ is the polarization angle of polarization maintaining optical fibre, x1With y1The oculocentric abscissa of respectively the first cat and ordinate, x2
With y2The oculocentric abscissa of respectively the second cat and ordinate.
Based on any of the above-described embodiment, a kind of panda type polarization-preserving fiber end face axis fixation method, by the polarization maintaining optical fibre to dead axle
End face figure like be converted to end face bianry image, specifically include:
1) end face figure like is converted into end face gray level image.
It should be noted that there are many ways to end face figure like is converted to end face gray level image, for example, it is floating-point arithmetic, whole
Counting method and with for method etc., the present invention is not especially limit this.
2) grey level histogram based on end face gray level image obtains end face gray level image by peak-to-valley value searching method
End face threshold value.
Wherein, grey level histogram is the function about grey level distribution in the gray level image of end face, is to end face gray level image
The statistics of middle grey level distribution.Grey level histogram is by all pixels in the gray level image of end face, according to the size of gray value, system
Count the frequency of its appearance.Peak-to-valley value is searched plain method and is referred to by analyzing grey level histogram, and wave all in grey level histogram is found
The corresponding grey scale pixel value of all trough points is stored in gray threshold array by all trough points between peak and adjacent peaks
In, then the element in gray threshold array is ranked up according to the corresponding image pixel number of gray value at trough point, will be schemed
As the most corresponding gray value of trough point of pixel number comes the first place of gray threshold array, and so on, traverse all waves
Valley point, using the gray value of gray threshold array first place as end face threshold value.
It 3) is end face bianry image by end face greyscale image transitions based on end face threshold value.
In addition, it can include: after obtaining end face bianry image, it is default to judge whether current end face bianry image meets
Condition: if when front end face bianry image is unsatisfactory for preset condition, in end face, Near Threshold circulation convenience, updates gray threshold number
Group obtains new end face threshold value and carries out binaryzation, until obtaining the end face bianry image for meeting preset requirement.
In the embodiment of the present invention, end face bianry image is obtained by grey level histogram peak-to-valley value searching method, compared to general
Bianry image acquisition methods, more appropriate end face threshold value can be obtained, for it is subsequent carry out cladding center calculating provide more
Add accurate bianry image, helps to improve the accuracy of polarization maintaining optical fibre end face axis fixation method.
Based on any of the above-described embodiment, a kind of panda type polarization-preserving fiber end face axis fixation method is based on end face bianry image, obtains
The cladding center coordinate for taking polarization maintaining optical fibre, specifically includes:
1) it is based on end face bianry image, by looking for profile operator to obtain the covering profile point set of polarization maintaining optical fibre.
Herein, profile operator i.e. findcontours function is looked for, for retrieving profile from bianry image, and returns to detection
The number of the profile arrived.In the embodiment of the present invention, by looking for profile operator to obtain covering profile point set.
2) interative least square method is based on to covering profile point set and carries out round fitting, obtain the cladding center of polarization maintaining optical fibre
Coordinate.
Specifically, it is continuously updated by successive ignition least square circle approximating method and is intended based on covering profile point set
The center of circle of circle is closed, the noise spot that will be present filters out, but the point on some true edges is led because non-edge point is taken as to exclude
Cause point that the point on true circle is concentrated to reduce.It is taken a little by using the method for returning to original covering profile point set, is accidentally deleted again
Point participates in iteration by selection again, and the center of circle being fitted also can be closer to the true center of circle, and the removal of desultory point also can be faster.This
Place is cladding center by the center of circle that interative least square method is fitted.
In the embodiment of the present invention, by look for profile operator obtain covering profile point set, by interative least square method into
Row circle fitting, obtains cladding center coordinate, above-mentioned approximating method can be improved the precision and robustness of dead axle.
In order to better understand and using a kind of panda type polarization-preserving fiber end face axis fixation method proposed by the present invention, the present invention
Following example is carried out, and the present invention is not only limited to following example.
Fig. 2 is a kind of flow diagram of panda type polarization-preserving fiber end face axis fixation method of the embodiment of the present invention, such as Fig. 2 institute
Show, a kind of panda type polarization-preserving fiber end face axis fixation method, comprising:
Fig. 3 is the end face gray level image of the embodiment of the present invention.Firstly, obtaining the panda type polarization-maintaining to dead axle of imaging clearly
The end face figure like ImFiber of optical fiber establishes rectangular coordinate system using image upper left angle point as origin, and end face figure like ImFiber is turned
It is changed to end face gray level image ImFiberGray as shown in Figure 3.
Using grey level histogram peak-to-valley value searching method is based on, obtain switching to hold by end face gray level image ImFiberGray
The end face threshold value OptimExternThre=14 of face bianry image ImBin is based on end face threshold value OptimExternThre for end
Face gray level image ImFiberGray is converted to end face bianry image ImBin.
For end face bianry image ImBin, based on the covering wheel for looking for profile operator findcontours to obtain polarization maintaining optical fibre
Wide point set SelectedContours, obtaining the cladding center coordinate of polarization maintaining optical fibre using interative least square method circle fitting is
(1143,530), cladding radius 270, fibre cladding edge null circle fitting result are as shown in Figure 4.
In the gray level image ImFiberGray of end face, with the cladding center (1143,530) of polarization maintaining optical fibre for the center of circle, with
(1143,530) are to the distance of two opal left and right edges, i.e. maximum distance Radius=between cladding center and opal edge
210 be radius, retain end face figure like in all pixels for meeting following formula, and by end face figure like it is all be unsatisfactory for it is as follows
The part of formula all fills into as white, and all pictures of following formula will be then met by rectangle (933,320,420,420)
Vegetarian refreshments is split from the gray level image ImFiberGray of end face, saves as the image of Mat type, i.e. opal image
ImFiberRoi, Fig. 5 are the opal image of the embodiment of the present invention:
In formula, A is the pixel collection of the opal image, and (x, y) is any pixel point in the opal image.
Opal image ImFiberRoi after over-segmentation, by based on grey level histogram peak-to-valley value searching method obtain by
Opal image ImFiberRoi is converted into the opal threshold value OptimPandaThre=of opal bianry image ImFiberRoiBin
202, Fig. 6 be the opal bianry image ImFiberRoiBin of the embodiment of the present invention.For opal bianry image
ImFiberRoiBin, by looking for profile operator findcontours to find the profile point set of the first opal
The profile point set RightPandaDataSet of LeftPandaDataSet and the second opal, it is quasi- using iterative least square circle
Conjunction method obtain the first opal centre coordinate (120.07,272.28) and the second opal centre coordinate (303.96,
152.71), optical fiber opal circle fitting result is as shown in Figure 7.
Panda type polarization-maintaining light is calculated using formula θ=arctan ((152.71-272.28)/303.96-120.07)
Fine current polarization axle angle, θ=32.909 °, complete the dead axle of panda type polarization-preserving fiber end face.
In this example, opal image is extracted from end face figure like by ROI cutting techniques, is reduced subsequent acquisition opal and is sat
Target operand shortens and calculates the time, enhances the real-time of polarization maintaining optical fibre end face axis fixation method.
In addition, opal bianry image is obtained by grey level histogram peak-to-valley value searching method, compared to general bianry image
Acquisition methods can obtain more appropriate opal threshold value, provide more accurate two for the oculocentric calculating of subsequent progress cat
It is worth image, helps to improve the accuracy of polarization maintaining optical fibre end face axis fixation method.
Meanwhile by looking for profile operator to obtain the profile point set of the first opal and the profile point set of the second opal, lead to
It crosses interative least square method and carries out round fitting, obtain the centre coordinate of the first opal and the second opal, above-mentioned approximating method can
The dirty influence to opal profile is excluded, the precision and robustness of dead axle are improved.
Based on any of the above-described embodiment of the method, Fig. 8 is a kind of panda type polarization-preserving fiber end face dead axle of the embodiment of the present invention
The structural schematic diagram of device, as shown in figure 8, a kind of panda type polarization-preserving fiber end face dead axle device, comprising:
Image extraction unit 801, for cladding center in the end face figure like based on the polarization maintaining optical fibre to dead axle coordinate with
And the positional relationship of cladding center and opal, opal image is extracted from end face figure like by ROI image cutting techniques;
Centre coordinate acquiring unit 802 is based on opal binary map for opal image to be converted to opal bianry image
Picture obtains the centre coordinate of the first opal and the centre coordinate of the second opal;
Dead axle unit 803 calculates polarization-maintaining light for the centre coordinate of centre coordinate and the second opal based on the first opal
Fine polarization angle completes the dead axle of polarization maintaining optical fibre end face.
It should be noted that above-mentioned image extraction unit 801, centre coordinate acquiring unit 802 and dead axle unit 803 cooperate
To execute one of above-described embodiment panda type polarization-preserving fiber end face axis fixation method, the concrete function of the system is referring to above-mentioned
The embodiment of panda type polarization-preserving fiber end face axis fixation method, details are not described herein again.
In the embodiment of the present invention, opal image is extracted from end face figure like by ROI cutting techniques, reduces subsequent acquisition
The operand of opal coordinate shortens and calculates the time, enhances the real-time of polarization maintaining optical fibre end face axis fixation method.
Based on any of the above-described embodiment, a kind of panda type polarization-preserving fiber end face dead axle device, further includes:
Cladding center acquiring unit, for end face figure like to be converted to end face bianry image;Based on end face bianry image, obtain
Take the cladding center coordinate of polarization maintaining optical fibre.
Based on any of the above-described embodiment, a kind of panda type polarization-preserving fiber end face dead axle device, image extraction unit 801 is specifically
For:
The all pixels point for meeting following formula is extracted from end face figure like, constitutes opal image:
In formula, A is the pixel collection of opal image, and (x, y) is any pixel point in opal image, x0And y0Respectively
For the abscissa and ordinate of cladding center, maximum distance of the Radius between cladding center and opal edge.
Based on any of the above-described embodiment, a kind of panda type polarization-preserving fiber end face dead axle device, centre coordinate acquiring unit 802
It specifically includes:
Opal two-value conversion subunit is obtained for the grey level histogram based on opal image by peak-to-valley value searching method
Take the opal threshold value of opal image;Opal image is converted into opal bianry image based on opal threshold value;
Opal center obtains subelement, for being based on opal bianry image, by looking for profile operator to obtain the first opal
The profile point set of profile point set and the second opal;The profile point set of first opal is carried out based on interative least square method
Circle fitting, obtains the centre coordinate of the first opal;Interative least square method is based on to the profile point set of the second opal to justify
Fitting obtains the centre coordinate of the second opal.
Based on any of the above-described embodiment, a kind of panda type polarization-preserving fiber end face dead axle device, dead axle unit 803, specific use
In:
It is calculate by the following formula the polarization angle of polarization maintaining optical fibre:
In formula, θ is the polarization angle of polarization maintaining optical fibre, x1With y1The oculocentric abscissa of respectively the first cat and ordinate, x2
With y2The oculocentric abscissa of respectively the second cat and ordinate.
Based on any of the above-described embodiment, a kind of panda type polarization-preserving fiber end face dead axle device, cladding center acquiring unit, tool
Body includes:
End face two-value conversion subunit, for end face figure like to be converted to end face gray level image;Based on end face gray level image
Grey level histogram, pass through peak-to-valley value searching method, obtain end face gray level image end face threshold value;Based on end face threshold value by end face
Greyscale image transitions are end face bianry image;
Cladding center obtains subelement, for being based on end face bianry image, by looking for profile operator to obtain polarization maintaining optical fibre
Covering profile point set;Interative least square method is based on to covering profile point set and carries out round fitting, obtains the packet of polarization maintaining optical fibre
Layer centre coordinate.
Fig. 9 is a kind of structural schematic diagram of panda type polarization-preserving fiber end face dead axle equipment of the embodiment of the present invention, such as Fig. 9 institute
Show, panda type polarization-preserving fiber end face dead axle equipment includes: processor (processor) 901, communication interface
(Communications Interface) 902, memory (memory) 903 and bus 904, wherein processor 901, communication
Interface 902, memory 903 complete mutual communication by bus 904.Processor 901 can call patrolling in memory 903
Instruction is collected, to execute following method, for example, the coordinate based on cladding center in the end face figure like to the polarization maintaining optical fibre of dead axle
And the positional relationship of cladding center and opal, opal image is extracted from end face figure like by ROI image cutting techniques;By cat
Eye image is converted to opal bianry image, is based on opal bianry image, obtains the centre coordinate and second opal of the first opal
Centre coordinate;The centre coordinate of centre coordinate and the second opal based on the first opal, calculates the polarization angle of polarization maintaining optical fibre, complete
At the dead axle of polarization maintaining optical fibre end face.
The embodiment of the present invention discloses a kind of computer program product, and computer program product includes being stored in non-transient calculating
Computer program on machine readable storage medium storing program for executing, computer program include program instruction, when program instruction is computer-executed,
Computer is able to carry out method provided by above-mentioned each method embodiment, for example, the end based on the polarization maintaining optical fibre to dead axle
The positional relationship of the coordinate of cladding center and cladding center and opal in the image of face, by ROI image cutting techniques from end face
Opal image is extracted in image;Opal image is converted into opal bianry image, is based on opal bianry image, obtains the first opal
Centre coordinate and the second opal centre coordinate;The centre coordinate of centre coordinate and the second opal based on the first opal, meter
The polarization angle of polarization maintaining optical fibre is calculated, the dead axle of polarization maintaining optical fibre end face is completed.
The present embodiment provides a kind of non-transient computer readable storage medium, non-transient computer readable storage medium storages
Computer instruction, computer instruction make computer execute method provided by above-mentioned each method embodiment, for example, based on to
The positional relationship of the coordinate of cladding center and cladding center and opal, passes through ROI in the end face figure like of the polarization maintaining optical fibre of dead axle
Image Segmentation Technology extracts opal image from end face figure like;Opal image is converted into opal bianry image, is based on opal two
It is worth image, obtains the centre coordinate of the first opal and the centre coordinate of the second opal;Centre coordinate based on the first opal and
The centre coordinate of two opals calculates the polarization angle of polarization maintaining optical fibre, completes the dead axle of polarization maintaining optical fibre end face.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above method embodiment can pass through
The relevant hardware of program instruction is completed, and program above-mentioned can be stored in a computer readable storage medium, the program
When being executed, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned includes: ROM, RAM, magnetic disk or light
The various media that can store program code such as disk.
The embodiments such as communication equipment described above are only schematical, wherein unit as illustrated by the separation member
It may or may not be physically separated, component shown as a unit may or may not be physics list
Member, it can it is in one place, or may be distributed over multiple network units.It can be selected according to the actual needs
In some or all of the modules achieve the purpose of the solution of this embodiment.Those of ordinary skill in the art are not paying creativeness
Labour in the case where, it can understand and implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can
It realizes by means of software and necessary general hardware platform, naturally it is also possible to pass through hardware.Based on this understanding, on
Stating technical solution, substantially the part that contributes to existing technology can be embodied in the form of software products in other words, should
Computer software product may be stored in a computer readable storage medium, such as ROM/RAM, magnetic disk, CD, including several fingers
It enables and using so that a computer equipment (can be personal computer, server or the network equipment etc.) executes each implementation
The method of certain parts of example or embodiment.
Finally, it should be noted that the above various embodiments is only to illustrate the technical solution of the embodiment of the present invention, rather than it is right
It is limited;Although the embodiment of the present invention is described in detail referring to foregoing embodiments, the ordinary skill of this field
Personnel are it is understood that it is still possible to modify the technical solutions described in the foregoing embodiments, or to part
Or all technical features are equivalently replaced;And these are modified or replaceed, it does not separate the essence of the corresponding technical solution
The range of each embodiment technical solution of the embodiment of the present invention.
Claims (10)
1. a kind of panda type polarization-preserving fiber end face axis fixation method characterized by comprising
Based on the coordinate of cladding center in the end face figure like to the polarization maintaining optical fibre of dead axle and the position of cladding center and opal
Relationship is set, extracts opal image from the end face figure like by ROI image cutting techniques;
The opal image is converted into opal bianry image, is based on the opal bianry image, obtains the center of the first opal
The centre coordinate of coordinate and the second opal;
The centre coordinate of centre coordinate and second opal based on first opal, calculates the polarization of the polarization maintaining optical fibre
Angle completes the dead axle of the polarization maintaining optical fibre end face.
2. the method according to claim 1, wherein the end view drawing based on the polarization maintaining optical fibre to dead axle
The coordinate of cladding center and the positional relationship of cladding center and opal as in, by ROI image cutting techniques from the end face
Opal image is extracted in image, before further include:
The end face figure like is converted into end face bianry image;
Based on the end face bianry image, the cladding center coordinate of the polarization maintaining optical fibre is obtained.
3. method according to claim 1 or 2, which is characterized in that described to be based on the cladding center coordinate and covering
The positional relationship at center and opal extracts opal image by ROI image cutting techniques from the end face figure like, specific to wrap
It includes:
The all pixels point for meeting following formula is extracted from the end face figure like, constitutes the opal image:
In formula, A is the pixel collection of the opal image, and (x, y) is any pixel point in the opal image, x0And y0
The abscissa and ordinate of the respectively described cladding center, Radius between the cladding center and opal edge it is maximum away from
From.
4. method according to claim 1 or 2, which is characterized in that described that the opal image is converted to opal two-value
Image specifically includes:
The opal threshold of the opal image is obtained by peak-to-valley value searching method based on the grey level histogram of the opal image
Value;
The opal image is converted into opal bianry image based on the opal threshold value.
5. method according to claim 1 or 2, which is characterized in that it is described to be based on the opal bianry image, obtain first
The centre coordinate of the centre coordinate of opal and the second opal, specifically includes:
Based on the opal bianry image, by looking for profile operator to obtain the profile point set of the first opal and the wheel of the second opal
Wide point set;
Interative least square method is based on to the profile point set of first opal and carries out round fitting, obtains first opal
Centre coordinate;Interative least square method is based on to the profile point set of second opal and carries out round fitting, obtains described second
The centre coordinate of opal.
6. method according to claim 1 or 2, which is characterized in that the centre coordinate based on first opal and
The centre coordinate of second opal, calculates the polarization angle of the polarization maintaining optical fibre, specifically includes:
It is calculate by the following formula the polarization angle of the polarization maintaining optical fibre:
In formula, θ is the polarization angle of the polarization maintaining optical fibre, x1With y1The respectively described oculocentric abscissa of first cat and vertical seat
Mark, x2With y2The oculocentric abscissa of respectively described second cat and ordinate.
7. according to the method described in claim 2, it is characterized in that, the end face figure like by the polarization maintaining optical fibre of dead axle
End face bianry image is converted to, is specifically included:
The end face figure like is converted into end face gray level image;
The end face gray level image is obtained by peak-to-valley value searching method based on the grey level histogram of the end face gray level image
End face threshold value;
Based on the end face threshold value by the end face greyscale image transitions be end face bianry image;
It is described to be based on the end face bianry image, the cladding center coordinate of the polarization maintaining optical fibre is obtained, is specifically included:
Based on the end face bianry image, by looking for profile operator to obtain the covering profile point set of the polarization maintaining optical fibre;
Interative least square method is based on to the covering profile point set and carries out round fitting, in the covering for obtaining the polarization maintaining optical fibre
Heart coordinate.
8. a kind of panda type polarization-preserving fiber end face dead axle device characterized by comprising
Image extraction unit, coordinate and packet for cladding center in the end face figure like based on the polarization maintaining optical fibre to dead axle
The positional relationship at layer center and opal, extracts opal image by ROI image cutting techniques from the end face figure like;
Centre coordinate acquiring unit is based on the opal binary map for the opal image to be converted to opal bianry image
Picture obtains the centre coordinate of the first opal and the centre coordinate of the second opal;
Dead axle unit, for the centre coordinate of centre coordinate and second opal based on first opal, described in calculating
The polarization angle of polarization maintaining optical fibre completes the dead axle of the polarization maintaining optical fibre end face.
9. a kind of panda type polarization-preserving fiber end face dead axle equipment, which is characterized in that including processor, communication interface, memory and
Bus, wherein processor, communication interface, memory complete mutual communication by bus, and processor can call memory
In logical order, to execute panda type polarization-preserving fiber end face axis fixation method as described in claim 1 to 7 is any.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program quilt
The panda type polarization-preserving fiber end face axis fixation method as described in claim 1 to 7 is any is realized when processor executes.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810828967.7A CN109146968B (en) | 2018-07-25 | 2018-07-25 | Panda type polarization maintaining optical fiber end face axis fixing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810828967.7A CN109146968B (en) | 2018-07-25 | 2018-07-25 | Panda type polarization maintaining optical fiber end face axis fixing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109146968A true CN109146968A (en) | 2019-01-04 |
CN109146968B CN109146968B (en) | 2021-05-11 |
Family
ID=64799016
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810828967.7A Active CN109146968B (en) | 2018-07-25 | 2018-07-25 | Panda type polarization maintaining optical fiber end face axis fixing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109146968B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116912204A (en) * | 2023-07-13 | 2023-10-20 | 上海频准激光科技有限公司 | Treatment method for fusion splicing of optical fibers |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104567737A (en) * | 2014-12-24 | 2015-04-29 | 浙江大学 | Axis determination method of panda-type polarization-maintaining optical fiber end surface |
CN105785505A (en) * | 2016-05-12 | 2016-07-20 | 中国工程物理研究院总体工程研究所 | Photonic crystal optical fiber axis determination device and axis determination method |
CN106291805A (en) * | 2016-08-31 | 2017-01-04 | 哈尔滨工程大学 | Polarization-preserving fiber axis fixing device based on polaroid imaging principle and axis fixation method |
EP3212068A1 (en) * | 2014-10-31 | 2017-09-06 | Lake Region Medical, Inc. | Fiber bragg grating multi-point pressure sensing guidewire with birefringent component |
-
2018
- 2018-07-25 CN CN201810828967.7A patent/CN109146968B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3212068A1 (en) * | 2014-10-31 | 2017-09-06 | Lake Region Medical, Inc. | Fiber bragg grating multi-point pressure sensing guidewire with birefringent component |
CN104567737A (en) * | 2014-12-24 | 2015-04-29 | 浙江大学 | Axis determination method of panda-type polarization-maintaining optical fiber end surface |
CN105785505A (en) * | 2016-05-12 | 2016-07-20 | 中国工程物理研究院总体工程研究所 | Photonic crystal optical fiber axis determination device and axis determination method |
CN106291805A (en) * | 2016-08-31 | 2017-01-04 | 哈尔滨工程大学 | Polarization-preserving fiber axis fixing device based on polaroid imaging principle and axis fixation method |
Non-Patent Citations (2)
Title |
---|
刘振华: "Panda型保偏光纤偏振轴检测技术", 《红外与激光工程》 * |
黄怀波: "端面成像熊猫保偏光纤的偏振轴检测方法及精度分析", 《光电子激光》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116912204A (en) * | 2023-07-13 | 2023-10-20 | 上海频准激光科技有限公司 | Treatment method for fusion splicing of optical fibers |
CN116912204B (en) * | 2023-07-13 | 2024-01-26 | 上海频准激光科技有限公司 | Treatment method for fusion splicing of optical fibers |
Also Published As
Publication number | Publication date |
---|---|
CN109146968B (en) | 2021-05-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107369159B (en) | Threshold segmentation method based on multi-factor two-dimensional gray level histogram | |
CN107862698B (en) | Light field foreground segmentation method and device based on K mean cluster | |
CN111738995B (en) | RGBD image-based target detection method and device and computer equipment | |
CN107123188B (en) | Wound ticket identification and positioning method based on template matching algorithm and edge features | |
CN104700420B (en) | Ellipse detection method, system and worm's ovum recognition methods based on Hough transform | |
CN104933434A (en) | Image matching method combining length between perpendiculars (LBP) feature extraction method and surf feature extraction method | |
Ofir et al. | On detection of faint edges in noisy images | |
CN106127145A (en) | Pupil diameter and tracking | |
CN111696057B (en) | Depth image denoising method and device | |
CN112200854B (en) | Leaf vegetable three-dimensional phenotype measuring method based on video image | |
CN114926726B (en) | Unmanned ship sensing method based on multitask network and related equipment | |
CN107220647A (en) | Crop location of the core method and system under a kind of blade crossing condition | |
CN109784171A (en) | Car damage identification method for screening images, device, readable storage medium storing program for executing and server | |
CN110827312A (en) | Learning method based on cooperative visual attention neural network | |
CN115457277A (en) | Intelligent pavement disease identification and detection method and system | |
CN109359653A (en) | A kind of cotton leaf portion adhesion scab image partition method and system | |
CN109146968A (en) | A kind of panda type polarization-preserving fiber end face axis fixation method and device | |
CN114898118A (en) | Automatic statistical method and system for power transmission line house removal amount based on multi-source point cloud | |
CN113409332B (en) | Building plane segmentation method based on three-dimensional point cloud | |
CN113298768A (en) | Cotton detection, segmentation and counting method and system | |
WO2023134251A1 (en) | Clustering-based light bar extraction method and apparatus | |
CN116071694A (en) | Ship detection method, device and computer readable storage medium | |
CN115587943A (en) | Method and device for denoising point cloud data, electronic device and storage medium | |
CN110008881A (en) | The recognition methods of the milk cow behavior of multiple mobile object and device | |
Juujarvi et al. | Digital-image-based tree measurement for forest inventory |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |