CN101063660B - Method for detecting textile defect and device thereof - Google Patents

Method for detecting textile defect and device thereof Download PDF

Info

Publication number
CN101063660B
CN101063660B CN2007100134523A CN200710013452A CN101063660B CN 101063660 B CN101063660 B CN 101063660B CN 2007100134523 A CN2007100134523 A CN 2007100134523A CN 200710013452 A CN200710013452 A CN 200710013452A CN 101063660 B CN101063660 B CN 101063660B
Authority
CN
China
Prior art keywords
subgraph
textile
row
carried out
expression
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.)
Expired - Fee Related
Application number
CN2007100134523A
Other languages
Chinese (zh)
Other versions
CN101063660A (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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN2007100134523A priority Critical patent/CN101063660B/en
Publication of CN101063660A publication Critical patent/CN101063660A/en
Application granted granted Critical
Publication of CN101063660B publication Critical patent/CN101063660B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
  • Treatment Of Fiber Materials (AREA)

Abstract

This invention discloses one fabric deficiency test method and its device, which comprises the following steps: acquiring fabric production line surface images through CCD camera; using wavelet to change image for one layer of analysis into four sub ones non-overlapped as for LH, HL, HH and LL separately responding to the self-adaptive value process to realize the fabric deficiency positioning; then overlapping the three pairs of sub images to get the final position. This invention device comprises CCD cameral array, computer servo and its inside fabric deficiency test program and connection CCD camera array and computer servo and the CCD camera control line.

Description

A kind of method for detecting textile defect and device thereof
Technical field
The present invention relates to a kind of method for detecting textile defect and device thereof, belong to technical field of quality detection.
Background technology
Quality testing is the important step that modern industry is produced, and occupies critical role in process of production.The commercial production that with the textile is representative is all the more so.Since the entry to WTO, the textile industry of China is facing the macro environment of wider and higher level opening, will obtain more opportunity to develop, but also can welcome more arduous challenge.China is as traditional textile production and big export country, and textile industry is seized of extremely important status in national economy, and in considerable time, remains one of important export strong industry.Keep textile industry to continue, stable development is all most important to the development of China's foreign trade cause and even whole national economy.Yet,, human more and more higher to the quality requirements of textile along with the raising day by day of living standards of the people.Therefore, strengthen detection to textile, strengthen the synthesized competitiveness of China's textile, promote that textile industry continues, stable development is of great practical significance improving the total quality of China's textile.
At present traditional method for detecting textile defect is by manually carrying out, and the eyes that promptly depend on the people remove to find product defects.Human eye can be found the defective locations of textile exactly, but because the dullness of testing itself, dull, and people's eyes are easy to produce fatigue, and along with the increase of detection time, people's eyes are tired more, and the error of generation can increase sharply.According to statistics, even skilled detection person, dependence is manually carried out the efficient of textile defect detection and also is difficult to reach 70%.In addition, limit by the physiological function of human eye, testing be slowly, time-consuming, be difficult to satisfy the quick requirement of modernized caused by spinning industrial production.
Summary of the invention
The object of the present invention is to provide a kind of based on Flame Image Process, quick, real-time textile defect automatic testing method, thereby substitute traditional manual detection method, with deficiency and the defective that remedies prior art.
Another object of the present invention is to provide a kind of textile defect automatic detection device based on said method.
The inventive method realizes by following steps: at first obtain fabric face image on the textile production line by ccd video camera, use wavelet transformation image is carried out one deck wavelet decomposition, with picture breakdown is four subgraphs of non-overlapping copies, promptly, LH subgraph (high-frequency information of expression horizontal direction), HL subgraph (high-frequency information of expression vertical direction), HH subgraph (high-frequency information of expression diagonal), LL subgraph (the approximate component of presentation video).Utilize computer server and inner textile defect trace routine module thereof, respectively to LH, HL, LL subgraph carry out adaptive threshold and handle and then realize the fabric defect location, and folded then triple raise subgraph obtains final defective locations.Therefore, the subgraph that obtains after the stack comprises the horizontal edge that the position appears in fabric defect, vertical edge, and the global shape information of defective.
The inventive system comprises ccd video camera array, array of source, computer server and connect ccd video camera array and computer server data line, be connected ccd video camera control line and light source control line on the computer server.In addition, computer server also comprises the textile defect trace routine module that it is inner.
The present invention adopts the wavelet analysis technology that has been widely used in various fields, the analytical approach that wavelet analysis provides a kind of adaptive time domain and frequency domain to localize simultaneously, no matter analysing low frequency or high frequency partial signal, when it can both be regulated automatically-the frequency window, to adapt to the needs of actual analysis.Wavelet analysis has very strong dirigibility in local time-frequency analysis, can focus on any details of signal time slot, when being called-and the microscope of frequency analysis.Therefore, at the texture of the texture of fabric face defect area and normal fabric face on every side intensity profile different in image, after textile image carried out wavelet decomposition, utilize the suitable feature extracting method, can realize fully the defective locations of textile is accurately located, thereby textile defect is carried out fast detecting.That is, can not only judge that fabric face has zero defect, the particular location and the shape information of fault can also be provided.
Description of drawings
Fig. 1 is an one-piece construction synoptic diagram of the present invention.
Fig. 2 is a fabric defect testing process process flow diagram of the present invention.
The fabric face defective schematic images that Fig. 3 obtains for ccd video camera.
Fig. 4 is the effect synoptic diagram after the present invention handles HL subgraph threshold process.
Fig. 5 is the effect synoptic diagram after the present invention handles LH subgraph threshold process.
Fig. 6 is the effect synoptic diagram after the present invention handles LL subgraph threshold process.
Fig. 7 is the effect synoptic diagram of the present invention after to three secondary subgraph overlap-add procedure.
Wherein, 1. textile production line, 2. array of source, 3.CCD video camera array, 4. data line, 5. computer server, 6.CCD video camera control line, 7. light source control line.
Embodiment
Further specify the present invention below in conjunction with accompanying drawing and by specific embodiment.
As shown in Figure 1, the inventive system comprises ccd video camera array 3, array of source 2, computer server 5 and inner textile defect trace routine module thereof, connect ccd video camera array 3 and computer server 5 data line 4, be connected ccd video camera control line 6 and light source control line 7 on the computer server 5.The present invention to the fabric defect detection method is: at first obtain fabric face image on the textile production line by ccd video camera 3, and it is carried out one deck wavelet decomposition, with four subgraphs of picture breakdown, be expressed as respectively: LH subgraph (detail of the high frequency of expression level), HL subgraph (representing vertical detail of the high frequency), HH subgraph (detail of the high frequency on the expression diagonal line), LL subgraph (the approximate component of presentation video).Utilize computer server and inner textile defect trace routine module thereof, respectively to LH, HL, LL subgraph carry out adaptive threshold and handle and then realize the fabric defect location, and folded then triple raise subgraph obtains final defective locations.
Textile defect trace routine detailed process is that example describes with HL subgraph defect inspection process.Suppose c (j, the k) value of expression HL subgraph every bit correspondence, i.e. the wavelet coefficient of the HL subgraph every bit correspondence that obtains later on of wavelet decomposition, wherein, j, k are the coordinate figure of image, M, N are respectively HL subgraph columns and line number.The specific implementation step is as follows:
1. use template - 1 0 1 - 1 0 1 - 1 0 1 The HL subgraph is carried out convolution, to strengthen the contrast of vertical high frequency detailed information, with h (j, k) the pairing convolution results of expression HL subgraph every bit.(indicate: not optional can choosing of this step, at the tangible textile product of part texture, this step can omit).
2. at each row of HL subgraph, each coefficient is carried out normalization:
P jk = | h ( j , k ) | Σ k = 1 N | h ( j , k ) | ;
Calculating this journey level changes:
Dir j = 1 N Σ k = 1 N p jk 2 ;
3. each row from left to right calculates d the adjacent capable level of putting of each some left and right sides and is changed to:
Dir j ′ k = 1 2 d + 1 Σ i = k - d k + d p ji 2 ;
Wherein, d can get the value between the 2-4.
4. carry out threshold process at each row:
Figure S07113452320070306D000035
Wherein, σ jBe j row coefficient p JkMean square deviation.δ is a sensitivity coefficient, can get δ=3.The image of Fig. 4 for obtaining after the threshold value, image has reflected the horizontal edge detailed information of fabric defect.
Same, use template 1 1 1 0 0 0 - 1 - 1 - 1 The LH subgraph is carried out convolution, with the contrast of enhanced level detail of the high frequency.(indicate: not optional can choosing of this step, at the tangible textile product of part texture, this step can omit).At each row of LH subgraph, to the processing of HL subgraph, different was that the processing of LH subgraph is undertaken by each row above processing procedure was similar.Obtain the image of threshold value after the processing, as shown in Figure 5.Image has reflected the vertical edge detailed information of fabric defect.
For the LL subgraph, need handle simultaneously its row and column.Use template - 1 0 1 - 1 0 1 - 1 0 1 After the HL subgraph carried out convolution, duplicate in processing to the HL subgraph at processing procedure of each row.Same, use template 1 1 1 0 0 0 - 1 - 1 - 1 After the LH subgraph carried out convolution, be similar to the processing that is directed to the LH subgraph at the processing procedure of each row, Fig. 6 is the result after the threshold value.
Because HH subgraph (high-frequency information on the diagonal line) comprises most of noise of image, therefore it is not handled, detect the accuracy of effect and the real-time of processing with raising.
At last, three secondary subgraphs are superposeed, obtain final defective locations, and the global shape information of defective, Fig. 7 is final result.At different application, take different subsequent treatment work, as reporting to the police mark defective locations etc.
Method of the present invention adopts wavelet analysis technology, only carries out one deck wavelet decomposition, and computing velocity is fast, and the real-time of handling has been considered in accurate positioning again.In addition, the present invention does not need to carry out machine learning or training without any need for the priori of textile defect, and versatility is good.
Device of the present invention is the optional equipment that is independent of outside the textile production line, the processing aspect that not only can be widely used in textile defect, and can apply to any defects detection with grain surface feature object, detect fields such as control such as surface quality of products such as timber, plastics, potteries.

Claims (1)

1. a method for detecting textile defect is characterized in that, may further comprise the steps: at first obtain fabric face image on the textile production line by ccd video camera; Use wavelet basis function image is carried out one deck wavelet decomposition, with picture breakdown is four subgraphs of non-overlapping copies, that is, LH subgraph, the high-frequency information of its expression horizontal direction, the HL subgraph, the high-frequency information of its expression vertical direction, HH subgraph, the high-frequency information of its expression diagonal, the LL subgraph, the approximate component of its presentation video; To LH, HL, LL subgraph carry out adaptive threshold and handle and then realize the fabric defect location respectively; Folded then triple raise subgraph obtains final defective locations; Describedly the HL subgraph is carried out adaptive threshold handle and may further comprise the steps:
(1) uses template
Figure FDA0000045465770000011
The HL subgraph is carried out convolution, to strengthen the contrast of vertical high frequency detailed information, with h (j, k) the pairing convolution results of expression HL subgraph every bit;
(2) at each row of HL subgraph, each coefficient is carried out normalization:
p jk = | h ( j , k ) | Σ k = 1 N | h ( j , k ) | ;
Calculating this journey level changes:
Dir j = 1 N Σ k = 1 N p jk 2 ;
(3) each row from left to right calculates d the adjacent capable level of putting of each some left and right sides and is changed to:
Dir j ′ k = 1 2 d + 1 Σ i = k - d k + d p ji 2 ;
Wherein, d gets the value between the 2-4;
(4) carry out threshold process at each row:
Figure FDA0000045465770000015
Wherein, σ jBe j row coefficient p JkMean square deviation, δ is a sensitivity coefficient, gets δ=3.
CN2007100134523A 2007-01-30 2007-01-30 Method for detecting textile defect and device thereof Expired - Fee Related CN101063660B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007100134523A CN101063660B (en) 2007-01-30 2007-01-30 Method for detecting textile defect and device thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007100134523A CN101063660B (en) 2007-01-30 2007-01-30 Method for detecting textile defect and device thereof

Publications (2)

Publication Number Publication Date
CN101063660A CN101063660A (en) 2007-10-31
CN101063660B true CN101063660B (en) 2011-07-13

Family

ID=38964820

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007100134523A Expired - Fee Related CN101063660B (en) 2007-01-30 2007-01-30 Method for detecting textile defect and device thereof

Country Status (1)

Country Link
CN (1) CN101063660B (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101419706B (en) * 2008-12-11 2011-01-12 天津工业大学 Jersey wear flokkit and balling up grading method based on image analysis
CN102269714A (en) * 2011-06-16 2011-12-07 江南大学 Method for detecting quality of grid ring based on image processing
CN103243533A (en) * 2013-04-19 2013-08-14 江南大学 Automatic fabric unwinding system for mending fabric
CN103529051B (en) * 2013-11-01 2015-08-26 南通大学 A kind of Woven textiles flaw automatic on-line detection method
CN103604806B (en) * 2013-12-04 2015-09-02 天津普达软件技术有限公司 A kind of method detecting O-ring seal defect
CN105203547A (en) * 2015-08-26 2015-12-30 李云栋 Cloth flaw detection method and device based on intelligent visual sensor
JP2017049974A (en) * 2015-09-04 2017-03-09 キヤノン株式会社 Discriminator generator, quality determine method, and program
CN109102486B (en) * 2017-06-21 2020-07-14 合肥欣奕华智能机器有限公司 Surface defect detection method and device based on machine learning
CN109886914B (en) * 2018-12-19 2020-01-17 浙江企银印务科技有限公司 Paper defect detection method based on local brightness invariance prior
CN110006908A (en) * 2019-04-22 2019-07-12 东华大学 A kind of image capturing system applying to cloth inspecting machine
CN111160451A (en) * 2019-12-27 2020-05-15 中山德著智能科技有限公司 Flexible material detection method and storage medium thereof
CN111595237B (en) * 2020-05-13 2022-05-20 广西大学 Distributed system and method for measuring fabric size based on machine vision
CN116818799A (en) * 2023-06-20 2023-09-29 广州宝立科技有限公司 Intelligent cloth inspection method and device based on machine vision detection technology

Also Published As

Publication number Publication date
CN101063660A (en) 2007-10-31

Similar Documents

Publication Publication Date Title
CN101063660B (en) Method for detecting textile defect and device thereof
CN109239102B (en) CNN-based flexible circuit board appearance defect detection method
CN106934800B (en) Metal plate strip surface defect detection method and device based on YOLO9000 network
US20230306577A1 (en) Cross-scale defect detection method based on deep learning
CN104101600B (en) Cross Section of CC Billet testing of small cracks method
CN106952250A (en) A kind of metal plate and belt detection method of surface flaw and device based on Faster R CNN networks
CN104458766B (en) A kind of cloth surface flaw detection method based on structural texture method
CN104992449A (en) Information identification and surface defect on-line detection method based on machine visual sense
CN106204618A (en) Product surface of package defects detection based on machine vision and sorting technique
CN106706653A (en) High-speed wide board detection method
JP2009291415A5 (en)
CN105654121A (en) Complex jacquard fabric defect detection method based on deep learning
DE102012107287A9 (en) System and method for identifying errors in a material
CN201081763Y (en) Textile defect detector
CN107796826A (en) Miniature duplicate gear broken teeth defect inspection method based on the analysis of tooth heart distance Curve
CN104200478A (en) Low-resolution touch screen image defect detection method based on sparse representation
CN115345876B (en) Bolt thread defect detection method based on ultrasonic image
CN110020691A (en) LCD screen defect inspection method based on the training of convolutional neural networks confrontation type
CN109540918A (en) A kind of hot rolled coil edge fault detection device and method
Lin et al. A new prediction method for edge detection based on human visual feature
CN113947583A (en) Weld joint nondestructive testing method based on deep learning two-dimensional time sequence image
Zhao et al. Analysis of image edge checking algorithms for the estimation of pear size
Deng et al. A novel framework for classifying leather surface defects based on a parameter optimized residual network
US20240169510A1 (en) Surface defect detection model training method, and surface defect detection method and system
CN102980536A (en) Brake pad steel backing planeness detecting system and method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent for invention or patent application
CB03 Change of inventor or designer information

Inventor after: Guo Feng

Inventor after: Jian Muwei

Inventor after: Dong Junyu

Inventor after: Wang Ying

Inventor before: Guo Feng

Inventor before: Jian Muwei

Inventor before: Dong Junyu

COR Change of bibliographic data

Free format text: CORRECT: INVENTOR; FROM: GUO FENG JIAN MUWEI DONG JUNYU TO: GUO FENG JIAN MUWEI DONG JUNYU WANG YING

C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20110713

Termination date: 20140130