CN101482927A - Foreign fiber fuzzy classification system and method based on automatic vision detection - Google Patents

Foreign fiber fuzzy classification system and method based on automatic vision detection Download PDF

Info

Publication number
CN101482927A
CN101482927A CNA200910077404XA CN200910077404A CN101482927A CN 101482927 A CN101482927 A CN 101482927A CN A200910077404X A CNA200910077404X A CN A200910077404XA CN 200910077404 A CN200910077404 A CN 200910077404A CN 101482927 A CN101482927 A CN 101482927A
Authority
CN
China
Prior art keywords
foreign fiber
membership
degree
identified
target
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
CNA200910077404XA
Other languages
Chinese (zh)
Other versions
CN101482927B (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.)
China Agricultural University
Original Assignee
China Agricultural 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 China Agricultural University filed Critical China Agricultural University
Priority to CN200910077404XA priority Critical patent/CN101482927B/en
Publication of CN101482927A publication Critical patent/CN101482927A/en
Application granted granted Critical
Publication of CN101482927B publication Critical patent/CN101482927B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to a cotton foreign fiber classification system and method thereof. Multi-featured vector is formed by selecting color feature, shape feature and texture feature, and corresponding vague classifier will be structured, therefore the class recognition of foreign fiber is achieved. The invention detects the content of foreign fiber in the cotton with convenience, rapidity and precision, and it also classifies the cotton. The invention make the cotton seller reduce the content of foreign fiber in cotton.

Description

