Research Article

Mathematical Model Design of the Traditional Dress Recognition Algorithm Based on Digital Watermarking Technology

Table 2

Initial contour extraction algorithm.

Enter: clothing image
Output: initial outline
(1) After the original image is transformed into a grayscale image, the Sobel operator isused to detect the horizontal and vertical edges of the image
(2) Using structural elements to perform expansion operation on the image
(3) Image filling operation
(4) Use structural elements to carry out corrosion calculation on the image
(5) Extract the initial contour