CN111665244A - Method based on textile fiber identification and component detection system - Google Patents

Method based on textile fiber identification and component detection system Download PDF

Info

Publication number
CN111665244A
CN111665244A CN201910163581.3A CN201910163581A CN111665244A CN 111665244 A CN111665244 A CN 111665244A CN 201910163581 A CN201910163581 A CN 201910163581A CN 111665244 A CN111665244 A CN 111665244A
Authority
CN
China
Prior art keywords
fiber
images
fibers
neural network
abnormal
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
CN201910163581.3A
Other languages
Chinese (zh)
Other versions
CN111665244B (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 CN201910163581.3A priority Critical patent/CN111665244B/en
Publication of CN111665244A publication Critical patent/CN111665244A/en
Application granted granted Critical
Publication of CN111665244B publication Critical patent/CN111665244B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/01Arrangements or apparatus for facilitating the optical investigation
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/01Arrangements or apparatus for facilitating the optical investigation
    • G01N2021/0106General arrangement of respective parts
    • G01N2021/0112Apparatus in one mechanical, optical or electronic block
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • G01N2021/8444Fibrous material
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Biochemistry (AREA)
  • General Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Treatment Of Fiber Materials (AREA)
  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)

Abstract

The invention discloses a method based on a textile fiber identification and component detection system, which mainly comprises the following steps: 1) and establishing a fiber intersection point positioning model, an abnormal fiber filtering model and a fiber identification and quality analysis model. 2) And determining a sample to be detected. 3) And acquiring an image of the sample to be detected by using an optical imaging system. 4) Several images containing only individual fibers were obtained. 5) Several normal fiber images were obtained. 6) Importing a plurality of normal fiber images into a fiber identification and quality analysis model, identifying the type of fibers in each normal fiber image, and calculating the fiber quality; 7) the upper computer obtains the component ratio of each type of fiber based on the type and quality of the fiber. The invention realizes the automatic identification of the textile components to be detected and the automatic analysis of the component mass proportion.

Description