Foreign fiber fuzzy classification system and method thereof based on the automatic vision detection
Technical field
The present invention relates to cotton foreign fiber classification field, be specifically related to a kind of cotton foreign fiber fuzzy classification system and method thereof that detects based on automatic vision.
Background technology
Foreign fiber in the cotton is meant at cotton picking, teds, purchases, stores, in the transportation, process, sneaking into has non-cotton fiber and the color fibre that has a strong impact on to cotton and Products Quality thereof in the cotton, be commonly called as " three ", mainly comprise and compile Polypropylence Sheet, cloth, hair, the rope made of hemp, polypropylene fibre silk and chicken feather etc.
Though the content of foreign fiber in gined cotton is few, and is serious to the quality influence of wollen fabrics, will influence yarn strength in case sneak into and participate in weaving, and influence is painted when dyeing, can cause heavy economic losses to cotton textiles industry.General solution is the content that reduces foreign fiber by picking at present.Think but the expert of a lot of cotton industries is consistent, reduce the content of foreign fiber by the mode of picking (no matter be manually or machinery), always passive and passive; More active and positive way should be to pick up from the source, cut off the approach that foreign fiber is sneaked into, and allow cotton grower, cotton purchase person and processing enterprise all consciously take precautions against foreign fiber and sneak into.And just become the key point of problem at the content of profiled fibre that unginned cotton is purchased or how bargain link is accurately analyzed in the unginned cotton.
Domestic detection to cotton foreign fiber content at present only limits to gined cotton.General way is: the gined cotton bale of cotton that cotton ginning mill produces is taken a sample, deliver to examination of fibers mechanism then and keep sample, and analyze the content of determining foreign fiber.This method is not also used in unginned cotton purchase link, therefore at present also can't utilize content of profiled fibre to influence the purchasing price of unginned cotton.
AVI (Automated Visual Inspection, automatic vision detects) be to utilize optical device to carry out the noncontact perception, automatically obtain the various visual characteristics of target to be measured, and it is analyzed and judges, so that reach the purpose that some designated parameter is detected.The AVI technology has been carried out successfully utilization in fields such as industrial part defects detection, pcb board defects detection, food safety detection, fruit gradings, and has reached good effect.And utilize the AVI technology to carry out the on-line metering of cotton foreign fiber content, yet there are no report in the document at home and abroad.
Utilize the AVI technology to carry out the on-line metering of cotton foreign fiber content, key is that the foreign fiber target that splits is classified, and the accuracy of classification will directly influence the follow-up gage work that carries out.Feature extraction and tagsort are the cores of AVI technology, and main task is to produce the proper vector row mode identification of going forward side by side.Mainly contain color characteristic extraction, Shape Feature Extraction, texture feature extraction etc. about feature extracting methods at present; The sorter that is used for pattern-recognition comprises sorter based on probability statistics, based on the sorter of artificial neural network, based on fuzzy classification device of fuzzy mathematics etc.
Although the research for feature extraction and pattern-recognition has obtained a lot of achievements at present, also there are a lot of achievements in actual production, to carry out successful application, also there is not a kind of method in common can solve all pattern recognition problem at present.More because the foreign fiber kind in the cotton is numerous and diverse, color is different, be difficult to find a kind of method of suitable maturation that it is accurately classified.
Summary of the invention
The purpose of this invention is to provide a kind of cotton foreign fiber fuzzy classification method and system based on AVI, this method selects color characteristic, shape facility and textural characteristics to constitute many proper vectors, and make up corresponding fuzzy classification device respectively, carry out then integrated, thereby realize the kind identification of foreign fiber is classified to described foreign fiber.
In order to reach above purpose, the invention provides a kind of cotton foreign fiber fuzzy classification method based on AVI, said method comprising the steps of:
S1 carries out feature selecting to color characteristic, shape facility and the textural characteristics of foreign fiber target to be identified, obtains the three and has the proper vector that classification is worth separately;
S2, color feature vector, the shape facility vector sum texture feature vector of the foreign fiber target to be identified of extraction S1 gained;
S3, utilize resulting color feature vector among the S2, shape facility vector sum texture feature vector, obtain degree of membership color level component, degree of membership shape level component and degree of membership texture stages component that foreign fiber target to be identified belongs to different foreign fiber classifications;
S4 is weighted summation with described degree of membership color level component, degree of membership shape level component and degree of membership texture stages component, obtains the comprehensive degree of membership that target to be identified belongs to different foreign fiber classifications;
S5 belongs to the comprehensive degree of membership maximizing of different foreign fiber classifications to the foreign fiber target to be identified that obtains among the S4, and the classification that then has maximum comprehensive degree of membership is exactly the maximum possible classification of foreign fiber target to be identified.
Wherein, among the described step S1, selected color feature vector with maximum classification value comprises the average of redness, green, blueness and brightness, the standard deviation of three components of RGB; Selected shape facility vector with maximum classification value comprises form factor, expansion ratio and Euler's numbers; Selected texture feature vector with maximum classification value comprises standard deviation and contrast.
Wherein, utilize resulting color characteristic among the S2, the preliminary classification model of representing by following formula obtains the degree of membership color level component that foreign fiber target to be identified belongs to different foreign fiber classifications:
μ → Color = f ( R ‾ , G ‾ , B ‾ , I ‾ , σ RGB )
Wherein, R, G, B, I, σ RGBRepresent redness, green, blueness and the brightness average of target to be identified and the standard deviation of three components of RGB respectively;
Figure A200910077404D00082
Be foreign fiber target to be identified and belong to the degree of membership color level component of different foreign fiber classifications.
Wherein, utilize resulting shape facility among the S2, the preliminary classification model of representing by following formula obtains the degree of membership shape level component that foreign fiber target to be identified belongs to different foreign fiber classifications:
μ → Shape = g ( S , Ex , Eu )
Wherein, S, Ex, Eu represent form factor, expansion ratio and the Euler's numbers of target to be identified respectively;
Figure A200910077404D00084
Be foreign fiber target to be identified and belong to the degree of membership shape level component of different foreign fiber classifications.
Wherein, utilize resulting textural characteristics among the S2, the preliminary classification model of representing by following formula obtains the degree of membership texture stages component that foreign fiber target to be identified belongs to different foreign fiber classifications:
μ → Texture = h ( σ bb , W c )
Wherein, σ Bb, W cStandard deviation and the contrast of representing target to be identified respectively;
Figure A200910077404D00092
Be foreign fiber target to be identified and belong to the degree of membership texture stages component of different foreign fiber classifications.
Wherein, among the described step S4, utilize following formula to calculate the comprehensive degree of membership that foreign fiber target to be identified belongs to different foreign fiber classifications:
μ → = w → Color μ → Color + w → Shape μ → Shape + w → Texture μ → Texture
Wherein,
Figure A200910077404D00094
Be the weight of degree of membership color level component,
Figure A200910077404D00095
Be the weight of degree of membership shape level component,
Figure A200910077404D00096
Weight for degree of membership texture stages component; Be degree of membership color level component,
Figure A200910077404D00098
Be degree of membership shape level component,
Figure A200910077404D00099
Be degree of membership texture stages component;
Figure A200910077404D000910
Be the comprehensive degree of membership that foreign fiber target to be identified belongs to a different category.
Wherein, in step S5, the method that foreign fiber target to be identified is belonged to the comprehensive degree of membership maximizing of different foreign fiber classifications is:
FFClass = arg max ( μ → | μ → = [ μ A μ B μ C μ D μ E μ F ] )
Wherein,
Figure A200910077404D000912
The comprehensive degree of membership vector that belongs to a different category for foreign fiber target to be identified, arg represents to get the class code of max function gained maximal value representative but not maximal value itself, and FFClass is the class code of the foreign fiber that has maximum comprehensive degree of membership in the vector.
The present invention also provides a kind of cotton foreign fiber fuzzy classification system that detects based on automatic vision, and described system comprises:
Characteristic extracting module is used to carry out the extraction of color characteristic, shape facility and textural characteristics;
Elementary fuzzy classification module links to each other with characteristic extracting module, is used to obtain degree of membership color level component, shape level component and the texture stages component that foreign fiber target to be identified belongs to a different category;
Comprehensive degree of membership computing module links to each other with elementary fuzzy classification module, is used to calculate the comprehensive degree of membership that foreign fiber target to be identified belongs to a different category;
The foreign fiber fuzzy sort module, link to each other with comprehensive degree of membership computing module, be used for that resulting foreign fiber target to be identified is belonged to different classes of comprehensive degree of membership and ask for maximal value, the classification with maximum comprehensive degree of membership is exactly the maximum possible classification of target to be identified.
Wherein, described color characteristic comprises the average of redness, green, blueness, brightness and the standard deviation of three components of RGB; Shape facility comprises form factor, expansion ratio and Euler's numbers; Textural characteristics comprises standard deviation and contrast.
Wherein, described elementary fuzzy classification module comprise elementary fuzzy classification device based on color characteristic, based on the elementary fuzzy classification device of shape facility with based on the elementary fuzzy classification device of textural characteristics.
Wherein, described foreign fiber classification comprises plastics dry goods, cloth class, rope made of hemp class, hair class, polypropylene fibre silk class and chicken feather class.By system extension, can discern how new foreign fiber classification.
Wherein, described comprehensive degree of membership computing module comprises six comprehensive degree of membership counters, is respectively applied for the comprehensive degree of membership of calculating plastics dry goods, cloth class, rope made of hemp class, hair class, polypropylene fibre silk class and chicken feather class.
Cotton foreign fiber fuzzy classification system and the method thereof that detects based on automatic vision provided by the present invention, by selecting color characteristic, shape facility and textural characteristics to constitute many proper vectors, and make up corresponding fuzzy classification device respectively, realization is to the kind identification of foreign fiber, thereby it is convenient, fast, measure content of profiled fibre in the unginned cotton exactly, the unginned cotton of give the selling deciding grade and level that grades is so that impel the conscious content that reduces foreign fiber in the cotton of cotton sellers.
Description of drawings
Fig. 1 the present invention is based on the cotton foreign fiber fuzzy classification method flow synoptic diagram that automatic vision detects;
Fig. 2 the present invention is based on the cotton foreign fiber fuzzy classification system structural representation that automatic vision detects.
Embodiment
Following examples are used to illustrate the present invention, but are not used for limiting the scope of the invention.
As shown in Figure 1, a kind of cotton foreign fiber fuzzy classification method provided by the present invention based on AVI, utilize the pixel coordinate information of the foreign fiber target that image segmentation obtains, together with original foreign fiber coloured image, extract the color characteristic of foreign fiber target, comprise the average of redness, green, blueness, brightness and the standard deviation of three components of RGB (RGB represents the color of three passages of red, green, blue); Extract the shape facility of foreign fiber target, comprise form factor, expansion ratio and Euler's numbers; Extract the textural characteristics of foreign fiber target circumscribed rectangular region, comprise standard deviation and contrast.Carry out preliminary classification by elementary fuzzy classification module according to these features then, wherein the elementary fuzzy classification device based on color characteristic utilizes color characteristic to judge tentatively which kind of foreign fiber foreign fiber to be identified may belong to, and obtains a degree of membership color level component; Elementary fuzzy classification device based on shape facility utilizes shape facility to judge tentatively which kind of foreign fiber foreign fiber to be identified may belong to, and obtains a degree of membership shape level component; Elementary fuzzy classification device based on textural characteristics utilizes textural characteristics to judge tentatively which kind of foreign fiber is foreign fiber target to be identified may belong to, and obtains a degree of membership texture stages component.These degree of membership components input to comprehensive degree of membership computing module, calculate the comprehensive degree of membership that foreign fiber target to be identified belongs to Polypropylence Sheet, cloth, the rope made of hemp, hair, polypropylene fibre silk and chicken feather.By the foreign fiber fuzzy sort module resulting six comprehensive degrees of membership are asked for maximal value at last, the classification with maximum comprehensive degree of membership is exactly the maximum possible classification of target to be identified.
As shown in Figure 2, a kind of cotton foreign fiber fuzzy classification system based on AVI provided by the present invention comprises characteristic extracting module, elementary fuzzy classification module, comprehensive degree of membership computing module and foreign fiber fuzzy sort module.
At first be defined as follows symbol:
I RGB-based on the foreign fiber original color image of rgb color space;
I RThe red component of-foreign fiber original color image;
I GThe green component of-foreign fiber original color image;
I BThe blue component of-foreign fiber original color image;
The equal value matrix of three color components of IM-foreign fiber original color image;
BW-foreign fiber the original color image is carried out the bianry image that Flame Image Process obtains;
The zone of certain foreign fiber target that FO-image segmentation obtains;
N FoThe pixel count of certain foreign fiber target that-image segmentation obtains;
The circumscribed rectangular region of certain foreign fiber target that FB-image segmentation obtains;
N FbPixel count in certain foreign fiber target boundary rectangle that-image segmentation obtains.
1, characteristic extracting module
Characteristic extracting module is used to carry out the extraction of color characteristic, shape facility and textural characteristics; Wherein color characteristic comprises the average of redness, green, blueness, brightness and the standard deviation of three components of RGB; Shape facility comprises form factor, expansion ratio and Euler's numbers; Textural characteristics comprises standard deviation and contrast.When carrying out feature extraction, what color characteristic and shape facility were got is the feature of target area FO, is the feature of target circumscribed rectangular region FB and textural characteristics is got.The color characteristic data are taken from original color image I RGBCharacter shape data is taken from the foreign fiber original color image is carried out the bianry image BW that Flame Image Process obtains, the equal value matrix IM that the textural characteristics data are taken from three color components of foreign fiber original color image (rounds this matrix, just obtain a width of cloth gray level image, gray level from 0 to 255).Be the computing formula of using when carrying out feature extraction below.
The red average of foreign fiber target to be identified is defined as:
R ‾ = 1 N fo Σ ( i , j ) ∈ FO I R ( i , j )
The green average of foreign fiber target to be identified is defined as:
G ‾ = 1 N fo Σ ( i , j ) ∈ FO I G ( i , j )
The blue average of foreign fiber target to be identified is defined as:
B ‾ = 1 N fo Σ ( i , j ) ∈ FO I B ( i , j )
The brightness average of foreign fiber target to be identified is defined as:
I ‾ = 1 N fo Σ ( i , j ) ∈ FO IM ( i , j )
The color standard difference of foreign fiber target to be identified is defined as:
σ RGB = 1 N fo Σ ( i , j ) ∈ FO ( I R ( i , j ) - IM ( i , j ) ) 2 + ( I G ( i , j ) - IM ( i , j ) ) 2 + ( I B ( i , j ) - IM ( i , j ) ) 2
The form factor of foreign fiber target to be identified is defined as:
S=P 2/4πA
Wherein, P is the girth of foreign fiber target for this reason, i.e. the sum of all pixels of object boundary; A is the area of foreign fiber target for this reason, i.e. the sum of all pixels of target area.
The expansion ratio of foreign fiber target to be identified is defined as:
Ex=A/A BoundingBox
Wherein, A BoundingBoxThe area of the boundary rectangle of foreign fiber target is represented with the sum of all pixels of this external rectangle area surrounded for this reason.The expansion ratio reflects the circularity of target area to a certain extent.
The Euler's numbers of foreign fiber target to be identified are defined as:
Eu=N components-N holes
Wherein, N ComponentsNumber for connected component in the foreign fiber target area; N HolesNumber for hole in the foreign fiber target area.
The standard deviation of foreign fiber target to be identified is defined as:
σ bb = Σ ( i , j ) ∈ FB ( IM ( i , j ) - I ‾ ) 2 p ( IM ( i , j ) )
Wherein, (IM (i, j)) is that (promptly (i, j) number of times of Chu Xianing is divided by the total pixel number in zone for IM for i, the j) frequency that occurs in the circumscribed rectangular region of foreign fiber target for IM to p.Can obtain p (IM (i, j)) by the circumscribed rectangular region of foreign fiber target being carried out statistics of histogram.Standard deviation is used for reflecting the light and shade contrast degree of foreign fiber target and background.
The contrast of foreign fiber target to be identified is defined as:
W c = Σ ( i 1 , j 1 ) ∈ FB Σ ( i 2 , j 2 ) ∈ FB | IM ( i 1 , j 1 ) - IM ( i 2 , j 2 ) | p ( IM ( i 1 , j 1 ) , IM ( i 2 , j 2 ) )
Utilize the equal value matrix IM of color,, can obtain p (IM (i by calculating the gray level co-occurrence matrixes of foreign fiber target circumscribed rectangular region 1, j 1), IM (i 2, j 2)).Can reflect light and shade contrast between the neighborhood pixels based on the contrast of gray level co-occurrence matrixes, promptly pixel intensity is in the situation of change in space.
2, elementary fuzzy classification module
Described elementary fuzzy classification module is made up of three elementary fuzzy classification devices, is based on the elementary fuzzy classification device of color characteristic respectively, based on the elementary fuzzy classification device of shape facility with based on the elementary fuzzy classification device of textural characteristics; Obtain degree of membership color level component, shape level component and texture stages component that the foreign fiber target belongs to a different category respectively.
Elementary fuzzy classification device based on color characteristic can be defined as formally:
μ → Color = f ( R ‾ , G ‾ , B ‾ , I ‾ , σ RGB )
In this elementary fuzzy classification device based on color characteristic, parameters R, G, B, σ RGBBe mainly used in the color of judging specific foreign fiber.Such as, hair, chicken feather should be (annotate: the method for the invention can't be discerned the hair and the chicken feather of white) of black, the rope made of hemp should be the Chinese ephedra look, the polypropylene fibre silk should be red, cyan or white etc.Parameter I is mainly used in brightness (representing its reflectance spectrum) information of reflection foreign fiber, and is lower such as the brightness of the foreign fiber that is faint in color, and the brightness of brightly painted foreign fiber is higher.Like this, take all factors into consideration color and brightness, just can carry out elementary fuzzy classification foreign fiber to be identified.
Elementary fuzzy classification device based on shape facility can be defined as formally:
μ → Shape = g ( S , Ex , Eu )
In this elementary fuzzy classification device based on shape facility, parameter S f is mainly used in the circularity of judging foreign fiber, and when target is a bowlder, Sf reaches minimum value 1; Sf is generally greater than 1 during for other shape.Observe and find, the foreign fiber of sheet, best as the circularity of Polypropylence Sheet, the scraps of paper etc.; Velvet-like foreign fiber, relatively poor as the circularity of cloth, the rope made of hemp etc.; And the foreign fiber of wire is the poorest as the circularity of hair etc.Parameter Ex is mainly used in the degree of judging that foreign fiber is stretched, also reflects the circularity of target area to a certain extent.Generally speaking, the expansion ratio of Polypropylence Sheet is less, the expansion large percentage of the rope made of hemp, cloth and chicken feather, the expansion ratio maximum of hair and polypropylene fibre silk.Eu reflection be what of hole in the foreign fiber target area.Generally speaking, wire foreign fibers such as hair generally do not contain the hole, unless owing to reason such as curl, pile up produces the hole; The different fibre of sheets such as Polypropylence Sheet generally also has only less hole to occur, and large stretch of rope made of hemp, chicken feather, cloth, polypropylene fibre silk etc. are easy to generate more hole, but single rope made of hemp silk, chicken feather silk, polypropylene fibre silk generally the hole can not occur yet.
Elementary fuzzy classification device based on textural characteristics can be defined as formally:
μ → Texture = h ( σ bb , W c )
In this elementary fuzzy classification device based on textural characteristics, parameter σ BbBe mainly used in the average contrast of the circumscribed rectangular region of judging the foreign fiber place, reflection be difference between grey scale pixel value and the area grayscale average, the while is also reflected the distribution situation of pixel on different grey-scale.Generally speaking, brighter because cotton is white in color, so the standard deviation of the gloomy different fibre of color is bigger, and the standard deviation of brightly painted different fibre is less.Parameter W cThe grey scale change situation that also reflects foreign fiber place circumscribed rectangular region from another angle.
3, comprehensive degree of membership computing module
Described comprehensive degree of membership computing module is made up of six comprehensive degree of membership counters, is respectively the counter that is used to calculate plastics dry goods, cloth class, rope made of hemp class, hair class, polypropylene fibre silk class and the comprehensive degree of membership of chicken feather class; By described six counters, can obtain the comprehensive degree of membership that the foreign fiber target belongs to Polypropylence Sheet, cloth, the rope made of hemp, hair, polypropylene fibre silk and chicken feather respectively.
The computation model of comprehensive degree of membership is expressed as:
μ → = w → Color μ → Color + w → Shape μ → Shape + w → Texture μ → Texture
Wherein,
Figure A200910077404D00152
Be the weight of degree of membership color level component,
Figure A200910077404D00153
Be the weight of degree of membership shape level component,
Figure A200910077404D00154
Weight for degree of membership texture stages component; Why distributing different weights for different degree of membership components, is because of the classification contribution rate difference of different features to different types of foreign fiber.For example, confirm that according to the color characteristic of target to be identified this foreign fiber is a black, then this foreign fiber may be hair, chicken feather, also may be Polypropylence Sheet, and cloth can not be the rope made of hemp generally, can never be the polypropylene fibre silk.And for example, confirm that according to the shape facility of target to be identified this foreign fiber is elongated, then this foreign fiber may be hair, polypropylene fibre silk, also may be rope made of hemp silk or cloth silk, generally can not be Polypropylence Sheet; Consider color characteristic simultaneously, the elongated foreign fiber of black is hair most likely, also may be the chicken feather silk, also may be black cloth silk, but can assert substantially and be not the polypropylene fibre silk, because there is not black polypropylene fibre silk.Therefore, the weight of each component is comprehensively to determine according to the characteristics of foreign fiber.
4, foreign fiber fuzzy sort module
Described foreign fiber fuzzy sort module is used for resulting comprehensive degree of membership vector is asked for largest component, and the classification with maximum comprehensive degree of membership is exactly the maximum possible classification of foreign fiber target to be identified.Fuzzy classification model representation based on the comprehensive degree of membership of maximum is:
FFClass = arg max ( μ → | μ → = [ μ A μ B μ C μ D μ E μ F ] )
For example, if in the comprehensive degree of membership vector of foreign fiber target to be identified, μ AThe component maximum, then the classification of this foreign fiber maximum possible is a Polypropylence Sheet; If μ DThe component maximum, then the classification of this foreign fiber maximum possible is exactly a hair.
Above embodiment only is used to illustrate the present invention; and be not limitation of the present invention; the those of ordinary skill in relevant technologies field; under the situation that does not break away from the spirit and scope of the present invention; can also make various variations and modification; therefore all technical schemes that are equal to also belong to category of the present invention, and scope of patent protection of the present invention should be defined by the claims.

Claims (12)

1, a kind of cotton foreign fiber fuzzy classification method that detects based on automatic vision is characterized in that, said method comprising the steps of:
S1 carries out feature selecting to color characteristic, shape facility and the textural characteristics of foreign fiber target to be identified, obtains three's proper vector separately;
S2, color feature vector, the shape facility vector sum texture feature vector of the foreign fiber target to be identified of extraction S1 gained;
S3, utilize resulting color feature vector among the S2, shape facility vector sum texture feature vector, obtain degree of membership color level component, degree of membership shape level component and degree of membership texture stages component that foreign fiber target to be identified belongs to different foreign fiber classifications;
S4 is weighted summation with described degree of membership color level component, degree of membership shape level component and degree of membership texture stages component, obtains the comprehensive degree of membership that target to be identified belongs to different foreign fiber classifications;
S5 belongs to the comprehensive degree of membership maximizing of different foreign fiber classifications to the foreign fiber target to be identified that obtains among the S4, and then the gained maximal value is maximum comprehensive degree of membership, and the classification with maximum comprehensive degree of membership is exactly the classification of foreign fiber target to be identified.
2, the cotton foreign fiber fuzzy classification method that detects based on automatic vision as claimed in claim 1, it is characterized in that, among the described step S1, described color feature vector comprises the average of redness, green, blueness and brightness and the standard deviation of three components of RGB; Described shape facility vector comprises form factor, expansion ratio and Euler's numbers; Described texture feature vector comprises standard deviation and contrast.
3, the cotton foreign fiber fuzzy classification method that detects based on automatic vision as claimed in claim 2, it is characterized in that, utilize resulting color feature vector among the S2, obtain the degree of membership color level component that foreign fiber target to be identified belongs to different foreign fiber classifications by following formula:
μ ‾ Color = f ( R ‾ , G ‾ , B ‾ , I ‾ , σ RGB )
Wherein, R, G, B, I, σ RGBRepresent redness, green, blueness and the brightness average of target to be identified and the standard deviation of three components of RGB respectively; F is the elementary fuzzy classification model of being set up based on color characteristic, The degree of membership color level component that belongs to different foreign fiber classifications for the foreign fiber target to be identified of model output.
4, the cotton foreign fiber fuzzy classification method that detects based on automatic vision as claimed in claim 2, it is characterized in that, utilize resulting shape facility vector among the S2, obtain the degree of membership shape level component that foreign fiber target to be identified belongs to different foreign fiber classifications by following formula:
μ → Shape = g ( S , Ex , Eu )
Wherein, S, Ex, Eu represent form factor, expansion ratio and the Euler's numbers of target to be identified respectively; G is the elementary fuzzy classification model of being set up based on shape facility, The degree of membership shape level component that belongs to different foreign fiber classifications for the foreign fiber target to be identified of model output.
5, the cotton foreign fiber fuzzy classification method that detects based on automatic vision as claimed in claim 2, it is characterized in that, utilize resulting texture feature vector among the S2, utilize following formula to obtain the degree of membership texture stages component that foreign fiber target to be identified belongs to different foreign fiber classifications:
μ → Texture = h ( σ bb , W c )
Wherein, σ Bb, W cStandard deviation and the contrast of representing target to be identified respectively; H is the elementary fuzzy classification model of being set up based on textural characteristics,
Figure A200910077404C00035
The degree of membership texture stages component that belongs to different foreign fiber classifications for the foreign fiber target to be identified of model output.
6, the cotton foreign fiber fuzzy classification method that detects based on automatic vision as claimed in claim 1 is characterized in that, among the described step S4, utilizes following formula to calculate the comprehensive degree of membership that foreign fiber target to be identified belongs to different foreign fiber classifications:
μ → = w → Color μ → Color + w → Shape μ → Shape + w → Texture μ → Texture
Wherein,
Figure A200910077404C00037
Be the weight of degree of membership color level component,
Figure A200910077404C00038
Be the weight of degree of membership shape level component,
Figure A200910077404C00039
Weight for degree of membership texture stages component;
Figure A200910077404C000310
Be degree of membership color level component,
Figure A200910077404C000311
Be degree of membership shape level component,
Figure A200910077404C000312
Be degree of membership texture stages component;
Figure A200910077404C000313
Be the comprehensive degree of membership that foreign fiber target to be identified belongs to a different category.
7, the cotton foreign fiber fuzzy classification method that detects based on automatic vision as claimed in claim 1 is characterized in that, in step S5, utilizes following formula foreign fiber target to be identified to be belonged to the comprehensive degree of membership maximizing of different foreign fiber classifications:
FFClass = arg max ( μ → | μ → = [ μ A μ B μ C μ D μ E μ F ] )
Wherein,
Figure A200910077404C00042
The comprehensive degree of membership vector that belongs to a different category for foreign fiber target to be identified, arg represents to get the class code of max function gained maximal value representative but not maximal value itself, and FFClass is the class code of the foreign fiber that has maximum comprehensive degree of membership in the vector.
8, a kind of cotton foreign fiber fuzzy classification system that detects based on automatic vision is characterized in that described system comprises:
Characteristic extracting module is used to carry out the extraction of color characteristic, shape facility and textural characteristics;
Elementary fuzzy classification module links to each other with characteristic extracting module, is used to obtain degree of membership color level component, shape level component and the texture stages component that foreign fiber target to be identified belongs to a different category;
Comprehensive degree of membership computing module links to each other with elementary fuzzy classification module, is used to calculate the comprehensive degree of membership that foreign fiber target to be identified belongs to a different category;
The foreign fiber fuzzy sort module links to each other with comprehensive degree of membership computing module, is used for that resulting foreign fiber target to be identified is belonged to different classes of comprehensive degree of membership and asks for maximal value, and the classification with maximum comprehensive degree of membership is exactly the classification of target to be identified.
9, the cotton foreign fiber fuzzy classification system that detects based on automatic vision as claimed in claim 8 is characterized in that described color characteristic comprises the average of redness, green, blueness, brightness and the standard deviation of three components of RGB; Shape facility comprises form factor, expansion ratio and Euler's numbers; Textural characteristics comprises standard deviation and contrast.
10, the cotton foreign fiber fuzzy classification system that detects based on automatic vision as claimed in claim 8, it is characterized in that described elementary fuzzy classification module comprises elementary fuzzy classification device based on color characteristic, based on the elementary fuzzy classification device of shape facility with based on the elementary fuzzy classification device of textural characteristics.
11, the cotton foreign fiber fuzzy classification system that detects based on automatic vision as claimed in claim 8 is characterized in that the classification of described foreign fiber comprises plastics dry goods, cloth class, rope made of hemp class, hair class, polypropylene fibre silk and chicken feather class.
12, the cotton foreign fiber fuzzy classification system that detects based on automatic vision as claimed in claim 8, it is characterized in that, described comprehensive degree of membership computing module, comprise six comprehensive degree of membership counters, be respectively applied for the comprehensive degree of membership of calculating plastics dry goods, cloth class, rope made of hemp class, hair class, polypropylene fibre silk class and chicken feather class.
CN200910077404XA 2009-02-06 2009-02-06 Foreign fiber fuzzy classification system and method based on automatic vision detection Expired - Fee Related CN101482927B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910077404XA CN101482927B (en) 2009-02-06 2009-02-06 Foreign fiber fuzzy classification system and method based on automatic vision detection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910077404XA CN101482927B (en) 2009-02-06 2009-02-06 Foreign fiber fuzzy classification system and method based on automatic vision detection

Publications (2)

Publication Number Publication Date
CN101482927A true CN101482927A (en) 2009-07-15
CN101482927B CN101482927B (en) 2010-04-21

Family

ID=40880027

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910077404XA Expired - Fee Related CN101482927B (en) 2009-02-06 2009-02-06 Foreign fiber fuzzy classification system and method based on automatic vision detection

Country Status (1)

Country Link
CN (1) CN101482927B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102253007A (en) * 2011-05-06 2011-11-23 中国农业大学 Method for detecting quality of cotton
CN105921377A (en) * 2016-06-21 2016-09-07 深圳爱易瑞科技有限公司 One-stop automatic dispensing method
CN106355192A (en) * 2016-08-16 2017-01-25 温州大学 Support vector machine method based on chaos and grey wolf optimization
CN108038838A (en) * 2017-11-06 2018-05-15 武汉纺织大学 A kind of cotton fibriia species automatic testing method and system
CN108284079A (en) * 2018-02-13 2018-07-17 南京林业大学 A kind of unginned cotton residual film sorting unit and algorithm based on high light spectrum image-forming and deep learning
CN109543532A (en) * 2018-10-19 2019-03-29 兰波(苏州)智能科技有限公司 A method of the Fibre sorting based on classification standard and human behavior
CN112505049A (en) * 2020-10-14 2021-03-16 上海互觉科技有限公司 Mask inhibition-based method and system for detecting surface defects of precision components
CN114202515A (en) * 2021-11-29 2022-03-18 广州海谷电子科技有限公司 Method for detecting defect of printed carbon line of humidity sensor

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1293836C (en) * 2005-01-06 2007-01-10 重庆大学 Lines feature on-line identifying method for detecting foreign matter in food
JP2008541007A (en) * 2005-06-03 2008-11-20 株式会社前川製作所 Food foreign matter detection device
CN101211341A (en) * 2006-12-29 2008-07-02 上海芯盛电子科技有限公司 Image intelligent mode recognition and searching method
CN101320476B (en) * 2008-07-04 2011-06-08 中国农业大学 Cotton foreign fiber image processing system and method

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102253007B (en) * 2011-05-06 2014-08-13 中国农业大学 Method for detecting quality of cotton
CN102253007A (en) * 2011-05-06 2011-11-23 中国农业大学 Method for detecting quality of cotton
CN105921377A (en) * 2016-06-21 2016-09-07 深圳爱易瑞科技有限公司 One-stop automatic dispensing method
CN105921377B (en) * 2016-06-21 2019-08-30 乌兰察布市集宁区泰吉电子科技有限公司 A kind of one-stop automation dispensing method
CN106355192B (en) * 2016-08-16 2019-12-31 温州大学 Support vector machine method based on chaos grey wolf optimization
CN106355192A (en) * 2016-08-16 2017-01-25 温州大学 Support vector machine method based on chaos and grey wolf optimization
CN108038838A (en) * 2017-11-06 2018-05-15 武汉纺织大学 A kind of cotton fibriia species automatic testing method and system
CN108284079A (en) * 2018-02-13 2018-07-17 南京林业大学 A kind of unginned cotton residual film sorting unit and algorithm based on high light spectrum image-forming and deep learning
CN109543532A (en) * 2018-10-19 2019-03-29 兰波(苏州)智能科技有限公司 A method of the Fibre sorting based on classification standard and human behavior
CN109543532B (en) * 2018-10-19 2023-07-28 兰波(苏州)智能科技有限公司 Fiber classification method based on classification standard and human behavior
CN112505049A (en) * 2020-10-14 2021-03-16 上海互觉科技有限公司 Mask inhibition-based method and system for detecting surface defects of precision components
CN114202515A (en) * 2021-11-29 2022-03-18 广州海谷电子科技有限公司 Method for detecting defect of printed carbon line of humidity sensor
CN114202515B (en) * 2021-11-29 2023-04-07 广州海谷电子科技有限公司 Method for detecting defect of printed carbon line of humidity sensor

Also Published As

Publication number Publication date
CN101482927B (en) 2010-04-21

Similar Documents

Publication Publication Date Title
CN101482927B (en) Foreign fiber fuzzy classification system and method based on automatic vision detection
CN101320476B (en) Cotton foreign fiber image processing system and method
CN114782562B (en) Garment fabric dip-dyeing monitoring method based on data identification and artificial intelligence system
Li et al. Classification of foreign fibers in cotton lint using machine vision and multi-class support vector machine
CN101739570B (en) Cotton foreign fiber online classifying method and system
Paula Filho et al. Forest species recognition using color-based features
Ji et al. Classification and identification of foreign fibers in cotton on the basis of a support vector machine
Rahman et al. Intelligent computer vision system for segregating recyclable waste papers
CN111552243B (en) Intelligent spinning and packaging production line fault detection system
Pawening et al. Classification of textile image using support vector machine with textural feature
CN102930547A (en) Cotton foreign fiber image online segmentation method and system on the condition of wind power delivery
CN115424057A (en) Thing networking commodity circulation classification management recognition device based on discernment of shooing is used
Rebhi et al. Fabric defect detection using local homogeneity and morphological image processing
Maleki Artificial neural network prosperities in textile applications
CN102253007A (en) Method for detecting quality of cotton
CA2416966C (en) Method and apparatus for testing the quality of reclaimable waste paper matter containing contaminants
CN115294116A (en) Method, device and system for evaluating dyeing quality of textile material based on artificial intelligence
Tajeripour et al. Defect detection in patterned fabrics using modified local binary patterns
CN101587545B (en) Method and system for selecting feature of cotton heterosexual fiber target image
Barman et al. Development of a real-time home textile fabric defect inspection machine system for the textile industry
CN117115138A (en) Intelligent control system and method in clothing production process
Shivashankar et al. Automatic wood classification using a novel color texture features
CN107671002A (en) The clothes method for sorting and its device of view-based access control model detection
Martini Backward-engineering trade protection: how to estimate worldwide industry-level trade barriers
Das et al. Defect detection of jute fabric using image processing

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: 20100421

Termination date: 20200206

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