CN102495063A - Method for evaluating washing wear of fabric on basis of machine vision - Google Patents

Method for evaluating washing wear of fabric on basis of machine vision Download PDF

Info

Publication number
CN102495063A
CN102495063A CN2011104071888A CN201110407188A CN102495063A CN 102495063 A CN102495063 A CN 102495063A CN 2011104071888 A CN2011104071888 A CN 2011104071888A CN 201110407188 A CN201110407188 A CN 201110407188A CN 102495063 A CN102495063 A CN 102495063A
Authority
CN
China
Prior art keywords
washing
light source
sample
wear
display
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2011104071888A
Other languages
Chinese (zh)
Inventor
刘建立
王蕾
高卫东
王鸿博
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jiangnan University
Original Assignee
Jiangnan University
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 Jiangnan University filed Critical Jiangnan University
Priority to CN2011104071888A priority Critical patent/CN102495063A/en
Publication of CN102495063A publication Critical patent/CN102495063A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Control Of Washing Machine And Dryer (AREA)

Abstract

本发明涉及一种基于机器视觉的织物洗涤磨损评价方法,实现织物洗涤过程中洗涤磨损的精细客观评价。基于机器视觉的织物洗涤磨损评价方法将通过硬件部分和软件部分协作实现,硬件部分应可以实现磨损布试样图像的高精度获取,软件部分可以现实图像的获取、保存、裁剪,以及图像的分割和洗涤磨损评价参数的计算。在该方法中,分别对磨损布洗涤前后进行拍照,计算洗涤前后磨损布试样图像中磨损布面积的大小,计算出面积变化率,即磨耗值做为参数评价洗涤磨损严重性。该方法克服了在洗涤后磨损布形状不规则情况下,采用人工方法对磨损布试样测量尺寸带来的误差和无法准确计算面积的难题。

Figure 201110407188

The invention relates to a method for evaluating fabric washing wear based on machine vision, which realizes fine and objective evaluation of washing wear in the fabric washing process. The evaluation method of fabric washing wear based on machine vision will be realized through the cooperation of hardware and software. The hardware should be able to obtain high-precision images of worn cloth samples, and the software should be able to acquire, save, crop, and segment images. And the calculation of washing wear evaluation parameters. In this method, photographs are taken of the worn cloth before and after washing, the area of the worn cloth in the image of the worn cloth sample before and after washing is calculated, and the area change rate is calculated, that is, the wear value is used as a parameter to evaluate the severity of washing wear. The method overcomes the error caused by measuring the size of the worn cloth sample by a manual method and the difficult problem of being unable to accurately calculate the area when the worn cloth is irregular in shape after washing.

Figure 201110407188

Description

一种基于机器视觉的织物洗涤磨损评价方法A method for evaluating fabric washing wear based on machine vision

技术领域 technical field

本发明涉及一种基于机器视觉的织物洗涤磨损评价方法,采用该方法可以准确计算出《AS/NZS2040.1:2005 Performance of household electrical appliances-Clothes washing machines Part 1:Methods formeasuring performance,energy and water consumption》中附录G规定的洗涤后的不规则形状的织物磨损布的面积,进而计算出洗涤磨损评价指标洗涤磨耗值。该发明提出的方法相比于洗衣机制造商普遍采用的人工测量方法更加客观、准确,能有效减少测试误差。The invention relates to a method for evaluating fabric washing wear based on machine vision, which can be used to accurately calculate "AS/NZS2040.1: 2005 Performance of household electrical appliances-Clothes washing machines Part 1: Methods forming performance, energy and water consumption" The area of the irregularly shaped fabric wear cloth specified in Appendix G after washing, and then calculate the washing wear evaluation index washing wear value. Compared with the manual measurement method commonly used by washing machine manufacturers, the method proposed by the invention is more objective and accurate, and can effectively reduce test errors.

背景技术 Background technique