Method based on textile fiber identification and component detection system
Technical Field
The invention relates to the field of textile fiber component detection, in particular to a method based on a textile fiber identification and component detection system.
Background
At present, textile component detection is mainly carried out manually, and the traditional methods comprise a chemical method and a microscopic observation method. The chemical method mainly utilizes different chemical reagents to carry out quantitative analysis on the components of partial fibers according to the dissolution characteristics of different fibers at different temperatures. The microscopic observation method comprises the steps that an inspector makes a textile sample to be detected into a glass slide, manually adjusts the movement of a microscope, distinguishes the microscopic shape of textile fibers by naked eyes, judges the type of the fabric of the sample, and measures the size. The traditional textile component detection method mainly has the following defects:
1) the chemical method can generate a large amount of sulfuric acid waste liquid and the like, seriously pollutes detection places, harms the health of detection personnel, and cannot be discharged and is difficult to recover according to the national environmental protection requirement;
2) the whole process is implemented manually, the efficiency is low, a large amount of human resources are consumed, and the human cost is high;
3) the working personnel of the textile inspection institute use a microscope to observe for 8-10 hours every day, the time is long, the strength is high, the repeatability is strong, and the accuracy is reduced due to fatigue generated by long-time work.
Therefore, it is necessary to introduce a new pollution-free, automatic and unmanned new technology into the textile component detection industry to solve various defects of the conventional detection method.
Disclosure of Invention
The present invention is directed to solving the problems of the prior art.
The technical scheme adopted for achieving the aim of the invention is that the method based on the textile fiber identification and component detection system mainly comprises the following steps:
1) and establishing a fiber intersection point positioning model, an abnormal fiber filtering model and a fiber identification and quality analysis model, and storing the models in an upper computer.
The main steps for establishing the fiber intersection point positioning model are as follows:
I) and acquiring a plurality of crossed fiber images with the same size by using an optical imaging system, marking fiber crossing points in the crossed fiber images, and labeling.
II) respectively establishing a cross fiber training set and a cross fiber verification set based on the marked cross fiber images.
III) inputting the cross fiber training set into the neural network, and training the neural network.
IV) inputting the cross fiber verification set into a neural network, verifying the neural network, and adjusting parameters of the neural network according to a verification result, thereby obtaining a fiber cross point positioning model.
The method mainly comprises the following steps of:
I) and acquiring a plurality of images containing abnormal fibers with the same size by using an optical imaging system, marking according to abnormal conditions in the images, and labeling. The image containing abnormal fibers is a square convolution kernel with equal length and width.
II) establishing an abnormal fiber training set and an abnormal fiber verification set based on a plurality of images containing abnormal fibers.
And III) inputting the abnormal fiber training set into the neural network, and training the neural network.
IV) inputting the abnormal fiber verification set into a neural network, verifying the neural network, and adjusting parameters of the neural network according to the verification result, thereby obtaining an abnormal fiber filtering model.
The main steps for establishing the fiber identification and quality analysis model are as follows:
I) the method comprises the steps of acquiring a plurality of images which are identical in size and contain various fibers by using an optical imaging system, and positioning and splitting a plurality of fibers in the images into a plurality of single fiber images by using a fiber intersection positioning module.
II) processing the plurality of single fiber images to obtain a plurality of images with equal length, width and size. The processed single fiber image is a square convolution kernel with equal length and width. And classifying and marking the processed single fiber images according to the fiber types, and labeling.
And III) acquiring training sets and verification sets of different types of fibers based on the classified single fiber images.
IV) inputting the training set of different types of fibers into the neural network to train the neural network.
And V) inputting the verification sets of different types of fibers into the neural network, verifying the neural network, and adjusting parameters of the neural network according to the verification result to obtain a fiber identification and quality analysis model.
2) And determining a sample to be detected, and manufacturing the sample to be detected into a slide.
The sample to be detected is a textile.
3) And acquiring an image of the sample to be detected by using an optical imaging system.
The optical imaging system is a microscope.
4) The camera shoots the optical image of the sample to be detected to obtain images of a plurality of samples to be detected, and the images are sent to the upper computer.
5) And the upper computer inputs the images of the samples to be detected into the fiber intersection point positioning model.
6) And the fiber intersection point positioning model is used for positioning and deleting the fiber intersection points in the image of the sample to be detected.
The main steps of the fiber intersection point positioning model for deleting the fiber intersection point are as follows:
I) and finding the center position of the intersection point according to the fiber intersection point positioning model, and dynamically predicting the width of the fiber by a neural network, and marking the width as D.
II) in the image, a circular area C with the center position of the intersection point as the center is determined, and the size of the radius of the circular area C is mainly dynamically determined by the fiber width D and the neural network prediction.
And III) replacing the original pixel of the C area with the pixel value close to the background color of the image to delete the cross point. The ideal value of the pixel RGB close to the background color is the average value of RGB values of all pixels except fibers, and three channel values are marked as R, G and B.
And the upper computer splits the image with the fiber intersection points deleted to obtain a plurality of images containing single fibers.
7) And inputting a plurality of images only containing single fibers into an abnormal fiber filtering model, and filtering the abnormal fiber images by utilizing a softmax function in the abnormal fiber filtering model to obtain a plurality of normal fiber images. The normal fiber image is a complete individual fiber or an incomplete individual fiber.
8) And importing the normal fiber images into a fiber identification and quality analysis model, identifying the type of the fiber in each normal fiber image, and calculating the fiber quality.
9) The upper computer obtains the component ratio of each type of fiber based on the type and quality of the fiber.
Figure BDA0001985509650000031
i is 1,2,3, …, n. n is the total number of fiber classes.
The technical effect of the present invention is undoubted. The invention realizes the automatic identification of the textile components to be detected and the automatic analysis of the component mass proportion, solves the problem that the traditional identification system can not effectively identify the type and the quality of the cross fibers through the fiber cross point positioning model, and improves the efficiency and the accuracy of fiber identification.
Drawings
FIG. 1 is an image of a specimen to be tested;
FIG. 2 is an image of a complete individual fiber;
FIG. 3 is a fragmentary image of a single fiber;
FIG. 4 is a fiber intersection location model;
FIG. 5 is an abnormal fiber filtration model;
FIG. 6 is an abnormal fiber filtration model process flow;
FIG. 7 is a fiber identification and mass analysis model.
Detailed Description
The present invention is further illustrated by the following examples, but it should not be construed that the scope of the above-described subject matter is limited to the following examples. Various substitutions and alterations can be made without departing from the technical idea of the invention and the scope of the invention is covered by the present invention according to the common technical knowledge and the conventional means in the field.
Example 1:
referring to fig. 1 to 3, a method based on a textile fiber identification and component detection system mainly comprises the following steps:
1) and establishing a fiber intersection point positioning model, an abnormal fiber filtering model and a fiber identification and quality analysis model, and storing the models in an upper computer.
The main steps for establishing the fiber intersection point positioning model are as follows:
I) and acquiring a plurality of crossed fiber images with the same size by using an optical imaging system, marking fiber crossing points in the crossed fiber images, and labeling.
II) respectively establishing a cross fiber training set and a cross fiber verification set based on the marked cross fiber images.
III) inputting the cross fiber training set into the neural network, and training the neural network.
IV) inputting the cross fiber verification set into a neural network, verifying the neural network, and adjusting parameters of the neural network according to the verification result to obtain a fiber cross point positioning model, as shown in FIG. 4.
The fiber intersection positioning model comprises:
a first layer: the classification network is customized, the commonly used neural network models mainly include LeNet-5, AlexNet, GoogLeNet, VGG and the like, and VGG _ base is adopted in the embodiment.
Second to eleven layers:
Conv6-Conv7-Conv8_2-Conv9_2-Conv10_2-Conv11_2。
and a third layer: a full link layer.
The method mainly comprises the following steps of:
I) and acquiring a plurality of images containing abnormal fibers with the same size by using an optical imaging system, marking according to abnormal conditions in the images, and labeling. The image containing abnormal fibers is a square convolution kernel with equal length and width.
II) establishing an abnormal fiber training set and an abnormal fiber verification set based on a plurality of images containing abnormal fibers.
And III) inputting the abnormal fiber training set into the neural network, and training the neural network.
IV) inputting the abnormal fiber verification set into the neural network, verifying the neural network, and adjusting parameters of the neural network according to the verification result, thereby obtaining an abnormal fiber filtering model, as shown in fig. 5 and 6.
The structure of the abnormal fiber filtering model comprises:
a first layer: 5x5, 32 depth 2D convolution.
A second layer: 5x5, 64 depth 2D convolution.
And a third layer: a Flattenizer.
A fourth layer: a fully connected layer without an activation function.
And a fifth layer: softmax classification.
The main steps for establishing the fiber identification and quality analysis model are as follows:
I) the method comprises the steps of acquiring a plurality of images which are identical in size and contain various fibers by using an optical imaging system, and positioning and splitting a plurality of fibers in the images into a plurality of single fiber images by using a fiber intersection positioning module.
II) processing the plurality of single fiber images to obtain a plurality of images with equal length, width and size. The processed single fiber image is a square convolution kernel with equal length and width. And classifying and marking the processed single fiber images according to the fiber types, and labeling.
And III) acquiring training sets and verification sets of different types of fibers based on the classified single fiber images.
IV) inputting the training set of different types of fibers into the neural network to train the neural network.
And V) inputting the verification sets of different types of fibers into the neural network, verifying the neural network, and adjusting parameters of the neural network according to the verification result to obtain a fiber identification and quality analysis model, as shown in FIG. 7. The fiber identification and quality analysis model comprises:
(Input)-(Stem)-(5×Inception-resnet-A)-(Reduction-A)-(10×Inceptio n-resnet-B)-(Reduction-B)-(5×Inception-resnet-C)-(Average-Pooling)-(Dropout)-(Softmax)
the input is a 3-channel picture with the resolution of 299 x 299, the Stem is composed of 11 convolution layers and 2 Maxpool layers, the increment-rest-A is composed of 7 convolution layers and 1 direct connection channel, the Reduction-A is composed of 4 convolution layers and 1 Maxpool layer, the increment-rest-B is composed of 5 convolution layers and 1 direct connection channel, the Reduction-B is composed of 7 convolution layers and 1 Maxpool layer, and the increment-rest-C is composed of 5 convolution layers and 1 direct connection channel.
2) Determining a sample to be detected, and manufacturing the sample to be detected into a slide, wherein the method mainly comprises the following steps:
2.1) splitting the textile to be observed into samples with proper sizes, and then putting the samples into a slicer.
2.2) put a small amount of paper towel over the fibers.
2.3) closing the slicers and ensuring that no gap exists between the slicers so as to ensure that the fibers can be clamped and stably clamped.
2.4) cutting off excess fiber before and after cutting off.
2.5) rotating the pushing button to push a small part of fibers out of the slicer.
2.6) cutting off the part to push out the fiber, and ensuring that the subsequent rotary pushing and twisting action can effectively push out the fiber.
2.7) rotating push button, rotating plush fibers by 10 grids (+ -2 grids) and cotton-flax fibers by 8 grids (+ -2 grids)
2.8) pushing out the cut fiber after rotating and pushing the button, and placing the cut fiber in the center of the glass slide.
2.9) taking paraffin. Suspending a rubber head dropper above the center of the glass slide, slowly dropping paraffin, and controlling the amount of a smaller drop.
2.10) stirring the fibers evenly with a needle
And 2.11) covering a cover glass, abutting the cover glass by using a needle, and slowly covering to finish the slide preparation.
The sample to be detected is a textile.
3) And acquiring an image of the sample to be detected by using an optical imaging system, and inputting the image into the fiber intersection point positioning model.
The optical imaging system is a microscope.
4) The camera shoots the optical image of the sample to be detected to obtain images of a plurality of samples to be detected, and the images are sent to the upper computer.
5) And the upper computer inputs the images of the samples to be detected into the fiber intersection point positioning model.
6) And the fiber intersection point positioning model is used for positioning and deleting the fiber intersection points in the image of the sample to be detected.
The main steps of the fiber intersection point positioning model for deleting the fiber intersection point are as follows:
I) and finding the center position of the intersection point according to the fiber intersection point positioning model, and dynamically predicting the width of the fiber by a neural network, and marking the width as D. The width of the fiber is in the range of 0 to 50 micrometers.
II) in the image, a circular area C with the center position of the intersection point as the center is determined, and the size of the radius of the circular area C is mainly determined by the fiber width D and the neural network prediction dynamic, and the range is between [0.3D and 1.5D ].
And III) replacing the original pixel of the C area with the pixel value close to the background color of the image to delete the cross point. The ideal value of the pixel RGB close to the background color is the average value of RGB values of all pixels except fibers, and three channel values are marked as R, G and B. It is actually determined that the RGB error range of pixels with similar background colors should not exceed ± 20, i.e., [ R ± 20, G ± 20, B ± 20 ].
And the upper computer splits the image with the fiber intersection points deleted to obtain a plurality of images containing single fibers.
7) And inputting a plurality of images only containing single fibers into an abnormal fiber filtering model, and filtering the abnormal fiber images by utilizing a softmax function in the abnormal fiber filtering model to obtain a plurality of normal fiber images. The abnormal fiber image refers to a situation that fibers are broken or images are blurred in the image, and impurities, air bubbles and the like are contained in the image. The normal fiber image is a complete single fiber or an incomplete single fiber, and the fiber length ranges from [0.1mm, 0.5mm ]]The fiber width is less than 50 um. Softmax function σ (z) — (σ)1(z),…,σm(z)) is defined as follows:
Figure BDA0001985509650000071
wherein m is the total number of classes. j represents an arbitrary category. ZjIs the linear prediction result of the jth category.
Wherein the content of the first and second substances,
Figure BDA0001985509650000072
is the linear prediction result of the g-th class, is nonnegative by substituting the formula into the above formula, and is normalized by dividing by the sum of all terms to obtain a value σg=σg(z) is the probability that data x belongs to class g. x is the training set data.
The objective of the Softmax regression is then to minimize the loss function according to the principle of maximizing the likelihood function, and so the principle of minimizing the log likelihood function is used in the objective function. So the definition of the Softmax-Loss function is as follows:
L(y,o)=-log(oy)
y is abnormal fiber filtering dieAnd (4) output of the model. O isyAn output function is represented.
Figure BDA0001985509650000081
ZyIs the result of the linear prediction of the y-th class.
By minimizing the loss function, an optimal model can be obtained that fits the data.
8) And importing the normal fiber images into a fiber identification and quality analysis model, identifying the type of the fiber in each normal fiber image, and calculating the fiber quality.
In a fibre picture in which fibre classes have been identified, scanning is performed equidistantly along the width of the picture (the shorter side of the picture), and the distance d of the two edges of the fibre from the same side (the longer side of the picture) is detected in each scanning direction1And d2The absolute value of the difference between the two distances is | d1-d2| d obtained for each scanning direction |1-d2And l, taking an average value, recording the average value as the width of the fiber, and finally bringing the width of the fiber into a mass calculation formula corresponding to the fiber to obtain the relative mass of the fiber.
9) The upper computer obtains the component ratio of each type of fiber based on the type and quality of the fiber.
Figure BDA0001985509650000082
i is 1,2,3, …, n. n is the total number of fiber classes.
The detailed calculation formula of the mass ratio of the textile components is as follows.
The average diameter D and standard deviation S of a certain component fiber are calculated according to the following formulas:
Figure BDA0001985509650000083
Figure BDA0001985509650000084
wherein D is the average fiber diameter in microns (μm), A is the group median in microns (μm), F is the number of measurements, S is the standard deviation in microns (μm), and the test results for average diameter and standard deviation are rounded to two decimal places according to GB/T8170.
The mass percentage of each component fiber is calculated according to the following formula:
Figure BDA0001985509650000091
in the formula, PiIs the mass percent of a certain component of fiber, NiThe number of counted fibers of a certain component, DiIs the average diameter of a constituent fiber in microns (mum), SiIs the standard deviation of the mean diameter of a constituent fiber in microns (. mu.m), piIs the density of a component fiber in grams per cubic centimeter (g/cm 3).
Common animal fiber density meter
Kind of fiber Density g/cm3
Cashmere (wool) 1.30
Alpaca hair 1.30
Sheep wool 1.31
The textile category mainly includes natural fibers and chemical fibers. The natural fiber mainly comprises plant fiber such as cotton, hemp, bamboo, etc., animal fiber such as wool, silk, camel hair, rabbit hair, etc., and mineral fiber such as glass fiber, asbestos, etc. The chemical fibers mainly include regenerated fibers and synthetic fibers. The regenerated fiber mainly comprises regenerated cellulose fiber such as tencel and modal, and regenerated protein fiber such as soybean fiber and milk fiber. The synthetic fiber mainly comprises polyester fiber, polyamide fiber, polyacrylonitrile fiber, polyurethane fiber and polypropylene fiber.
Example 2:
a method based on a textile fiber identification and component detection system mainly comprises the following steps:
1) the optical imaging system performs optical imaging on a sample to be detected.
The camera shoots the optical image of the sample to be detected to obtain images of a plurality of samples to be detected, and the images are sent to the upper computer.
2) And the upper computer guides the images of the samples to be detected into the fiber intersection point positioning model in sequence, so that the fiber intersection points in the images are automatically positioned and deleted.
The main steps of the fiber intersection point positioning model for deleting the fiber intersection point are as follows:
I) and finding the center position of the intersection point according to the fiber intersection point positioning model.
II) determining a circular area C in the image by taking the center position of the intersection point as a center and taking the width dimension of the fiber in the image as a radius. The radius error is [ xx, xx ].
And III) replacing the original pixel of the C area with the pixel value close to the background color of the image to delete the cross point.
3) And the upper computer splits the image with the fiber intersection points deleted to obtain a plurality of images containing single fibers.
4) And the upper computer guides a plurality of images only containing single fibers into the abnormal fiber filtering model, and filters the abnormal fiber images to obtain a plurality of normal fiber images. The fibers in the normal fiber image are all intact single fibers or incomplete single fibers, and the length of the single fiber is 0.1mm and the width of the single fiber is 49 um.
5) And the upper computer guides the normal fiber images into the fiber identification and quality analysis model, identifies the type of the fiber in each normal fiber image and calculates the fiber quality.
6) The upper computer obtains the component ratio of each type of fibers based on the type and the quality of the fibers;
Figure BDA0001985509650000101
1,2,3, …, n; n is the total number of fiber classes.
Example 3:
a method based on a textile fiber identification and component detection system mainly comprises the following steps:
1) the optical imaging system performs optical imaging on a sample to be detected.
The camera shoots the optical image of the sample to be detected to obtain images of a plurality of samples to be detected, and the images are sent to the upper computer.
2) And the upper computer guides the images of the samples to be detected into the fiber intersection point positioning model in sequence, so that the fiber intersection points in the images are automatically positioned and deleted.
The main steps of the fiber intersection point positioning model for deleting the fiber intersection point are as follows:
I) and finding the center position of the intersection point according to the fiber intersection point positioning model.
II) determining a circular area C in the image by taking the center position of the intersection point as a center and taking the width dimension of the fiber in the image as a radius. The radius error is [ xx, xx ].
And III) replacing the original pixel of the C area with the pixel value close to the background color of the image to delete the cross point.
3) And the upper computer splits the image with the fiber intersection points deleted to obtain a plurality of images containing single fibers.
4) And the upper computer guides a plurality of images only containing single fibers into the abnormal fiber filtering model, and filters the abnormal fiber images to obtain a plurality of normal fiber images. The fibers in the normal fiber image are all intact single fibers or incomplete single fibers, and the length of the single fiber is 0.5mm and the width of the single fiber is 49 um.
5) And the upper computer guides the normal fiber images into the fiber identification and quality analysis model, identifies the type of the fiber in each normal fiber image and calculates the fiber quality.
6) The upper computer obtains the component ratio of each type of fibers based on the type and the quality of the fibers;
Figure BDA0001985509650000111
1,2,3, …, n; n is the total number of fiber classes.
Example 4:
a method based on a textile fiber identification and component detection system mainly comprises the following steps:
1) the optical imaging system performs optical imaging on a sample to be detected.
The camera shoots the optical image of the sample to be detected to obtain images of a plurality of samples to be detected, and the images are sent to the upper computer.
2) And the upper computer guides the images of the samples to be detected into the fiber intersection point positioning model in sequence, so that the fiber intersection points in the images are automatically positioned and deleted.
The main steps of the fiber intersection point positioning model for deleting the fiber intersection point are as follows:
I) and finding the center position of the intersection point according to the fiber intersection point positioning model.
II) determining a circular area C in the image by taking the center position of the intersection point as a center and taking the width dimension of the fiber in the image as a radius. The radius error is [ xx, xx ].
And III) replacing the original pixel of the C area with the pixel value close to the background color of the image to delete the cross point.
3) And the upper computer splits the image with the fiber intersection points deleted to obtain a plurality of images containing single fibers.
4) And the upper computer guides a plurality of images only containing single fibers into the abnormal fiber filtering model, and filters the abnormal fiber images to obtain a plurality of normal fiber images. The fibers in the normal fiber image are all intact individual fibers or incomplete individual fibers, with the individual fibers in this example having a length of 0.25mm and a fiber width of 49 um.
5) And the upper computer guides the normal fiber images into the fiber identification and quality analysis model, identifies the type of the fiber in each normal fiber image and calculates the fiber quality.
6) The upper computer obtains the component ratio of each type of fibers based on the type and the quality of the fibers;
Figure BDA0001985509650000112
1,2,3, …, n; n is the total number of fiber classes.

