The document describes a new method for grading yarn appearance using image analysis and artificial intelligence. Key points:
- It defines classes of apparent yarn faults based on size, shape, and configuration to allow grading of different yarn types.
- Scanned images are converted to binary, divided into strips, and processed to extract just the fault images by eliminating the yarn body and background.
- The fault images are divided into blocks, classified by fault type, and counted to calculate fault factors for each grade.
- An artificial neural network is trained on the fault factors and grades standard images to establish grading criteria for any yarn count.
An Investigation on Different Physical Properties of Cotton Woven Fabrics IJERA Editor
In this study, “An Investigation on Different Physical Properties of Cotton Woven Fabrics”, some sample fabrics were produced with plain, 2/2 twill, 3/1 twill and 4-end satin weave structure using four different weft counts. By means of regression, the correlation coefficient and correlation between different properties of fabrics were investigated. The findings of this study revealed that the crease recovery angle and the bending length are inversely proportional to each other. It was also found that with the increasing of weft yarn counts lead to a decreasing in stiffness, abrasion resistance and increasing in crease recovery angle. The pilling and wrinkle recovery affected very low by the increase of weft yarn count and for the variation of weave structure. Plain weave was superior to other structures in stiffness where as twill weave showed higher crease recovery.
Effect of Stitch Length on Different Properties of Plain Single Jersey FabricIJMERJOURNAL
ABSTRACT: The works reported in this paper present the effects of stitch length on different properties of plain single jersey fabric. Fabric properties can be changed due to use of various counts of yarn, type (ring, rotor, and compact), quality, stitch length, structural geometry, fiber composition, etc. With an increase in stitch length, the properties like Courses Per Inch (CPI), Wales Per Inch (WPI), GSM and stitch density will be decreased when the remaining other parameters are constant. Again shrinkage and spirality will be increased and bursting strength decreased with the increased stitch length. Pilling and abrasion resistance show lower grading when stitch length increases.
An Investigation on Different Physical Properties of Cotton Woven Fabrics IJERA Editor
In this study, “An Investigation on Different Physical Properties of Cotton Woven Fabrics”, some sample fabrics were produced with plain, 2/2 twill, 3/1 twill and 4-end satin weave structure using four different weft counts. By means of regression, the correlation coefficient and correlation between different properties of fabrics were investigated. The findings of this study revealed that the crease recovery angle and the bending length are inversely proportional to each other. It was also found that with the increasing of weft yarn counts lead to a decreasing in stiffness, abrasion resistance and increasing in crease recovery angle. The pilling and wrinkle recovery affected very low by the increase of weft yarn count and for the variation of weave structure. Plain weave was superior to other structures in stiffness where as twill weave showed higher crease recovery.
Effect of Stitch Length on Different Properties of Plain Single Jersey FabricIJMERJOURNAL
ABSTRACT: The works reported in this paper present the effects of stitch length on different properties of plain single jersey fabric. Fabric properties can be changed due to use of various counts of yarn, type (ring, rotor, and compact), quality, stitch length, structural geometry, fiber composition, etc. With an increase in stitch length, the properties like Courses Per Inch (CPI), Wales Per Inch (WPI), GSM and stitch density will be decreased when the remaining other parameters are constant. Again shrinkage and spirality will be increased and bursting strength decreased with the increased stitch length. Pilling and abrasion resistance show lower grading when stitch length increases.
Hairiness is characterized by the quantity of freely moving fibre ends or fibre loops projecting from a yarn or textile fabric (woven, knitted or non woven fabrics).
In term of measurement Hairiness corresponds to the total length of the protruding fibres in unit length of one centimeter.
Cotton is a natural fibre available easily and abundant quantity. It is a most suitable fibre for textile spinning & clothing due to it’s good spinnability & human friendly characteristics. As cotton is a natural fibre hence it’s properties also affected with several other factors which create variation in fibre properties, these variations also affect spinning processes & it’s products Quality in multi dimensions. Each fibre characteristic impact individually and collectively on spinning process or at ultimate product quality. Revolutionary changes observed in last two decade in the field of spinning machineries where processing speeds greatly increased to enhance production rate. Not only production rate of spinning machines increased but speeds of it’s downstream processes also increased simultaneously which requires better quality of yarn for smooth process and without any interruption to get the maximum efficiency. Hence now it is most important to co-relate fibre properties with respect to it’s consumer process competency. In this article we will discuss the different cotton properties and it’s impact on spinning process and product quality in present prospective and will try to minimize the impact of poor fibre properties on process or product Quality through better Mixing plan selection.
A review on study of composite materials in presence of crackseSAT Journals
Abstract
Composites materials are commonly used in automobiles, aircraft structures etc. due to their high specific strength and stiffness. Composites ability to retain functionality in the presence of damage is a crucial, safety and economic issue. The fatigue failure mechanisms have been widely studied. Matrix cracks, fiber break, dis-bonding and de-laminations are the main causes for progressive failure of composites under fatigue loads. In this paper, detailed review on composite in presence of cracks under different types of failure mechanisms etc have been discussed.
Keywords: Fatigue Failure Mechanisms, cracks in composite
Testing yarns is essentials. The basic tests that are essential are explained in this video. The yarn number systems the different tests for yarn like strength, length, elongation are discussed here.
Hairiness is characterized by the quantity of freely moving fibre ends or fibre loops projecting from a yarn or textile fabric (woven, knitted or non woven fabrics).
In term of measurement Hairiness corresponds to the total length of the protruding fibres in unit length of one centimeter.
Cotton is a natural fibre available easily and abundant quantity. It is a most suitable fibre for textile spinning & clothing due to it’s good spinnability & human friendly characteristics. As cotton is a natural fibre hence it’s properties also affected with several other factors which create variation in fibre properties, these variations also affect spinning processes & it’s products Quality in multi dimensions. Each fibre characteristic impact individually and collectively on spinning process or at ultimate product quality. Revolutionary changes observed in last two decade in the field of spinning machineries where processing speeds greatly increased to enhance production rate. Not only production rate of spinning machines increased but speeds of it’s downstream processes also increased simultaneously which requires better quality of yarn for smooth process and without any interruption to get the maximum efficiency. Hence now it is most important to co-relate fibre properties with respect to it’s consumer process competency. In this article we will discuss the different cotton properties and it’s impact on spinning process and product quality in present prospective and will try to minimize the impact of poor fibre properties on process or product Quality through better Mixing plan selection.
A review on study of composite materials in presence of crackseSAT Journals
Abstract
Composites materials are commonly used in automobiles, aircraft structures etc. due to their high specific strength and stiffness. Composites ability to retain functionality in the presence of damage is a crucial, safety and economic issue. The fatigue failure mechanisms have been widely studied. Matrix cracks, fiber break, dis-bonding and de-laminations are the main causes for progressive failure of composites under fatigue loads. In this paper, detailed review on composite in presence of cracks under different types of failure mechanisms etc have been discussed.
Keywords: Fatigue Failure Mechanisms, cracks in composite
Testing yarns is essentials. The basic tests that are essential are explained in this video. The yarn number systems the different tests for yarn like strength, length, elongation are discussed here.
International Journal of Engineering Research and Applications (IJERA) is an open access online peer reviewed international journal that publishes research and review articles in the fields of Computer Science, Neural Networks, Electrical Engineering, Software Engineering, Information Technology, Mechanical Engineering, Chemical Engineering, Plastic Engineering, Food Technology, Textile Engineering, Nano Technology & science, Power Electronics, Electronics & Communication Engineering, Computational mathematics, Image processing, Civil Engineering, Structural Engineering, Environmental Engineering, VLSI Testing & Low Power VLSI Design etc.
Effect of count and stitch length on spirality of single jersey knit fabriceSAT Journals
Abstract
The following paper focuses on change in spirality due to stitch length and count variation .This work was carried out with 12 samples of single jersey knit fabrics which were scoured and bleached with NaOH and H2O2 (35% strength), dyed with reactive dye (Remazol Yellow RR reactive class) and were finished as standard procedure . After finishing the samples were tested for spirality and compared between different stitch length and count. The result obtained in this research indicated that spirality increases strongly due to increase of stitch length when count of yarn is fixed and on fixed stitch length spirality increases with the increment of count.
Keywords: Spirality, Count, Stitch length.
Variation in linear density of combed yarn due to dyeing with reactive dye in...eSAT Journals
Abstract Though yarn dyeing is a significant part of wet processing, it still has some major obstacles. It loses its weight as well as strength due to wet treatment. A study on the changes of linear density in combed yarn due to different shade percentages of reactive dye has been conducted and the results are statistically analyzed. Remazol Red RR, Remazol Yellow RR and Remazol Blue RR were used for this experiment. The study reveals that dye shade percentage effects on the linear density negatively. Before 2.5% shade the yarn loss is greater and after 3.5% shade linear density also decreases. 2.5% to 3.5% shade percentage can be taken as the range where loss of linear density is much less than the other percentages. The lowest loss percentage was found for 3% shade for every dyestuff among which Remazol Red RR was the least. Key Words: Combed yarn, Loss percentage, Shade, Linear density.
IJRET : International Journal of Research in Engineering and Technology is an international peer reviewed, online journal published by eSAT Publishing House for the enhancement of research in various disciplines of Engineering and Technology. The aim and scope of the journal is to provide an academic medium and an important reference for the advancement and dissemination of research results that support high-level learning, teaching and research in the fields of Engineering and Technology. We bring together Scientists, Academician, Field Engineers, Scholars and Students of related fields of Engineering and Technology
Evaluation of physico mechanical properties of 1×1 interlock cotton knitted f...Elias Khalil (ইলিয়াস খলিল)
The Physico-Mechanical properties of knitted fabric can be changed due to use of various count of yarn, type of yarn (ring, rotor, and compact), quality of yarn, Loop length / Stitch length, structural geometry, fibre composition of yarn etc. This study focused on the various Loop length effect of grey interlock knit structure. With an increase in Loop length, the dimensional properties like CPI, WPI, GSM, thickness & tightness factor will be decreased; while comfort properties like air permeability & water absorbency will be increased. Again shrinkage & spirality will be decreased with increased Loop length at grey stage. Other properties such as bursting strength, abrasion resistance & pilling resistance improved with increased Loop length. Though all the tests for fabric properties were carried out for grey stage, there properties can considerably vary after further finishing of the fabrics. As finishing is mandatory for fabric production, so now-a-days, these kinds of tests are carried out after finishing stage & proper controlling is done according desired quality. Sometimes, controlling of some properties of finished fabrics are beyond our trial. In that case, analysis of fabric properties at grey stage can help us to take various control & corrective actions when necessary.
Influence of Gas Yarn Singeing On Viscose Spun Yarn Characteristicsiosrjce
Viscose spun yarnhas more hairiness and poses problem in the subsequent processes like yarn dyeing,
fabric production and fabric processing due to protruding of hairs. In this research work, an attempt has been
made to singe the viscose spun yarns of most commonly used yarn counts. Its influence on yarn quality
characteristics were compared and studied with its parent un-singed yarns. It has been found that the primary
objective of hairiness reduction was well achieved with singeing processes; however there isan impact on other
quality characteristics such as yarn imperfections, tenacity and yarn elongation. There is overall improvement
in yarn imperfection results by singeing process. Yarn tenacity is also improved after singeing, but there is drop
in yarn elongation due to singeing.
Effect of stitch length on physical and mechanical properties of single jerse...Elias Khalil (ইলিয়াস খলিল)
The physical and mechanical properties of knitted fabric can be changed due to use of various count of yarn, type of yarn
(ring, rotor, and compact), quality of yarn, stitch length / loop length, structural geometry, fiber composition of yarn etc. This study
focused on the various stitch length effect of grey single jersey. With an increase in stitch length, the dimensional properties like CPI,
WPI, GSM, thickness & tightness factor will be decreased for all the structures; while comfort properties like air permeability & water
absorbency will be increased. Again shrinkage & spirality will be decreased with increased stitch length at grey stage. Other properties
such as bursting strength, abrasion resistance & pilling resistance improved with increased stitch length. Though all the tests for fabric
properties were carried out for grey stage, there properties can considerably vary after further finishing of the fabrics. As finishing is
mandatory for fabric production, so now-a-days, these kinds of tests are carried out after finishing stage & proper controlling is done
according to desired quality. Sometimes, controlling of some properties of finished fabrics are beyond our trial. In that case, analysis of
fabric properties at grey stage can help us to take various control & corrective actions when necessary.
Micro Mechanical Modeling of Fiber / Epoxy Unidirectional Laminates Using Featheijes
The focus of the study was to develop the micromechanical model associated with proper damage model to predict the overall mechanical behavior of fiber/matrix unidirectional laminates. The present and first investigation studies the influence of fiber-matrix interface on the behaviour of fiber reinforced composite lamina using micromechanical models. Mechanical properties E1 and E2 are determined at various volume fractions. The second investigation studies the micro-thermo elastic behaviour of the square unit cell of a hybrid fiber reinforced composite lamina. Later this model is extended to predict the coefficients of thermal expansion of graphite-boron hybrid fiber reinforced lamina for various volume fractions.In the third investigation, an analytical solution of the thermal stresses for a fiber embedded in a matrix is presented based on the idea of the finite element and under some simplifying assumptions. The analytical solution to the problem is found for the case when the length of the embedded bar (fiber) is much greater than its radius, and the Young's modulus of the matrix is much less than that of the fiber. The problem is also solved numerically by means of finite element analysis using ANSYS 10.0. Both results are compared and it is shown that both approaches coincide very close qualitatively and quantitatively although significant discrepancies may appear at specific points for specific cases. For all above three cases 3-D finite element models have been developed from the representative volume elements of the composite which are in the form of square unit cells. The finite element software ANSYS 10.0 has been successfully executed to evaluate the properties
Essentials of Automations: Optimizing FME Workflows with ParametersSafe Software
Are you looking to streamline your workflows and boost your projects’ efficiency? Do you find yourself searching for ways to add flexibility and control over your FME workflows? If so, you’re in the right place.
Join us for an insightful dive into the world of FME parameters, a critical element in optimizing workflow efficiency. This webinar marks the beginning of our three-part “Essentials of Automation” series. This first webinar is designed to equip you with the knowledge and skills to utilize parameters effectively: enhancing the flexibility, maintainability, and user control of your FME projects.
Here’s what you’ll gain:
- Essentials of FME Parameters: Understand the pivotal role of parameters, including Reader/Writer, Transformer, User, and FME Flow categories. Discover how they are the key to unlocking automation and optimization within your workflows.
- Practical Applications in FME Form: Delve into key user parameter types including choice, connections, and file URLs. Allow users to control how a workflow runs, making your workflows more reusable. Learn to import values and deliver the best user experience for your workflows while enhancing accuracy.
- Optimization Strategies in FME Flow: Explore the creation and strategic deployment of parameters in FME Flow, including the use of deployment and geometry parameters, to maximize workflow efficiency.
- Pro Tips for Success: Gain insights on parameterizing connections and leveraging new features like Conditional Visibility for clarity and simplicity.
We’ll wrap up with a glimpse into future webinars, followed by a Q&A session to address your specific questions surrounding this topic.
Don’t miss this opportunity to elevate your FME expertise and drive your projects to new heights of efficiency.
Key Trends Shaping the Future of Infrastructure.pdfCheryl Hung
Keynote at DIGIT West Expo, Glasgow on 29 May 2024.
Cheryl Hung, ochery.com
Sr Director, Infrastructure Ecosystem, Arm.
The key trends across hardware, cloud and open-source; exploring how these areas are likely to mature and develop over the short and long-term, and then considering how organisations can position themselves to adapt and thrive.
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf91mobiles
91mobiles recently conducted a Smart TV Buyer Insights Survey in which we asked over 3,000 respondents about the TV they own, aspects they look at on a new TV, and their TV buying preferences.
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Tobias Schneck
As AI technology is pushing into IT I was wondering myself, as an “infrastructure container kubernetes guy”, how get this fancy AI technology get managed from an infrastructure operational view? Is it possible to apply our lovely cloud native principals as well? What benefit’s both technologies could bring to each other?
Let me take this questions and provide you a short journey through existing deployment models and use cases for AI software. On practical examples, we discuss what cloud/on-premise strategy we may need for applying it to our own infrastructure to get it to work from an enterprise perspective. I want to give an overview about infrastructure requirements and technologies, what could be beneficial or limiting your AI use cases in an enterprise environment. An interactive Demo will give you some insides, what approaches I got already working for real.
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Albert Hoitingh
In this session I delve into the encryption technology used in Microsoft 365 and Microsoft Purview. Including the concepts of Customer Key and Double Key Encryption.
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...DanBrown980551
Do you want to learn how to model and simulate an electrical network from scratch in under an hour?
Then welcome to this PowSyBl workshop, hosted by Rte, the French Transmission System Operator (TSO)!
During the webinar, you will discover the PowSyBl ecosystem as well as handle and study an electrical network through an interactive Python notebook.
PowSyBl is an open source project hosted by LF Energy, which offers a comprehensive set of features for electrical grid modelling and simulation. Among other advanced features, PowSyBl provides:
- A fully editable and extendable library for grid component modelling;
- Visualization tools to display your network;
- Grid simulation tools, such as power flows, security analyses (with or without remedial actions) and sensitivity analyses;
The framework is mostly written in Java, with a Python binding so that Python developers can access PowSyBl functionalities as well.
What you will learn during the webinar:
- For beginners: discover PowSyBl's functionalities through a quick general presentation and the notebook, without needing any expert coding skills;
- For advanced developers: master the skills to efficiently apply PowSyBl functionalities to your real-world scenarios.
The Art of the Pitch: WordPress Relationships and SalesLaura Byrne
Clients don’t know what they don’t know. What web solutions are right for them? How does WordPress come into the picture? How do you make sure you understand scope and timeline? What do you do if sometime changes?
All these questions and more will be explored as we talk about matching clients’ needs with what your agency offers without pulling teeth or pulling your hair out. Practical tips, and strategies for successful relationship building that leads to closing the deal.
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Jeffrey Haguewood
Sidekick Solutions uses Bonterra Impact Management (fka Social Solutions Apricot) and automation solutions to integrate data for business workflows.
We believe integration and automation are essential to user experience and the promise of efficient work through technology. Automation is the critical ingredient to realizing that full vision. We develop integration products and services for Bonterra Case Management software to support the deployment of automations for a variety of use cases.
This video focuses on the notifications, alerts, and approval requests using Slack for Bonterra Impact Management. The solutions covered in this webinar can also be deployed for Microsoft Teams.
Interested in deploying notification automations for Bonterra Impact Management? Contact us at sales@sidekicksolutionsllc.com to discuss next steps.
Elevating Tactical DDD Patterns Through Object CalisthenicsDorra BARTAGUIZ
After immersing yourself in the blue book and its red counterpart, attending DDD-focused conferences, and applying tactical patterns, you're left with a crucial question: How do I ensure my design is effective? Tactical patterns within Domain-Driven Design (DDD) serve as guiding principles for creating clear and manageable domain models. However, achieving success with these patterns requires additional guidance. Interestingly, we've observed that a set of constraints initially designed for training purposes remarkably aligns with effective pattern implementation, offering a more ‘mechanical’ approach. Let's explore together how Object Calisthenics can elevate the design of your tactical DDD patterns, offering concrete help for those venturing into DDD for the first time!
Generating a custom Ruby SDK for your web service or Rails API using Smithyg2nightmarescribd
Have you ever wanted a Ruby client API to communicate with your web service? Smithy is a protocol-agnostic language for defining services and SDKs. Smithy Ruby is an implementation of Smithy that generates a Ruby SDK using a Smithy model. In this talk, we will explore Smithy and Smithy Ruby to learn how to generate custom feature-rich SDKs that can communicate with any web service, such as a Rails JSON API.
3. 188 Textile Research Journal 76(3)TRJTRJ
Methodology and Experiments
Definition of Apparent Features of Yarn
Based on Various Kinds of Fault
The appearance quality of yarn is directly related to the
configuration of fibers on its surface and a greater uneven-
ness in the yarn surface implies poorer apparent quality.
There are four categories for faults of yarn surface in sec-
tion D 2255 of ASTM [1]. In this standard, the yarn grade
is based on fuzziness, nepness, unevenness and visible for-
eign matter. In almost all definitions of yarn appearance
features, the grading method is based on the surface con-
figuration of the yarn [1, 10–12].
Regarding the standard definition, yarn faults that have
an effect on its appearance are classified in following cate-
gories.
Nep with thickness of less than three times of yarn
diameter.
Nep with thickness of more than three times of yarn
diameter.
Foreign trash.
Entangled fibers with a thickness of less than three
times the yarn diameter such as a small bunch, slug, or
slub.
Entangled fibers with thickness of more than three
times of yarn diameter such as large bunch, slug, or slub.
Unevenness in the coating of the yarn surface or poor
covering of the yarn with excessive fuzziness.
Untangled fiber ends that protrude from the surface of
a yarn. These fibers are named fuzz. The fuzz should not
be confused with the cover of yarn with excessive fuzziness.
It is possible to define these categories to form classes
of apparent faults of yarn.
Class 1: Large and entangled faults which are tightened
fibers with uniform configuration. This class of faults
includes thick neps, trash and extended entangled fibers
such as bunches, slugs or slubs. The thickness of these
faults is approximately more than three times the yarn
diameter.
Class 2: Large faults with less area in comparison with
first category (Class I). In this class, small neps, foreign
trash and slug or bunches of fibers are classified. The thick-
ness of these faults is approximately less than three times
the yarn diameter.
Class 3: Non uniform and extended faults with spread
configuration. This class includes free fibers on the yarn
surface that are defined as fuzz. In addition various coating
fibers, some long and with non uniform configuration may
belong in this class.
Class 4: Small spread faults such as non-uniform coat-
ing fibers and short tangled hairs. Although the total area
of these faults is noticeable, it is not very effective on yarn
appearance, because the area of these faults is generally
small and in different sections of the yarn image.
This method of classification is dependent on the shape
and configuration of those faults that are not located in an
area of the yarn body; in which the type of fault can be rec-
ognized from its shape. Therefore, the definition is con-
firmed by previous classification logic.
The most important merit of this kind of classification is
its applicability for different types of yarn, independent
from raw material, and the method of spinning such as
woollen, worsted, buckled, filament and different short sta-
ple yarns.
Measuring Methods
We first summarize the method and then describe the vari-
ous steps in greater detail. The photographs of standard
yarn boards of four grades were scanned using a scanner.
The images were then converted to binary form using a
defined threshold. The binary image consists of the yarn
body, the background and the faults. We only need the
image of faults, and so we need to detect and eliminate the
yarn body and background. In the original images, the
threads of yarn were not completely in the vertical direc-
tion. This was a major obstacle to the elimination of the
yarn body in one stage. Therefore it was necessary to
divide the original image into narrow tapes. The bodies of
threads could then be eliminated from the binary images.
In the scanned images of the yarn boards, which were
divided into uniform tapes, there were some columns of
pixels without the image of yarn body and faults; this is
called the image of background. To obtain the images of
faults, these columns were also eliminated using a small
threshold from the image of the yarn board. After elimi-
nating the yarn body and background columns, the remain-
ing image of the tapes were connected to each other end by
end in a longitudinal order. The resulting long, narrow
tape is called the fault image. The fault image of each
grade was divided into uniform blocks. For each image, the
blocks were classified according to newly defined fault
classes based on area and configuration of faults. Each
block of fault image was classified on the basis of the num-
ber and adherence of fault pixels in it. The classified blocks
were counted and four fault factors were calculated from
the counted blocks. For each category of yarn count, the
calculated fault factors and index of yarn degree were pre-
sented to an artificial neural network. After training of
each neural network, a grading criterion was calculated.
Elimination of Yarn Body from Picture of Yarn
Board
The scanned images were 152 mm by 254 mm in size, reso-
lution of 300 dpi and gray-scale level of 256. The gray-scale
image was converted to binary form by a calculated thresh-
old.
4. Grading of Yarn Appearance Using Image Analysis and Artificial Intelligence Technique D. Semnani et al. 189 TRJ
A matrix of faults of each image is first calculated by
subtracting the matrix of the yarn body from the total
image. This method is the reverse of an image restoration
method in which the faults image is subtracted from the
original image [14]. In our view, the matrix of the original
image is the sum of the matrix of the yarn body and that of
the faults and can be shown as equation (1).
(1)
where F is the matrix of the original image, G is the matrix
of the yarn body and N is the matrix of the fault image. If the
image of the yarn body is available, matrix N could be deter-
mined by subtracting matrix G from matrix F (N = F – G).
In the yarn boards, each image is composed of M rows
and H columns. The mean of intensity in each column of
board image can be calculated. According to the binary
form of the image, the mean of intensity for each column is:
(2)
where , is an element of matrix F located in ith raw and
jth column of the image.
After calculation of vector µ it is possible to recognize
the bodies of the yarn threads by estimating the threshold
between the yarn body and other parts of the image.
If the threshold of the mentioned areas is assumed to be
T, the following separating function can be used to elimi-
nate the body of yarn threads.
(3)
(4)
where and are elements of the matrices G and N
located in the ith row and jth column.
After separating matrices G and N from the original
matrix F, all elements of the matrix G are replaced by zero.
By this procedure the body of yarn is replaced by the back-
ground of the image which is black. This procedure is
described by the equation N = F – G.
In the actual pictures, the threads of yarn are not com-
pletely in the vertical direction and usually there is a small
angle between the threads and the vertical direction (Fig-
ure 1a). This causes a notable error in the calculation of
the mean vector along the threads, especially, near the
edges of the threads. If the angles were uniform it might be
possible to use the contour tracing method for determining
of threads edges [13], but because of the variation among
the angles of the different threads it is necessary to look for
a new method to reduce the mentioned error.
For this purpose we divided the original image into hor-
izontal tapes of equal heights (Figure 1b). If α is the angle
of the threads with the vertical direction and L is the length
of the thread, the maximum deviation of the thread direc-
tion from the vertical line will be L tan α. When the length
of threads is reduced to l (height of tape), the deviation is
reduced to l/L. A suitable height for the tapes is deter-
mined from the yarn count.
After completing the body elimination for all of the
tapes (Figure 1c), the resulting images of the tapes are
reassembled into one image in their original order. At this
stage of the process, the size of the obtained image is the
same as the original image.
Generating a BINARY image
To convert the primary image into a binary image, a suita-
ble threshold T should be calculated. By doing a suitable
conversion with the correct threshold, the probability of
missing the edge of the threads will be reduced. This
should also reduce the effect of lighting error during the
photographing of the boards.
The correct threshold should be determined using the
configuration of the image histogram. By analyzing the
image histogram of different boards, we found that there
are two peaks of intensity in each histogram, which are
close to the mean value of the image matrix. This is
because of the nature of our original images, which have
white parts of yarn body image and black parts of back-
ground. There are few pixels in the region between the
mentioned peaks. The height of the first peak is greater
than that of the second peak. Therefore, a suitable thresh-
old point is located between the mean value and first peak.
In practice, we found that a suitable threshold is T = µt – σt
where µt and σt are the mean and standard deviation of the
image matrix, respectively. By using this threshold, the loss
of hairs and other sensitive pixels was minimized for all
images.
Calculating the Heights of Tapes
After converting original grayscale image to binary image,
the binary image is divided to equal height tapes. As has
been described, the height of the tapes has a major effect
on the elimination of the error of yarn body. As a starting
point for the determination of the tape height, the image
of the thickest yarn (65 Tex) was considered. In a 300 dpi
image of this yarn, the mean of the yarn diameter is 8 pix-
F G N+=
µj fi j, M⁄
i 1=
M
∑= i 1 2 3 … M and j 1 2 3 … H, , , ,=, , , ,=
fi j,
gi j,
fi j, if µj T≥
0 if µj T<
=
i 1 2 3 … M j 1 2 3 … H, , , ,=, , , ,=
ni j,
fi j, if µj T<
0 if µj T≥
=
i 1 2 3 … M j 1 2 3 … H, , , ,=, , , ,=
gi j, ni j,
5. 190 Textile Research Journal 76(3)TRJTRJ
els. If the maximum angle of slope of the yarn from the
vertical direction is assumed to be α°, the maximum devia-
tion from the vertical direction will be x. In this situation,
the acceptable height of the tape l can be calculated by
equation (5).
(5)
We found that the maximum slope for threads in the
board, was less than 5°. For the mean of yarn diameter x =
8 pixels, the height of tapes is approximately 100 pixels
(equation (5)).
To develop this calculation for other yarn counts N
(Tex), the relation between the yarn count and the yarn
diameter is given in equation (6).
(6)
where d0 is the yarn diameter of 65 Tex, and N0 is the yarn
count of 65 Tex.
For equal angles, the relation between different devia-
tions and tapes heights can be evaluated from equation (5).
(7)
From equations (6) and (7):
(8)
Then
(9)
The optimum heights of tapes l for various counts of
yarn on standard boards can be calculated by equation (9),
where the tape height of N0 = 65 tex yarn was l = 100 pix-
els. Table 1 shows the optimum tape heights for various
yarn counts.
Figure 1 A sample for elimination
of yarn body from yarn board. (a)
original image; (b) image of divided
tapes; (c) image of faults of one
tape; (d) consequent image from
processed tapes.
l
x
tgα
--------=
d
d0
----- N
N0
------=
x
x0
----
d
d0
-----
l
l0
---= =
l
l0
---
N
N0
------=
l 12.4 N=
6. Grading of Yarn Appearance Using Image Analysis and Artificial Intelligence Technique D. Semnani et al. 191 TRJ
Detection of Yarn Body
By using the values of Table 1, each image is divided into
uniform tapes of known height and we then need to calcu-
late a suitable threshold for detection of the yarn body in
each tape.
A simple method is used to determine the optimum
threshold according to the graph of the sorted mean vector
of the columns of tapes. The sorted mean vector is a vector
that is obtained from sorting of mean of columns values for
whole tapes in ascending order. According to our experi-
ments, for all of the mean vectors, the curve of the graph
has a point at which the graph changes its direction from
ascending to descending. Our experiments showed that if
we drew a line which connected the end point of the curve
and cross through this point, then the integral of this line
and the curve of the graph were approximately equal. As
shown in Figure 2, most of the white and black values of 1
and 0 respectively could be classified using this point of the
curve.
As shown in Figure 2, line “cb” is crossed from point
“a” and point “b” (the end point of the curve). The area
between line “cb” and the horizontal axis is the nominal
integration of the line from point “c” to point “b”, where
the area between the curve and the horizontal axis is the
integral of the curve from the zero point to point “b”. The
greater the equality between the integrated values of the
curve and line “cb” the better is the estimation of the men-
tioned point (equation (10)). The height of point “a” is the
desired threshold for yarn body elimination, Th.
(10)
In equation (10) µi is the ith value of the sorted mean
vector of tape columns and ml is the length of the sorted
mean vector. From equation (10) the intensity value of
point “c”, h could be calculated. Therefore, the equation of
line “cb” is shown by equation (11):
(11)
In the nominal method, point “a” is located where the
difference between the vector of line “cb” and the sorted
mean vector (curve) is a minimum.
Table 1 Suitable Tape and block size for body elimination of threads and classification of faults in images of standard
boards.
Category
Region of yarn count
(Tex)
Yarn count of board
(Tex)
Tape height
(pixels)
Block size
(pPixels)
I
II
III
IV
V
VI
4–8
8–12
12–16
16–25
25–50
50–590
8
12
16
20
50
65
35
40
50
60
90
100
16 × 16
20 × 20
25 × 25
30 × 30
45 × 45
50 × 50
Figure 2 A typical sorted vector of
means of intensity value of image
columns and threshold of body
elimination (ASTM Category VI,
Grade D).
h 1+( )X 2⁄ µi
i 1=
m
∑= i 1…ml=
y
1 h–
x
------------
x h+=
7. 192 Textile Research Journal 76(3)TRJTRJ
The mean value for each column of a tape is calculated.
Each column that has a mean value which is less than the
threshold value is replaced by zero intensity. The other col-
umns are not changed. In consequence, the images of the
bodies of the threads are replaced by the background,
which is black; therefore the result is the faults image (N)
which is calculated by subtraction of the bodies image from
the original image (Figure 1c).
Elimination of Background from Faults Image
After replacing the columns of yarn body with columns of
zero pixels (black pixels), both the yarn body and back-
ground columns are columns of black pixels in the faults
image. It is necessary to eliminate these columns from the
faults image before fault classification. Most of the large
faults are separated on two sides of the yarn by black pixels
that are replaced instead of the yarn body. Therefore, it is
necessary to merge the two parts of the fault together by
eliminating the black columns. For this purpose, a simple
procedure with a small value of threshold of column means
is used to remove the black columns from the faults image
(Figure 1d). In each tape of the faults image, the means of
the columns are compared with a small defined threshold
value. The columns with means that are less than the
threshold are black columns and are removed from the
tape in the faults image.
Finally, the tapes of image are attached together in a
horizontal row according to their order in the original
image. The reason for doing this is the variation among the
lengths of the tapes after removing the black columns. The
consequent matrix is a long matrix with the width of the
tape height and length of the total remaining columns of
tapes (Figure 1e).
Counting and Classification of Faults
In the present study, a method similar to box counting in
image processing was used to classify the faults from its
matrix [14]. Both the size and adherence of the fault are
the main parameters for its recognition and classification.
The size of the fault is defined by the mean of the intensity
values of the pixels in each block of the matrix and its
adherence is estimated by the deviation of the intensity val-
ues of the pixels in a block.
In the classification process, the matrix of faults should
be divided into blocks of estimated size. The ideal classifi-
cation would be obtained when each individual fault is
located in one block. However, as the faults sizes are dif-
ferent and the image of the faults has to be divided into
blocks of equal size, the ideal classification is impossible.
The best possible classification with this method was
obtained by considering the best block size for each image
that could be estimated from the deviation of the means of
blocks in the image. If the block size is too large, different
faults are included in same block. Furthermore, if the
block size is too small, a large fault may be divided into
more than one block. In both cases, the deviation of means
of blocks is very small. Such block sizes cause poor classifi-
cation of the faults. Therefore a suitable block size is
defined as a block size that provides the maximum devia-
tion of means of blocks (point “m” in Figure 3). The results
of using this procedure for images of standard boards are
shown in Table 1.
After the determination of a suitable block size, the
faults matrix is divided into blocks of equal size. For each
block, the mean and deviation of the intensity values of the
pixels are calculated. Then the means and deviations are
sorted in two separate vectors in ascending order. Figure 4
shows a typical graph of a sorted vector of block mean
intensities. The sorted vector of intensity deviations of the
blocks could be also shown in the same manner as Figure 4.
The point of inflection for each curve of the sorted vec-
tor, is selected as a classification threshold (Tf); thus there
are two thresholds for a fault matrix [4]. One of them is the
threshold of means of blocks (Tfm) and the other is the
threshold of deviations (Tfv). “Tfm” classifies the blocks
according to fault size and “Tfv” classifies them based on
the distribution of faults.
The blocks of the fault matrix are classified in four defi-
nition classes by a decision tree algorithm based on the cal-
culated thresholds for the means and deviation of pixel
blocks using the following conditions:
Class 1: .
Figure 3 A typical graph of variation of block means for
various block size (ASTM Category VI, Grade D).
µbi 1.2Tfm≥
8. Grading of Yarn Appearance Using Image Analysis and Artificial Intelligence Technique D. Semnani et al. 193 TRJ
Class 2: .
Class 3: .
Class 4: Any other blocks which are not classified in
above classes.
In above conditions, µb and νb are the mean and devia-
tion of the ith block, respectively. Only a 20% increase in
the means of the blocks causes a block to be classified in
class 1. In class 2, two conditions are compared for classify-
ing entangled faults. In this class, there is a tight condition
for the mean of blocks but there is a wide region for devia-
tion of blocks. Class 3 is similar to class 2 for mean thresh-
old but the deviation threshold classifies spread faults in
this class. The small faults are classified in class 4.
After the classification of the fault blocks to the above
classes, the numbers of blocks classified in each class are
counted and shown as N1, N2, N3 and N4 for classes 1, 2, 3
and 4, respectively. Then fault factor of each class is calcu-
lated by equations (12)–(15). The faults factors of PFF,
PHF, PLF and PNF shows the percentage of faults of
classes 1, 2, 3 and 4, respectively.
(12)
(13)
(14)
(15)
In these equations, K × K is block size; M and N are
length and width of original image before body elimina-
tion, respectively.
Grading of Yarn Appearance Based on Fault
Factors
It is necessary to describe criteria for the index of yarn
appearance. The index of yarn appearance is assigned to
the grade of appearance by fuzzy conditions.
In this research, a linear criterion is used for the estima-
tion of grading criteria similar to constrained fuzzy criteria
[15]. The index of the degree for yarn appearance ID could
be calculated by equation (16), for fault factors vector P
and weight of faults W, the following linear criteria can be
presented:
(16)
In this equation, W is a 1 by 4 vector of weights of the
faults and P is a 4 by 1 vector of fault factors that can be
shown as equation (17).
(17)
Results and Discussion
Faults factors were calculated from standard images after
elimination of body and background. The thresholds val-
ues for the classification of fault blocks and the calculated
faults factors for images of standard boards are shown in
Table 2.
In the classification process, if a large fault is located
between two tapes of image, it might be classified in the
wrong class. In the case of small faults, the probability of
classifying a block in the wrong class is not noticeable,
because these faults are classified in same class even after
dividing into parts. However, for large faults it is important
to consider the probability of wrong classification. In the
worst situation, for thinnest yarn (4 tex), the threshold is
about 0.3 (Tables 1 and 2), the block size is 16 pixels by 16
pixels and tape height is 35 pixels. As shown in Figure 5,
the length of a large fault is more than 5 pixels and it is
located between two blocks. In this case, the fault will be
classified in the wrong class. In the case of a fault with
Figure 4 A typical graph of sorted vector of blocks means
intensities (ASTM Category VI, Grade D).
Tfm µbi 1.2Tfm & vbi Tfv≤≤≤
Tfm µbi 1.2Tfm & vbi Tfv≥≤≤
PFF
N1 K K××
M N×
--------------------------- 100×=
PHF
N2 K K××
M N×
--------------------------- 100×=
PLF
N3 K K××
M N×
--------------------------- 100×=
PNF
N4 K K××
M N×
--------------------------- 100×=
ID W.P=
P
PFF
PHF
PLF
PNF
=
9. 194 Textile Research Journal 76(3)TRJTRJ
length of 5 pixels, the probability of positioning this fault
between two blocks is 2 × (5 – 1)/(48 – (5 – 1))= 0.19. From
Table 2, the maximum factor of faults of class 1 and 2 is
0.19%, so the probability of wrongly classifying large faults
is 19% × 0.19% = 0.036. Thus the probability for the thick-
est yarn is about 2.5% and so the error of wrongly classify-
ing of large faults is acceptable.
Images of standard boards are used for the estimation
of the fault weights (W vector). We defined a numerical
range from 0 to 100 for regions of apparent grades as pre-
sented in Table 3. It is possible to define any other range
for the region of apparent grades, but we used this kind of
region to present a scale similar to the percentage values.
There is an indicator value for each grade region. A grade
region is defined on the basis of the frequency of faults in
standard images. In grade A for the best quality, there are
many small faults, so the starting value is selected as 20
instead of zero. Other regions are defined with equal
ranges. As shown in Table 3, the indicator values for grades
Table 2 Threshold values for classification of fault blocks and calculated factors for images of standard boards.
Category Grade Tfm Tfv PFF PHF PLF PNF
I
A
B
C
D
0.32
0.31
0.28
0.29
0.16
0.15
0.16
0.16
0.01
0.19
0.03
0.12
0
0
0
0
0.91
3.16
1.37
3.46
25.94
39.49
48.12
58.28
II
A
B
C
D
0.35
0.40
0.30
0.32
0.18
0.19
0.16
0.17
0
0
0.11
0.12
0
0
0
0
1.01
1.46
1.26
2.03
50.44
56.39
43.1
39.25
III
A
B
C
D
0.25
0.26
0.30
0.29
0.13
0.13
0.17
0.18
0.01
0.11
0.77
1.86
0
0
0
0
1.26
1.61
10.49
8.24
31.03
34.75
29.8
29.4
IV
A
B
C
D
0.24
0.20
0.20
0.20
0.11
0.14
0.14
0.15
0.02
2.75
5.07
7.54
0
0.11
2.18
7.32
1.07
6.25
5.36
0
23.53
14.26
10.57
6.41
V
A
B
C
D
0.37
0.21
0.16
0.16
0.20
0.15
0.12
0.13
5.72
6.03
18.26
15.19
0
13.45
0
14.06
11.81
5.16
13.65
1.64
36.78
22.51
7.26
8.38
VI
A
B
C
D
0.18
0.25
0.20
0.19
0.13
0.15
0.15
0.15
2.96
6.06
14.4
17.3
4.74
0
12.31
17.43
10.54
14.4
3.66
0
23.17
24.88
14.71
10.35
Figure 5 Various states of a 5 pixel fault which is located
between two blocks for the thinnest yarn.
Table 3 Region of grades indexes and indicator values of
standard boards.
Grade of
appearance
Indicator value ID
Region of apparent
grade
A 25 Less & 20–40
B 50 40–60
C 70 60–80
D 90 80–100 & above
10. Grading of Yarn Appearance Using Image Analysis and Artificial Intelligence Technique D. Semnani et al. 195 TRJ
B, C and D are the middle values of the related regions. In
grade A, the indicator value is selected near to the starting
value for the tighter condition of this grade.
To obtain the best fault weights, the initial weights are
selected for different categories by the trial-and-error
method. Then the initial weights are introduced to a Per-
ceptron artificial neural network (Figure 6). For each cate-
gory, there is an independent neural network with its
category weights and grade indicator value. The networks
are Perceptron neural nets with two layers [16]. The pri-
mary layer has four nodes as input and the secondary layer
is a fuzzy layer with one fuzzy node. The secondary layer is
a nominal node during training procedure of network, but
for grading usage, this node is converted to a fuzzy node
with grading condition (Table 3).
The neural nets are trained using the initial weights and
indicator values with 10 000 epochs and a training rate of
0.1. Calculated weights and minimum error of training for
each category are shown in Table 4.
As shown in Table 4, weights of faults seem to be
dependent on the yarn count region in the different cate-
gories. The difference between the weight of large faults
W1 and others for thin yarns seems more than thick yarns.
These weights are confirmed by related faults classes based
on their shape and configuration. This is a good reason for
confidence in the presented grading method.
In category I, the weight of class 1 of faults W1 is more
important among weights. Therefore, for this category
Figure 6 Perceptron artificial neural network with a fuzzy
layer.
Table 4 Fault weights which are calculated from image of standard boards by neural nets and minimum error of training for
neural nets.
Category Grade W1 W2 W3 W4
Grade index by
modified weight
factor from ANN
SSE Minimum error
I
A
B
C
D
29.999 1.999 1.999 1.199
33.221
59.363
61.334
80.393
322.649 18.666
II
A
B
C
D
249.99 24.99 24.99 0.241
37.397
50.077
69.375
90.190
154.117 12.711
III
A
B
C
D
24.891 1.891 1.891 1.041
34.934
41.957
70.024
92.485
169.539 14.654
IV
A
B
C
D
6.377 5.077 2.877 0.977
26.195
50.008
69.147
91.509
4.432 1.923
V
A
B
C
D
3.697 2.397 0.167 0.027
24.112
56.002
69.983
90.359
36.942 3.995
VI
A
B
C
D
4.136 0.939 0.789 0.189
29.389
41.128
76.785
89.876
144.028 11.282
11. 196 Textile Research Journal 76(3)TRJTRJ
large faults have more effect on the grading of the appar-
ent quality of the yarn. This situation is seen for categories
II and III too. Therefore, it appears that the effect of large
and medium faults is similar for these categories, so all of
the tightened faults are classified in class 1 of faults.
In categories IV and V, the weights of tangled faults are
important. In these categories, both PFF and PHF have
effects on yarn appearance. The effect of spread faults is less
than tangled faults, but the difference between these faults
andh tangled faults is less than in the previous categories.
In category VI, which is related to thick yarns, small and
spread faults have more effect on yarn appearance in com-
parison with the previous categories, although the weight
of these faults is less than that of tangled faults.
The results show that the estimated weights for whole
categories are confirmed by the nature of the faults. Fur-
thermore, the minimum errors of training for neural nets
are acceptable (Table 4). Consequently this method of
grading can be used for grading of every type of yarn inde-
pendent of the raw material and the spinning process. In
spite of this, it is possible to subdivide the grade of appear-
ance of the yarn from four grades of ASTM to more
detailed grades as suggested in Table 5.
Conclusion
In this research, we attempted to develop a computer
vision method for detecting and classifying of yarn faults. A
new method has been presented for the grading of yarn
appearance based on standard images by using neural nets
to define the linear classifiers for each category of yarn
count. In this method, the grading of yarn appearance is
based on computer vision and analyzing the images of yarn
wound on a board. The maximum error of the training for
neural nets is not very great and so it is possible to use cal-
culated weights in linear classification criteria for each cat-
egory of yarn count. This method is similar to human vision
and its experimental conditions are based on the ASTM
standard method. The results showed that this method can
be used for classification of apparent faults of various yarn
counts and grading them in different classes.
The presented method is independent of the nature of
the faults and it performs on the basis of their apparent
parameters such as entanglement and size of faults. There-
fore it should be possible to develop this method for the
grading of other types of yarn such as worsted, woolen, fila-
ment, high bulk and textured yarns.
Literature Cited
1. Mahli, R. S., and Batra, H. S., Standard Method for Grading
Cotton Yarns for Appearance, Annual Book of ASTM Stand-
ard , Part-24, Section D 2255, 343–348 (1972).
2. Cybulska, M., Assessing Yarn Structure with Image Analysis
Method, Textile Res. J. 69(5), 369–373 (1999).
3. Neval, A., Lawson, J., Gordon, J., Kendall, W., and Bonneau,
D., System for Electronically Grading Yarn, U.S. Patent
No.5541734 (1994).
4. Neval, A., Lawson, J., Gordon, J., Kendall, W., and Bonneau,
D., System and Method for Evaluation Predicted Fabric Qual-
ities, U.S. Patent No.6130746 (1994).
5. Nevel, A., Avser, F., and Rosales, L., Graphic Yarn Grader,
Textile Asia 27(2), 81–83 (1996).
6. Rong, G. H., and Slater, K., Analysis of Yarn Unevenness by
Using a Digital Signal Processing Technique, J. Textile Inst.
86(4), 590–599 (1995).
7. Rong, G. H., Slater, K., and Fei, R., The Use of Cluster Anal-
ysis for Grading Textile Yarns, J. Textile Inst. 85(3), 389–396
(1995).
8. Morris, W. J., and Roberts, A. S., Some Causes of Variation in
False Twist Bulked Yarns, J. Textile Inst. 57, 217–229 (1966).
9. Zhu, R., and Ethridge, M. D., Prediction Hairiness for Ring
and Rotor Spun Yarns and Analyzing the Impact of Fiber
Properties, Textile Res. J. 67(9), 694–698 (1997).
10. Booth, J. E., “Principles of Textile Testing,” Third Edition,
Butterworths, London, 1974.
11. Grosberg, P., and Iype, C., “Yarn Production,” The Textile
Institute, Manchester, UK, 1999.
12. Howell, H. G., Mieszkis, K. W., and Tabor, D., “Friction in
Textiles,” The Textile Institute, Manchester, UK, 1959.
13. Strack, L., “Image Processing and Data Analysis,” Cambridge
University Press, Cambridge, UK, 1998.
14. Fukunaga, K., “Statistical Pattern Recognition,” Second Edi-
tion, Academic Press, West Lafayette, IN, 1990.
15. Zimmermann, H. J., “Fuzzy Set Theory,” Third Edition, Klu-
wer Academic Publishers, Massachusetts, 1996.
16. Fausett, L., “Fundamentals of Neural Networks,” Prentice
Hall International, NJ, 1994.
Table 5 Suggested grades for grading of yarns based on
appearance.
Grade of yarn appearance
based on ASTM grading
Developed
grades
Region of index
of degree
A
A+
A
A–
0–20
20–30
30–40
B
B+
B
40–50
50–60
C
C+
C
60–70
70–80
D
D+
D
D–
80–90
90–100
Above 100
View publication statsView publication stats