In this paper a novel method was presented for evaluating the fabric pills using digital image processing techniques. This work provides a novel technique for detecting pills and also measuring their heights, surfaces and volumes. Surely, measuring the intensity of defects by human vision is an inaccurate method for quality control; as a result, this problem became a motivation for employing digital image processing techniques for detection of defects of fabric surface. In the former works, the systems were just limited to measuring of the surface of defects, but in the presented method the height and the volume of defects were also measured, which leads to a more accurate quality control. An algorithm was developed to first, find pills and then measure their average intensity by using three criteria of height, surface and volume. The results showed a meaningful relation between the number of rotations and the quality of pilled fabrics., {"references":["A. Konda, L. Xin, M. Takadara, Y. Okoshi and K. Toricimi, Evaluation of Pilling by Computer Image Analysis, J. Text. Mach.\nSoc. Japan, 36, 96-99, 1988","R.B. Ramgulam, J. Amirbayat, and Porat, The Objective Assessment\nof Fabric Pilling, Part I: Methodology, J. of Textile Institute, 84, 221-\n226, 1993","R.B. Ramgulam, J. Amirbayat, and Porat, The Objective Assessment\nof Fabric Pilling, Part II: Experimental Work, J. of Textile Institute,\n85, 397-401, 1994","Z. Fazekas, J. Komuves, I. Renyi, and L. Surjan. Towards Objective\nVisual Assessment of Fabric Features. In Seventh International\nConference on Image Processing and its Application (Conference Publication No. 465), Institution of Electrical Engineers, London,\n1999","B. Xu, Instrumental Evaluation of Fabric Pilling, In J. of Textile\nInstitute, 1997, 88, 488-500","A. Abouelela, H.M. Abbas, H. Eldeeb, A.A. Wahdan, and S.M.Nassar, Automated Vision System for Localizing Structural Defects\nin Textile Fabrics, In Pattern Recognition Letters, 2005, 26, pp.1435-1443","P.A. Annis, S.A. Bhat, C.H His, and R.R Bresee. Pilling Evaluation\nof Laboratory Abraded, Laundered and Worn Fabrics Using Image Analysis, In Book of Papers, AATCC International Conference and\nExhibition, Nashville, TN, USA, 1996, pp. 380-392¶ÇÇâ","A. Konda, L.C. Xin, M. Takadara, Y. Okoshi, and K. Toriumi. Evaluation of Pilling by Computer Image Analysis In. J. Text. Mach.\nSoc. Japan (Eng. Edn), 1990, 36, 96-107","ASTM, D 3511-76, Standard Test Method for Pilling Resistance and\nOther Related Surface Changes in Textile Fabrics, Brush Pilling Tester Method\n[10] ASTM, D 3511-76, Standard Test Method for Pilling Resistance and\nOther Related Surface Changes in Textile Fabrics, Random Tumble\nPilling Tester Method\n[11] C.G. Harris, and M.J. Stephens. A combined corner and edge detector, In Proceedings Fourth Alvey Vision Conference,\nManchester. 1988, pp. 147-151"]}