New method for digitization and manipulation of textile molds based on image processing

Heber I. Mejia-Cabrera, Jair A. Vallejos, Victor Tuesta-Monteza, Manuel G. Forero

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review


The micro and small garment industries use traditional molds based on drawings on paper for the cutting of the fabric. This process is performed manually at the discretion of the operator, generating material loss during the cutting process. To make this task more efficient and reduce losses, this paper presents a technique for editing and vectorization of physical molds using digital image processing techniques, allowing the edition, modification or multiplication of the selected mold. For this purpose, a simple, low-cost device was developed to take photographs of the molds and an automatic method for contour detection and vectorization of textile molds was realized. Three edge detection methods, Sobel, Canny - Deriche and morphological gradient, were compared. Then, the Harris corner detection method was used, achieving a better detection, reducing the number of false corners, by using the image in gray levels as the input of the detector. The shapes of the contours between the corners were approximated by cubic splines, obtaining an analytical representation of each mold, being used to manipulate the size and position to place it in a better way on the fabric, achieving a significant reduction in fabric losses. The developed low-cost application thus allows the approximation of the models by vectorial representation, allowing their manipulation in an easy way and with a low consumption of computational resources without losing important information of the molds. The molds can thus be moved, rotated and scaled to accommodate them within the available fabric space.

Original languageEnglish
Title of host publicationApplications of Digital Image Processing XLIV
EditorsAndrew G. Tescher, Touradj Ebrahimi
ISBN (Electronic)9781510645226
StatePublished - 2021
Externally publishedYes
EventApplications of Digital Image Processing XLIV 2021 - San Diego, United States
Duration: 1 Aug 20215 Aug 2021

Publication series

NameProceedings of SPIE - The International Society for Optical Engineering
ISSN (Print)0277-786X
ISSN (Electronic)1996-756X


ConferenceApplications of Digital Image Processing XLIV 2021
Country/TerritoryUnited States
CitySan Diego

Bibliographical note

Publisher Copyright:
© COPYRIGHT SPIE. Downloading of the abstract is permitted for personal use only.


  • Contours
  • Edge detection
  • Mold editing
  • Morphological gradient
  • Polynomial approximation
  • Textile molds
  • Vectorization


Dive into the research topics of 'New method for digitization and manipulation of textile molds based on image processing'. Together they form a unique fingerprint.

Cite this