Claims (7)

1. A method based on a textile fiber identification and component detection system is characterized by mainly comprising the following steps:
1) and establishing the fiber intersection point positioning model, the abnormal fiber filtering model and the fiber identification and quality analysis model, and storing the models in an upper computer.
2) Determining a sample to be detected, and manufacturing the sample to be detected into a slide;
3) acquiring an optical image of a sample to be detected by using an optical imaging system;
4) shooting an optical image of a sample to be detected by a camera to obtain images of a plurality of samples to be detected, and sending the images to an upper computer;
5) the upper computer inputs images of a plurality of samples to be detected into the fiber intersection point positioning model;
6) the fiber intersection point positioning model positions and deletes the fiber intersection point in the image of the sample to be detected;
the main steps of the fiber intersection point positioning model for deleting the fiber intersection point are as follows:
I) finding the center position of the intersection point according to the fiber intersection point positioning model, and dynamically predicting the width of the fiber by a neural network, and marking the width as D;
II) in the image, determining a circular area C with the center position of the intersection point as the center of a circle, wherein the size of the radius of the circular area C is mainly determined by the fiber width D and the neural network prediction dynamic state;
III) replacing original pixels of the C area with pixel values close to the background color of the image to delete the cross points; the ideal value of the pixel RGB close to the background color is the average value of RGB values of all pixels except fibers, and three channel values are marked as [ R, G, B ];
the upper computer splits the image with the fiber intersection points deleted to obtain a plurality of images containing single fibers;
7) inputting a plurality of images only containing single fibers into an abnormal fiber filtering model, and filtering the abnormal fiber images by utilizing a softmax function in the abnormal fiber filtering model to obtain a plurality of normal fiber images; the normal fiber image is a complete individual fiber or an incomplete individual fiber;
8) importing a plurality of normal fiber images into a fiber identification and quality analysis model, identifying the type of fibers in each normal fiber image, and calculating the fiber quality;
9) the upper computer obtains the component ratio of each type of fibers based on the type and the quality of the fibers;
Figure FDA0001985509640000011
n is the total number of fiber classes.
2. A method based on a textile fibre identification and composition detection system according to claim 1, characterised in that: the optical imaging system is a microscope.
3. A method based on a textile fibre identification and composition detection system according to claim 1 or 2, characterised in that: the sample to be detected is a textile.
4. A method based on a textile fibre identification and composition detection system according to claim 1 or 2, characterised in that: the main steps for establishing the fiber intersection point positioning model are as follows:
1) acquiring a plurality of crossed fiber images with the same size by using an optical imaging system, marking fiber crossing points in the crossed fiber images, and labeling;
2) respectively establishing a cross fiber training set and a cross fiber verification set based on the marked cross fiber images;
3) inputting the cross fiber training set into a neural network, and training the neural network;
4) and inputting the cross fiber verification set into a neural network, verifying the neural network, and adjusting parameters of the neural network according to a verification result so as to obtain a fiber intersection point positioning model.
5. The method of claim 1, wherein the method for establishing the abnormal fiber filtering model comprises the following steps:
1) acquiring a plurality of images containing abnormal fibers with the same size by using an optical imaging system, marking according to abnormal conditions in the images, and labeling;
2) establishing an abnormal fiber training set and an abnormal fiber verification set based on a plurality of images containing abnormal fibers;
3) inputting the abnormal fiber training set into a neural network, and training the neural network;
4) and inputting the abnormal fiber verification set into a neural network, verifying the neural network, and adjusting parameters of the neural network according to a verification result so as to obtain an abnormal fiber filtering model.
6. A method based on a textile fibre identification and composition detection system according to claim 5, characterised in that: the image containing abnormal fibers is a square convolution kernel with equal length and width.
7. A method based on a textile fibre identification and composition detection system according to claim 1, characterised in that: the main steps for establishing the fiber identification and quality analysis model are as follows:
1) acquiring a plurality of images containing various fibers with the same size by using an optical imaging system, and positioning and splitting a plurality of fibers in the images into a plurality of single fiber images by using a fiber intersection positioning module;
2) processing a plurality of single fiber images to obtain a plurality of images with equal length, width and size; the processed single fiber image is a square convolution kernel with equal length and width; classifying and marking the processed single fiber images according to the fiber types, and labeling;
3) acquiring training sets and verification sets of different types of fibers based on the classified single fiber images;
4) inputting training sets of different types of fibers into a neural network, and training the neural network;
5) and inputting the verification sets of different types of fibers into the neural network, verifying the neural network, and adjusting parameters of the neural network according to the verification result to obtain a fiber identification and quality analysis model.
CN201910163581.3A 2019-03-05 2019-03-05 Method based on textile fiber identification and component detection system Active CN111665244B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910163581.3A CN111665244B (en) 2019-03-05 2019-03-05 Method based on textile fiber identification and component detection system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910163581.3A CN111665244B (en) 2019-03-05 2019-03-05 Method based on textile fiber identification and component detection system