织物洗涤磨损评价是通过一种加速磨损测试来测定洗衣机对织物的清洗作用强度的性能评价方法,其评价指标磨耗值可以反映洗涤过程对织物的磨损情况。因此,织物洗涤磨损评价是洗衣机制造商在对洗衣机性能评价时必不可少的测试指标。现有的测试方法是按照《AS/NZS 2040.1:2005 Performance ofhousehold electrical appliances-Clothes washing machines Part 1:Methods for measuring performance,energyand water consumption》中附录G规定的方法计算破损边剪除后的磨损布试样的面积相对其初始面积的减少比率作为磨耗值。其中,磨损布初始试样长度和宽度都为10厘米,是一个规则的正方形。而洗涤后,试样边缘脱落,并经修剪后试样形状可能会变为不规则。因此,不规则形状试样面积计算成为计算磨耗值的难题。该发明采用机器视觉的方法,通过图像分割可以精确计算出洗涤后磨损布试样的面积,避免人工测量的误差。Fabric washing wear evaluation is a performance evaluation method for measuring the strength of the washing machine's cleaning effect on fabrics through an accelerated wear test. The wear value of the evaluation index can reflect the wear of the fabric during the washing process. Therefore, the evaluation of fabric washing wear is an indispensable test index for washing machine manufacturers when evaluating the performance of washing machines. The existing test method is to calculate the wear cloth sample after the damaged edge is cut according to the method specified in Appendix G of "AS/NZS 2040.1:2005 Performance of household electrical appliances-Clothes washing machines Part 1: Methods for measuring performance, energy and water consumption" The reduction ratio of the area relative to its initial area is taken as the wear value. Wherein, the length and width of the initial sample of the wear cloth are both 10 cm, which is a regular square. After washing, the edges of the specimen fall off, and the shape of the specimen may become irregular after trimming. Therefore, the calculation of the area of the irregular shape sample becomes a difficult problem in calculating the wear value. The invention adopts the method of machine vision, and can accurately calculate the area of the worn cloth sample after washing through image segmentation, avoiding the error of manual measurement.

发明内容 Contents of the invention

本发明涉及一种基于机器视觉的织物洗涤磨损评价方法,实现织物洗涤过程中洗涤磨损的精细客观评价。基于机器视觉的织物洗涤磨损评价方法将通过硬件部分和软件部分协作实现,硬件部分应可以实现磨损布试样图像的高精度获取,软件部分可以现实图像的获取、保存、裁剪,以及图像的分割和洗涤磨损评价参数的计算。在该方法中,分别对磨损布洗涤前后进行拍照,计算洗涤前后磨损布试样图像中磨损布面积的大小,进而计算出面积变化率,即磨耗值做为参数评价洗涤磨损严重性。该方法克服了在洗涤后磨损布形状不规则情况下,采用人工方法对磨损布试样测量尺寸带来的误差和无法准确计算面积的难题。The invention relates to a method for evaluating fabric washing wear based on machine vision, which realizes fine and objective evaluation of washing wear in the fabric washing process. The evaluation method of fabric washing wear based on machine vision will be realized through the cooperation of hardware and software. The hardware should be able to obtain high-precision images of worn cloth samples, and the software should be able to acquire, save, crop, and segment images. And the calculation of washing wear evaluation parameters. In this method, photographs are taken of the worn cloth before and after washing, and the size of the area of the worn cloth in the image of the worn cloth sample before and after washing is calculated, and then the area change rate is calculated, that is, the wear value is used as a parameter to evaluate the severity of washing wear. The method overcomes the error caused by measuring the size of the worn cloth sample by a manual method and the difficult problem of being unable to accurately calculate the area when the worn cloth is irregular in shape after washing.

硬件部分应可以实现磨损布试样图像的高精度获取,它主要由工业视频套件(1)、光源(2)、数据传输导线(3)、计算机主机(4)、显示器(5)、光源控制器(6)、以及试样放置、工业视频套件和光源安装用的试样台(7)。The hardware part should be able to achieve high-precision acquisition of the image of the worn cloth sample, which is mainly controlled by an industrial video kit (1), a light source (2), a data transmission wire (3), a computer host (4), a display (5), and a light source (6), and a sample stage (7) for sample placement, industrial video kit and light source installation.

工业视频套件(1)由面阵彩色CCD相机、数据传输线和采集卡组成,是磨损布图像采集的关键器件。其中,面阵CCD分辨率为2048×2048像素。The industrial video kit (1) consists of an area array color CCD camera, a data transmission line and an acquisition card, and is a key device for image acquisition of worn cloths. Among them, the area array CCD resolution is 2048×2048 pixels.

光源(2)和光源控制器(6)配合使用,满足磨损布试样图像采集时,试样表面亮度要求。光源控制器(6)可以调节光源的亮度。其中,光源(2)应为LED条形光源,成对使用,光源长度为60厘米,单个光源内LED排数为6排。The light source (2) and the light source controller (6) are used together to meet the brightness requirements of the sample surface when the image of the worn cloth sample is collected. The light source controller (6) can adjust the brightness of the light source. Among them, the light source (2) should be an LED strip light source, used in pairs, the length of the light source is 60 cm, and the number of LED rows in a single light source is 6 rows.

软件部分是一种计算机程序,可以与硬件部分配合使用,获取试样图像,计算洗涤前后磨损布试样图像中磨损布面积的大小,计算出面积变化率,即磨耗值做为参数评价洗涤磨损严重性。在软件部分中,洗涤磨损布图像分析功能可以通过程序开发环境实现,例如MATLAB、Microsoft Visual C++、Microsoft VisualBasic和Delphi的编程实现,也可以通过专用的数字图像处理软件进行二次开发实现。The software part is a computer program that can be used in conjunction with the hardware part to obtain the sample image, calculate the size of the area of the worn cloth in the image of the worn cloth sample before and after washing, and calculate the area change rate, that is, the wear value as a parameter to evaluate the washing wear seriousness. In the software part, the washing cloth image analysis function can be realized through the program development environment, such as MATLAB, Microsoft Visual C++, Microsoft VisualBasic and Delphi programming, and can also be realized through secondary development through special digital image processing software.

附图说明 Description of drawings

在附图中示意性地给出了本发明技术实施方式的主要示例,其中,The main examples of technical embodiments of the present invention are given schematically in the accompanying drawings, in which,

图1,洗涤后磨损布试样图像;Figure 1, the image of the worn cloth sample after washing;

图2,洗涤后磨损布试样分割后图像;Figure 2, the image of the worn cloth sample after washing;

图3,硬件机构部分组成示意图;Figure 3, a schematic diagram of the components of the hardware mechanism;

图4,软件部分主要功能示意图。Figure 4, the schematic diagram of the main functions of the software part.

具体实施方式 Detailed ways

按照《AS/NZS 2040.1:2005 Performance of household electrical appliances-Clothes washing machines Part1:Methods for measuring performance,energy and water consumption》附录A、B、C中要求确定洗涤测试条件和材料规格要求,制定试验测试方案。其中,每块磨损布在洗涤前都采用图3所示机器视觉系统拍照。磨损布试样洗涤后自然晾干,并采用熨斗烫平后采用图3所示机器视觉系统拍照。假设洗涤前磨损布为理想模型,初始试样长度和宽度都为10厘米,是一个正方形,其面积为10000平方毫米。对洗涤前磨损布试样采集图像,并进行分割。假设试样区域像素灰度值为1,非试样区域像素灰度值为0。则可以计算分割后图像中像素值为1的像素点个数作为磨损布洗涤前面积A0。假设洗涤后试样,经分割后如图2所示,计算分割后图像中试样区域内所包含数值为1的像素个数为A1,则洗涤后磨损布试样面积可以用A1表示。则磨耗值η可以表示为公式(1)According to "AS/NZS 2040.1: 2005 Performance of household electrical appliances-Clothes washing machines Part1: Methods for measuring performance, energy and water consumption" appendix A, B, C requirements to determine the washing test conditions and material specification requirements, formulate the test plan . Wherein, each wear cloth is photographed by the machine vision system shown in Figure 3 before washing. The worn cloth samples were washed and dried naturally, ironed with an iron, and then photographed with the machine vision system shown in Figure 3. Assuming that the worn cloth before washing is an ideal model, the length and width of the initial sample are both 10 cm, which is a square with an area of 10,000 square millimeters. Images were collected and segmented from the worn cloth samples before washing. Assume that the gray value of the pixel in the sample area is 1, and the gray value of the pixel in the non-sample area is 0. Then, the number of pixels with a pixel value of 1 in the segmented image can be calculated as the area A 0 of the worn cloth before washing. Assuming that the sample after washing is segmented as shown in Figure 2, calculate the number of pixels with a value of 1 contained in the sample area in the segmented image as A 1 , then the area of the washed cloth sample can be represented by A 1 . Then the wear value η can be expressed as formula (1)

