<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Archiving and Interchange DTD v2.3 20070202//EN" "archivearticle.dtd">
<article xml:lang="EN" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" article-type="methods-article">
<front>
<journal-meta>
<journal-id journal-id-type="publisher-id">Bohr. Scit.</journal-id>
<journal-title>BOHR International Journal of Smart Computing and Information Technology</journal-title>
<abbrev-journal-title abbrev-type="pubmed">Bohr. Scit.</abbrev-journal-title>
<issn pub-type="epub">2583-2026</issn>
<publisher>
<publisher-name>BOHR</publisher-name>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="doi">10.54646/bijscit.2021.12</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Methods</subject>
</subj-group>
</article-categories>
<title-group>
<article-title>An algorithm to extract the costume&#x2019;s size by fuzzy logic</article-title>
</title-group>
<contrib-group>
<contrib contrib-type="author" corresp="yes">
<name><surname>Nguyen</surname> <given-names>Mong Hien Thi</given-names></name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
<xref ref-type="corresp" rid="c001"><sup>&#x002A;</sup></xref>
</contrib>
<contrib contrib-type="author">
<name><surname>Tran</surname> <given-names>Minh Hieu</given-names></name>
<xref ref-type="aff" rid="aff2"><sup>2</sup></xref>
</contrib>
</contrib-group>
<aff id="aff1"><sup>1</sup><institution>Faculty of Mechanical Engineering, University of Technology-VNU-HCM</institution>, <addr-line>Ho Chi Minh City</addr-line>, <country>Vietnam</country></aff>
<aff id="aff2"><sup>2</sup><institution>Department of Electric-Telecommunication Electronic Technologies, Technical and Economic College</institution>, <addr-line>Ho Chi Minh City</addr-line>, <country>Vietnam</country></aff>
<author-notes>
<corresp id="c001">&#x002A;Correspondence: Mong Hien Thi Nguyen, <email>ntmhien14719@hcmut.edu.vn</email></corresp>
</author-notes>
<pub-date pub-type="epub">
<day>10</day>
<month>03</month>
<year>2021</year>
</pub-date>
<volume>2</volume>
<issue>1</issue>
<fpage>9</fpage>
<lpage>14</lpage>
<history>
<date date-type="received">
<day>14</day>
<month>02</month>
<year>2021</year>
</date>
<date date-type="accepted">
<day>27</day>
<month>02</month>
<year>2021</year>
</date>
</history>
<permissions>
<copyright-statement>Copyright &#x00A9; 2021 Nguyen and Tran.</copyright-statement>
<copyright-year>2021</copyright-year>
<copyright-holder>Nguyen and Tran</copyright-holder>
<license xlink:href="https://creativecommons.org/licenses/by-nc-nd/4.0/"><p>This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.</p></license>
</permissions>
<abstract>
<p>This study presents the algorithm to extract the size of the ready-to-wear clothing, which is men&#x2019;s T-shirts with f. house branding. The table has four sizes, and the size labels are signed by S, M, L, and XL. Authors use fuzzy logic to establish the algorithm model. In this model, the input variables have three inputs, which are the body height, weight, and bust girth measurements. In the output variables are the results of size coding. From this size chart table, the authors choose the primary dimensions to be the input variables of the algorithm. The first dimension is a vertical dimension, and the other two dimensions are horizontal dimensions. The vertical dimension is height. Two horizontal dimensions are weight and bust girth. The sizes in the table are encoded to be used for the algorithm results, and the output is the encoded sequence number, which is also the size to be searched. After running this simulation program, measurements of three primary dimensions in size are tested on customers using two methods for two objects. An algorithm for extracting the size of ready-to-wear clothes by the fuzzy logic method reduces the time it takes to choose the size that fits body measurements. In addition, this research direction is consistent with the trend of digital development.</p>
</abstract>
<kwd-group>
<kwd>algorithm</kwd>
<kwd>fuzzy logic</kwd>
<kwd>ready-to-wear</kwd>
<kwd>size</kwd>
<kwd>sizing system</kwd>
</kwd-group>
<counts>
<fig-count count="8"/>
<table-count count="7"/>
<equation-count count="0"/>
<ref-count count="19"/>
<page-count count="6"/>
<word-count count="3043"/>
</counts>
</article-meta>
</front>
<body>
<sec id="S1" sec-type="intro">
<title>1. Introduction</title>
<p>Each measurement method has its advantages and disadvantages, and the parameters after the measurements will be used in different fields in the garment industry. In Vietnam, having a sizing system table, which was establishment in 2009. This size chart table has been 12 years old by now (<xref ref-type="bibr" rid="B1">1</xref>). For men&#x2019;s sizes, there are a total of 26 sizes, of which 14 are for boys and 12 for adult men. According to a research (<xref ref-type="bibr" rid="B2">2</xref>), fuzzy clustering data mining may be used to create a size system using the anthropometric data of girls between the ages of 20 and 30. Every form of apparel comes in a variety of sizes, such as the shirtdress in Technical Reference (<xref ref-type="bibr" rid="B3">3</xref>), which includes 15 sizes and 5 main measurements. Technical Reference JML 3,247 women&#x2019;s pants (<xref ref-type="bibr" rid="B4">4</xref>) have 11 sizes and 4 primary dimensions, whereas Technical Reference CERVO pants (<xref ref-type="bibr" rid="B5">5</xref>) have 11 sizes and 5 primary dimensions. The size chart of Novelty shirt has 10 sizes and 4 primary dimensions. Novelty trousers has 9 sizes and 5 primary dimensions. The Sanding shirt has 9 sizes and 5 primary dimensions. The symbol for each size number has four information about height, bust, waist circumference, buttock circumference, and each height group have three size group: A, B, and C. The new sizing standards in the world also show that there are many sizes for each group of objects, such as ISO 8959-3: 2017 with 16 sizes for three kinds of body groups (<xref ref-type="bibr" rid="B6">6</xref>). In recent years, there have been many studies on the establishment of the size chart, such as in the study (<xref ref-type="bibr" rid="B7">7</xref>). The authors measured a sample of 500 men ranging from18&#x2013;35 years old with 30 measurement parameters. The size chart for the Vietnam People&#x2019;s Army includes 52 sizes (<xref ref-type="bibr" rid="B8">8</xref>). In Japan, JIS L4004: 1997 men&#x2019;s clothing sizing system, has 10 body shapes (<xref ref-type="bibr" rid="B9">9</xref>). Another study correlates the classification of the body shapes which is the size chart developed in Korea after scanning on a 3D human body scanner. There are four body types, in which the body shape is classified based on the only drop of bust circumference (<xref ref-type="bibr" rid="B10">10</xref>, <xref ref-type="bibr" rid="B11">11</xref>). The authors of a research (<xref ref-type="bibr" rid="B12">12</xref>) developed a sizing method for 7,800 kids, aged 6 to 18, who were separated into two age groups for the investigation of body forms. The authors of the study on (<xref ref-type="bibr" rid="B13">13</xref>) created an 11-size women&#x2019;s size chart with the major measurements of breast girth and waist girth. The sizing system tables of each country were different. For example, the American size chart has 43 dimensions (<xref ref-type="bibr" rid="B14">14</xref>), the UK size chart has 20 dimensions (<xref ref-type="bibr" rid="B15">15</xref>), and the Australian size chart has 17 dimensions. It shows that each sizing system table has different sizes, so choosing the right size for your body shape will take a long time, causing fatigue as well as damage to the product because of full testing. Until now, choosing the size of ready-to-wear clothes was still based on the parameters printed on the product packaging. On this basis, the research of an algorithm to extract the size of the costume to choose the fit size in a short time from the size chart table is very urgent in the field of clothing trading and is in line with the development trend of 4.0 today.</p>
</sec>
<sec id="S2">
<title>2. Material and methodology</title>
<sec id="S2.SS1">
<title>2.1. Material</title>
<p>There are five contents for this study. Firstly, choose the primary dimensions in the sizing system table. Secondly, create a simulation model for selecting the fit size. Thirdly, establish a simulation model of selecting the fit size. Fourthly, test of the simulation model&#x2019;s results. Finally, draw the flowchart to extract the size.</p>
</sec>
<sec id="S2.SS2">
<title>2.2. Methodology</title>
<p>The study uses the fuzzy logic method, which is used in the design of the algorithm to extract the size. There is one output and three inputs in this model. Fuzzy sets serve as the foundation for fuzzy logic&#x2019;s rules. In this study, a triangular fuzzy set is a particular kind of fuzzy set that is utilized for input variables. The Simulink simulation method is uses in the design of the sizes extraction model. The experimental method is applied in checking the results of size extraction through customers who buy new clothes and who are wearing these clothes.</p>
</sec>
</sec>
<sec id="S3">
<title>3. Results and discussions</title>
<sec id="S3.SS1">
<title>3.1. Choosing primary dimensions in the sizing system table</title>
<p>The research database is extracted from the technical document T-Shirt brand f. house of Phuong Dong Garment Joint Stock Company. This is an oversize T-Shirt (<xref ref-type="fig" rid="F1">Figure 1</xref>). The measurement parameters (<xref ref-type="table" rid="T1">Table 1</xref>) have been coded and the measurement positions are presented according to table 5.24. This table has 4 sizes and the size labels are signed by S, M, L, and XL. From the dimensions of the table, it shows that there are 2 primary horizontal dimensions (the weight dimension and the bust dimension). Vertical primary dimensions are not available for this product group. Therefore, an additional vertical primary dimension is required; the body height is chosen based on standards (<xref ref-type="bibr" rid="B16">16</xref>&#x2013;<xref ref-type="bibr" rid="B19">19</xref>). The height dimension comes from the size chart (<xref ref-type="bibr" rid="B1">1</xref>), and it is divided three groups. Group 1 arranges from 150 to 160 cm, group 2 arranges from 160 to 170 cm, and the group 3 arranges 170&#x2013;179 cm.</p>
<fig id="F1" position="float">
<label>FIGURE 1</label>
<caption><p>T-Shirt&#x2019;s measurement dimension positions.</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="bijscit-2021-12-g001.tif"/>
</fig>
<table-wrap position="float" id="T1">
<label>TABLE 1</label>
<caption><p>The size chart of the T- Shirt for f. house branding.</p></caption>
<table cellspacing="5" cellpadding="5" frame="hsides" rules="groups">
<thead>
<tr>
<td valign="top" align="left">Measurement dimensions<break/> (kg; cm)</td>
<td valign="top" align="center">Position</td>
<td valign="top" align="center">S</td>
<td valign="top" align="center">M</td>
<td valign="top" align="center">L</td>
<td valign="top" align="center">XL</td>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left">Weight</td>
<td valign="top" align="center"/><td valign="top" align="center">&#x003C;65</td>
<td valign="top" align="center">65&#x2013;73</td>
<td valign="top" align="center">73&#x2013;81</td>
<td valign="top" align="center">81&#x2013;90</td>
</tr>
<tr>
<td valign="top" align="left">Length</td>
<td valign="top" align="center">A</td>
<td valign="top" align="center">70</td>
<td valign="top" align="center">72</td>
<td valign="top" align="center">74</td>
<td valign="top" align="center">76</td>
</tr>
<tr>
<td valign="top" align="left">Shoulder</td>
<td valign="top" align="center">B</td>
<td valign="top" align="center">47</td>
<td valign="top" align="center">48</td>
<td valign="top" align="center">49</td>
<td valign="top" align="center">50</td>
</tr>
<tr>
<td valign="top" align="left">Width bust</td>
<td valign="top" align="center">C</td>
<td valign="top" align="center">50</td>
<td valign="top" align="center">52</td>
<td valign="top" align="center">54</td>
<td valign="top" align="center">56</td>
</tr>
<tr>
<td valign="top" align="left">Width hem</td>
<td valign="top" align="center">D</td>
<td valign="top" align="center">48</td>
<td valign="top" align="center">50</td>
<td valign="top" align="center">52</td>
<td valign="top" align="center">54</td>
</tr>
<tr>
<td valign="top" align="left">Sleeve length</td>
<td valign="top" align="center">E</td>
<td valign="top" align="center">24</td>
<td valign="top" align="center">24,5</td>
<td valign="top" align="center">25</td>
<td valign="top" align="center">25,5</td>
</tr>
<tr>
<td valign="top" align="left">Bicep</td>
<td valign="top" align="center">F</td>
<td valign="top" align="center">17</td>
<td valign="top" align="center">17,5</td>
<td valign="top" align="center">18</td>
<td valign="top" align="center">18,5</td>
</tr>
</tbody>
</table></table-wrap>
</sec>
<sec id="S3.SS2">
<title>3.2. Designing the algorithm to extract the size ready-to-wear</title>
<p>The size chart table has 3 different height groups, each of which has 4 sizes (<xref ref-type="table" rid="T2">Table 2</xref>).</p>
<table-wrap position="float" id="T2">
<label>TABLE 2</label>
<caption><p>The code table of the T- Shirt for f. house branding.</p></caption>
<table cellspacing="5" cellpadding="5" frame="hsides" rules="groups">
<thead>
<tr>
<td valign="top" align="left">Size</td>
<td valign="top" align="center">S</td>
<td valign="top" align="center">M</td>
<td valign="top" align="center">L</td>
<td valign="top" align="center">XL</td>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left">Coding size</td>
<td valign="top" align="center">1</td>
<td valign="top" align="center">2</td>
<td valign="top" align="center">3</td>
<td valign="top" align="center">4</td>
</tr>
<tr>
<td valign="top" align="left" colspan="5"><bold>Shape A(150&#x2013;160) (cm)</bold></td>
</tr>
<tr>
<td valign="top" align="left">Weight</td>
<td valign="top" align="center">&#x003C;65</td>
<td valign="top" align="center">65&#x2013;73</td>
<td valign="top" align="center">73&#x2013;81</td>
<td valign="top" align="center">81-90</td>
</tr>
<tr>
<td valign="top" align="left">Bust Weight</td>
<td valign="top" align="center">80</td>
<td valign="top" align="center">84</td>
<td valign="top" align="center">88</td>
<td valign="top" align="center">92</td>
</tr>
<tr>
<td valign="top" align="left" colspan="5"><bold>Shape B (160&#x2013;170) (cm)</bold></td>
</tr>
<tr>
<td valign="top" align="left">Weight</td>
<td valign="top" align="center">&#x003C;65</td>
<td valign="top" align="center">65&#x2013;73</td>
<td valign="top" align="center">73&#x2013;81</td>
<td valign="top" align="center">81-90</td>
</tr>
<tr>
<td valign="top" align="left">Bust girth</td>
<td valign="top" align="center">80</td>
<td valign="top" align="center">84</td>
<td valign="top" align="center">88</td>
<td valign="top" align="center">92</td>
</tr>
<tr>
<td valign="top" align="left" colspan="5"><bold>Shape C (170&#x2013;180) (cm)</bold></td>
</tr>
<tr>
<td valign="top" align="left">Weight</td>
<td valign="top" align="center">&#x003C; 65</td>
<td valign="top" align="center">65&#x2013;73</td>
<td valign="top" align="center">73-81</td>
<td valign="top" align="center">81-90</td>
</tr>
<tr>
<td valign="top" align="left">Bust girth</td>
<td valign="top" align="center">80</td>
<td valign="top" align="center">84</td>
<td valign="top" align="center">88</td>
<td valign="top" align="center">92</td>
</tr>
</tbody>
</table></table-wrap>
<p>The MISO model was selected for the fuzzy controller in this study. In there, the input has three variables (body height, weight, and chest circumference), one output (size to find), and is passed through the Fuzzy Logic Controller (<xref ref-type="fig" rid="F2">Figure 2</xref>). The size chart has three heights corresponding to four sizes. The first input variable has three membership functions, the second input variable has four membership functions, and the third input variable has four membership functions corresponding (<xref ref-type="fig" rid="F3">Figure 3</xref>). All three use triangular fuzzy sets and parameter intervals for each membership function of each variable as shown in <xref ref-type="table" rid="T3">Table 3</xref>.</p>
<fig id="F2" position="float">
<label>FIGURE 2</label>
<caption><p>The fuzzy logic model for extracting the T-Shirt size.</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="bijscit-2021-12-g002.tif"/>
</fig>
<fig id="F3" position="float">
<label>FIGURE 3</label>
<caption><p>The graph of membership functions for input variables: <bold>(A)</bold> The first input, <bold>(B)</bold> The second input, and <bold>(C)</bold> The third input.</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="bijscit-2021-12-g003.tif"/>
</fig>
<table-wrap position="float" id="T3">
<label>TABLE 3</label>
<caption><p>Measurement arrange of sizes for 2 output variables.</p></caption>
<table cellspacing="5" cellpadding="5" frame="hsides" rules="groups">
<thead>
<tr>
<td valign="top" align="left" colspan="2">Input 1 (height) (cm)<hr/></td>
<td valign="top" align="center" colspan="2">Input 2 (weight) (kg)<hr/></td>
<td valign="top" align="center" colspan="2">Input 3 (bust) (cm)<hr/></td>
</tr>
<tr>
<td valign="top" align="left">MF</td>
<td valign="top" align="center">Measurement</td>
<td valign="top" align="center">MF</td>
<td valign="top" align="center">Measurement</td>
<td valign="top" align="center">MF</td>
<td valign="top" align="center">Measurement</td>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left">Shape A</td>
<td valign="top" align="center">[145 155 165]</td>
<td valign="top" align="center">weight 64</td>
<td valign="top" align="center">[52 60 68]</td>
<td valign="top" align="center">Bust 50</td>
<td valign="top" align="center">[72 80 88]</td>
</tr>
<tr>
<td valign="top" align="left">Shape B</td>
<td valign="top" align="center">[155 165 175]</td>
<td valign="top" align="center">weight 69</td>
<td valign="top" align="center">[61 69 77]</td>
<td valign="top" align="center">bust 52</td>
<td valign="top" align="center">[76 84 92]</td>
</tr>
<tr>
<td valign="top" align="left">Shape C</td>
<td valign="top" align="center">[165 175 185]</td>
<td valign="top" align="center">weight 78</td>
<td valign="top" align="center">[70 78 86]</td>
<td valign="top" align="center">bust 54</td>
<td valign="top" align="center">[80 88 96]</td>
</tr>
<tr>
<td valign="top" colspan="2"/><td valign="top" align="center">weight 85</td>
<td valign="top" align="center">[77 85 93]</td>
<td valign="top" align="center">bust 56</td>
<td valign="top" align="center">[84 92 100]</td>
</tr>
</tbody>
</table></table-wrap>
<p>The output is the size of a lookup table. There are four sizes in total in the size chart, so there will be four membership functions for the output variable (<xref ref-type="table" rid="T4">Table 4</xref>).</p>
<table-wrap position="float" id="T4">
<label>TABLE 4</label>
<caption><p>The value of the output for the size to look for.</p></caption>
<table cellspacing="5" cellpadding="5" frame="hsides" rules="groups">
<thead>
<tr>
<td valign="top" align="left">MF</td>
<td valign="top" align="center">Coding size</td>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left">S</td>
<td valign="top" align="center">1</td>
</tr>
<tr>
<td valign="top" align="left">M</td>
<td valign="top" align="center">2</td>
</tr>
<tr>
<td valign="top" align="left">L</td>
<td valign="top" align="center">3</td>
</tr>
<tr>
<td valign="top" align="left">XL</td>
<td valign="top" align="center">4</td>
</tr>
</tbody>
</table></table-wrap>
<p>The matrix of fuzzy logic rules is built based on the &#x201C;max-min&#x201D; inference method (<xref ref-type="table" rid="T5">Table 5</xref>). This fuzzy logic model has 48 rules. In there, there are 16 rules for size S, 8 rules for size M, 12 rules for size L, and 12 rules for size XL.</p>
<table-wrap position="float" id="T5">
<label>TABLE 5</label>
<caption><p>The matrix of fuzzy logic rules.</p></caption>
<table cellspacing="5" cellpadding="5" frame="hsides" rules="groups">
<thead>
<tr>
<td valign="top" align="left">Shape</td>
<td valign="top" align="center" colspan="4" style="background-color: #ccccff;">Shape A<hr/></td>
<td valign="top" align="center" colspan="4" style="background-color: #fffcd6;">Shape B<hr/></td>
<td valign="top" align="center" colspan="4" style="background-color: #cccccc;">Shape C<hr/></td>
</tr>
<tr>
<td valign="top" align="left">Size</td>
<td valign="top" align="center" style="background-color: #ccccff;">S</td>
<td valign="top" align="center" style="background-color: #ccccff;">M</td>
<td valign="top" align="center" style="background-color: #ccccff;">L</td>
<td valign="top" align="center" style="background-color: #ccccff;">XL</td>
<td valign="top" align="center" style="background-color: #fffcd6;">S</td>
<td valign="top" align="center" style="background-color: #fffcd6;">M</td>
<td valign="top" align="center" style="background-color: #fffcd6;">L</td>
<td valign="top" align="center" style="background-color: #fffcd6;">XL</td>
<td valign="top" align="center" style="background-color: #cccccc;">S</td>
<td valign="top" align="center" style="background-color: #cccccc;">M</td>
<td valign="top" align="center" style="background-color: #cccccc;">L</td>
<td valign="top" align="center" style="background-color: #cccccc;">XL</td>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left">Weight (&#x003C;65)</td>
<td valign="top" align="center" style="background-color: #ccccff;">x</td>
<td style="background-color: #ccccff;"/>
<td style="background-color: #ccccff;"/>
<td style="background-color: #ccccff;"/>
<td valign="top" align="center" style="background-color: #fffcd6;">x</td>
<td style="background-color: #fffcd6;"/>
<td style="background-color: #fffcd6;"/>
<td style="background-color: #fffcd6;"/>
<td valign="top" align="center" style="background-color: #cccccc;">x</td>
<td style="background-color: #cccccc;"/>
<td style="background-color: #cccccc;"/>
<td style="background-color: #cccccc;"/>
</tr>
<tr>
<td valign="top" align="left">Weight (65&#x2013;73)</td>
<td style="background-color: #ccccff;"/>
<td valign="top" align="center" style="background-color: #ccccff;">x</td>
<td style="background-color: #ccccff;"/>
<td style="background-color: #ccccff;"/>
<td style="background-color: #fffcd6;"/>
<td valign="top" align="center" style="background-color: #fffcd6;">x</td>
<td style="background-color: #fffcd6;"/>
<td style="background-color: #fffcd6;"/>
<td style="background-color: #cccccc;"/>
<td valign="top" align="center" style="background-color: #cccccc;">x</td>
<td style="background-color: #cccccc;"/>
<td style="background-color: #cccccc;"/>
</tr>
<tr>
<td valign="top" align="left">Weight (73&#x2013;81)</td>
<td style="background-color: #ccccff;"/>
<td style="background-color: #ccccff;"/>
<td valign="top" align="center" style="background-color: #ccccff;">x</td>
<td style="background-color: #ccccff;"/>
<td style="background-color: #fffcd6;"/>
<td style="background-color: #fffcd6;"/>
<td valign="top" align="center" style="background-color: #fffcd6;">x</td>
<td style="background-color: #fffcd6;"/>
<td style="background-color: #cccccc;"/>
<td style="background-color: #cccccc;"/>
<td valign="top" align="center" style="background-color: #cccccc;">x</td>
<td style="background-color: #cccccc;"/>
</tr>
<tr>
<td valign="top" align="left">Weight (81&#x2013;90)</td>
<td style="background-color: #ccccff;"/>
<td style="background-color: #ccccff;"/>
<td style="background-color: #ccccff;"/>
<td valign="top" align="center" style="background-color: #ccccff;">x</td>
<td style="background-color: #fffcd6;"/>
<td style="background-color: #fffcd6;"/>
<td style="background-color: #fffcd6;"/>
<td valign="top" align="center" style="background-color: #fffcd6;">x</td>
<td style="background-color: #cccccc;"/>
<td style="background-color: #cccccc;"/>
<td style="background-color: #cccccc;"/>
<td valign="top" align="center" style="background-color: #cccccc;">x</td>
</tr>
<tr>
<td valign="top" align="left">Bust girth (50)</td>
<td valign="top" align="center" style="background-color: #ccccff;">x</td>
<td valign="top" align="center" style="background-color: #ccccff;">x</td>
<td valign="top" align="center" style="background-color: #ccccff;">x</td>
<td valign="top" align="center" style="background-color: #ccccff;">x</td>
<td valign="top" align="center" style="background-color: #fffcd6;">x</td>
<td valign="top" align="center" style="background-color: #fffcd6;">x</td>
<td valign="top" align="center" style="background-color: #fffcd6;">x</td>
<td valign="top" align="center" style="background-color: #fffcd6;">x</td>
<td valign="top" align="center" style="background-color: #cccccc;">x</td>
<td valign="top" align="center" style="background-color: #cccccc;">x</td>
<td valign="top" align="center" style="background-color: #cccccc;">x</td>
<td valign="top" align="center" style="background-color: #cccccc;">x</td>
</tr>
<tr>
<td valign="top" align="left">Bust girth (52)</td>
<td valign="top" align="center" style="background-color: #ccccff;">x</td>
<td valign="top" align="center" style="background-color: #ccccff;">x</td>
<td valign="top" align="center" style="background-color: #ccccff;">x</td>
<td valign="top" align="center" style="background-color: #ccccff;">x</td>
<td valign="top" align="center" style="background-color: #fffcd6;">x</td>
<td valign="top" align="center" style="background-color: #fffcd6;">x</td>
<td valign="top" align="center" style="background-color: #fffcd6;">x</td>
<td valign="top" align="center" style="background-color: #fffcd6;">x</td>
<td valign="top" align="center" style="background-color: #cccccc;">x</td>
<td valign="top" align="center" style="background-color: #cccccc;">x</td>
<td valign="top" align="center" style="background-color: #cccccc;">x</td>
<td valign="top" align="center" style="background-color: #cccccc;">x</td>
</tr>
<tr>
<td valign="top" align="left">Bust girth (54)</td>
<td valign="top" align="center" style="background-color: #ccccff;">x</td>
<td valign="top" align="center" style="background-color: #ccccff;">x</td>
<td valign="top" align="center" style="background-color: #ccccff;">x</td>
<td valign="top" align="center" style="background-color: #ccccff;">x</td>
<td valign="top" align="center" style="background-color: #fffcd6;">x</td>
<td valign="top" align="center" style="background-color: #fffcd6;">x</td>
<td valign="top" align="center" style="background-color: #fffcd6;">x</td>
<td valign="top" align="center" style="background-color: #fffcd6;">x</td>
<td valign="top" align="center" style="background-color: #cccccc;">x</td>
<td valign="top" align="center" style="background-color: #cccccc;">x</td>
<td valign="top" align="center" style="background-color: #cccccc;">x</td>
<td valign="top" align="center" style="background-color: #cccccc;">x</td>
</tr>
<tr>
<td valign="top" align="left">Bust girth (56)</td>
<td valign="top" align="center" style="background-color: #ccccff;">x</td>
<td valign="top" align="center" style="background-color: #ccccff;">x</td>
<td valign="top" align="center" style="background-color: #ccccff;">x</td>
<td valign="top" align="center" style="background-color: #ccccff;">x</td>
<td valign="top" align="center" style="background-color: #fffcd6;">x</td>
<td valign="top" align="center" style="background-color: #fffcd6;">x</td>
<td valign="top" align="center" style="background-color: #fffcd6;">x</td>
<td valign="top" align="center" style="background-color: #fffcd6;">x</td>
<td valign="top" align="center" style="background-color: #cccccc;">x</td>
<td valign="top" align="center" style="background-color: #cccccc;">x</td>
<td valign="top" align="center" style="background-color: #cccccc;">x</td>
<td valign="top" align="center" style="background-color: #cccccc;">x</td>
</tr>
</tbody>
</table></table-wrap>
<p>The structure to extract the size is shown in <xref ref-type="fig" rid="F4">Figure 4</xref>. There are three inputs, each of which has three membership functions for input 1, four for input 2, and four for input 3. According to the rule, one input membership function will link to one output membership function, producing one output that is the desired size.</p>
<fig id="F4" position="float">
<label>FIGURE 4</label>
<caption><p>The Anfis Model Structure.</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="bijscit-2021-12-g004.tif"/>
</fig>
<p>To see fuzzy logic rules in the space, choose Surface in the menu View show in <xref ref-type="fig" rid="F5">Figure 5</xref>.</p>
<fig id="F5" position="float">
<label>FIGURE 5</label>
<caption><p>Testing controller rules in Surface.</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="bijscit-2021-12-g005.tif"/>
</fig>
</sec>
<sec id="S3.SS3">
<title>3.3. Establishing the Simulink simulation model</title>
<p>The model has three inputs (the height, the weight, and the bust measurement) and one input (the size) as shown in <xref ref-type="fig" rid="F6">Figure 6</xref>. The height&#x2019;s measurement range is 145&#x2013;185 cm. The weight&#x2019;s measurement range is 52&#x2013;93 kg. The bust&#x2019;s measurement range is 72&#x2013;100 cm.</p>
<fig id="F6" position="float">
<label>FIGURE 6</label>
<caption><p>The Simulink simulation for T-Shirt-f. House.</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="bijscit-2021-12-g006.tif"/>
</fig>
</sec>
<sec id="S3.SS4">
<title>3.4. Testing the result to extract the T-Shirt&#x2019;s size</title>
<p>Testing is done in two ways. The first way is to take the correct measurements from the size chart and input them into the model, see the results after running, and then compare them with the size in the table (<xref ref-type="table" rid="T6">Table 6</xref>).</p>
<table-wrap position="float" id="T6">
<label>TABLE 6</label>
<caption><p>The result of testing for extracting the size by the first method.</p></caption>
<table cellspacing="5" cellpadding="5" frame="hsides" rules="groups">
<thead>
<tr>
<td valign="top" align="left">Size</td>
<td valign="top" align="center">S (1)</td>
<td valign="top" align="center">M (2)</td>
<td valign="top" align="center">L (3)</td>
<td valign="top" align="center">XL (4)</td>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left">Bust girth (cm)</td>
<td valign="top" align="center">88</td>
<td valign="top" align="center">92</td>
<td valign="top" align="center">96</td>
<td valign="top" align="center">100</td>
</tr>
<tr>
<td valign="top" align="left">Weight (kg)</td>
<td valign="top" align="center">62</td>
<td valign="top" align="center">70,5</td>
<td valign="top" align="center">76</td>
<td valign="top" align="center">85,5</td>
</tr>
<tr>
<td valign="top" align="left">Traditional method</td>
<td valign="top" align="center">S</td>
<td valign="top" align="center">M</td>
<td valign="top" align="center">L</td>
<td valign="top" align="center">XL</td>
</tr>
<tr>
<td valign="top" align="left">Fuzzy logic method</td>
<td valign="top" align="center">1</td>
<td valign="top" align="center">2</td>
<td valign="top" align="center">3</td>
<td valign="top" align="center">4</td>
</tr>
</tbody>
</table></table-wrap>
<p>The results show that they are true with the coding size in the table. The second way, testing the objectivity by two methods of extracting the size: the traditional method and the fuzzy logic method by inputting measurements of 3 dimensions of height, weight, and bust. In there, 7 men are using T-Shirts (f. house) and 3 people are trying on new products. The fit of products is evaluated scientifically according to the analysis of product appearance when T-Shirts are worn on 3 customers (<xref ref-type="fig" rid="F7">Figure 7</xref>). The images show in <xref ref-type="fig" rid="F7">Figure 7</xref> have the following serial number in <xref ref-type="table" rid="T7">Table 7</xref>. The sample (a-XL) is sample 10. These people&#x2019;s primary dimensions have similar to the primary dimensions of the size XL in the size chart. The sample (b-L) is sample 9. Primary dimensions have similar to the primary dimensions of the size L in the size chart. The sample (c-S) is sample 8. Primary dimensions have similar to the primary dimensions of the size S in the size chart. Besides that, it is evaluated through the comments of 10 people about the fit by 5 levels (very tight, tight, medium, wide, and very broad) and is analyzed with the results of algorithm simulation.</p>
<fig id="F7" position="float">
<label>FIGURE 7</label>
<caption><p>Images try on T-Shirt, f. house branding: size L (a), size M (b), and size S (c).</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="bijscit-2021-12-g007.tif"/>
</fig>
<table-wrap position="float" id="T7">
<label>TABLE 7</label>
<caption><p>The result of testing for extracting sizes of the t-shirt for f-house branding.</p></caption>
<table cellspacing="5" cellpadding="5" frame="hsides" rules="groups">
<thead>
<tr>
<td valign="top" align="left">Sample</td>
<td valign="top" align="center">Height (cm)</td>
<td valign="top" align="center">Weight (kg)</td>
<td valign="top" align="center">Bust (cm)</td>
<td valign="top" align="center">Size</td>
<td valign="top" align="center">Fit level</td>
<td valign="top" align="center">Coding size</td>
<td valign="top" align="left">Comment</td>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left">1</td>
<td valign="top" align="center">173</td>
<td valign="top" align="center">61</td>
<td valign="top" align="center">80</td>
<td valign="top" align="center">XL</td>
<td valign="top" align="center">4</td>
<td valign="top" align="center">1 (S)</td>
<td valign="top" align="left">The sample is wide. The result is true with the fuzzy logic method (size S)</td>
</tr>
<tr>
<td valign="top" align="left">2</td>
<td valign="top" align="center">168</td>
<td valign="top" align="center">70</td>
<td valign="top" align="center">90</td>
<td valign="top" align="center">M</td>
<td valign="top" align="center">3</td>
<td valign="top" align="center">2 (M)</td>
<td valign="top" align="left">The result is true</td>
</tr>
<tr>
<td valign="top" align="left">3</td>
<td valign="top" align="center">169</td>
<td valign="top" align="center">58</td>
<td valign="top" align="center">78</td>
<td valign="top" align="center">L</td>
<td valign="top" align="center">4</td>
<td valign="top" align="center">1 (S)</td>
<td valign="top" align="left">The sample is wide. The result is true with the fuzzy logic method (size S)</td>
</tr>
<tr>
<td valign="top" align="left">4</td>
<td valign="top" align="center">165</td>
<td valign="top" align="center">72</td>
<td valign="top" align="center">91</td>
<td valign="top" align="center">L</td>
<td valign="top" align="center">3</td>
<td valign="top" align="center">3 (L)</td>
<td valign="top" align="left">The result is true</td>
</tr>
<tr>
<td valign="top" align="left">5</td>
<td valign="top" align="center">168</td>
<td valign="top" align="center">56</td>
<td valign="top" align="center">80</td>
<td valign="top" align="center">L</td>
<td valign="top" align="center">4</td>
<td valign="top" align="center">1 (S)</td>
<td valign="top" align="left">The sample is wide. The result is true with the fuzzy logic method (size S)</td>
</tr>
<tr>
<td valign="top" align="left">6</td>
<td valign="top" align="center">178</td>
<td valign="top" align="center">75</td>
<td valign="top" align="center">90</td>
<td valign="top" align="center">XL</td>
<td valign="top" align="center">4</td>
<td valign="top" align="center">3 (L)</td>
<td valign="top" align="left">The result is true</td>
</tr>
<tr>
<td valign="top" align="left">7</td>
<td valign="top" align="center">167</td>
<td valign="top" align="center">52</td>
<td valign="top" align="center">87</td>
<td valign="top" align="center">M</td>
<td valign="top" align="center">4</td>
<td valign="top" align="center">1 (S)</td>
<td valign="top" align="left">The sample is wide. The result is true with the fuzzy logic method (size S)</td>
</tr>
<tr>
<td valign="top" align="left">8 (new)</td>
<td valign="top" align="center">169</td>
<td valign="top" align="center">56</td>
<td valign="top" align="center">83</td>
<td valign="top" align="center">S</td>
<td valign="top" align="center">3</td>
<td valign="top" align="center">1 (S)</td>
<td valign="top" align="left">The result is true</td>
</tr>
<tr>
<td valign="top" align="left">9 (new)</td>
<td valign="top" align="center">167</td>
<td valign="top" align="center">75</td>
<td valign="top" align="center">92</td>
<td valign="top" align="center">L</td>
<td valign="top" align="center">3</td>
<td valign="top" align="center">3 (L)</td>
<td valign="top" align="left">The result is true</td>
</tr>
<tr>
<td valign="top" align="left">10 (new)</td>
<td valign="top" align="center">172</td>
<td valign="top" align="center">78.5</td>
<td valign="top" align="center">97.5</td>
<td valign="top" align="center">XL</td>
<td valign="top" align="center">3</td>
<td valign="top" align="center">4 (XL)</td>
<td valign="top" align="left">The result is true</td>
</tr>
</tbody>
</table></table-wrap>
</sec>
<sec id="S3.SS5">
<title>3.5. The flowchart for extracting the ready-to-wear</title>
<p>The flowchart to extract the ready-to-wear size needs three input variables (height, weight, and bust dimensions). The three variables must be in the range of values in the size chart, then the program shows the output of the fit size (<xref ref-type="fig" rid="F8">Figure 8</xref>).</p>
<fig id="F8" position="float">
<label>FIGURE 8</label>
<caption><p>The flowchart to extract the ready-to-wear size.</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="bijscit-2021-12-g008.tif"/>
</fig>
</sec>
</sec>
<sec id="S4" sec-type="conclusion">
<title>4. Conclusion</title>
<p>The study presents the results of the algorithm to extract the size of ready-to-wear T-Shirt with f. house branding from the sizing system table and give suggestions on choosing the fit size for the customer. Each of the four sizes on this table includes three distinct metrics for body height. The three most important parameters for choosing input variables for the fuzzy simulation model are waist circumference, bust, and body height. This outcome demonstrates the viability of using fuzzy logic to select the fit size. We may use the experimental measurement data to determine a good size for males based on the fuzzy. In addition, the study analyzed the experimental results in each research area as well as discuss the experimental data of the study. Measurements of height, weight, and bust are selected as the three input variables of the fuzzy model. The output variable is the required size. The study expanded the size selection range when extracting the size and body shape according to the fuzzy logic method and created a basis for businesses to easily calculate the number of sizes chosen by customers to balance production. Furthermore, it can be applied to other fields in garment technology as well.</p>
</sec>
</body>
<back>
<ref-list>
<title>References</title>
<ref id="B1"><label>1.</label><citation citation-type="journal"><collab>TCVN 5782.</collab><source><italic>Standard sizing systems for clothes.</italic></source> <publisher-loc>Hanoi</publisher-loc>: <publisher-name>TCVN</publisher-name> (<year>2009</year>).</citation></ref>
<ref id="B2"><label>2.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Hsu</surname> <given-names>C</given-names></name> <name><surname>Lee</surname> <given-names>T</given-names></name> <name><surname>Kuo</surname> <given-names>H</given-names></name></person-group>. <article-title>Mining the body features to develop sizing systems to improve business logistics and marketing using fuzzy clustering data mining.</article-title> <source><italic>Wseas Trans Comput.</italic></source> (<year>2009</year>) <volume>8</volume>:<fpage>1215</fpage>&#x2013;<lpage>24</lpage>.</citation></ref>
<ref id="B3"><label>3.</label><citation citation-type="journal"><collab>J. Crew.</collab><source><italic>Technical document of reference.</italic></source> <publisher-loc>New York City, NY</publisher-loc>: <publisher-name>J. CREW</publisher-name> (<year>2016</year>).</citation></ref>
<ref id="B4"><label>4.</label><citation citation-type="journal"><collab>JML.</collab><source><italic>Technical document of reference JML trousers 3427.</italic></source> <publisher-loc>London</publisher-loc>: <publisher-name>JML</publisher-name> (<year>2015</year>).</citation></ref>
<ref id="B5"><label>5.</label><citation citation-type="journal"><collab>CERVO.</collab><source><italic>Technical document of reference CERVO trousers.</italic></source> <publisher-loc>New Taipei City</publisher-loc>: <publisher-name>CERVO</publisher-name> (<year>2014</year>).</citation></ref>
<ref id="B6"><label>6.</label><citation citation-type="journal"><collab>ISO 8559-3:2017.</collab><source><italic>Size designation of clothes &#x2014; Part 3: Anthropometric definitions for body measurement.</italic></source> <publisher-loc>Switzerland</publisher-loc>: <publisher-name>ISO</publisher-name> (<year>2017</year>).</citation></ref>
<ref id="B7"><label>7.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Nga</surname> <given-names>B.</given-names></name></person-group> <source><italic>Researching and application of 3D measuring equipment in building a standard pattern for men&#x2019;s pants and shirts.</italic></source> <publisher-loc>Hanoi</publisher-loc>: <publisher-name>Institute of Textile Garment</publisher-name> (<year>2011</year>).</citation></ref>
<ref id="B8"><label>8.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Chau</surname> <given-names>NTH.</given-names></name></person-group> <source><italic>Researching of establishing sizing system table of the military by an anthropometric method.</italic></source> <publisher-loc>Hanoi</publisher-loc>: <publisher-name>Institute of Textile Garment</publisher-name> (<year>2001</year>).</citation></ref>
<ref id="B9"><label>9.</label><citation citation-type="journal"><collab>JIS L4004.</collab><source><italic>Sizing system for men&#x2019;s garments.</italic></source> <publisher-loc>Japan</publisher-loc>: <publisher-name>JIS</publisher-name> (<year>1997</year>).</citation></ref>
<ref id="B10"><label>10.</label><citation citation-type="journal"><collab>KS 0050.</collab><source><italic>Sizing Systems for Men&#x2019;s and Boy&#x2019;s Garments.</italic></source> <publisher-loc>Seoul</publisher-loc>: <publisher-name>Korean Standards Association</publisher-name> (<year>2001</year>).</citation></ref>
<ref id="B11"><label>11.</label><citation citation-type="journal"><collab>KS K 0050.</collab><source><italic>Sizing System for Male Adult&#x2019;s Garments.</italic></source> <publisher-loc>Seoul</publisher-loc>: <publisher-name>Korean Standards Association</publisher-name> (<year>2004</year>).</citation></ref>
<ref id="B12"><label>12.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Chung</surname> <given-names>M</given-names></name> <name><surname>Lin</surname> <given-names>H</given-names></name> <name><surname>Wang</surname> <given-names>M</given-names></name></person-group>. <article-title>The development of sizing system for school students.</article-title> <source><italic>Int J Ind Ergonom</italic>.</source> (<year>2007</year>) <volume>37</volume>:<fpage>707</fpage>&#x2013;<lpage>16</lpage>.</citation></ref>
<ref id="B13"><label>13.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Gupta</surname> <given-names>D</given-names></name> <name><surname>Gangadhar</surname> <given-names>BR</given-names></name></person-group>. <article-title>A statistical model for development body size charts for garment.</article-title> <source><italic>Int J Cloth Sci Technol.</italic></source> (<year>2004</year>) <volume>16</volume>:<fpage>458</fpage>&#x2013;<lpage>69</lpage>.</citation></ref>
<ref id="B14"><label>14.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Amtrong</surname> <given-names>H.</given-names></name></person-group> <source><italic>Patternmarking for Fashion Design.</italic></source> <edition>Fith ed</edition>. <publisher-loc>New York, NY</publisher-loc>: <publisher-name>Pearson</publisher-name> (<year>2010</year>).</citation></ref>
<ref id="B15"><label>15.</label><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Alrich</surname> <given-names>W.</given-names></name></person-group> <source><italic>Metric Pattern Cutting.</italic></source> <edition>Four ed</edition>. <publisher-loc>Hoboken, NJ</publisher-loc>: <publisher-name>Wiley</publisher-name> (<year>2011</year>).</citation></ref>
<ref id="B16"><label>16.</label><citation citation-type="journal"><collab>ISO: 4415.</collab><source><italic>Size designation of clothes-Men&#x2019;s and boys&#x2019; underwear, nightwear and shirts.</italic></source> <publisher-loc>Switzerland</publisher-loc>: <publisher-name>ISO</publisher-name> (<year>1981</year>).</citation></ref>
<ref id="B17"><label>17.</label><citation citation-type="journal"><collab>ISO/TC 133.</collab><source><italic>Clothing sizing systems &#x2013; size designation, size measurement methods and digital fittings.</italic></source> <publisher-loc>Switzerland</publisher-loc>: <publisher-name>ISO</publisher-name> (<year>1991</year>).</citation></ref>
<ref id="B18"><label>18.</label><citation citation-type="journal"><collab>ISO 8559-1.</collab><source><italic>Size designation of clothes-Part 1: Anthropometric definitions for body measurement.</italic></source> <publisher-loc>Switzerland</publisher-loc>: <publisher-name>ISO</publisher-name> (<year>2017</year>).</citation></ref>
<ref id="B19"><label>19.</label><citation citation-type="journal"><collab>KS K 0050.</collab><source><italic>Sizing Systems for Men&#x2019;s and Boy&#x2019;s Garments.</italic></source> <publisher-loc>Seoul</publisher-loc>: <publisher-name>Korean Standards Association</publisher-name> (<year>2001</year>).</citation></ref>
</ref-list>
</back>
</article>