Publications (2)

Publication Number Publication Date
CN111665244A true CN111665244A (en) 2020-09-15
CN111665244B CN111665244B (en) 2024-03-19

Family

ID=72381209

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910163581.3A Active CN111665244B (en) 2019-03-05 2019-03-05 Method based on textile fiber identification and component detection system

Country Status (1)

Country Link
CN (1) CN111665244B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114693680A (en) * 2022-05-31 2022-07-01 季华实验室 Method for detecting textile fibers, electronic device and computer-readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012093206A (en) * 2010-10-27 2012-05-17 Toray Ind Inc Inspection device of fiber-reinforced base material
CN103673923A (en) * 2013-12-25 2014-03-26 裘钧 Curve fiber network structural morphology feature measurement method based on digital image processing
CN106096613A (en) * 2016-05-31 2016-11-09 哈尔滨工业大学深圳研究生院 Image multi-target detection method and device based on corner feature
CN106373119A (en) * 2016-09-05 2017-02-01 广东工业大学 Fiber detection method and system
CN107909107A (en) * 2017-11-14 2018-04-13 深圳码隆科技有限公司 Fiber check and measure method, apparatus and electronic equipment
CN108038838A (en) * 2017-11-06 2018-05-15 武汉纺织大学 A kind of cotton fibriia species automatic testing method and system
CN108305287A (en) * 2018-02-02 2018-07-20 天津工业大学 A kind of textile material fibre diameter measurement method based on phase information

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012093206A (en) * 2010-10-27 2012-05-17 Toray Ind Inc Inspection device of fiber-reinforced base material
CN103673923A (en) * 2013-12-25 2014-03-26 裘钧 Curve fiber network structural morphology feature measurement method based on digital image processing
CN106096613A (en) * 2016-05-31 2016-11-09 哈尔滨工业大学深圳研究生院 Image multi-target detection method and device based on corner feature
CN106373119A (en) * 2016-09-05 2017-02-01 广东工业大学 Fiber detection method and system
CN108038838A (en) * 2017-11-06 2018-05-15 武汉纺织大学 A kind of cotton fibriia species automatic testing method and system
CN107909107A (en) * 2017-11-14 2018-04-13 深圳码隆科技有限公司 Fiber check and measure method, apparatus and electronic equipment
CN108305287A (en) * 2018-02-02 2018-07-20 天津工业大学 A kind of textile material fibre diameter measurement method based on phase information

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
高亮;王旭;王荣武;: "木棉和棉的自动识别", 东华大学学报(自然科学版), no. 01 *
高亮;王旭;王荣武;: "木棉和棉的自动识别", 东华大学学报(自然科学版), no. 01, 15 February 2017 (2017-02-15) *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114693680A (en) * 2022-05-31 2022-07-01 季华实验室 Method for detecting textile fibers, electronic device and computer-readable storage medium

