Abstract

This paper has investigated the porosity of knitted fabrics using digital imaging techniques. A number of different methods have been proposed to determine the porosity of knitted fabrics, which include digital imaging, geometrical modeling, and air permeability. Digital imaging is an adequate technique to determine the porosity of high-porosity fabrics. In this work, eight types of knitted structures with eight different stitch lengths were produced on a flat-bed knitting machine. Porosity was determined using digital imaging techniques based on the method of threshold and pixel count, using a computer program developed for this work. The study consisted also of validating the results by including the data from two tested samples—from each set of knits throughout the use of regression equations which demonstrated that there is good correlation between the black mask and white mask images.

1. Introduction

The structure of a knitted fabric is vital as it provides several benefits. The fabric structure influences properties like comfort, drape, elasticity, and handling amongst many others.

Porosity of textiles is defined as a void part of the textile’s full volume [1]. Furthermore, interyarn porosity, that is, the percentage void between the yarns of the knitted fabrics, is characterized by the pore dimension and distribution is a function of fabric geometry.

Previous theoretical studies of knitted fabric geometry focused on defining the shape of the loop. In geometrical models [24], the loop shape was first assumed and then geometrical parameters were adjusted to fit the experimental data. Knitted fabric structures consist of various cross sections. Based on his geometrical modeling work, Suh [4] assumed that yarns have uniform diameter and circular cross section while the curve parts of the loop represent the arc of a circle.

In addition, force analysis was used to investigate the mechanics of knitted fabrics [58]. Geometrical and physical principles were studied to assume the loop shape function, which was improved by adopting the buckled elastic rod theory [8]. However, empirical methods were still used to fit these models to experimental results [4, 810].

Karaguzel [11] calculated the pore size and pore volume values of plain knitted fabrics by using image analysis and fluid extrusion procedures. He deduced that there was a significant difference between the measured and estimated values. Using computer image analysis, Wilbik-Halgas et al. [12] studied the surface porosity of plain doubled-layered and lining knitted fabrics. It was concluded that transmission of air as opposed to water vapor through knitted fabrics is a function of the thickness and surface porosity.

Benltoufa Fayala et al. [13] used the method of geometry modeling for determining the porosity of jersey structures. Furthermore, Dias and Delkumburewatte [14] came forward with a theoretical model to predict the porosity of knitted fabric structures. They found that porosity depended on progression of relaxation and other fabric parameters.

Ogulata and Mavruz [15] affirmed that there are three main factors that influenced knitted fabric porosity:(1)cross-sectional area of each pore;(2)depth of each pore or the thickness of the fabric;(3)the number of pores per unit area or the number of courses and wales per unit area.

The aim of this study is to use image analysis to assess the porosity of knitted fabrics produced on V-flat-bed knitting machine (FKM). The knitting variables are loop length and stitch density.

2. Materials and Methods

2.1. Knitting

Investigations were carried out on four sets of knitted fabrics, namely, plain (double jersey), rib , rib , and single jersey. For plain fabrics, two sets of needles were used and the fabric is usually the same on the back side and face side. Plain fabrics do not have the tendency to curl. The face side and the backs side of rib appear the same due to one vertical row of stitches that form on both of the faces. Rib fabrics have the characteristic of high stretch. Similar to rib , the front and back sides of rib are double faced and extensible but have two vertical rows. No curling occurs in rib and rib knits. Single-jersey knitted structures were made form single set of needles. Both sides of the fabric are distinct with fine ribs running in the course direction on the front side of the fabric and semicircular loops on the reverse. Examples of rib are shown in Figure 1.

A hand driven flat knitting machine was used to produce the samples:machine brand: Flying Tiger;gauge: 5 G;length: 36 inches;machine number: 0801879.

Woolen yarns of linear density 1.75 Ne (355.5 Tex) were knitted on a 5-gauge knitting machine. The knitted fabrics were produced by varying the tension of the carriages at different consecutive 8 numbers (levels). The setting includes increasing or decreasing the carriage tension to vary the stitch length of the knitted samples. Table 1 shows the adjustment of the tensions values onto which each knitted sample was produced. Additionally, single-jersey fabrics were knitted on a circular knitting machine (CKM) at eight different stitch levels, with cotton yarn count 20/1 Ne, and subjected to similar testing carried out as for the flat-bed knits. Cotton jersey is the most frequent type of knit.

