CN103033134A - Detection system and detection method aiming at damaged optical fiber geometry parameters - Google Patents

Detection system and detection method aiming at damaged optical fiber geometry parameters Download PDF

Info

Publication number
CN103033134A
CN103033134A CN2013100045008A CN201310004500A CN103033134A CN 103033134 A CN103033134 A CN 103033134A CN 2013100045008 A CN2013100045008 A CN 2013100045008A CN 201310004500 A CN201310004500 A CN 201310004500A CN 103033134 A CN103033134 A CN 103033134A
Authority
CN
China
Prior art keywords
ellipse
gray
optical fiber
pixel
parameter
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
Application number
CN2013100045008A
Other languages
Chinese (zh)
Other versions
CN103033134B (en
Inventor
黄影平
张仁杰
龚如宾
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
University of Shanghai for Science and Technology
Original Assignee
University of Shanghai for Science and Technology
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by University of Shanghai for Science and Technology filed Critical University of Shanghai for Science and Technology
Priority to CN201310004500.8A priority Critical patent/CN103033134B/en
Publication of CN103033134A publication Critical patent/CN103033134A/en
Application granted granted Critical
Publication of CN103033134B publication Critical patent/CN103033134B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Length Measuring Devices By Optical Means (AREA)

Abstract

The invention discloses a detection system and a detection method aiming at damaged optical fiber geometry parameters. The detection method comprises the following steps: reading an optical fiber image; threshold value selection step: statistically calculating a grey level histogram and selecting an optimal threshold value; image binarization step: carrying out binarization on the image; edge point selection step: accurately selecting an outer edge point and an inner edge point in the binary image; ellipse fitting and parameter obtaining step: obtaining parameters of an ellipse of an outer edge through the selected outer edge point and fitting parameters of an ellipse of an inner edge through the inner edge point; and obtaining the geometry parameters of an optical fiber picture after the ellipses of the inner edge and the outer edge are fitted. The detection system and the detection method aiming at the damaged optical fiber geometry parameters disclosed by the invention have the beneficial effects that by using a novel method for extracting a coordinate point, the points which are not on the ellipses can be rejected; and further, the ellipse fitting precision is improved.

Description

Detection system and method for damaged optical fiber geometric parameter
Technical field
The invention belongs to the detection technique field, relate to a kind of detection system, relate in particular to a kind of detection system for damaged optical fiber geometric parameter; Simultaneously, the invention still further relates to a kind of detection method for damaged optical fiber geometric parameter.
Background technology
Usually qualified fibre cladding and core diameter can be thought two centers in same point, and close to round ellipse. traditional method detects the geometric parameter that can detect very accurately qualified optical fiber.But certain breakage is arranged when optical fiber, perhaps during deformation, flaw will appear in traditional method.
In view of this, nowadays in the urgent need to designing a kind of new detection method, in order to further improve the precision of ellipse fitting.
Summary of the invention
Technical matters to be solved by this invention is: a kind of detection system for damaged optical fiber geometric parameter is provided, can rejects the not point on ellipse, further improve the precision of ellipse fitting.
In addition, the present invention also provides a kind of detection method for damaged optical fiber geometric parameter, can reject the not point on ellipse, further improves the precision of ellipse fitting.
For solving the problems of the technologies described above, the present invention adopts following technical scheme:
A kind of detection system for damaged optical fiber geometric parameter, described system comprises:
Image fetching unit is in order to read optical fiber image;
Threshold value is chosen the unit, in order to add up grey level histogram, chooses optimal threshold;
The image binaryzation processing unit is in order to carry out binary conversion treatment to image;
The marginal point selected cell is in order to accurate outward flange and the inward flange point selected in binary image;
Ellipse fitting and parameter acquiring unit are obtained outer peripheral elliptic parameter in order to the outward flange point of choosing by all, simulate the parameter of the ellipse of inward flange by the inward flange point; Obtain the geometric parameter of this optical fiber picture behind the ellipse by the match outer edge.
As a preferred embodiment of the present invention, described threshold value is chosen the threshold value of unit selection and is the gray-scale value of trough between first crest and the secondary peak; Wherein, the gray-scale value of first crest is V1, and the gray-scale value of secondary peak is V2; This threshold value is a gray-scale value in gray-scale value V1 and V2 interval, the no more than number of pixels that should other gray-scale values of interval of the number of pixels of this gray-scale value.
As a preferred embodiment of the present invention, establishing the threshold value of choosing is V, and described image binaryzation unit is made as 0 with gray-scale value greater than the pixel of V, and gray-scale value is made as 255 less than or equal to the pixel of V.
As a preferred embodiment of the present invention, every some pixel of image represents that with two-dimensional array described marginal point selected cell is lined by line scan from both direction;
Direction be since the 0th row by column increase write down pixel coordinate (x, the y of this point until first non-vanishing pixel in this row 1), increase by column until be zero place again, write down this pixel (x, y 2), add up non-vanishing number of pixels d 1=y 2-y 1, stop the scanning of this direction;
Another direction is to reduce by column since last row, when occurring at first non-vanishing, writes down coordinate (x, the y of this pixel 3), when again to occur one be zero pixel, write down coordinate (x, the y of this pixel 4), and statistics (x, y 4) and (x, y 3) between number of pixels d 2=y 3-y 4If, y in this row 4<=y 2Then reject the data of changing one's profession; Only has the y of working as 4Y 2, and d 1/ d 2Just think that at interval [0.9,1.1] Shi Caihui these points meet the condition of fitted ellipse, wherein, (x, y 1), (x, y 3) be the coordinate points on the outward flange, (x, y 2), (x, y 4) be the point on the inward flange.
As a preferred embodiment of the present invention, A, B are established and are bianry image with the marginal point of the left edge regions of delegation in two zones about described marginal point selected cell is divided into picture, and C, D are that bianry image is with the marginal point of the right edge regions of delegation; Because the center of light cladding diameter and fibre core can regard concentric as, if such as the ratio d1/d2 of the length d 1 of fruit dot A, B point-to-point transmission and the length d 2 between C, D point between the setting district [0.9,1.1], then be judged as the both sides consistency of thickness, namely these marginal points meet the condition of fitted ellipse, and coordinate points A, D are the point on the ellipse of outside, coordinate B, C are the point on the interior ellipse, if d1/d2 in [0.9,1.1], just can not choose these coordinate points not between the setting district; Damaged place will be arranged like this to getting rid of;
Described marginal point selected cell is divided into up and down two halves zone with image, by with about the zone select the identical principle of marginal point to extract coordinate points;
All coordinate points that inspection is extracted are if having the coordinate points of repetition then delete repeating part.
As a preferred embodiment of the present invention, the ellipse fitting of described ellipse fitting and parameter acquiring unit and parameter acquiring process comprise:
The general equation of quafric curve is expressed as x 2+ α xy+ β y 2Quafric curve just can be obtained as long as obtain parameter, if satisfy α in+γ x+ ζ y+ η=0 2-4 β<0 this quafric curve represents an ellipse;
All outward flange coordinate (x that choose at described marginal point selected cell 1, y 1), (x 2, y 2) ..., (x n, y n) middle order F ( α , β , γ , ζ , η ) = Σ i = 1 n ( x i 2 + α x i y i + βy 2 + γx + ζy + η ) ;
According to the elliptic parameter of match, obtain the major axis d of outer ellipse Macr, minor axis d Min, center (x e, y e); Major axis S with interior ellipse Macr, minor axis S Min, center (x In, y In); Can obtain the elliptic geometry parameter thus:
Cladding diameter d=(d Macr+ d Min)/2;
Non-circularity of cladding
Figure BDA00002710959900032
Core diameter S=(S Macr+ S Min)/2;
Fiber core non circularity ϵ = ( S macr - S min ) / S ;
Fibre core-covering nonconcentricity Δ = ( x e - x in ) 2 + ( y e - y in ) 2 ;
When F (α, beta, gamma, ζ, η) hour, be the exterior elliptical of best-fit, obtain the exterior elliptical parameter alpha 1β 1, γ 1, ζ 1, η 1
In like manner, the coordinate points of all internal edges of extracting is pressed F ( α , β , γ , ζ , η ) = Σ i = 1 n ( x i 2 + α x i y i + βy 2 + γx + ζy + η ) ; When F (α, beta, gamma, ζ, η) hour, be that the inside of best-fit is oval, obtain inner elliptic parameter α 2, β 2, γ 2, ζ 2, η 2.
A kind of detection method for damaged optical fiber geometric parameter, described method comprises:
Read optical fiber image;
The threshold value selecting step, the statistics grey level histogram is chosen optimal threshold;
The image binaryzation treatment step carries out binary conversion treatment to image;
Marginal point is selected step, accurate outward flange and the inward flange point selected in binary image;
Ellipse fitting and parameter acquiring step are obtained outer peripheral elliptic parameter by all outward flange points of choosing, simulate the parameter of the ellipse of inward flange by the inward flange point; Obtain the geometric parameter of this optical fiber picture behind the ellipse by the match outer edge.
As a preferred embodiment of the present invention, the threshold value of choosing in the described threshold value selecting step is the gray-scale value of trough between first crest and the secondary peak; Wherein, the gray-scale value of first crest is V1, and the gray-scale value of secondary peak is V2;
This threshold value is a gray-scale value in gray-scale value V1 and V2 interval, the no more than number of pixels that should other gray-scale values of interval of the number of pixels of this gray-scale value.
If the threshold value of choosing is V, described image binaryzation unit is made as 0 with gray-scale value greater than the pixel of V, and gray-scale value is made as 255 less than or equal to the pixel of V.
As a preferred embodiment of the present invention, described marginal point is selected to line by line scan from both direction in the step;
Direction be since the 0th row by column increase write down pixel coordinate (x, the y of this point until first non-vanishing pixel in this row 1), increase by column until be zero place again, write down this pixel (x, y 2), add up non-vanishing number of pixels d 1=y 2-y 1, stop the scanning of this direction;
Another direction is to reduce by column from last row beginning, when occurring at first non-vanishing, writes down coordinate (x, the y of this pixel 3), when again to occur one be zero pixel, write down coordinate (x, the y of this pixel 4), and statistics (x, y 4) and (x, y 3) between number of pixels d 2=y 3-y 4If, y in this row 4<=y 2Then reject the data of changing one's profession; Only has the y of working as 4Y 2, and d 1/ d 2Just think that at interval [0.9,1.1] Shi Caihui these points meet the condition of fitted ellipse, wherein, (x, y 1), (x, y 3) be the coordinate points on the outward flange, (x, y 2), (x, y 4) be the point on the inward flange.
As a preferred embodiment of the present invention, described ellipse fitting and parameter acquiring step comprise:
The general equation of quafric curve is expressed as x 2+ α xy+ β y 2Quafric curve just can be obtained as long as obtain parameter, if satisfy α in+γ x+ ζ y+ η=0 2-4 β<0 this quafric curve represents an ellipse;
All outward flange coordinate (x that choose at described marginal point selected cell 1, y 1), (x 2, y 2) ..., (x n, y n) middle order F ( α , β , γ , ζ , η ) = Σ i = 1 n ( x i 2 + α x i y i + βy 2 + γx + ζy + η ) ;
When F (α, beta, gamma, ζ, η) hour, be the exterior elliptical of best-fit, obtain the exterior elliptical parameter alpha 1, β 1, γ 1, ζ 1, η 1
In like manner, the coordinate points of all internal edges of extracting is pressed F ( α , β , γ , ζ , η ) = Σ i = 1 n ( x i 2 + α x i y i + βy 2 + γx + ζy + η ) ; When F (α, beta, gamma, ζ, η) hour, be that the inside of best-fit is oval, obtain inner elliptic parameter α 2, β 2, γ 2, ζ 2, η 2
Beneficial effect of the present invention is: compare with traditional detection method, the method that detection system and the method for damaged optical fiber geometric parameter that the present invention proposes used novel extraction coordinate points, can reject the not point on ellipse, further improve the precision of ellipse fitting.
The present invention processes the detection that the optical fiber picture accurately calculates the geometric parameter (comprising: cladding diameter, non-circularity of cladding, core diameter, fiber core non circularity, fibre core-covering nonconcentricity) of optical fiber with the method that image is processed, and especially can detect exactly the geometric parameter of damaged optical fiber.
Description of drawings
Fig. 1 is the composition synoptic diagram of detection system of the present invention.
Fig. 2 is the process flow diagram of detection method of the present invention.
Fig. 3 is the optical fiber picture synoptic diagram that collects.
Fig. 4 is the synoptic diagram that image binaryzation is processed.
Fig. 5 is the synoptic diagram that marginal point is selected.
Fig. 6 is the exterior elliptical of best-fit, inner oval synoptic diagram.
Embodiment
Describe the preferred embodiments of the present invention in detail below in conjunction with accompanying drawing.
Embodiment one
See also Fig. 1, the present invention has disclosed a kind of detection system for damaged optical fiber geometric parameter, and described system comprises: image fetching unit 1, threshold value are chosen unit 2, image binaryzation processing unit 3, marginal point selected cell 4, ellipse fitting and parameter acquiring unit 5.
Image fetching unit 1 is in order to read optical fiber image.
Threshold value is chosen unit 2 in order to add up grey level histogram, chooses optimal threshold.Particularly, the described threshold value threshold value of choosing unit selection is the gray-scale value of trough between first crest and the secondary peak; Wherein, the gray-scale value of first crest is V1, and the gray-scale value of secondary peak is V2; This threshold value is a gray-scale value in gray-scale value V1 and V2 interval, the no more than number of pixels that should other gray-scale values of interval of the number of pixels of this gray-scale value.If the threshold value of choosing is V, described image binaryzation unit is made as 0 with gray-scale value greater than the pixel of V, and gray-scale value is made as 255 less than or equal to the pixel of V.
Image binaryzation processing unit 3 is in order to carry out binary conversion treatment to image.
Marginal point selected cell 4 is in order to accurate outward flange and the inward flange point selected in binary image.
Every some pixel of image represents with two-dimensional array, and described marginal point selected cell 4 is lined by line scan from both direction;
Direction be since the 0th row by column increase write down pixel coordinate (x, the y of this point until first non-vanishing pixel in this row 1), increase by column until be zero place again, write down this pixel (x, y 2), add up non-vanishing number of pixels d 1=y 2-y 1, stop the scanning of this direction;
Another direction is to reduce by column from last row beginning, when occurring at first non-vanishing, writes down coordinate (x, the y of this pixel 3), when again to occur one be zero pixel, write down coordinate (x, the y of this pixel 4), and statistics (x, y 4) and (x, y 3) between number of pixels d 2=y 3-y 4If, y in this row 4<=y 2Then reject the data of changing one's profession; Only has the y of working as 4Y 2, and d 1/ d 2Just think that at interval [0.9,1.1] Shi Caihui these points meet the condition of fitted ellipse, wherein, (x, y 1), (x, y 3) be the coordinate points on the outward flange, (x, y 2), (x, y 4) be the point on the inward flange.
A, B are established and are bianry image with the marginal point of the left edge regions of delegation in two zones about described marginal point selected cell 4 is divided into picture, and C, D are that bianry image is with the marginal point of the right edge regions of delegation; Because the center of light cladding diameter and fibre core can regard concentric as, if such as the ratio d1/d2 of the length d 1 of fruit dot A, B point-to-point transmission and the length d 2 between C, D point between the setting district [0.9,1.1], then be judged as the both sides consistency of thickness, namely these marginal points meet the condition of fitted ellipse, and coordinate points A, D are the point on the ellipse of outside, coordinate B, C are the point on the interior ellipse, if d1/d2 in [0.9,1.1], just can not choose these coordinate points not between the setting district; Damaged place will be arranged like this to getting rid of.Similarly, described marginal point selected cell is divided into up and down two halves zone with image, by with about the zone select the identical principle of marginal point to extract coordinate points.All coordinate points that inspection is extracted are if having the coordinate points of repetition then delete repeating part.
Ellipse fitting and parameter acquiring unit 5 are obtained outer peripheral elliptic parameter in order to the outward flange point of choosing by all, simulate the parameter of the ellipse of inward flange by the inward flange point; Obtain the geometric parameter of this optical fiber picture behind the ellipse by the match outer edge.
The ellipse fitting of described ellipse fitting and parameter acquiring unit 5 and parameter acquiring process comprise:
The general equation of quafric curve is expressed as x 2+ α xy+ β y 2Quafric curve just can be obtained as long as obtain parameter, if satisfy α in+γ x+ ζ y+ η=0 2-4 β<0 this quafric curve represents an ellipse;
All outward flange coordinate (x that choose at described marginal point selected cell 1, y 1), (x 2, y 2) ..., (x n, y n) middle order F ( α , β , γ , ζ , η ) = Σ i = 1 n ( x i 2 + α x i y i + βy 2 + γx + ζy + η ) ;
According to the elliptic parameter of match, obtain the major axis d of outer ellipse Macr, minor axis d Min, center (x e, y e); Major axis S with interior ellipse Macr, minor axis S Min, center (x In, y In); Can obtain the elliptic geometry parameter thus:
Cladding diameter d=(d Macr+ d Min)/2;
Non-circularity of cladding
Figure BDA00002710959900062
Core diameter S=(S Macr+ S Min)/2;
Fiber core non circularity ϵ = ( S macr - S min ) / S ;
Fibre core-covering nonconcentricity Δ = ( x e - x in ) 2 + ( y e - y in ) 2 ;
When F (α, beta, gamma, ζ, η) hour, be the exterior elliptical of best-fit, obtain the exterior elliptical parameter alpha 1, β 1, γ 1, ζ 1, η 1
In like manner, the coordinate points of all internal edges of extracting is pressed F ( α , β , γ , ζ , η ) = Σ i = 1 n ( x i 2 + α x i y i + βy 2 + γx + ζy + η ) ; When F (α, beta, gamma, ζ, η) hour, be that the inside of best-fit is oval, obtain inner elliptic parameter α 2, β 2, γ 2, ζ 2, η 2
More than introduced the detection system that the present invention is directed to damaged optical fiber geometric parameter, the present invention also discloses a kind of detection method for damaged optical fiber geometric parameter when disclosing said system; See also Fig. 2, described method comprises the steps:
[step S1] reads optical fiber image;
[step S2] threshold value selecting step, the statistics grey level histogram is chosen optimal threshold;
The threshold value of choosing in the described threshold value selecting step is the gray-scale value of trough between first crest and the secondary peak; Wherein, the gray-scale value of first crest is V1, and the gray-scale value of secondary peak is V2; This threshold value is a gray-scale value in gray-scale value V1 and V2 interval, the no more than number of pixels that should other gray-scale values of interval of the number of pixels of this gray-scale value; If the threshold value of choosing is V, gray-scale value is made as 0 greater than the pixel of V, gray-scale value is made as 255 less than or equal to the pixel of V.
[step S3] image binaryzation treatment step carries out binary conversion treatment to image;
[step S4] marginal point is selected step, accurate outward flange and the inward flange point selected in binary image;
Every some pixel of image represents that with two-dimensional array described marginal point is selected to line by line scan from both direction in the step;
Direction be since the 0th row by column increase write down pixel coordinate (x, the y of this point until first non-vanishing pixel in this row 1), increase by column until be zero place again, write down this pixel (x, y 2), add up non-vanishing number of pixels d 1=y 2-y 1, stop the scanning of this direction;
Another direction is to reduce by column from last row beginning, when occurring at first non-vanishing, writes down coordinate (x, the y of this pixel 3), when again to occur one be zero pixel, write down coordinate (x, the y of this pixel 4), and statistics (x, y 4) and (x, y 3) between number of pixels d 2=y 3-y 4If, y in this row 4<=y 2Then reject the data of changing one's profession; Only has the y of working as 4Y 2, and d 1/ d 2Just think that at interval [0.9,1.1] Shi Caihui these points meet the condition of fitted ellipse, wherein, (x, y 1), (x, y 3) be the coordinate points on the outward flange, (x, y 2), (x, y 4) be the point on the inward flange.
[step S5] ellipse fitting and parameter acquiring step are obtained outer peripheral elliptic parameter by all outward flange points of choosing, simulate the parameter of the ellipse of inward flange by the inward flange point; Obtain the geometric parameter of this optical fiber picture behind the ellipse by the match outer edge.
Particularly, described ellipse fitting and parameter acquiring step comprise:
The general equation of quafric curve is expressed as x 2+ α xy+ β y 2Quafric curve just can be obtained as long as obtain parameter, if satisfy α in+γ x+ ζ y+ η=0 2-4 β<0 this quafric curve represents an ellipse;
All outward flange coordinate (x that choose at described marginal point selected cell 1, y 1), (x 2, y 2) ..., (x n, y n) middle order F ( α , β , γ , ζ , η ) = Σ i = 1 n ( x i 2 + α x i y i + βy 2 + γx + ζy + η ) ;
When F (α, beta, gamma, ζ, η) hour, be the exterior elliptical of best-fit, obtain the exterior elliptical parameter alpha 1, β 1, γ 1, ζ 1, η 1
In like manner, the coordinate points of all internal edges of extracting is pressed F ( α , β , γ , ζ , η ) = Σ i = 1 n ( x i 2 + α x i y i + βy 2 + γx + ζy + η ) ; When F (α, beta, gamma, ζ, η) hour, be that the inside of best-fit is oval, obtain inner elliptic parameter α 2, β 2, γ 2, ζ 2, η 2
Embodiment two
Detection method of the present invention and system divide the two large divisions.First: the obtaining and explaining of image geometry parameter; Second portion: the workflow of detection system.
[1] the image geometry parameter obtaining and explaining
This paper has proposed a kind of method that can detect damaged optical fiber, and key is the accuracy of fitting parameter, and how this gets a little accurately if just being related to.Fig. 5 is the optical fiber picture that collects under actual application environment, and this picture obviously has damaged, next is with method of the present invention this image to be processed.
Specifically be expressed as follows:
1. add up grey level histogram, choose binary-state threshold:
The threshold value of choosing should be the gray-scale value (trough) between first crest (gray-scale value is V1) and the secondary peak (gray-scale value is V2), this threshold value is a gray-scale value in gray-scale value V1 and V2 interval, the no more than number of pixels that should other gray-scale values of interval of the number of pixels of this gray-scale value.
2. image binaryzation (such as Fig. 6):
If the threshold value of choosing is V, gray-scale value is made as 0 greater than the pixel of V, gray-scale value is made as 255 less than or equal to the pixel of V.
3. select marginal point:
The choosing method of marginal point is very large on the impact of the degree of accuracy of the parameter of match, and we are divided into picture first left and right sides two halves zone, and wherein A, B, C, D are with the marginal point of the left right two halves of delegation in the bianry image.Because the center of light cladding diameter and fibre core can regard concentric as, if can think that the length d 1 of an A, B point-to-point transmission and the ratio d1/d2 of the length d 2 between C, D point (are selecting between interval 0.9 to 1.1) about 1 here, be the both sides consistency of thickness, just think that these marginal points meet the condition of fitted ellipse, coordinate points A, D are the point on the ellipse of outside, coordinate B, C are the point on the interior ellipse, if d1/d2 not in this scope, just can not choose these points.So just can will damaged place be arranged to removing point (just will be removed such as zone 1, zone 2).
Image is divided into up and down two halves zone, extracts coordinate points with same principle.
All coordinate points that inspection is extracted are if having the coordinate points of repetition then delete repeating part.
4. ellipse fitting:
The general equation of quafric curve can be expressed as x 2+ α xy+ β y 2Quafric curve just can be obtained as long as obtain parameter, if satisfy α in+γ x+ ζ y+ η=0 2-4 β<0 this quafric curve represents an ellipse.
At above all outward flange coordinate (x that choose 1, y 1), (x 2, y 2) ..., (x n, y n) middle order F ( α , β , γ , ζ , η ) = Σ i = 1 n ( x i 2 + α x i y i + βy 2 + γx + ζy + η ) - - - ( 1.1 )
Then when F (α, beta, gamma, ζ, η) hour, be the exterior elliptical (such as Fig. 6) of best-fit, can obtain the exterior elliptical parameter alpha 1, β 1, γ 1, ζ 1, η 1
In like manner, to the coordinate knock type (1.1) of all internal edges of extracting when F (α, beta, gamma, ζ, η) hour, be that the inside of best-fit is oval, can obtain inner elliptic parameter α 2, β 2, γ 2, ζ 2, η 2
5. find the solution optical fiber geometric parameter:
According to the elliptic parameter of match, can obtain the major axis d of outer ellipse Macr, minor axis d Min, center (x e, y e); Major axis S with interior ellipse Macr, minor axis S Min, center (x In, y In).Can obtain the elliptic geometry parameter thus:
Cladding diameter d=(d Macr+ d Min)/2
Non-circularity of cladding
Figure BDA00002710959900101
Core diameter S=(S Macr+ S Min)/2
Fiber core non circularity ϵ = ( S macr - S min ) / S ;
Fibre core-covering nonconcentricity Δ = ( x e - x in ) 2 + ( y e - y in ) 2 ;
2.[2] the detection system workflow
1. reading images.
2. add up grey level histogram, choose optimal threshold, and image is carried out binary conversion treatment.
3. in binary image, select accurately outward flange and inward flange point, and carry out ellipse fitting.
Every some pixel supposing image represents with two-dimensional array, line by line scan from both direction, direction be since the 0th row by column increase write down pixel coordinate (x, the y of this point until first non-vanishing pixel in this row 1), increase by column until be zero place again, write down this pixel (x, y 2), add up non-vanishing number of pixels d 1=y 2-y 1, stop the scanning of this direction; Another direction is to reduce by column from last row beginning, when occurring at first non-vanishing, writes down coordinate (x, the y of this pixel 3), when again to occur one be zero pixel, write down coordinate (x, the y of this pixel 4), and statistics (x, y 4) and (x, y 3) between number of pixels d 2=y 3-y 4If, y in this row 4<=y 2Then reject the data of changing one's profession.Only has the y of working as 4Y 2, and d 1/ d 2(in interval (0.9,1.1)) can just think that these points meet the condition of fitted ellipse, wherein (x, y near 1 1), (x, y 3) be the coordinate points on the outward flange, (x, y 2), (x, y 4) be the point on the inward flange.
4. ellipse fitting and obtain geometric parameter
Obtain with the used outward flange point of choosing
Figure BDA00002710959900104
Figure BDA00002710959900106
Figure BDA00002710959900107
Obtain α, beta, gamma, ζ, the parameters such as η.In like manner can simulate by the inward flange point parameter of the ellipse of inward flange.Just can obtain the geometric parameter of this optical fiber picture by the oval rear of match outer edge.
In sum, the method that detection system and the method for damaged optical fiber geometric parameter that the present invention proposes used novel extraction coordinate points can be rejected the not point on ellipse, further improves the precision of ellipse fitting.
Here description of the invention and application is illustrative, is not to want with scope restriction of the present invention in the above-described embodiments.Here the distortion of disclosed embodiment and change is possible, and the various parts of the replacement of embodiment and equivalence are known for those those of ordinary skill in the art.Those skilled in the art are noted that in the situation that does not break away from spirit of the present invention or essential characteristic, and the present invention can be with other form, structure, layout, ratio, and realize with other assembly, material and parts.In the situation that does not break away from the scope of the invention and spirit, can carry out other distortion and change to disclosed embodiment here.

Claims (10)

1. the detection system for damaged optical fiber geometric parameter is characterized in that, described system comprises:
Image fetching unit is in order to read optical fiber image;
Threshold value is chosen the unit, in order to add up grey level histogram, chooses optimal threshold;
The image binaryzation processing unit is in order to carry out binary conversion treatment to image;
The marginal point selected cell is in order to accurate outward flange and the inward flange point selected in binary image;
Ellipse fitting and parameter acquiring unit are obtained outer peripheral elliptic parameter in order to the outward flange point of choosing by all, simulate the parameter of the ellipse of inward flange by the inward flange point; Obtain the geometric parameter of this optical fiber picture behind the ellipse by the match outer edge.
2. the detection system for damaged optical fiber geometric parameter according to claim 1 is characterized in that:
Described threshold value is chosen the threshold value of unit selection and is the gray-scale value of trough between first crest and the secondary peak; Wherein, the gray-scale value of first crest is V1, and the gray-scale value of secondary peak is V2;
This threshold value is a gray-scale value in gray-scale value V1 and V2 interval, the no more than number of pixels that should other gray-scale values of interval of the number of pixels of this gray-scale value.
3. the detection system for damaged optical fiber geometric parameter according to claim 2 is characterized in that:
If the threshold value of choosing is V, described image binaryzation unit is made as 0 with gray-scale value greater than the pixel of V, and gray-scale value is made as 255 less than or equal to the pixel of V.
4. the detection system for damaged optical fiber geometric parameter according to claim 1 is characterized in that:
Described marginal point selected cell is lined by line scan from both direction;
Direction be since the 0th row by column increase write down pixel coordinate (x, the y of this point until first non-vanishing pixel in this row 1), increase by column until be zero place again, write down this pixel (x, y 2), add up non-vanishing number of pixels d 1=y 2-y 1, stop the scanning of this direction;
Another direction is to reduce by column since last row, when occurring at first non-vanishing, writes down coordinate (x, the y of this pixel 3), when again to occur one be zero pixel, write down coordinate (x, the y of this pixel 4), and statistics (x, y 4) and (x, y 3) between number of pixels d 2=y 3-y 4If, y in this row 4<=y 2Then reject the data of changing one's profession; Only has the y of working as 4Y 2, and d 1/ d 2Just think that at interval [0.9,1.1] Shi Caihui these points meet the condition of fitted ellipse, wherein, (x, y 1), (x, y 3) be the coordinate points on the outward flange, (x, y 2), (x, y 4) be the point on the inward flange.
5. the detection system for damaged optical fiber geometric parameter according to claim 4 is characterized in that:
A, B are established and are bianry image with the marginal point of the left edge regions of delegation in two zones about described marginal point selected cell is divided into picture, and C, D are that bianry image is with the marginal point of the right edge regions of delegation; Because the center of light cladding diameter and fibre core can regard concentric as, if such as the ratio d1/d2 of the length d 1 of fruit dot A, B point-to-point transmission and the length d 2 between C, D point between the setting district [0.9,1.1], then be judged as the both sides consistency of thickness, namely these marginal points meet the condition of fitted ellipse, and coordinate points A, D are the point on the ellipse of outside, coordinate B, C are the point on the interior ellipse, if d1/d2 in [0.9,1.1], just can not choose these coordinate points not between the setting district; Damaged place will be arranged like this to getting rid of;
Described marginal point selected cell is divided into up and down two halves zone with image, by with about the zone select the identical principle of marginal point to extract coordinate points.
6. the detection system for damaged optical fiber geometric parameter according to claim 4 is characterized in that:
The ellipse fitting of described ellipse fitting and parameter acquiring unit and parameter acquiring process comprise:
The general equation of quafric curve is expressed as x 2+ α xy+ β y 2Quafric curve just can be obtained as long as obtain parameter, if satisfy α in+γ x+ ζ y+ η=0 2-4 β<0 this quafric curve represents an ellipse;
All outward flange coordinate (x that choose at described marginal point selected cell 1, y 1), (x 2, y 2) ..., (x n, y n) middle order
Figure FDA00002710959800021
According to the elliptic parameter of match, obtain the major axis d of outer ellipse Macr, minor axis d Min, center (x e, y e); Major axis S with interior ellipse Macr, minor axis S Min, center (x In, y In); Can obtain the elliptic geometry parameter thus:
Cladding diameter d=(d Macr+ d Min)/2;
Non-circularity of cladding
Figure FDA00002710959800022
Core diameter S=(S Macr+ S Min)/2;
Fiber core non circularity
Figure FDA00002710959800023
Fibre core-covering nonconcentricity
Figure FDA00002710959800024
When F (α, beta, gamma, ζ, η) hour, be the exterior elliptical of best-fit, obtain the exterior elliptical parameter alpha 1, β 1, γ 1, ζ 1, η 1In like manner, the coordinate points of all internal edges of extracting is pressed
Figure FDA00002710959800031
When F (α, beta, gamma, ζ, η) hour, be that the inside of best-fit is oval, obtain inner elliptic parameter α 2, β 2, γ 2, ζ 2, η 2
7. the detection method for damaged optical fiber geometric parameter is characterized in that, described method comprises:
Read optical fiber image;
The threshold value selecting step, the statistics grey level histogram is chosen optimal threshold;
The image binaryzation treatment step carries out binary conversion treatment to image;
Marginal point is selected step, accurate outward flange and the inward flange point selected in binary image;
Ellipse fitting and parameter acquiring step are obtained outer peripheral elliptic parameter by all outward flange points of choosing, simulate the parameter of the ellipse of inward flange by the inward flange point; Obtain the geometric parameter of this optical fiber picture behind the ellipse by the match outer edge.
8. the detection method for damaged optical fiber geometric parameter according to claim 7 is characterized in that:
The threshold value of choosing in the described threshold value selecting step is the gray-scale value of trough between first crest and the secondary peak; Wherein, the gray-scale value of first crest is V1, and the gray-scale value of secondary peak is V2;
The number of pixels of the gray-scale value of choosing is lacked than the number of pixels of any one gray-scale value except this gray-scale value in V1 and V2 interval;
If the threshold value of choosing is V, described image binaryzation unit is made as 0 with gray-scale value greater than the pixel of V, and gray-scale value is made as 255 less than or equal to the pixel of V.
9. the detection method for damaged optical fiber geometric parameter according to claim 7 is characterized in that:
Every some pixel of image represents that with two-dimensional array described marginal point is selected to line by line scan from both direction in the step;
Direction be since the 0th row by column increase write down pixel coordinate (x, the y of this point until first non-vanishing pixel in this row 1), increase by column until be zero place again, write down this pixel (x, y 2), add up non-vanishing number of pixels d 1=y 2-y 1, stop the scanning of this direction;
Another direction is to reduce by column since last row, when occurring at first non-vanishing, writes down coordinate (x, the y of this pixel 3), when again to occur one be zero pixel, write down coordinate (x, the y of this pixel 4), and statistics (x, y 4) and (x, y 3) between number of pixels d 2=y 3-y 4If, y in this row 4<=y 2Then reject the data of changing one's profession; Only has the y of working as 4Y 2, and d 1/ d 2Just think that at interval [0.9,1.1] Shi Caihui these points meet the condition of fitted ellipse, wherein, (x, y 1), (x, y 3) be the coordinate points on the outward flange, (x, y 2), (x, y 4) be the point on the inward flange.
10. the detection method for damaged optical fiber geometric parameter according to claim 9 is characterized in that:
Described ellipse fitting and parameter acquiring step comprise:
The general equation of quafric curve is expressed as x 2+ α xy+ β y 2Quafric curve just can be obtained as long as obtain parameter, if satisfy α in+γ x+ ζ y+ η=0 2-4 β<0 this quafric curve represents an ellipse;
All outward flange coordinate (x that choose at described marginal point selected cell 1, y 1), (x 2, y 2) ..., (x n, y n) middle order
Figure FDA00002710959800041
When F (α, beta, gamma, ζ, η) hour, be the exterior elliptical of best-fit, obtain the exterior elliptical parameter alpha 1, β 1, γ 1, ζ 1, η 1
In like manner, the coordinate points of all internal edges of extracting is pressed
Figure FDA00002710959800042
When F (α, beta, gamma, ζ, η) hour, be that the inside of best-fit is oval, obtain inner elliptic parameter α 2, β 2, γ 2, ζ 2, η 2
CN201310004500.8A 2013-01-07 2013-01-07 For detection system and the method for damaged optical fiber geometric parameter Expired - Fee Related CN103033134B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310004500.8A CN103033134B (en) 2013-01-07 2013-01-07 For detection system and the method for damaged optical fiber geometric parameter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310004500.8A CN103033134B (en) 2013-01-07 2013-01-07 For detection system and the method for damaged optical fiber geometric parameter

Publications (2)

Publication Number Publication Date
CN103033134A true CN103033134A (en) 2013-04-10
CN103033134B CN103033134B (en) 2016-02-24

Family

ID=48020281

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310004500.8A Expired - Fee Related CN103033134B (en) 2013-01-07 2013-01-07 For detection system and the method for damaged optical fiber geometric parameter

Country Status (1)

Country Link
CN (1) CN103033134B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103292731A (en) * 2013-05-16 2013-09-11 浙江大学 Geometrical parameter testing device and method used for panda-shaped polarization maintaining optical fiber end faces
CN106951895A (en) * 2016-01-07 2017-07-14 富士通株式会社 Determine the method and system of the profile of area-of-interest in image
CN107369194A (en) * 2016-05-11 2017-11-21 龙芯中科技术有限公司 The method and apparatus for filling figure
CN109341524A (en) * 2018-10-17 2019-02-15 上海理工大学 A kind of optical fiber geometric parameter detection method based on machine vision
CN110068278A (en) * 2019-04-22 2019-07-30 南京理工大学 Non-contact optical fiber preform size real-time measurement system and method based on FPGA
CN110288540A (en) * 2019-06-04 2019-09-27 东南大学 A kind of online imaging standards method of carbon-fibre wire radioscopic image
CN110455205A (en) * 2019-08-08 2019-11-15 上海理工大学 A kind of fiber end face size detecting method based on Halcon
CN110579174A (en) * 2019-10-24 2019-12-17 南京农业大学 Pear stem length measuring method based on machine vision
CN116912204A (en) * 2023-07-13 2023-10-20 上海频准激光科技有限公司 Treatment method for fusion splicing of optical fibers

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6661502B1 (en) * 1999-10-28 2003-12-09 Fitel Usa Corp. Method and apparatus for measuring the diameter and/or eccentricity of a coating layer of a coated optical fiber
JP2005106776A (en) * 2003-10-02 2005-04-21 Mitsubishi Cable Ind Ltd Method of measuring cross sectional dimension of cable and device of measuring the same
CN101620676A (en) * 2009-07-02 2010-01-06 浙江省电力公司 Fast image recognition method of insulator contour
CN102032875B (en) * 2009-09-28 2012-02-08 王吉林 Image-processing-based cable sheath thickness measuring method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6661502B1 (en) * 1999-10-28 2003-12-09 Fitel Usa Corp. Method and apparatus for measuring the diameter and/or eccentricity of a coating layer of a coated optical fiber
JP2005106776A (en) * 2003-10-02 2005-04-21 Mitsubishi Cable Ind Ltd Method of measuring cross sectional dimension of cable and device of measuring the same
CN101620676A (en) * 2009-07-02 2010-01-06 浙江省电力公司 Fast image recognition method of insulator contour
CN102032875B (en) * 2009-09-28 2012-02-08 王吉林 Image-processing-based cable sheath thickness measuring method

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
赵伟杰等: "机器视觉在光纤端面缺陷检测中的应用第136-139页", 《现代电子技术》 *
赵新彦: "数字图像处理法测量光纤端面几何参数", 《南京邮电大学学报(自然科学版)》 *
赵新彦: "数字图像法测量光纤端面几何参数", 《南京邮电大学学报(自然科学版)》 *

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103292731A (en) * 2013-05-16 2013-09-11 浙江大学 Geometrical parameter testing device and method used for panda-shaped polarization maintaining optical fiber end faces
CN103292731B (en) * 2013-05-16 2015-12-09 浙江大学 The apparatus and method that a kind of panda type polarization-preserving fiber end face geometric parameter detects
CN106951895A (en) * 2016-01-07 2017-07-14 富士通株式会社 Determine the method and system of the profile of area-of-interest in image
CN107369194A (en) * 2016-05-11 2017-11-21 龙芯中科技术有限公司 The method and apparatus for filling figure
CN109341524A (en) * 2018-10-17 2019-02-15 上海理工大学 A kind of optical fiber geometric parameter detection method based on machine vision
CN110068278A (en) * 2019-04-22 2019-07-30 南京理工大学 Non-contact optical fiber preform size real-time measurement system and method based on FPGA
CN110288540A (en) * 2019-06-04 2019-09-27 东南大学 A kind of online imaging standards method of carbon-fibre wire radioscopic image
CN110288540B (en) * 2019-06-04 2021-07-06 东南大学 Carbon fiber wire X-ray image online imaging standardization method
CN110455205A (en) * 2019-08-08 2019-11-15 上海理工大学 A kind of fiber end face size detecting method based on Halcon
CN110579174A (en) * 2019-10-24 2019-12-17 南京农业大学 Pear stem length measuring method based on machine vision
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
CN103033134B (en) 2016-02-24

Similar Documents

Publication Publication Date Title
CN103033134B (en) For detection system and the method for damaged optical fiber geometric parameter
CN107748888B (en) A kind of image text row detection method and device
CN109767445B (en) High-precision PCB defect intelligent detection method
CN107085726A (en) Oracle bone rubbing individual character localization method based on multi-method denoising and connected component analysis
CN108109133B (en) Silkworm egg automatic counting method based on digital image processing technology
CN107392954A (en) A kind of gross error point elimination method based on sequence image
CN114219805A (en) Intelligent detection method for glass defects
CN105976382A (en) TFT-LCD Mura defect detection algorithm based on defect area prognosis and level set
CN117173158B (en) Intelligent detection method and system for quality of precise connector
CN103235929A (en) Identification method and identification device on basis of hand vein images
CN111368695A (en) Table structure extraction method
CN104680531A (en) Connection flux statistical information extraction method and VLSI structure
CN110176020A (en) A kind of bird's nest impurity method for sorting merging 2D and 3D rendering
CN102663425B (en) Combined target segmentation and identification method based on shape sparse representation
CN103743750A (en) Method for generating distribution diagram of surface damage of heavy calibre optical element
CN105342641B (en) A kind of ultrasonic imaging method, device and its ultrasonic device
CN101770645A (en) Method and system for quickly segmenting high-resolution color image of cotton foreign fibers
CN108961270B (en) Bridge crack image segmentation model based on semantic segmentation
CN102496146B (en) Image segmentation method based on visual symbiosis
CN101600115A (en) A kind of method of eliminating periodic characteristic block of image stabilization system
CN103340600A (en) Method and system for processing wave form distortion of monitor
CN106952236B (en) Fisheye lens shot image distortion correction method based on BP neural network
CN105631857A (en) Method and device for detecting scratch on surface of optical element
CN111325214B (en) Jet printing character extraction processing method and device, storage medium and electronic equipment
CN105069455A (en) Method and device for filtering official seal of invoice

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160224

Termination date: 20190107

CF01 Termination of patent right due to non-payment of annual fee