TWI553186B - Classification method of fabric categories - Google Patents

Classification method of fabric categories Download PDF

Info

Publication number
TWI553186B
TWI553186B TW104102590A TW104102590A TWI553186B TW I553186 B TWI553186 B TW I553186B TW 104102590 A TW104102590 A TW 104102590A TW 104102590 A TW104102590 A TW 104102590A TW I553186 B TWI553186 B TW I553186B
Authority
TW
Taiwan
Prior art keywords
cloth
hairball
value
tested
image
Prior art date
Application number
TW104102590A
Other languages
Chinese (zh)
Other versions
TW201627554A (en
Inventor
黃美玲
洪永祥
楊浩群
Original Assignee
國立勤益科技大學
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 國立勤益科技大學 filed Critical 國立勤益科技大學
Priority to TW104102590A priority Critical patent/TWI553186B/en
Publication of TW201627554A publication Critical patent/TW201627554A/en
Application granted granted Critical
Publication of TWI553186B publication Critical patent/TWI553186B/en

Links

Landscapes

  • Image Processing (AREA)
  • Treatment Of Fiber Materials (AREA)

Description

布匹等級分級之方法 Method for grading cloth grade

本發明係有關於一種等級分級之方法,特別是一種布匹等級分級之方法。 The present invention relates to a method of classifying grades, and more particularly to a method of classifying cloth grades.

台灣紡織工業早期以進口原物料為主,轉到以石化工業提煉出原物料為基礎,近來則積極發展人造纖維,更結合回保概念,以咖啡渣或是保特瓶回收後切碎做為人造纖維的材質,不但將廢料重覆使用,更是降低對環境的污染,但是,如此的產品創新及新穎的設備投入,創造出高附加價值的產品,卻是以傳統的人工目視方法,人工目視方法只能清楚看出毛球,難以看見絨毛團(未構成毛球),因為絨毛團不像毛球整體來的扎實且不透光,故人工方法除無法精準進行布匹等級分級,也難以精準觀察到絨毛團之缺失,不但分級水準沒有提升,更易有錯誤分級的情形發生。 Taiwan's textile industry was mainly based on imported raw materials, and was transferred to the petrochemical industry to extract raw materials. Recently, it has actively developed man-made fibers, and combined with the concept of reinsurance, using coffee slag or pudding bottles for recycling and chopping. The material of man-made fiber not only reuses waste, but also reduces environmental pollution. However, such product innovation and innovative equipment investment create high value-added products, but traditional artificial visual methods, artificial The visual method can only clearly see the hair ball, it is difficult to see the pile group (not composed of the hair ball), because the pile group is not solid and opaque like the whole hair ball, so the manual method is difficult to accurately classify the cloth. Accurate observation of the lack of fluffy groups, not only the level of classification has not improved, it is easier to have a wrong classification.

再者,即使有部分採用攝影方式進行判別,在光源部分一般都是採取直接照射,但因為光源直接照射(過強)容易穿透絨毛團而無法使光源停滯在絨毛團表面,一般攝影機也無法明確拍攝到該絨毛團,亦須改善。 Furthermore, even if some parts are discriminated by photography, direct illumination is generally used in the light source part. However, since the light source directly illuminates (excessively) and easily penetrates the pile group, the light source cannot be stagnated on the surface of the pile, and the camera cannot. It is also necessary to improve the filming of the villi.

因此,若能夠發展出一套客觀且具有統一標準的分 級方法,又不失以往布匹表面粗糙度做為判斷基礎,將大幅改善紡織工業的布匹等級分級精準度更是提升分級效率。 Therefore, if a set of objective and uniform standards can be developed The level method, without losing the surface roughness of the cloth as the basis for judging, will greatly improve the precision of the cloth grade of the textile industry and improve the classification efficiency.

因此,本發明之目的,是在提供一種布匹等級分級之方法,進而快速且準確的進行布匹分級,以達到高分級品質與分級效率。 Accordingly, it is an object of the present invention to provide a method for grading cloth grades, thereby enabling rapid and accurate grading of cloth to achieve high grading quality and grading efficiency.

於是,本發明布匹等級分級之方法,其包含有前置步驟、影像擷取步驟、影像處理步驟、運算步驟及分級步驟等;其中,該前置步驟,已將待測布匹擷取一部分並透過布匹表面相互摩擦處理後,該影像擷取步驟針對布匹摩擦部分擷取而得到一影像後,該影像處理步驟則將該影像進行處理而得到一黑點,以便該運算步驟將依照該黑點而計算出一毛球數量,並且將該毛球數量與所擷取之匹布面積進行比較,進而算出一毛球值,最後該分級步驟則該運算步驟中之毛球值與該分級步驟中之資料庫中的毛球值進行比對,以便依據該毛球值進行等級之分級;如此,將可取代人力目視之檢測、分級作業,同時亦可避免因目視而產生誤差之缺失,進而達到快速且經準確之分級品質與效率;當然,於該影像擷取步驟中之光源,可為一間接光源,以間接照射該待測布匹表面,進而清楚分別出該絨毛團(未構成毛球),達到更精準分級之功效。 Therefore, the method for grading the cloth grade of the present invention includes a pre-step, an image capturing step, an image processing step, an operation step, a grading step, and the like; wherein, in the pre-step, the cloth to be tested is partially taken and transmitted through After the surface of the cloth is rubbed against each other, the image capturing step obtains an image for the rubbing portion of the cloth, and the image processing step processes the image to obtain a black dot, so that the operation step will follow the black dot. Calculating the number of a ball, and comparing the number of balls to the area of the piece to be taken, and then calculating a ball value. Finally, the step of grading is the value of the ball in the operation step and the step of the step. The value of the hairballs in the database is compared so that the grade of the hairball can be graded according to the value of the hairball; thus, the detection and classification of the human visual inspection can be replaced, and the lack of error due to visual observation can be avoided, thereby achieving rapid And accurate classification quality and efficiency; of course, the light source in the image capturing step may be an indirect light source to indirectly illuminate the cloth to be tested Surfaces, and thus clearly illustrating that the pile group respectively (not constituting the hair bulb), to achieve a more accurate grading effect.

3‧‧‧布匹等級分級之方法 3‧‧‧ Method of grading cloth grade

31‧‧‧前置步驟 31‧‧‧Pre-steps

32‧‧‧影像擷取步驟 32‧‧‧Image capture steps

33‧‧‧影像處理步驟 33‧‧‧Image processing steps

34‧‧‧運算步驟 34‧‧‧Operation steps

35‧‧‧分級步驟 35‧‧‧Classification steps

331‧‧‧灰階化程序 331‧‧‧ Grayscale program

332‧‧‧閥值調整程序 332‧‧‧ threshold adjustment procedure

333‧‧‧像素取捨程序 333‧‧‧ pixel selection procedure

35‧‧‧分級步驟 35‧‧‧Classification steps

351‧‧‧資料庫 351‧‧‧Database

352‧‧‧處理單元 352‧‧‧Processing unit

圖1為本發明一較佳實施例之方塊圖。 1 is a block diagram of a preferred embodiment of the present invention.

圖2為本發明一較佳實施例之流程圖。 2 is a flow chart of a preferred embodiment of the present invention.

圖3為本發明影像處理步驟中之灰階化程序結果示意圖。 FIG. 3 is a schematic diagram showing the result of the grayscale process in the image processing step of the present invention.

圖4為本發明影像處理步驟中之閥值調整程序結果示意圖。 4 is a schematic diagram showing the result of the threshold adjustment procedure in the image processing step of the present invention.

圖5為本發明影像處理步驟中之像素取捨程序結果示意圖; FIG. 5 is a schematic diagram showing the result of a pixel selection procedure in the image processing step of the present invention; FIG.

有關本發明之前述及其他技術內容、特點與功效,在以下配合參考圖式之較佳實施例的詳細說明中,將可清楚地明白。 The above and other technical features, features, and advantages of the present invention will become apparent from the Detailed Description of the <RTIgt;

參閱圖1、圖2,本發明第一實較佳施例,本實施例中布匹等級分級之方法3,其依序包含有一前置步驟31、影像擷取步驟32、影像處理步驟33、運算步驟34及分級步驟35;其中,該前置步驟31其具備有一待測布匹,並擷取該待測布匹之部分區塊,並將該布匹表面進行摩擦處理,如可透過一耐磨儀,以進行該布匹表面磨擦處理;另,該影像擷取步驟32則利用一攝像器(圖中未示),並以至少一光源(圖中未示)為輔助,如該攝像器於本實施例中,可使用CCD攝像鏡頭針該前述之待測布匹經過摩擦部分進行部分布匹面積之影像攝取,進而得到一影像,再者,本實施立例該光源主要可為間接光源,用以間接照射該待測布匹表面,如此將可清楚使布匹粗糙表面的絨毛團(未構成毛球)清楚呈現,亦能顯現出毛球多寡。 Referring to FIG. 1 and FIG. 2, in a first embodiment of the present invention, a method 3 for grading a cloth level in the embodiment includes a pre-step 31, an image capturing step 32, an image processing step 33, and an operation. Step 34 and grading step 35; wherein the pre-step 31 is provided with a cloth to be tested, and a part of the block to be tested is taken, and the surface of the cloth is subjected to rubbing treatment, such as through a wear meter. The image capturing step 32 is performed by using a camera (not shown) and assisted by at least one light source (not shown), such as the camera in the embodiment. In the CCD camera lens, the aforementioned cloth to be tested is subjected to image capturing of a portion of the cloth area through the friction portion, thereby obtaining an image. Furthermore, in the embodiment, the light source is mainly an indirect light source for indirectly illuminating the image. The surface of the cloth to be tested, so that the fluffy group (not composed of the hair ball) on the rough surface of the cloth can be clearly displayed, and the number of hair balls can be revealed.

仍續前述,該影像處理步驟33包括有一灰階化程序331,一閥值調整程序332及一像素取捨程序333,其中,該 灰階化處程序331,於本實施例中,係將前述所得之影像進行灰階化(8-bit)處理,接著將黑與白顏色對調以便觀察後,如圖3中之黑點(即為絨毛團或毛球),該閥值調整程序332係將調整閥值以捨去不必要的微小黑點,以形成如圖4之狀態,再者,該像素取捨程序333則是設定黑點之最小像素,設定小於多少像素以下之黑點則去除,高於多少像素以下之黑點則留下,已形成如圖5之態樣。 Continuing the foregoing, the image processing step 33 includes a grayscale program 331, a threshold adjustment program 332, and a pixel selection program 333, wherein The grayscale processing program 331, in this embodiment, performs the grayscale (8-bit) processing on the image obtained as described above, and then the black and white colors are reversed for observation, as shown by the black dots in FIG. For the pile or the hair ball, the threshold adjustment program 332 will adjust the threshold to eliminate unnecessary tiny black spots to form the state of FIG. 4, and the pixel selection program 333 sets the black point. The minimum pixel is set to be less than the number of pixels below the black point to be removed, and the black point below which the number of pixels is left, which has been formed as shown in FIG.

再者,該運算步驟34其依照該黑點而計算出一毛球數量,並且將該毛球數量與所擷取之匹布面積進行比較,而本實施例中使用毛球數/所擷取之布匹面積,進而算出一毛球值;最後,分級步驟35則具包括有一欲存有各等級之一毛球值的資料庫351,以及分別將該運算步驟34與資料庫351中之毛球值進行比對之處理單元352,其中,於本實施例中,該資料庫351中之毛球值可設定為有一寬限範圍,例如毛球值多少至多少區間內則為什麼等級之設定,而後當該處理單元352讀取到該運算步驟34中之毛球值時,將可與該資料庫351中之毛球值進行比對,進而將該待測布匹進行等級之分級,如圖中將等及分成一~五級;是以,依序透過該前置步驟31、影像擷取步驟32、影像處理步驟33、運算步驟34及分級步驟35等步驟,將可一一將該布匹進行等級之分級,以取代傳統目視檢測之作法,有效達到布匹分級之準確度,並且使該布匹之分級速度、效率更加提升。 Furthermore, the operation step 34 calculates a number of balls according to the black point, and compares the number of the balls with the area of the captured pieces, and in the embodiment, the number of balls used/taken The cloth area is further calculated as a gross value; finally, the grading step 35 includes a database 351 having a hairball value of each level, and the operation step 34 and the hair ball in the database 351, respectively. The value is compared with the processing unit 352, wherein in the embodiment, the gross value in the database 351 can be set to a grace range, for example, the value of the hairball value is within the range, and then the level is set, and then When the processing unit 352 reads the gross value in the operation step 34, it can be compared with the gross value in the database 351, and then the level of the cloth to be tested is graded, as shown in the figure. And dividing into one to five levels; in order to sequentially pass the pre-step 31, the image capturing step 32, the image processing step 33, the calculating step 34, and the stepping step 35, the cloth can be graded one by one. Grading to replace traditional visual inspection Method effectively achieve accurate classification of fabric, the fabric and the speed of the classification efficiency is more improved.

歸納前述,本發明布匹等級分級之方法,其包含有前置步驟、影像擷取步驟、影像處理步驟、運算步驟及分級步驟等,其中,將待測布匹擷取一部分並透過布匹表面相互摩擦處理(即該前置步驟),並針對布匹摩擦部分擷取而得到一影像後(即該影像擷取步驟),則將該影像進行處理而得到最適當之黑點(即該影像處理步驟),而後依照該黑點而計算出一毛球數量,並且將該毛球數量與所擷取之匹布面積進行比較,進而算出一毛球值(即該運算步驟),最後,該分級步驟則該運算步驟中之毛球值與該分級步驟中之資料庫中的毛球值進行比對,以便依據該毛球值進行等級之分級,進而達到快速且經準確之分級品質與效率,故可確實達到本發明之目的。 In the foregoing, the method for grading a cloth grade of the present invention comprises a pre-step, an image capturing step, an image processing step, an operation step, and a grading step, wherein a part of the cloth to be tested is taken and rubbed against the surface of the cloth. (ie, the pre-step), and after obtaining an image for the rubbing portion of the cloth (ie, the image capturing step), the image is processed to obtain the most appropriate black dot (ie, the image processing step), Then, the number of balls is calculated according to the black point, and the number of the balls is compared with the area of the captured pieces to calculate a ball value (that is, the operation step), and finally, the classifying step is The value of the hairball in the calculation step is compared with the value of the hairball in the database in the classification step, so that the grade of the hairball is graded according to the value of the hairball, thereby achieving fast and accurate classification quality and efficiency, so it is true The object of the invention is achieved.

惟以上所述者,僅為說明本發明之較佳實施例而已,當不能以此限定本發明實施例之範圍,及大凡依本發明申請專利範圍及發明說明書內容所作之簡單等效變化與修飾,皆應仍屬本發明專利涵蓋之範圍內。 The above is only the preferred embodiment of the present invention, and the scope of the present invention is not limited thereto, and the simple equivalent changes and modifications made in accordance with the scope of the present invention and the contents of the invention are generally modified. All should remain within the scope of the invention patent.

3‧‧‧布匹等級分級之方法 3‧‧‧ Method of grading cloth grade

31‧‧‧前置步驟 31‧‧‧Pre-steps

32‧‧‧影像擷取步驟 32‧‧‧Image capture steps

33‧‧‧影像處理步驟 33‧‧‧Image processing steps

34‧‧‧運算步驟 34‧‧‧Operation steps

35‧‧‧分級步驟 35‧‧‧Classification steps

331‧‧‧灰階化程序 331‧‧‧ Grayscale program

332‧‧‧閥值調整程序 332‧‧‧ threshold adjustment procedure

333‧‧‧像素取捨程序 333‧‧‧ pixel selection procedure

35‧‧‧分級步驟 35‧‧‧Classification steps

351‧‧‧資料庫 351‧‧‧Database

352‧‧‧處理單元 352‧‧‧Processing unit

Claims (2)

一種布匹等級分級之方法,其包含有:一前置步驟,其具有一待測布匹,並擷取該待測布匹之部分,並使該待測布匹之表面進行相互摩擦處理;一影像擷取步驟,利用一攝像器並以至少一光源為輔助,針該前述之待測布匹經過摩擦部分進行部分布匹面積之影像攝取,進而得到一影像;一影像處理步驟,其依序包括有一灰階化程序,一閥值調整程序及一像素取捨程序,其中,該灰階化程序係將前述所得之影像進行灰階化處理,以使毛球形成多數黑點,該閥值調整程序,並且將灰階化之影像調整後捨去為小黑點,該像素取捨程序則以可容許之黑點像素大小而設定欲留下的黑點;一運算步驟,其依照該黑點而計算出一毛球數量,並且將該毛球數量與所擷取之匹布面積進行比較,進而算出一毛球值;及一分級步驟,其包括有一欲存有各等級之一毛球值得資料庫,以及分別將該運算步驟與資料庫中之毛球值進行比對之處理單元,已透過該處理單元將該運算步驟中之毛球值與該資料庫中之毛球值進行比對,以便依據該毛球值進行等級之分級。 A method for grading a cloth grade, comprising: a pre-step, which has a cloth to be tested, and takes a part of the cloth to be tested, and rubs the surface of the cloth to be tested with each other; a step of using a camera and assisting at least one light source, wherein the cloth to be tested passes through the rubbing portion to perform image capturing of a portion of the cloth area, thereby obtaining an image; and an image processing step, which includes a grayscale in sequence a program, a threshold adjustment program and a pixel selection program, wherein the grayscale program performs grayscale processing on the image obtained as described above, so that the hairball forms a majority of black spots, the threshold adjustment program, and the gray The stepped image is adjusted to be a small black dot, and the pixel selection program sets the black dot to be left with the allowable black dot pixel size; an operation step, which calculates a hairball according to the black dot a quantity, and comparing the number of the balls to the area of the piece to be taken, thereby calculating a ball value; and a grading step including including one of the balls of each level a library, and a processing unit that respectively compares the operation step with a hairball value in the database, through which the hairball value in the operation step is compared with the hairball value in the database, In order to rank the grade according to the value of the hairball. 根據申請專利範圍第1項所述布匹等級分級之方法,其中,該光源為間接光源,以間接照射該待測布匹表面。 The method according to claim 1, wherein the light source is an indirect light source to indirectly illuminate the surface of the cloth to be tested.
TW104102590A 2015-01-26 2015-01-26 Classification method of fabric categories TWI553186B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW104102590A TWI553186B (en) 2015-01-26 2015-01-26 Classification method of fabric categories

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW104102590A TWI553186B (en) 2015-01-26 2015-01-26 Classification method of fabric categories

Publications (2)

Publication Number Publication Date
TW201627554A TW201627554A (en) 2016-08-01
TWI553186B true TWI553186B (en) 2016-10-11

Family

ID=57181710

Family Applications (1)

Application Number Title Priority Date Filing Date
TW104102590A TWI553186B (en) 2015-01-26 2015-01-26 Classification method of fabric categories

Country Status (1)

Country Link
TW (1) TWI553186B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105548191B (en) * 2016-02-03 2019-01-25 河北科技大学 Cloth cover villus rate detection device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW380180B (en) * 1998-11-13 2000-01-21 China Textile Inst On-line uniformity inspection method and apparatus for web applying digital image processing
TW200714778A (en) * 2005-10-13 2007-04-16 Jye Jiang Technology Co Ltd The warp and weft cloth inspection system and method
CN103469533A (en) * 2013-08-28 2013-12-25 东华大学 Polygonal cylinder type yarn grinding hairness and hair bulb tension holding pull measuring device and method
CN103898730A (en) * 2013-08-28 2014-07-02 东华大学 Polygonal-barrel tension-controllable fuzzing and pilling form and pulling measurement device and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW380180B (en) * 1998-11-13 2000-01-21 China Textile Inst On-line uniformity inspection method and apparatus for web applying digital image processing
TW200714778A (en) * 2005-10-13 2007-04-16 Jye Jiang Technology Co Ltd The warp and weft cloth inspection system and method
CN103469533A (en) * 2013-08-28 2013-12-25 东华大学 Polygonal cylinder type yarn grinding hairness and hair bulb tension holding pull measuring device and method
CN103898730A (en) * 2013-08-28 2014-07-02 东华大学 Polygonal-barrel tension-controllable fuzzing and pilling form and pulling measurement device and method

Also Published As

Publication number Publication date
TW201627554A (en) 2016-08-01

Similar Documents

Publication Publication Date Title
CN108961217A (en) A kind of detection method of surface flaw based on positive example training
Martínez et al. Quality inspection of machined metal parts using an image fusion technique
JP2018005640A (en) Classifying unit generation device, image inspection device, and program
CN104122271A (en) Automated optical inspection (AOI)-based bullet apparent defect detection method
Chen et al. Evaluating fabric pilling with light-projected image analysis
CN110412055B (en) Lens white fog defect detection method based on multi-light-source dark field illumination
CN113820319A (en) Textile surface defect detection device and method
JP2006305635A (en) Method for classifying cast defect in framework of x-ray analysis
JP2022000642A (en) Wire wear inspection method
TWI553186B (en) Classification method of fabric categories
JP4602087B2 (en) Automated inspection of colored ophthalmic parts
KR101862310B1 (en) Apparatus and Method for Detecting Mura Defects
CN109035225A (en) A kind of automotive brake pads presentation quality inspection illumination system layout quality evaluating method
KR101293814B1 (en) Systems of estimating weight of chicken carcass and methods of estimating weight of chicken carcass
Wang et al. Identification and detection of surface defects of outer package printed matter based on machine vision
JP5331661B2 (en) Image processing method and image processing apparatus
KR101858829B1 (en) Segregation analysis apparatus and method
JP2023137057A (en) Method of generating defect prediction model, bottle appearance inspection method and bottle appearance inspection device
CN114742823A (en) Intelligent detection method for scratches on surface of object
JP2003130756A (en) Optical member inspection method
JP6373743B2 (en) Surface evaluation method and surface evaluation apparatus
JP6695253B2 (en) Surface inspection device and surface inspection method
CN111462064B (en) Fabric defect detection method based on cerebral cortex cell direction selectivity
TWI738295B (en) Aoi apparatus for product manufactured roll-to-roll process and aoi method by using the same
Szwedziak et al. The use of morphological analysis in the wheat quality feature extraction

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees