期刊文献+

基于计算机视觉与Canny算法的服装纸样轮廓提取

Clothing pattern contour extraction based on computer vision and Canny algorithm
下载PDF
导出
摘要 为提高服装二维纸样轮廓信息采集转换的准确性及方便性,设计了一种基于计算机视觉的服装纸样轮廓提取方法。将手机相机作为图像采集设备,采用相机标定的方法进行图像畸变矫正,对图像灰度化处理后进行伽马变换。通过改进的Canny算法对纸样图像进行边缘信息的提取,使用自适应双边滤波保边去噪;在原Sobel算子上增加了45°和135°方向的梯度模板计算梯度;采用自适应双阈值确定边缘;融合形态学算法处理轮廓;最后按需进行轮廓骨架提取。结果表明:本文方法适用于二维纸样的轮廓提取,其提取误差在0.15~1.50 cm之间,可实现单独对服装纸样的外轮廓、内轮廓及内外轮廓图的提取,完成轮廓的无差别提取,减少后期人工对轮廓图的编辑,提高二维纸样数字化录入效率。 Objective In order to improve the accuracy and convenience in collecting and converting two-dimensional pattern contour information,a method for garment pattern contour extraction based on computer vision was proposed.This research aimed to extract digitally the clothing patterns based on the use of two-dimensional pattern contour obtained from scanners or cameras.It was expected that the original physical template in the form of pattern card would be accurately transformed into a computer pattern contour image.Method This method involved both hardware and software.The hardware part was composed of a bracket,a smart phone,a quadrupod,a background plate and a calibration plate.The smart phone′s camera was used as the image acquisition device.The part of software consists of image processing and contour extraction.The distortion parameters were obtained using the chessboard camera calibration method for image correction,and the corrected image was gray-scale processed and the matrix was simplified.The contrast between the target image and the background was improved by gamma transform ation of the gray image.The improved Canny algorithm was applied to extract the edge information of paper pattern image,and adaptive bilateral filtering was used for better edge-preserving denoising.The gradient templates in the 45°and 135°directions were added to the original Sobel convolution to calculate the gradient so as to improve the accuracy of position weighting coefficient.Non-maximum suppression and adaptive double threshold selection were carried out to refine and determine the edge.Double edge filling,smoothing and reprocessing of contour map were carried out by morphology closing operation.Finally,the skeleton was extracted from the contour map.Results After multiple experiments,the accuracy and effect of contour extraction were verified.In order to verify the accuracy of the contours,the function cv2.findContours()in the python library was adopted to extract the contour information which was then drawn on a white sc
作者 庹武 杜聪 陈谦 吴超 魏新桥 张欣汝 刘思雨 TUO Wu;DU Cong;CHEN Qian;WU Chao;WEI Xinqiao;ZHANG Xinru;LIU Siyu(College of Fashion,Zhongyuan University of Technology,Zhengzhou,Henan 451191,China;College of Electrical Engineering and Automation,Henan Institute of Technology,Xinxiang,Henan 453003,China)
出处 《纺织学报》 EI CAS CSCD 北大核心 2024年第5期174-182,共9页 Journal of Textile Research
基金 河南省高等学校重点科研项目(23A540007) 教育部产学协同育人项目(220900693082010)。
关键词 服装纸样提取 计算机视觉 相机标定 图像处理 CANNY边缘检测算法 轮廓后处理 样板转化 garment pattern extraction computer vision camera calibration image processing Canny edge detection algorithm contour post-processing template transformation
  • 相关文献

参考文献13

二级参考文献94

共引文献123

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部