ηη == AA 00 -- AA 11 AA 00 -- -- -- (( 11 ))

在式(1)中,同一试样洗涤前后η越大,说明试样磨损越严重。In formula (1), the greater η of the same sample before and after washing, the more serious the wear of the sample.

在图3所示的机器视觉系统中,相机经过标定后,当直线长度为1厘米时,其长度方向包含72个像素点,即在实际尺寸比例尺为1厘米与72个像素等价。根据1厘米与72个像素等价,可由磨损布试样内包含像素点个数求得的洗涤前后磨损布试样实际面积A0和A1,可以计算出试样实际面积和磨耗值η。In the machine vision system shown in Figure 3, after the camera is calibrated, when the length of the line is 1 cm, its length direction contains 72 pixels, that is, the actual size scale is equivalent to 1 cm and 72 pixels. According to the equivalent of 1 cm and 72 pixels, the actual area A 0 and A 1 of the worn cloth sample before and after washing can be obtained from the number of pixels contained in the worn cloth sample, and the actual area of the sample and the wear value η can be calculated.

按照《AS/NZS 2040.1:2005 Performance of household electrical appliances-Clothes washing machines Part1:Methods for measuring performance,energy and water consumption》附录A、B、C中要求确定洗涤测试条件和材料规格要求,制定试验测试方案。在测试方案中,选择家用滚筒洗衣机,其最大洗涤容量为8KG,洗涤模式为快洗30分钟,负载类型参见《AS/NZS 2040.1:2005 Performance of household electricalappliances-Clothes washing machines Part 1:Methods for measuring performance,energy and waterconsumption》附录C要求。当选择负载重量为4KG时,洗涤磨损布试样块数为15块,其编号参见表1。磨损布规格为:“インデイアンクロスCOSMO 1100棉100% color no.11宽度91.4cm长度30m一匹刺しゆう布”。具体洗涤参数为:洗涤温度为30℃,洗涤1次,漂洗3次,脱水1次,脱水转速为800rpm,总洗涤时间为34min。采用图3所示机器视觉系统,对洗涤前磨损布试样采集图像,并进行分割,计算试样洗前面积。同样,计算洗涤后试样面积,并根据公式(1)计算磨耗值η,如表1所示。According to "AS/NZS 2040.1: 2005 Performance of household electrical appliances-Clothes washing machines Part1: Methods for measuring performance, energy and water consumption" appendix A, B, C requirements to determine the washing test conditions and material specification requirements, to develop a test plan . In the test plan, a household drum washing machine is selected, with a maximum washing capacity of 8KG and a washing mode of 30 minutes of quick washing. For the load type, see "AS/NZS 2040.1: 2005 Performance of household electrical appliances-Clothes washing machines Part 1: Methods for measuring performance , energy and waterconsumption" appendix C requirements. When the load weight is selected as 4KG, the number of samples of washing wear cloth is 15 pieces, and their numbers are shown in Table 1. The specifications of the wear cloth are: "India アンクロス COSMO 1100 cotton 100% color no. 11 width 91.4cm length 30m a piece of thorn しゆう cloth". The specific washing parameters are as follows: washing temperature is 30°C, washing once, rinsing three times, dehydration once, dehydration speed is 800rpm, and the total washing time is 34min. Using the machine vision system shown in Figure 3, the image of the worn cloth sample before washing is collected and segmented to calculate the area of the sample before washing. Similarly, calculate the sample area after washing, and calculate the wear value η according to formula (1), as shown in Table 1.

表1家用洗衣机快洗30漂洗3次磨损试验数据Table 1 Abrasion test data of household washing machine quick wash 30 rinse 3 times

Figure BSA00000631887800031
Figure BSA00000631887800031

Claims (7)

1.一种基于机器视觉的织物洗涤磨损评价方法将通过硬件部分和软件部分协作实现,硬件部分应可以实现磨损布试样图像的高精度获取,它主要由工业视频套件(1)、光源(2)、数据传输导线(3)、计算机主机(4)、显示器(5)、光源控制器(6)、以及试样放置、工业视频套件和光源安装用的试样台(7)。软件部分可以现实图像的获取、保存、裁剪,以及图像的分割和洗涤磨损评价参数的计算。1. A machine vision-based fabric washing wear evaluation method will be realized through the collaboration of hardware and software. The hardware should be able to achieve high-precision acquisition of the image of the worn cloth sample. It is mainly composed of an industrial video kit (1), a light source ( 2), data transmission wire (3), computer mainframe (4), display (5), light source controller (6), and sample stage (7) for sample placement, industrial video kit and light source installation. The software part can realize image acquisition, storage, cropping, image segmentation and calculation of washing wear evaluation parameters. 2.根据权利要求1,工业视频套件(1)应至少包括面阵彩色CCD相机、数据传输线和采集卡。其中,面阵CCD分辨率不小于2048×2048像素。2. According to claim 1, the industrial video kit (1) should at least include an area array color CCD camera, a data transmission line and a capture card. Among them, the area array CCD resolution is not less than 2048×2048 pixels. 3.根据权利要求1,光源(2)和光源控制器(3)配合使用,应满足洗涤磨损布试样图像采集时,试样表面亮度要求。光源控制器(6)应可以调节光源的亮度。其中,光源(2)应为LED条形光源,成对使用,光源长度不小于50厘米,单个光源内LED不少于4排。3. According to claim 1, the light source (2) is used in conjunction with the light source controller (3), and should meet the brightness requirements of the surface of the sample when collecting images of the washed and worn cloth sample. The light source controller (6) should be able to adjust the brightness of the light source. Among them, the light source (2) should be an LED strip light source, used in pairs, the length of the light source is not less than 50 cm, and the LED in a single light source is not less than 4 rows. 4.根据权利要求1,计算机主机(4)应配有工业视频套件图像采集卡插槽或接口,至少可以通过VGA接口、DVI接口、USB接口、1394接口或PCI插槽、PCI-E插槽、ISA插槽、AGP插槽中的一种方式将图像采集卡与计算机主板相连接,实现图像的采集和显示。4. according to claim 1, host computer (4) should be equipped with industrial video kit image acquisition card slot or interface, at least can pass through VGA interface, DVI interface, USB interface, 1394 interface or PCI slot, PCI-E slot , ISA slot, and AGP slot to connect the image acquisition card with the computer motherboard to realize image acquisition and display. 5.根据权利要求1和权利要求4,工业视频套件(1)和计算机主机(4)应与显示器(5)通过数据传输导线(3)相互连接,其中,显示器(5)应为彩色显示器,能显示RGB彩色图像。5. According to claim 1 and claim 4, the industrial video kit (1) and the main computer (4) should be connected to each other with the display (5) by the data transmission wire (3), wherein the display (5) should be a color display, Can display RGB color images. 6.根据权利要求1和权利要求5,在硬件系统中,至少有两根数据传输导线(2),可以分别实现图像从工业视频套件(1)到计算机主机(4),和图像信息从计算机主机(4)到显示器(5)的传输。6. According to claim 1 and claim 5, in the hardware system, there are at least two data transmission wires (2), which can respectively realize the image from the industrial video kit (1) to the computer host (4), and the image information from the computer Host (4) to display (5) transmission. 7.根据权利要求1,硬件部分应包括试样台(7),其可以用于安装工业视频套件(1)和光源(2),以及放置需要拍照的洗涤磨损布试样。其中,放置试样部分的试样台为正方形,尺寸应不小试样面积的3倍。7. According to claim 1, the hardware part should include a sample stand (7), which can be used to install the industrial video kit (1) and light source (2), and to place samples of washing wear cloths that need to be photographed. Among them, the sample table where the sample is placed is a square, and the size should not be smaller than 3 times the sample area.
CN2011104071888A 2011-12-09 2011-12-09 Method for evaluating washing wear of fabric on basis of machine vision Pending CN102495063A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011104071888A CN102495063A (en) 2011-12-09 2011-12-09 Method for evaluating washing wear of fabric on basis of machine vision

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011104071888A CN102495063A (en) 2011-12-09 2011-12-09 Method for evaluating washing wear of fabric on basis of machine vision