Also Published As

Publication number Publication date
CN111665244B (en) 2024-03-19

Similar Documents

Publication Publication Date Title
CN111665243B (en) Textile fiber identification and component detection system
Álvarez et al. Routine determination of plankton community composition and size structure: a comparison between FlowCAM and light microscopy
JP6479676B2 (en) System and method for classification of particles in a fluid sample
CN110383038B (en) System and method for automated analysis of air samples
DE19747415C2 (en) Method for assisting an observer in screening a sample and cytological sample analysis system
CN102637258B (en) Method for creating online surface quality detection system defect library
CA3098154A1 (en) System and method for performing automated analysis of air samples
JPH11506196A (en) Method and apparatus for continuously monitoring and predicting slide and specimen preparation for biological specimens
EP2239557B1 (en) Method for measuring airborne biological hazardous agents
EP2798352A1 (en) Method and apparatus for automated platelet identification within a whole blood sample from microscopy images
DE102016102867A1 (en) microscope arrangement
DE102012222867A1 (en) Defect inspection process
KR102489789B1 (en) Digitization Flow Method of Bone Marrow Plates
JPH09509487A (en) Cell sample automatic classification device and method
CN110020691A (en) LCD screen defect inspection method based on the training of convolutional neural networks confrontation type
CN111665244B (en) Method based on textile fiber identification and component detection system
Gulfan et al. Evaluating the usability and user experience of phytoplankton cell counter prototype
CN102628759A (en) Preparation and detection method of textile fiber digitized slice and microscopic examination simulation method
CN111721765A (en) Textile fiber identification and component detection system and use method thereof
CN114092935A (en) Textile fiber identification method based on convolutional neural network
DE69831573T2 (en) INSPECTION SYSTEM WITH SAMPLE PREVIEW
JPH1019755A (en) Automatic pollen collecting/analyzing system
DE112016006056T5 (en) VIEWING DEVICE
CN113418919A (en) Textile fiber component qualitative and quantitative online analysis system and method
DE10203595A1 (en) Detection of defect locations in transparent sections of glass or plastic, employs illumination source and screen with camera and computerized analysis

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant