CN103604809A - Pattern cloth flaw online visual inspection method - Google Patents

Pattern cloth flaw online visual inspection method Download PDF

Info

Publication number
CN103604809A
CN103604809A CN201310512190.0A CN201310512190A CN103604809A CN 103604809 A CN103604809 A CN 103604809A CN 201310512190 A CN201310512190 A CN 201310512190A CN 103604809 A CN103604809 A CN 103604809A
Authority
CN
China
Prior art keywords
primitive
image
detected
energy
indefectible
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
CN201310512190.0A
Other languages
Chinese (zh)
Other versions
CN103604809B (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.)
Huzhou Duxin Technology Co., Ltd
Original Assignee
Jiangnan University
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 Jiangnan University filed Critical Jiangnan University
Priority to CN201310512190.0A priority Critical patent/CN103604809B/en
Publication of CN103604809A publication Critical patent/CN103604809A/en
Application granted granted Critical
Publication of CN103604809B publication Critical patent/CN103604809B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Analysis (AREA)

Abstract

The present invention provides a loom pattern cloth flaw online visual inspection method, which comprises: accurately calculating a texture primitive period, constructing a flaw-free primitive image offset sequence, and extracting pattern cloth characteristics so as to achieve real-time monitoring and flaw generation shutdown during a loom pattern cloth weaving process. According to the present invention, the texture primitive period extraction scheme is optimized, and the extreme value weight analysis is adopted to remove the interferential extreme value point so as to increase the period extraction accuracy; offline training on the standard flaw-free image is matched, the bi-layer classification mechanism in the online detection process is established, and detection accuracy is substantially improved while the real-time property is ensured; and requirements of high real-time property and high accuracy of the loom pattern cloth during the online detection process can be completely met.

Description

The online visible detection method of a kind of pattern Fabric Defect
Technical field
The present invention relates to utilize machine vision to loom at the weave cotton cloth online detection field of process of pattern cloth, specifically refer to a kind of image processing method that loom industry spot, that high real-time requires occurs that in complex pattern cloth is weaved cotton cloth process flaw is shut down in time that is applied to.
Background technology
Along with the raising of people to cloth quality requirements, to cloth, detect further important, Traditional Man detection technique cost is high, speed slow and the easy flase drop that causes tired out of human eye long-term work, very easily cause and occur flaw and accident that loom is still worked, when causing cloth quality to decline, also cause the factory to strict production control cost improves the quality of products in modern economy market to bring larger pressure.Loom in the process of weaving cotton cloth intelligence and find that in time the Awaiting Overhauls such as flaw auto stop are problems needing solution badly.
Currently loom is weaved cotton cloth in process to Defect Detection technical research is more to be concentrated on for the texture rules such as nonwoven fabrics or twill and the very little cloth detection field of texture, for have pattern or texture more greatly cloth such as a line, striped detect and but seldom relate to.This type of cloth detection difficulty is larger on the one hand for reason, and the less cloth of texture can be eliminated little texture impact and then be isolated defect areas by setting threshold by frequency domain methods such as Gabor or wavelet transformations, and large texture pattern cloth is difficult to eliminate texture information; Pattern cloth is various and conversion is complicated on the other hand, and design is difficult to form the unified detection scheme that can be adapted to other patterns to specific a kind of pattern detection scheme.
Summary of the invention
The object of the invention is to be difficult to for the pattern cloth compared with large texture the present situation detecting, and provides a kind of for the online vision-based detection scheme of pattern cloth (comprising the knitted fabrics such as sweater) flaw, can adapt to the requirement of industry spot high real-time, high-accuracy.
For reaching this object, technical scheme of the present invention is as follows: be divided into off-line training process and online testing process, for any a collection of texture cloth, indefectible cloth training once just can detect online to standard after camera Installation and Debugging, only to need off-line.Specifically comprise the following steps:
Off-line training process:
(1) the indefectible cloth image of Real-time Obtaining loom, adjusts the mechanical parameters such as camera lens aperture, focal length at the about 5cm of loom exit slot place, high-power strip source is installed below exit slot, pictures taken, Real-time Obtaining cloth image sequence.
(2) to the indefectible cloth image pre-service of obtaining, by gaussian filtering, remove image disruption point; By histogram equalization stretching image, strengthen contrast, highlight image texture.
(3) the cloth image texture primitive cycle accurately asks for
(3.1) build image distance stack equation, ask for respectively level and vertical direction apart from superpositing function, add up respectively and ask for minimal value.
(3.2) respectively level and vertical direction institute minimizing are done to weight analysis to eliminate the impact of the interference burr producing due to noise.First minimal value is done to ascending order by bubble sort method and arrange, the minimum value of the distance of the point after calculating every bit and arranging before it, does descending sort to minimum value by bubble sort method, and weight reduces gradually from front to back, gives up weight compared with low spot.
(3_3) calculated level and vertical direction minimal value spacing poor respectively, the difference of choosing the distance that occurrence number is maximum is the direction cycle for this reason, and note period profile is m and n.
(3.4) the correction cycle is for detection of striped cloth, if period m or n have one be 0 or the two differ greatly, the correction cycle.
(4) on the indefectible image of standard, choose of m * n size as template image M m * n.This template image is offset successively, can obtains m * n skew subimage sequence, be designated as L std.
(5) image block of choosing at random N width primitive cycle size on the indefectible image of standard is for feature extraction.Ask for respectively each image block and skew Sequence of Primitive Elements L stdbetween energy poor, the average of the difference of calculating energy and variance, can obtain the indefectible image M of indefectible primitive and standard m * n, N average energy value and N energy variance, be designated as respectively ENY and VAR.
(6) build classification policy, create double-deck classification mechanism.First ground floor fuzzy classification, determines boundary value according to the Two dimensional Distribution of average energy value and energy variance, determines and may contain primitive defective, secondly in the online testing process of second layer precise classification, completes.
Online testing process:
(1) Real-time Obtaining loom cloth image, at the about 5cm of loom exit slot place pictures taken, Real-time Obtaining loom cloth image to be detected.By gaussian filtering, remove image disruption point; By histogram equalization stretching image, strengthen contrast, highlight image texture, extract the stripe region that vertical direction height is identical with the vertical cycle size of primitive and detect.
(2), in stripe region to be detected, choose successively from left to right the big or small image block for primitive period m * n in order to detect.Ask for respectively every and be offset Sequence of Primitive Elements L with standard form std, an energy poor, the average of the difference of calculating energy and variance.
(3) ground floor fuzzy classification, judges that according to off-line training gained boundary value this image block possibility contains flaw, if all without containing flaw, detection of end enters next frame image detection, if there is image block may contain flaw, does second layer precise classification.
(4) second layer precise classification, cumulative image block to be detected and standard form skew Sequence of Primitive Elements L stdbetween energy profile, search minimum energy point, this point coordinate is image block to be detected and standard primitive departs from size.Analytical standard template primitive is at this migrated image and primitive to be detected, and the variance by difference between row image block to be detected and standard primitive judges whether it has higher and concentrated energy block, if there is this primitive to have flaw, if without this primitive is indefectible.
(5) if there is flaw to mark flaw location, shut down, if indefectible, enter next frame image detection.
Beneficial effect of the present invention: the present invention is by the indefectible image of off-line learning, accurately ask for the primitive cycle, ask for cycle method accurately errorless and repeated detection stable, the indefectible image shift cyclic sequence of structure standard is as testing tool, and that sets up that two layers of classified mechanism fuzzy classification and precise classification guarantee judges that whether image block is containing correctness defective.Preferred embodiment, this detection method algorithm is real-time, and accuracy is high, has overcome pattern cloth and has detected difficult problem, can be generalized to the pattern detection such as wallpaper, printing.
Accompanying drawing explanation
Fig. 1 total system design of graphics of the present invention
Fig. 2 algorithm overall flow of the present invention figure
Embodiment
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with specific embodiment, and with reference to accompanying drawing, the present invention is described in further detail.
The present invention is a kind of flaw detection method of pattern cloth, and testing process is divided into off-line training process and online testing process, and as shown in Figure 1, algorithm overall flow figure as shown in Figure 2 for smart camera mounting means.In off-line training process, by the accurate cycle, ask for, the structure of the indefectible primitive offset sequence of standard, extracts feature and sets up ground floor Fuzzy Classifier.In line process, analyze the difference of the indefectible primitive offset sequence of image block to be detected and standard and extract energy and Variance feature, first utilize ground floor sorter fuzzy classification, if likely there is flaw image block to build second layer precise classification device.
Further, off-line training process specific implementation step is:
Step 1, image sequence obtain
(1.1) according to the Fabric Defect real-time online accuracy of detection requirement of loom, at the about 5cm of exit slot place, the indefectible image sequence of continuous acquisition standard.
(1.2) preserve the image sequence that gathers, as indefectible standard picture, be used for follow-up off-line test.If conditions permit, regularly gathers indefectible image training, can prevent because system mechanics vibration causes the impact that the small displacement of camera causes accuracy of detection to decline.
Step 2, indefectible image pre-service
(2.1) the indefectible cloth image sequence being obtained by loom is utilized to gaussian filtering denoising, Gaussian convolution template is as follows:
h = 1 16 * 1 2 1 2 4 2 1 2 1
(2.2) then image after gaussian filtering is done to histogram equalization and process, first gray level r in computed image kthe probability occurring is approximately:
Figure BSA0000096712090000032
N is the summation of pixel in image, n kthat gray level is r knumber of pixels, L is gray level possible in image sum.Output gray level s kfor:
s k = T ( r k ) = Σ 1 = 0 k P r ( r j ) = Σ j = 0 k n j n k=0,1,2,…,L-1
1 mistake above formula is r by gray level in input picture keach pixel to be mapped to gray level in output image be s krespective pixel.
Step 3, accurately extract the texture primitive cycle
(3.1) the indefectible image of note standard is [f (i, j)], i (1≤i≤p) wherein, and j (1≤j≤q) is respectively row and column coordinate, asks for the distance function of every row of the indefectible image of standard:
λ 1 j ( δ ) = Σ j = 1 q - δ [ f ( i , j ) - f ( i , j + δ ) ] 2
Wherein: δ is pixel displacement, and λ 1, value (δ) can increase progressively and order computation from 1 to q-δ successively along with δ.
Each row distance superpositing function is cumulative, and the row distance superpositing function that obtains entire image is:
λ 1 ( δ ) = Σ j = 1 p λ 1 1 = Σ j = 1 p Σ j = 1 q - δ [ g ( i , j ) - g ( i , j + δ ) ] 2
Same method obtains column distance sum function:
λ 2 ( δ ) = Σ j = 1 1 λ 2 1 = Σ j = 1 q Σ i = 1 p - δ [ g ( i , j ) - g ( i + δ , j ) ] 2
Calculate respectively the minimum point of row distance sum function, N minimum point of note row distance superpositing function is respectively P 1, P 2..., P n, same method application and column distance sum function.
(3.2) minimum point weight analysis
First use bubble sort method to the N of row distance sum function minimum point P 1, P 2..., P nascending order is arranged, and after note row's example, sequence Q is Q 1, Q 2..., Q n.
Then for Q 1calculate itself and each Q 1distance, Q wherein 1after arranging, ascending order compares Q in sequence Q 1first there is i.e. 1≤i≤j, note Q 1the minimum value of required distance is D 1, can be D apart from minimum value sequence D 1, D 2... D n, this distance i.e. minimum point weight for this reason.
Finally to D 1descending sort, after arranging, the corresponding order of extreme point is its weight descending sort table, gives up the relatively little extreme point of weight.
Same method application and column distance sum function.
(3.3) calculate the poor of row distance superpositing function retains after weight analysis minimum point spacing, the difference of choosing the distance that occurrence number is maximum is the horizontal texture primitive cycle, is designated as m; Same method application and column distance sum function, obtain the vertical texture primitive cycle, is designated as n.
(3.4) cycle correction
If m=0 or m < n/5, make m=n; If same n=0 or n < m/5, make n < m.
Step 4, the indefectible Sequence of Primitive Elements of structure standard
(4.1) on the indefectible image of standard, choose with the primitive cycle with size one as template image, remember that indefectible primitive is M m * n=[f (c, d)].
(4.2) by indefectible primitive M m * nskew successively, can obtain the primitive bunch of the indefectible primitive of standard after m * n translation.
For M = [ f ( c , d ) ] = f ( 1,1 ) f ( 1,2 ) . . . f ( 1 , n ) f ( 2,1 ) f ( 2,2 ) . . . f ( 2 , n ) . . . . . . . . . f ( m , 1 ) f ( m , 2 ) . . . f ( m , n )
Note M 11 = f ( 1,1 ) f ( 1,2 ) . . . f ( 1 , n ) f ( 2,1 ) f ( 2,2 ) . . . f ( 2 , n ) . . . . . . . . . f ( m , 1 ) f ( m , 2 ) . . . f ( m , n ) , M 12 = f ( 1,2 ) . . . f ( 1 , n ) f ( 1,1 ) f ( 2,2 ) . . . f ( 2 , n ) f ( 2,1 ) . . . . . . . . . f ( m , 2 ) . . . f ( m , n ) f ( 1 , n ) , . . . ,
M 1 n = f ( 1 , n ) f ( 1,1 ) . . . f ( 1 , n - 1 ) f ( 2 , n ) f ( 2,1 ) . . . f ( 2 , n - 1 ) . . . . . . . . . f ( m , n ) f ( m , 1 ) . . . f ( m , n - 1 ) , . . . , M 22 = f ( 2,2 ) . . . f ( 2 , n ) f ( 2,1 ) . . . . . . . . . f ( m , 2 ) . . . f ( m , n ) f ( m , 1 ) f ( 1,2 ) . . . f ( 1 , n ) f ( 1,1 ) , . . . ,
M mn = f ( m , n ) f ( m , 1 ) . . . f ( m , n - 1 ) f ( 1 , n ) f ( 1,1 ) . . . f ( 1 , n - 1 ) . . . . . . . . . f ( m - 1 , n ) f ( m - 1,1 ) . . . f ( m - 1 , n - 1 )
Preserve this m * n image sequence to L std, as feature extraction instrument.
Step 5, indefectible primitive image characteristics extraction
(5.1) on the indefectible image of standard, choose at random N (N > 100) individual with the primitive cycle with big or small image block in order to feature extraction.
(5.2) each image block that calculating is chosen at random and the energy between m * n the indefectible primitive migrated image of standard, ask for this each image block and the primitive bunch average of gained energy and the variance of energy, N image block can obtain N average energy value and N energy variance, is designated as respectively ENY nand VAR n
Step 6, structure fuzzy classification mechanism
Create the ground floor fuzzy classification in double-deck classification mechanism, according to the Two dimensional Distribution of average energy value and energy variance, determine boundary value, determine and may contain primitive defective.Boundary value is asked for as follows:
T11=?(1-λ)*min(ENY n),T12=?(1+λ)*max(ENY n)
T21=?(1-λ)*min(VAR n),T11=?(1+λ)*max(VAR n)
Wherein T11, T12, T21 and T22 represent that respectively in Two dimensional Distribution, energy lower limit, upper energy limit, variance roll off the production line and the variance upper limit, and λ is for limiting coefficient.
Further, in line process specific implementation step, be:
Step 1, detected image are obtained and pre-service
(1.1) Real-time Obtaining loom cloth image, at the about 5cm of loom exit slot place pictures taken, Real-time Obtaining loom cloth image to be detected.
(1.2) preprocessing process, utilizes gaussian filtering denoising to the indefectible cloth image sequence being obtained by loom, and Gaussian convolution template is as follows:
h = 1 16 * 1 2 1 2 4 2 1 2 1
Then image after gaussian filtering is done to histogram equalization and process, increase contrast.
(1.3) extract a stripe region that wherein width is greater than the vertical cycle n of primitive as Defect Detection region.
Step 2, feature extraction
(2.1), in stripe region to be detected, choose successively from left to right with the primitive cycle with big or small image block sequence in order to detect note M 1 rbe f image block, 1≤i≤NUM, NUM is separable graph picture piece number.
(2.2) ask for M ' 1with standard form skew Sequence of Primitive Elements L stdbetween energy poor, note standard form skew Sequence of Primitive Elements L std(a, b) individual element is M ab=[f ab(c, d)], primitive to be detected is M r i=[f ' 1(c, d)] wherein m and n be primitive level and vertical cycle, f ab(c, d) and
Figure BSA0000096712090000065
for element in primitive, 1≤c≤m, 1≤d≤n.The energy between two primitives is designated as:
u 1 ( a , b ) = | | M ab - M &prime; 1 | | / N = ( &Sigma; c = 1 m &Sigma; d = 1 n | f ab ( c , d ) - f 1 &prime; ( c , d ) | ) / N N=m * n wherein
To each primitive M ' to be detected 1all can obtain m * n energy value.
The average energy value of this primitive to be detected and standard form skew Sequence of Primitive Elements is:
u 1 = &Sigma; a = 1 a = m &Sigma; b = 1 b = n u 1 ( a , b ) / N
The average energy value of this primitive to be detected and standard form skew Sequence of Primitive Elements is:
v 1 = &Sigma; a = 1 a = m &Sigma; b = 1 b = n ( u 1 ( a , b ) - u 1 ) 2 / N
The ground floor fuzzy classification of step 3, classification mechanism
Determining step two gained u 1and v 1whether all in the Two dimensional Distribution space of the training feature of extracting.
If T11≤u 1≤ T12 and T21≤v 1≤ T22, to any i all set up the Sequence of Primitive Elements that detects all indefectible.Otherwise the Sequence of Primitive Elements that detects may have flaw.
Note u=[u 1, u 2..., u mun], v=[v 1, v 2..., v mun], may contain flaw primitive index and be:
Logicl=u≤T11||u≥T12||V≤T21||V≥T22
If sum (Logicl)=0, illustrates that detected Sequence of Primitive Elements is all indefectible, return to step 1 and obtain next frame image detection.
If sum (Logicl) ≠ 0, illustrates that detected Sequence of Primitive Elements is all indefectible, continue step 4 and do precise classification.
The second layer precise classification of step 4, classification mechanism
(4.1) in calculation procedure two in gained stripe region to be detected all with standard form skew Sequence of Primitive Elements L stdin each element gained energy matrix u 1(a, b) sum, obtaining big or small is the stripe region energy matrix U of m * n:
U = &Sigma; 1 = 1 num u 1 ( a , b )
(4.2) ask for minimum value place coordinate (x in matrix U 0, y 0), (x 0-1, y 0-1) be primitive to be detected and standard primitive position offset, M ' with
Figure BSA0000096712090000074
texture is identical, f primitive M to be detected 1 rwith
Figure BSA0000096712090000075
between difference can further react M 1' whether for there being flaw.
I primitive M to be detected 1 rwith
Figure BSA0000096712090000076
between difference matrix D IF 1and DIF 1middle all elements variance yields VAR 1for:
DIF 1 = abs ( M 1 &prime; - M ( x 0 - 1 ) ( v 0 - 1 ) ) , VAR 1 = &Sigma; c = 1 m &Sigma; d = 1 n ( DIF 1 ( c , d ) - u 1 ( a , b ) )
Note variance yields sequence VAR=[VAR 1, VAR 2..., VAR num], ask for two-way difference and obtain VAR_differ, relatively VAR_differ and its mean value relationship obtain:
Logic2=VAR_differ>2*mean(VAR_differ)
Step 5, finally judgement
Note Logic=Logicl & Logic2, if sum (Logic) ≠ 0 exists flaw, marks defect areas, stopping alarm; Otherwise enter step 1 and detect next frame image.