2.1.1. Determination of Wales per Inch (WPI), Course per Inch (CPI), and Stitch Density

The wales per inch (WPI) and course per inch (CPI) count of the knitted samples were measured according to ASTM D8007-15e1 [16]. The stitch density was calculated as follows:(see [17]). Stitch length is theoretically the single length of yarn which includes one needle loop and half of a sinker loop between that needle loop and the adjacent needle loop. The length is measured in millimeters (mm). Postle [18] put forward a general formula to describe the tightness factor which was defined as below in (2). The tightness factor was calculated for the single-jersey structures by the given equation as follows:where tex is the linear density and is the stitch length (), measured in millimeters (Horrocks and Anand [19]).

2.2. Determining the Percentage Voids (Porosity) Based on Digital Image Analysis
2.2.1. Capturing the Images of Knitted Fabrics

Digital image analysis technique was used to measure the porosity of knitted fabric pictures and determining the pixel count of the images. The images were captured using a Fujifilm digital camera, 14.0 MP from assumed standard distance measured at 35 cm vertically between the camera lenses and the fabric sample, placed on a uniform white background. All images were captured during daytime whereby illumination of samples by sunlight may be assumed to be constant.

Thus the analysis of the two-dimensional images relies on processing the acquired images using a computer and digital image analysis software, MATLAB® R14. The captured images were then magnified by 12% using Adobe Photoshop, so that different areas of the samples’ digital image could be subjected to analysis. The areas were selected at random.

2.2.2. Thresholding of Images

The actual measurements of porosity were done on binary images which consist of only two gray levels, obtained by using the gray level histograms in Adobe Photoshop. The gray levels above the mean were converted to black and all gray levels below the mean were converted to white. The difference between the yarn and the background was determined through thresholding. The RGB images were initially converted to gray scale and then to black and white monochromatic picture and finally to binary images with the help of the histogram. Initially, the binary image was completely white. With the help of the “minimum” option, black pixels were added to the image to mimic the real image. In due course, the appearance of the knitted fabric was compared to the real image.

Firstly, a “white mask” image was obtained showing the yarns as white and the resulting background as black. Then the black mask image was secured showing the yarns as black and the background as white.

2.2.3. Determining the Pixel Count

After securing distinct outlines of the “white mask” and “black mask” images, respectively, the number of pixels for each of the images was determined. For example, for the “white mask” images, the areas occupied by the yarns were seen as white while the pore areas were seen as black. Exactly the same procedure was adopted for the processing of “black mask” images. A Pixel Count algorithm was written in M-File, MATLAB, to quantify the amount of black or white pixels in the binary images. The pixel count algorithm detects the quantity of black or white pixels depending on the threshold value set in the algorithm.

For instance, Figures 2 and 3 are the black mask and white mask images, respectively, of the rib fabric at stitch cam 15; threshold value is 181 for both images, which means that the range 181–255 represents the black regions for both images. Therefore, threshold value 0–181 represents the white regions of the images.

Figures 2 and 3 show rib fabric at stitch cam 15 with threshold value 181 for CKM and the macroscopic view of single-jersey structure form FKM is shown in Figure 4. The threshold leveling histograms are shown next to each fabric sample. The threshold values varied for the different types of knitted samples. The slider as shown in Figures 2 and 3 was moved until distinct images of the yarns were observed.

The histogram graphs of the images represent the tonal range of the images that is the images’ brightness values. The histograms are also indicating how much of the image is actually pure black (the highest point of the brightness of an image) and the quantity that falls between black and white. As shown in Figures 2 and 3, the histogram is the black “mountain range.” This implies that the higher the histogram appears over a certain brightness level in the gradient, the more distinct are the outlines of the image. The lower the histogram is over a certain brightness level in the gradient, the less of the image appears at that brightness level.

