CPC D06C 23/02 (2013.01) [B23K 26/402 (2013.01); G06F 3/04845 (2013.01); G06F 30/12 (2020.01); G06Q 30/0621 (2013.01); G06Q 30/0643 (2013.01); G06T 15/04 (2013.01); G06T 19/20 (2013.01); H04L 63/0428 (2013.01); B23K 26/0622 (2015.10); B23K 26/362 (2013.01); B23K 2103/38 (2018.08); D06B 11/0096 (2013.01); D06C 2700/16 (2013.01); D06C 2700/31 (2013.01); D06P 5/15 (2013.01); D06P 5/2011 (2013.01); D10B 2501/00 (2013.01); G06F 3/0482 (2013.01); G06F 2113/12 (2020.01); G06Q 50/04 (2013.01); G06T 2200/24 (2013.01); G06T 2210/16 (2013.01); G06T 2219/2012 (2013.01); G06T 2219/2016 (2013.01); G06T 2219/2021 (2013.01); Y02P 90/30 (2015.11)] | 22 Claims |
1. A method comprising:
providing a garment design tool that shows on a computer screen of a client a three-dimensional preview image of a garment design as customized by a user with a finishing pattern;
in the garment design tool, providing an option for the user to select a garment base and upon the user's selection, showing on the computer screen a first preview image of the selected garment template;
in the garment design tool, providing an option for the user to select a wear pattern from a menu of wear patterns and upon the user's selection, showing on the computer screen a second preview image of the selected garment template with the selected wear pattern, wherein each wear pattern is associated with a laser input file to be used by a laser to produce that wear pattern onto a garment;
at a server, merging a laser input file associated with the selected wear pattern with an image of the selected garment template to generate a merged image, wherein the merged image is generated by
generating an adjusted base image from the image of the selected garment template without the selected wear pattern,
generating a pattern mask based on the laser input file associated with the selected wear pattern,
for a pixel at a pixel location of the merged image, obtaining a first contribution for the pixel location of the merged image by combining a first value for a pixel corresponding to the pixel location for the pattern mask and a pixel corresponding to the pixel location for the image of the selected garment template without the selected wear pattern,
for the pixel at the pixel location of the merged image, obtaining a second contribution at the pixel location for the merged image by combining a second value for a pixel corresponding to the pixel location for the pattern mask and a pixel corresponding to the pixel location for the adjusted base image,
combining the first contribution and second contribution to obtain a color value for a pixel at the pixel location for the second preview image, and
using the color value for the pixel at the pixel location in the merged image; and
at the client receiving the merged image from the server, wherein the garment design tool shows the merged image as the second preview image;
saving the garment design as customized by a user with the selected garment template and selected level of wear;
providing a first laser file with a wear pattern for a first size and first style;
automatically generating a plurality of laser files with the wear pattern for a plurality of sizes and styles, different from the first size and first style; and
based on a laser input file associated with the selected wear pattern and the selected level of wear and a size as selected by the user, using the second laser input file with a laser to create a finishing pattern on an outer surface of a target garment corresponding to the selected garment template and of the size selected by the user.
|