Publications (1)

Publication Number Publication Date
CN102495063A true CN102495063A (en) 2012-06-13

Family

ID=46186904

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011104071888A Pending CN102495063A (en) 2011-12-09 2011-12-09 Method for evaluating washing wear of fabric on basis of machine vision

Country Status (1)

Country Link
CN (1) CN102495063A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110243849A (en) * 2019-05-05 2019-09-17 浙江乌镇街科技有限公司 A kind of ostensibly detection method of polyester filament

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110243849A (en) * 2019-05-05 2019-09-17 浙江乌镇街科技有限公司 A kind of ostensibly detection method of polyester filament

Similar Documents

Publication Publication Date Title
CN101315337B (en) On-line testing apparatus for surface fault of grey cloth
CN104978748B (en) A kind of liquid crystal display defect inspection method based on local pixel value
CN103778624A (en) Fabric defect detection method based on optical threshold segmentation
CN205538710U (en) Inductance quality automatic check out system based on machine vision
CN102288607A (en) Woven fabric count detector based on digital microscope
CN100406849C (en) Method and system for measuring fiber diameter of polymer extrusion nonwoven fabric
CN103759662A (en) Dynamic textile yarn diameter rapid-measuring device and method
WO2022017197A1 (en) Intelligent product quality inspection method and apparatus
CN107169957A (en) A kind of glass flaws on-line detecting system and method based on machine vision
CN115170475A (en) Non-woven fabric defect detection method based on deep learning method
CN102621154A (en) Method and device for automatically detecting cloth defects on line based on improved differential box multi-fractal algorithm
CN103257145A (en) Method for detecting raw silk appearance quality
CN102288608A (en) Novel method for automatically detecting density of woven fabric
CN112819844A (en) Image edge detection method and device
CN102103090A (en) Device and method for detecting quality of web of carding machine on line based on computer vision
CN105699386B (en) An automatic cloth inspection and marking method using a contact image sensor
CN102539349A (en) Soaping-resistance color fastness evaluation method of circular screen printed textiles on basis of image analysis
CN102495063A (en) Method for evaluating washing wear of fabric on basis of machine vision
CN104966282A (en) Image acquiring method and system for detecting single erythrocyte
CN102494916A (en) Method for measuring washing action intensity index of roller-type washing machine based on machine vision
CN102564972A (en) Evaluation method for soaping resistance color fastness of yarn-dyed fabrics based on machine vision
CN107507181A (en) One kind point comb cashmere length detecting method
CN102023163B (en) System and method for detecting connector based on digital signal processor (DSP)
CN102494642A (en) Washing action strength index determination method of domestic washing machine based on machine vision
CN102494915A (en) Method for measuring washing action intensity index of electric washing machine based on machine vision

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20120613