Firstly the pixel count of the black region for both white masked and black masked sets of images was determined with the help of the algorithm. The set threshold values were minimum 165 and maximum 255, meaning that the algorithm computes the number of black pixels within that threshold range. This procedure was repeated for all fabric images together with their respective threshold values.

Then the pixel count of white region was calculated. In this case, the minimum value was zero and maximum 181. Thus the algorithm computes the pixel count of only the white areas in the image. This procedure was repeated for all fabric images as mentioned previously. The pixel count values were recorded, respectively, for the knits as shown in Tables 2 and 3. The images being a two-dimensional matrix of real/imaginary numbers being presented by a definite number of bytes provide the pixel count values for the white mask images and black mask images, respectively.

The Algaba [20] equation was used to obtain the percentage cover for both black mask and white mask images, as follows:where BM1 is black mask for zone 1, BM2 is black mask for zone 2, WM1 is white mask for zone 1, and WM2 is white mask for zone 2.

3. Results and Discussion

Fabric properties (stitch length, course count per cm, and wale count per cm) and the experimental porosity values measured are presented in Tables 2 and 3 for FKM and CKM knits, respectively. Since the wale count per cm normally depends on the machine settings, the porosity values would vary. From the two tables, the fabrics having the lower course count per cm have the higher the percentage porosity. Therefore, increasing the stitch levels resulted in looser fabrics, thereby increasing the porosity. Microscopic views of the pores were observed for the single-jersey CKM structures from pictures taken using a digital microscope.

3.1. Effect of Knit Parameters on Pore Size

Image analysis was used to measure the pore size (porosity) as well as assess the percentage porosity of the samples. MATLAB was used to obtain the areas of individual pores detected with pixels. Firstly, the black pixels were calculated for the black mask and white mask images; then the white mask images were calculated. The percentage of porosity was then calculated.

The basic structural parameters and the percentage porosity values obtained from image analysis system for all sets of samples are enumerated in Tables 2 and 3. It can be observed from both tables that the percentage porosity values decreased with increase in course density. The image analysis results show that pore size increased with increase in stitch cam levels, which must be due to the increase in stitch density.

The effect of magnifying of the images of fabric structures is shown in Figure 5. A single-jersey structure (stitch cam 15) is illustrated as example.

The grayscale images of the magnified samples would allow determination of the area occupied by the black and white mask, which would in turn provide the information about percentage void. The measured percentage porosity values using image analysis algorithm are then related to the fabric geometry of the fabrics. The values are given in Tables 4 and 5.

3.2. Effect of Fabric Tightness

The tightness factor is the parameter which measures the tightness of the fabric; that is, with an increase in tightness (or decrease in slackness), the tightness factor of the knitted structure increases. Fabric tightness is a parameter which shows the level of tightness in a knitted fabric. The interyarn pores will potentially be smaller in fabrics knitted at high stitch lengths.

As shown in Table 2, the lowest stitch lengths for the set of structures show low porosity values. Moreover, these increase gradually as the stitch cams were adjusted to higher values, and consequently the loops’ size increases. Thresholding the images provides a virtual reality to binary image giving reliable white and black mask count values.

3.3. Regression and Correlation

For each fabric type, the first eight sets of values were fed into an Excel worksheet to obtain the linear regression equations and correlation values. The ninth and tenth sets were used for validation as shown in Tables 6 and 7, respectively.

3.4. Results for FKM Samples
3.4.1. Effect of Stitch Length on Percentage Porosity

The percentage porosity was plotted against the stitch length. It shows that, for the knitted structures, the correlation is high for black mask images ( for plain, for rib , for rib , and for single jersey). Therefore, the correlation values, , obtained from the statistical assessment are close without much variation.

Figures 69 also show the influence of the stitch length on percentage porosity. For rib rather poor correlation was observed as value for white mask image = 0.669 and for black mask image = 0.884.

3.4.2. Validating Correlation and Regression

Table 6 shows the correlation values for the different parameters and experimental values involved for FKM knits.

3.5. Results for CKM Single-Jersey Samples

From Figures 10 and 11 it can be concluded that the stitch length is inversely proportional to the tightness factor. Percentage porosity decreases for increasing tightness factor whereas the percentage of porosity increases for increasing stitch length.