Claims (5)

1. an online visible detection method for pattern Fabric Defect, is characterized in that, by apart from superpositing function and extreme value weight analysis, accurately asks for the pattern cloth texture primitive cycle; Extraction standard texture primitive, and create indefectible primitive migrated image bunch; Finally energy information between extraction and image block to be detected, builds according to this double-deck classification mechanism and whether contains flaw in order to decision-making, preferably resolves pattern cloth feature and is difficult to the problem of extracting, flaw is difficult to detection; Specifically comprise following step:
(1) in off-line learning process, the texture primitive cycle accurately asks for, and comprises apart from superpositing function and asking for and extreme value weight analysis;
(2) the indefectible primitive migrated image bunch L of creating a standard in off-line learning process std, and extract energy and variance information architecture ground floor classification Fuzzy Classifier;
(3) in online testing process, extract primitive feature to be detected, with Fuzzy Classifier, classify;
(4) in online testing process, build precise classification device, determine final detection result.
2. a kind of online visible detection method of pattern Fabric Defect according to claim 1, is characterized in that: in described step (1), the texture primitive cycle accurately asks for, and comprises the following steps:
The first step, calculating row (column) are apart from superpositing function;
The indefectible image of note standard is [f (i, j)], i (1≤i≤p) wherein, and j (1≤j≤q) is respectively row and column coordinate, asks for the distance function of every row of the indefectible image of standard:
Figure FSA0000096712080000011
each row distance superpositing function is cumulative, and the row distance superpositing function that obtains entire image is:
&lambda; 1 ( &delta; ) = &Sigma; i = 1 p &lambda; 1 i = &Sigma; i = 1 p &Sigma; j = 1 q - &delta; [ g ( i , j ) - g ( i , j + &delta; ) ] 2
Same method show that column distance sum function is: &lambda; 2 ( &delta; ) = &Sigma; j = 1 q &lambda; 2 i = &Sigma; j = 1 1 &Sigma; i = 1 p - &delta; [ g ( i , j ) - g ( i + &delta; , j ) ] 2 ;
Then calculate respectively the minimum point of row distance sum function, N minimum point of note row distance superpositing function is respectively p 1, p 2..., P n;
Second step, extreme point weight analysis
First use bubble sort method to the N of row distance sum function minimum point P 1, P 2..., P nascending order is arranged, and the routine postorder example of note row Q is Q 1, Q 2..., Q n;
Then for Q 1calculate itself and each Q 1distance, Q wherein 1after arranging, ascending order compares Q in sequence Q 1first there is i.e. 1≤i≤j, note Q 1the minimum value of required distance is D 1, can be D apart from minimum value sequence D 1, D 2..., D n, this distance i.e. minimum point weight for this reason;
Finally to D 1descending sort, after arranging, the corresponding order of extreme point is its weight descending sort table, gives up the relatively little extreme point of weight;
After the 3rd step, calculating weight analysis, the minimum point spacing of row distance superpositing function reservation is poor, and the difference of choosing the distance that occurrence number is maximum is the horizontal texture primitive cycle, is designated as m; Same method application and column distance sum function, obtain the vertical texture primitive cycle, is designated as n;
The 4th step, comparison level and vertical period-luminosity relation, the correction cycle.
3. a kind of online visible detection method of pattern Fabric Defect according to claim 1, is characterized in that: in described step (2), Fuzzy Classifier builds, and comprises the following steps:
The first step, first on the indefectible image of standard, choose of primitive cycle size as template image, remember that indefectible primitive is M m * n=[f (c, d)], by this indefectible primitive M m * nskew successively, can obtain the primitive bunch of the indefectible primitive of standard after m * n translation, preserves this m * n image sequence to L std, as feature extraction instrument;
Each image block that second step, calculating are chosen at random and the energy between m * n the indefectible primitive migrated image of standard, ask for this each image block and the primitive bunch average of gained energy and the variance of energy, N image block can obtain N average energy value and N energy variance, is designated as respectively ENY nand VAR n;
The 3rd step, according to the Two dimensional Distribution of average energy value and energy variance, determine boundary value, determine and may contain primitive defective, boundary value is asked for as follows:
T11=(1-λ)*min(EYY n),T12=(1+λ)*max(ENY n)
T21=(1-λ)*min(VAR),T11=(1+λ)*max(VAR n)
Wherein T11, T12, T21 and T22 represent that respectively in Two dimensional Distribution, energy lower limit, upper energy limit, variance roll off the production line and the variance upper limit, and λ is for limiting coefficient.
4. a kind of online visible detection method of pattern Fabric Defect according to claim 1, is characterized in that: online Detection and Extraction primitive feature to be detected with Fuzzy Classifier classification in described step (3), comprises the following steps:
The first step, extract primitive feature to be detected, in stripe region to be detected, choose successively from left to right the image block sequence of primitive cycle size in order to detect, note M i rbe i image block, 1≤i≤NUM, NUM is separable graph picture piece number; Ask for M 1' be offset Sequence of Primitive Elements L with standard form stdbetween energy poor, note standard form skew Sequence of Primitive Elements L std(a, b) individual element is M ab=[f ab(c, d)], primitive to be detected is M r 1=[f ' 1 (c, d)], wherein m and n are primitive level and vertical cycle, f ab(c, d) and f i r(c, d) is element in primitive, 1≤c≤m, 1≤d≤n.The energy between two primitives is designated as:
u 1 ( a , b ) = | | M ab - M r 1 | | / N = ( &Sigma; c = 1 m &Sigma; d = 1 n | f ab ( c , d ) - f 1 r ( c , d ) | ) / N N=m * n wherein
To each primitive M ' to be detected 1all can obtain m * n energy value;
The average energy value of this primitive to be detected and standard form skew Sequence of Primitive Elements is:
Figure FSA0000096712080000022
The average energy value of this primitive to be detected and standard form skew Sequence of Primitive Elements
Figure FSA0000096712080000023
Step gained u in second step, judgement 1and v 1whether all in the Two dimensional Distribution space of the training feature of extracting, if T11≤u 1≤ T12 and T21≤v 1≤ T22, to any i all set up the Sequence of Primitive Elements that detects all indefectible, otherwise the Sequence of Primitive Elements that detects may have flaw; Note u=[u 1, u 2..., u num], v=[v 1, v 2..., v num], may contain flaw primitive index and be: Logicl=u≤T11||u>=T12||v≤T21||v>=T22;
If sum (Logicl)=0, illustrates that detected Sequence of Primitive Elements is all indefectible, return to step 1 and obtain next frame image detection, if sum (Logicl) ≠ 0 illustrates that detected Sequence of Primitive Elements is all indefectible, continue step 4 and do precise classification.
5. a kind of online visible detection method of pattern Fabric Defect according to claim 1, is characterized in that: in described step (4), build precise classification device, comprise the following steps:
In the first step, calculation procedure two in gained stripe region to be detected all with standard form skew Sequence of Primitive Elements L stdin each element gained energy matrix u i(a, b) sum, obtaining big or small is the stripe region energy matrix u of m * n: U = &Sigma; i = 1 num u 1 ( a , b ) ;
Second step, ask for minimum value place coordinate (x in matrix U 0, y 0), (x 0-1, y 0-1) be primitive to be detected and standard primitive position offset, i.e. M rwith texture is identical, i primitive M to be detected i rwith
Figure FSA0000096712080000038
between difference can further react M ' 1whether for there being flaw; I primitive M ' to be detected 1with
Figure FSA0000096712080000039
between difference matrix D IF 1and DIF 1middle all elements variance yields VAR ifor:
DIF 1 = abs ( M 1 &prime; - M ( x 0 - 1 ) ( v 0 - 1 ) ) , VAR 1 = &Sigma; c = 1 m &Sigma; d = 1 n ( DIF 1 ( c , d ) - u 1 ( a , b ) )
Remember ten thousand difference Room row VAR=[VAR 1, VAR 2..., VAR num], ask for two-way difference and obtain VAR_differ, relatively VAR_differ and its mean value relationship obtain: Logic2=VAR_differ > 2*mean (VAR_differ);
Note Logic=Logicl & Logic2, if sum (Logic) ≠ 0 exists flaw, marks defect areas, stopping alarm; Otherwise enter step 1 and detect next frame image.
CN201310512190.0A 2013-10-22 2013-10-22 A kind of online visible detection method of pattern cloth flaw Active CN103604809B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310512190.0A CN103604809B (en) 2013-10-22 2013-10-22 A kind of online visible detection method of pattern cloth flaw

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310512190.0A CN103604809B (en) 2013-10-22 2013-10-22 A kind of online visible detection method of pattern cloth flaw

Publications (2)

Publication Number Publication Date
CN103604809A true CN103604809A (en) 2014-02-26
CN103604809B CN103604809B (en) 2016-08-17

Family

ID=50123053

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310512190.0A Active CN103604809B (en) 2013-10-22 2013-10-22 A kind of online visible detection method of pattern cloth flaw

Country Status (1)

Country Link
CN (1) CN103604809B (en)

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103674956A (en) * 2013-12-20 2014-03-26 吴江华尔美特装饰材料有限公司 Wallpaper product inspection device
CN104977310A (en) * 2014-04-10 2015-10-14 征图新视(江苏)科技有限公司 Detection method and detection system of random bottom shading on cigarette pack
CN106091996A (en) * 2016-05-26 2016-11-09 东华大学 A kind of online visible detection method of stone flatness
CN106276372A (en) * 2016-10-11 2017-01-04 凌云光技术集团有限责任公司 A kind of method and device positioning package packaging defect
CN106918600A (en) * 2017-04-07 2017-07-04 江苏博虏智能科技有限公司 A kind of web surface defects detection and labeling method based on machine vision
CN107102007A (en) * 2017-06-19 2017-08-29 成都汇智远景科技有限公司 Pattern uniformity recognition methods in cloth detection
CN107246843A (en) * 2017-06-19 2017-10-13 成都汇智远景科技有限公司 For the uniformity testing method in cloth measurer for thickness
CN107403429A (en) * 2017-08-11 2017-11-28 杭州展拓智能控制技术有限公司 A kind of fast automatic acquisition methods of periodic sequence iconic model parameter
CN107437248A (en) * 2017-08-04 2017-12-05 陈思 A kind of method of smart fields detection textile product quality
CN107966444A (en) * 2017-10-12 2018-04-27 常州信息职业技术学院 Textile flaw detection method based on template
CN109584214A (en) * 2018-11-08 2019-04-05 武汉精立电子技术有限公司 Image management method and system in a kind of inspection of backlight
CN111721772A (en) * 2020-07-06 2020-09-29 宁波申洲针织有限公司 Cloth flaw visual detection device and detection method
CN112435232A (en) * 2020-11-23 2021-03-02 南京信息工程大学 Defect detection method based on haar wavelet combined image variance
CN113554080A (en) * 2021-07-15 2021-10-26 长沙长泰机器人有限公司 Non-woven fabric defect detection and classification method and system based on machine vision
JP6991380B1 (en) * 2021-04-15 2022-02-03 佰龍機械廠股▲ふん▼有限公司 A circular knitting machine that immediately informs the condition of the knitting machine based on the surface condition of the knitting machine.
EP4083287A1 (en) 2021-04-28 2022-11-02 Pai Lung Machinery Mill Co., Ltd. Circular knitting machine for prompting knitting machine status instantaneously based on cloth surface condition of fabric
CN116579672A (en) * 2023-07-15 2023-08-11 图南益(杭州)智能科技有限公司 Cloth quality control method, system, electronic equipment and storage medium
US11739450B2 (en) 2021-04-28 2023-08-29 Pai Lung Machinery Mill Co., Ltd. Circular knitting machine for prompting knitting machine status instantaneously based on cloth surface status of fabric

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001099785A (en) * 1999-09-30 2001-04-13 Tsudakoma Corp Method and device for automatic inspection
CN102279191A (en) * 2010-06-13 2011-12-14 中钞特种防伪科技有限公司 Detection method and apparatus for defects in periodic texture images
CN102879401A (en) * 2012-09-07 2013-01-16 西安工程大学 Method for automatically detecting and classifying textile flaws based on pattern recognition and image processing
CN103234976A (en) * 2013-04-03 2013-08-07 江南大学 Warp knitting machine cloth flaw on-line visual inspection method based on Gabor transformation

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001099785A (en) * 1999-09-30 2001-04-13 Tsudakoma Corp Method and device for automatic inspection
CN102279191A (en) * 2010-06-13 2011-12-14 中钞特种防伪科技有限公司 Detection method and apparatus for defects in periodic texture images
CN102879401A (en) * 2012-09-07 2013-01-16 西安工程大学 Method for automatically detecting and classifying textile flaws based on pattern recognition and image processing
CN103234976A (en) * 2013-04-03 2013-08-07 江南大学 Warp knitting machine cloth flaw on-line visual inspection method based on Gabor transformation

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
MIN LI ET AL.: "Texture primitive based method for patterned fabric defect detection", 《JOURNAL OF COMPUTATIONAL INFORMATION SYSTEMS》, vol. 9, no. 13, 1 July 2013 (2013-07-01), pages 5125 - 5132 *
V.ASHA ET AL.: "Automatic extraction of texture-periodicity using superposition of distance matching functions and their forward diferences", 《PATTERN RECOGNITION LETTERS》, vol. 33, no. 5, 1 April 2012 (2012-04-01), pages 629 - 640 *

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103674956A (en) * 2013-12-20 2014-03-26 吴江华尔美特装饰材料有限公司 Wallpaper product inspection device
CN104977310A (en) * 2014-04-10 2015-10-14 征图新视(江苏)科技有限公司 Detection method and detection system of random bottom shading on cigarette pack
CN106091996A (en) * 2016-05-26 2016-11-09 东华大学 A kind of online visible detection method of stone flatness
CN106276372A (en) * 2016-10-11 2017-01-04 凌云光技术集团有限责任公司 A kind of method and device positioning package packaging defect
CN106918600A (en) * 2017-04-07 2017-07-04 江苏博虏智能科技有限公司 A kind of web surface defects detection and labeling method based on machine vision
CN107246843B (en) * 2017-06-19 2019-11-12 吉祥三宝高科纺织有限公司 For the uniformity testing method in cloth measurer for thickness
CN107102007A (en) * 2017-06-19 2017-08-29 成都汇智远景科技有限公司 Pattern uniformity recognition methods in cloth detection
CN107246843A (en) * 2017-06-19 2017-10-13 成都汇智远景科技有限公司 For the uniformity testing method in cloth measurer for thickness
CN107102007B (en) * 2017-06-19 2019-11-26 浙江爬爬婴幼儿用品有限公司 Pattern consistency recognition methods in cloth detection
CN107437248A (en) * 2017-08-04 2017-12-05 陈思 A kind of method of smart fields detection textile product quality
CN107437248B (en) * 2017-08-04 2018-04-10 胡侠 A kind of method of smart fields detection textile product quality
CN107403429A (en) * 2017-08-11 2017-11-28 杭州展拓智能控制技术有限公司 A kind of fast automatic acquisition methods of periodic sequence iconic model parameter
CN107966444A (en) * 2017-10-12 2018-04-27 常州信息职业技术学院 Textile flaw detection method based on template
CN109584214A (en) * 2018-11-08 2019-04-05 武汉精立电子技术有限公司 Image management method and system in a kind of inspection of backlight
CN111721772A (en) * 2020-07-06 2020-09-29 宁波申洲针织有限公司 Cloth flaw visual detection device and detection method
CN112435232A (en) * 2020-11-23 2021-03-02 南京信息工程大学 Defect detection method based on haar wavelet combined image variance
JP6991380B1 (en) * 2021-04-15 2022-02-03 佰龍機械廠股▲ふん▼有限公司 A circular knitting machine that immediately informs the condition of the knitting machine based on the surface condition of the knitting machine.
EP4083287A1 (en) 2021-04-28 2022-11-02 Pai Lung Machinery Mill Co., Ltd. Circular knitting machine for prompting knitting machine status instantaneously based on cloth surface condition of fabric
US11739450B2 (en) 2021-04-28 2023-08-29 Pai Lung Machinery Mill Co., Ltd. Circular knitting machine for prompting knitting machine status instantaneously based on cloth surface status of fabric
CN113554080A (en) * 2021-07-15 2021-10-26 长沙长泰机器人有限公司 Non-woven fabric defect detection and classification method and system based on machine vision
CN116579672A (en) * 2023-07-15 2023-08-11 图南益(杭州)智能科技有限公司 Cloth quality control method, system, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN103604809B (en) 2016-08-17

Similar Documents

Publication Publication Date Title
CN103604809A (en) Pattern cloth flaw online visual inspection method
Çelik et al. Development of a machine vision system: real-time fabric defect detection and classification with neural networks
CN106875373B (en) Mobile phone screen MURA defect detection method based on convolutional neural network pruning algorithm
CN103234976B (en) Based on the online visible detection method of tricot machine Fabric Defect of Gabor transformation
CN107123111B (en) Deep residual error network construction method for mobile phone screen defect detection
CN108898610A (en) A kind of object contour extraction method based on mask-RCNN
US20180253836A1 (en) Method for automated detection of defects in cast wheel products
CN111402226A (en) Surface defect detection method based on cascade convolution neural network
Weimer et al. Learning defect classifiers for textured surfaces using neural networks and statistical feature representations
CN103530878B (en) A kind of edge extracting method based on convergence strategy
CN106709568A (en) RGB-D image object detection and semantic segmentation method based on deep convolution network
CN103034850B (en) Trouble of moving freight car detection system (TFDS) block key loss fault automatic identification method
CN109766838B (en) Gait cycle detection method based on convolutional neural network
CN104268505A (en) Automatic cloth defect point detection and recognition device and method based on machine vision
CN112465752A (en) Improved Faster R-CNN-based small target detection method
Xie et al. Fabric defect detection method combing image pyramid and direction template
CN103544499A (en) Method for reducing dimensions of texture features for surface defect detection on basis of machine vision
CN111415339B (en) Image defect detection method for complex texture industrial product
CN107240086A (en) A kind of fabric defects detection method based on integration nomography
Shi et al. A faster-rcnn based chemical fiber paper tube defect detection method
CN105930808A (en) Moving object tracking method based on vector boosting template updating
CN103729856A (en) Method for cloth defect detection by utilizing S transformation signal extraction
CN102289677B (en) Method for analyzing image based on principal component analysis and method applicable to detection of defects of fabric
An et al. Fabric defect detection using deep learning: An Improved Faster R-approach
CN111260609A (en) Cigarette appearance defect detection method based on deep learning

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20201202

Address after: 313000 no.55-9 Huyan South Road, Shuanglin Town, Nanxun District, Huzhou City, Zhejiang Province (self declaration)

Patentee after: Huzhou Duxin Technology Co., Ltd

Address before: 214122 Jiangsu Province, Wuxi City Lake Road No. 1800, Jiangnan University

Patentee before: Jiangnan University