The values indicate that the correlation is superior for the black mask images to the white mask ones. At this point, it is necessary to observe the trend. The influence of stitch length on percentage porosity is significant because the correlation index (for black mask) with a slight increase for the white mask at .

Figure 12 represents the percentage of porosity against stitch density and Figure 13 represents the tightness factor against stitch length. It shows that the stitch density is inversely proportional to porosity and tightness factor is inversely proportional to stitch length, respectively. It must also be emphasized that in most cases black mask images correlate more than white mask images. In fact, an increase in the stitch density implies a reduction in the volume of pores in knitting and so a reduction in porosity. However, the loop length also has an impact on the stitch density. The porosity values follow the trend of the predicted model values.

3.6. Experimental Results Used for Validation

Further data was generated from two sets of identical knitted fabrics for the purpose of validation as shown in Tables 7 and 8, respectively. The values generated were fed into the regression equations.

3.7. Modeling

The model values of percentage porosity are calculated by substituting the knitting parameters in the equations in Tables 3 and 4. For the calculation of the model values, the percentage of porosity and the stitch length of the knitted fabrics are taken into consideration. These two items, as indicated previously, are the main factors that acted as the main agent in determining fabric porosity. The model values of ninth and tenth knitted tested samples experimental values of the % porosity against the % characteristics of the fabrics were computed. Following that, the percentage error was calculated.

The percentage error for the additional knitted samples is shown (Table 8).

3.8. Predictive Model of the Knitted Fabric Porosity Parameters

Tables 4 and 8 present the comparison of the experimental and predicted values of the porosity parameters. Percent errors are usually taken at their absolute values; the positive percentage errors indicate that the experimental values are too high and the negative numbers show that the experimental values are too low. The negative percent errors mean that the observed results are lower than the expected. Arguably, it is stated that a negative error could mean the same thing as the positive error. For example, if there is a chance of making a 25% error and a −7% error, then the negative percent error is more accurate. The percentage errors for some samples are not in good agreement and some are much above (6.03% for rib CKM) and some below at −3.94 than zero. The reason may lie in the fact that these samples were threshold, so that blackening occurred within the image. The result in Table 4 shows that the model values of porosity parameters deviate from the experimental ones by percentage error ranging from 6.03 to −3.94. On the contrary the FKM knit samples, Table 8, do not exhibit much variation in their values, but major deviation can be observed at values 7.98 and 6.81 for porosity against stitch length.

This work shows that porosity may be predicted if the stitch length of the knitted fabric is known. These results show basically that the aforementioned statement on percentage error is compatible with the correlation values obtained from the graphs. The samples which demonstrate that the percentage error is negative mean that there is more accuracy in the negative percent error. Some values show near to 0% error, for instance, the percentage porosity for the black mask images, for the plain structure in Table 4. Single jersey for porosity against stitch density also shows 0.36 error for percentage porosity against stitch length. Thus, the analysis generally shows that the use of the black mask images will be more reliable in predicting the porosity.

4. Conclusion

The prevailing purpose of this work was to use digital image analysis to determine the porosity of knitted fabrics. Determining what porosity means and the factors influencing it in knitted fabrics may find its application in sun-protecting clothes and thermophysiological comfort of textiles. The results obtained by measuring the number of pixels in a given category of gray scale are compatible with the model values obtained throughout the validation exercise. The tighter the knitted specimens the smaller the pores. Increasing the stitch cam result in higher loop length and looser structure. The main advantage of using digital image analysis to assess porosity of textiles is that there is greater accuracy and higher reproducibility. Digital image analyses of textiles provide simple, systematic, and proficient methodology for determining the porosity. In addition image correction techniques such as gray scaling and thresholding allow for an evident identification of the knitted structures. It is however recommended to determine fabric porosity through structural modeling. An interesting further research project is to implement the concept of biomimicry. Using the concept of reverse engineering, organisms which exhibit anti-UVR features can be studied. The characteristics can be simulated and transposed onto textile surfaces. Since biomimicry is related to sustainability, this approach seems to be well motivated in line with the concept. A fresh field of textile can therefore be developed with desired properties of anti-UVR and comfort.

Competing Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.