Clothing parameter extraction method and device and clothing customization method and system
Through laser scanning and deformation judgment technology, clothing garment parameters are accurately extracted, solving the problems of measurement errors and insufficient two-dimensional data in traditional clothing customization, and achieving clothing customization that is more suitable for the user's body shape.
Patent Information
- Application Number
- CN202510288029.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-11
- Publication Date
- 2025-06-20
- Estimated Expiration
- 2045-03-11
AI Technical Summary
In traditional clothing customization, manual measurement errors are large and two-dimensional data cannot accurately capture the user's three-dimensional body shape characteristics, resulting in the clothing being incompatible. The existing three-dimensional human body scanning technology lacks in-depth analysis and processing capabilities, which cannot effectively solve the impact of user body shape deformation on garment parameters.
Through laser scanning, the user is digitized and digitized and deformation judgment is performed, the user's body shape deformation model is established, the skeleton positioning and adjustment is performed based on the deformation judgment results, and the precise extraction of garment parameters is completed.
Accurately capture the user's body shape characteristics, generate garment parameters that fit the user's body shape, reduce manual intervention, improve the intelligence level of parameter extraction, and avoid errors in traditional methods.
Smart Images

Figure CN120182494A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of clothing customization, and more particularly to a method and device for extracting clothing-making parameters, a clothing customization method, and a system. Background Art
[0002] In the fields of clothing manufacturing and customization, the extraction of clothing-making parameters is a key step to ensure the fit and comfort of clothing. In the traditional clothing customization process, the extraction of clothing-making parameters mainly relies on manual measurement. Due to the differences in the techniques and experiences of measurers, manual measurement often leads to large errors. Then, two-dimensional data was introduced, but based on two-dimensional size data, it is impossible to accurately capture the three-dimensional body shape characteristics of users, resulting in problems such as ill-fitting, wrinkling, or deformation when wearing clothes. For users with special body shapes, two-dimensional data is difficult to provide sufficient personalized support, resulting in poor adaptability of customized clothing.
[0003] With the increasing demand of consumers for personalized clothing customization, the traditional method of extracting clothing-making parameters can no longer meet the market demand. Three-dimensional body scanning technology uses principles such as lasers, structured light, or stereo vision to scan the human body in all directions. However, existing technologies are usually only used to obtain the three-dimensional body shape data of users, lacking the ability to deeply analyze and process the data. Existing technologies have not effectively solved the impact of user body shape deformation on clothing-making parameters, resulting in insufficient fit and comfort of customized clothing. Summary of the Invention
[0004] In order to overcome the above-mentioned defects of the prior art, the present invention provides a method and device for extracting clothing-making parameters, a clothing customization method, and a system to solve the problems existing in the above-mentioned background art.
[0005] The present invention provides the following technical solutions: A method for extracting clothing-making parameters, comprising the following steps:
[0006] Step S01: Perform three-dimensional digitization extraction on the user through laser scanning and obtain the user's three-dimensional body shape image: Use a laser scanner to scan the user's whole body. The scanner emits a laser beam and receives the reflected signal to obtain the three-dimensional digital information of the user and generate the user's three-dimensional body shape image;
[0007] Step S02: Perform contour digitization extraction on the user's three-dimensional body shape image: Perform edge detection on the user's three-dimensional body shape image to obtain the contour line of the user's body shape, and extract the three-dimensional coordinates of each contour point according to the position information of the pixel points on the contour line;
[0008] Step S03: Establish a user body shape deformation model to judge the deformation of the user's body shape image: Establish a user body shape deformation model, input the three-dimensional coordinates of the user's body shape contour points into the model to calculate the user body shape deformation index and perform deformation judgment;
[0009] Step S04: positioning and adjusting the deformation skeleton of the user based on the deformation judgment result: positioning the skeleton points of the user's body contour when the user's body shape is deformed, and performing deformation adjustment based on the line segments formed between the skeleton points;
[0010] Step S05: Complete the extraction and output of the user's clothing parameters: extract the user's clothing parameters when the user's body shape has not been deformed, and output the extracted clothing parameter results to the user terminal.
[0011] Preferably, in step S01, three-dimensional digital extraction of the user is performed through laser scanning and a three-dimensional body image of the user is obtained. A laser scanner is used to perform a full body scan of the user. During the scanning process, the scanner moves according to preset parameters and paths. The preset parameters include scanning speed, scanning angle, and intensity of the laser beam. The digital extraction format is point cloud data.
[0012] Preferably, in step S02, the 3D body image of the user is preprocessed before the contour is digitized and extracted. After the preprocessing, the 3D body image of the user is edge detected to obtain the contour line of the user's body. The data content of the point cloud data includes the 3D coordinate information (x i ,y i , z i ), i represents the number of each pixel point on the user's body contour line, i=1, 2, 3, ..., n, where n represents the total number of pixel points on the user's body contour line.
[0013] Preferably, the specific contents of establishing the user body deformation model and performing deformation judgment on the user body image in step S03 are as follows:
[0014] The pixel points on the user's body contour line are divided into left pixel point coordinates (xl a , yl a , zl a ) and the right pixel coordinates (xr a ,yr a , zr a ), where 2a=n, a represents the total number of left pixel points and the total number of right pixel points on the user's body contour line, a=1, 2, 3, ..., A;
[0015] The coordinates of the center point of the left and right pixels are calculated based on the coordinates of the left and right pixels of the user's body contour. The calculation formula is: where x a ′ represents the coordinate value of the center point of the left and right pixels on the X axis, y a' represents the coordinate value of the center point of the pixel points on the left and right sides on the Y-axis, z a ' represents the coordinate value of the center point of the pixel points on the left and right sides on the Z-axis, xl a and xr a respectively represent the X-axis coordinate values of the left and right pixel points of the user's body shape contour, yl a and yr a respectively represent the Y-axis coordinate values of the left and right pixel points of the user's body shape contour, zl a and zr a respectively represent the Z-axis coordinate values of the left and right pixel points of the user's body shape contour;
[0016] Based on the center point coordinates of the pixel points on the left and right sides of the user's body shape contour and the preset center point coordinates of the standard body shape contour (X a , Y a , Z a ), a comparison is made to establish a user body shape deformation model to calculate the user body shape deformation index. The calculation formula is: where ε represents the user body shape deformation index, X a represents the coordinate value of the center point of the preset standard body shape contour on the X-axis, Y a represents the coordinate value of the center point of the preset standard body shape contour on the Y-axis, Z a represents the coordinate value of the center point of the preset standard body shape contour on the Z-axis;
[0017] Based on the comparison between the user body shape deformation index and the preset deformation judgment threshold, if the user body shape deformation index is less than the preset deformation judgment threshold, it is determined that the user's three-dimensional body shape image has not deformed. Otherwise, it is determined that the user's three-dimensional body shape image has deformed.
[0018] Preferably, in step S04, the specific content of performing deformation skeleton positioning and adjustment on the user based on the deformation judgment result is as follows:
[0019] When the user's three-dimensional body shape image deforms, perform nearest neighbor point analysis on each pixel point on the user's body shape contour. If a pixel point on the user's body shape contour has more than one nearest neighbor point, then the pixel point is a deformation skeleton point;
[0020] Locate the M deformation skeleton points, establish a two-dimensional coordinate system, connect the M deformation skeleton points in pairs in a clockwise direction to form M - 1 line segments, and calculate the rotation angle of the line segments formed by the M deformation skeleton points. The calculation formula is: β m = max(θ1 m , θ2 m ) - min(θ1 m , θ2 m), where m represents the number of the deformation skeleton points, m = 1, 2, 3, ..., M, β m represents the rotation angle of the line segment formed by each deformation skeleton point and the next connected skeleton point, θ1 m represents the angle between the line segment formed by each deformation skeleton point and the next connected skeleton point and the horizontal axis in the two-dimensional coordinate system, θ2 m represents the angle between the line segment formed by each deformation skeleton point and the next connected skeleton point and the vertical axis in the two-dimensional coordinate system;
[0021] Perform deformation adjustment on each deformation skeleton point according to the rotation angle of the line segment formed by each deformation skeleton point and the next connected skeleton point. After the deformation adjustment, the coordinates of each deformation skeleton point in the two-dimensional coordinate system are: where (J m , K m )′ represents the coordinates of each deformation skeleton point in the two-dimensional coordinate system after the deformation adjustment, and (J m , K m ) represents the coordinates of each deformation skeleton point in the two-dimensional coordinate system before the deformation adjustment;
[0022] After the deformation adjustment, return to step S03 to perform deformation judgment on the user's body shape image until the judgment result is that the user's body shape image has not deformed.
[0023] Preferably, in the step S05, the specific content of extracting and outputting the clothing-making parameters for the user is: receiving the judgment result that the user's body shape image has not deformed, extracting the clothing-making parameters based on the contour line of the user's three-dimensional body shape image and the corresponding three-dimensional coordinate information of the pixel points, and outputting the extracted parameter results to the user terminal.
[0024] A clothing-making parameter extraction device, characterized in that: it is implemented based on the above-mentioned clothing-making parameter extraction method, and includes: a three-dimensional scanning module, a data processing module, and a communication module;
[0025] The three-dimensional scanning module is used to perform a full-body scan of the user using a laser scanner to obtain the three-dimensional digital information of the user and generate a user's three-dimensional body shape image;
[0026] The data processing module is used to perform data analysis on the three-dimensional digital information of the user;
[0027] The communication module is used to transmit the final extracted clothing-making parameter results to the user terminal device.
[0028] A clothing customization method is implemented based on a clothing parameter extraction method. The output clothing parameters are input into a clothing customization system, and the system automatically matches suitable clothing styles and sizes for the user according to the parameters, and conducts personalized clothing customization production according to the matched clothing styles and sizes.
[0029] A clothing customization system is implemented based on a clothing parameter extraction method. The system includes a clothing parameter input module, a clothing style and size matching module, and a clothing production control module.
[0030] The clothing parameter input module is used to receive and store clothing parameters.
[0031] The clothing style and size matching module is used to automatically match suitable clothing styles and sizes for the user according to the received clothing parameters.
[0032] The clothing production control module is used to control the clothing production device to conduct personalized clothing customization production according to the matched clothing styles and sizes.
[0033] The technical effects and advantages of the present invention:
[0034] The present invention includes step S01: performing three-dimensional digital extraction on the user through laser scanning to obtain the user's three-dimensional body shape image; step S02: performing contour digital extraction on the user's three-dimensional body shape image; step S03: establishing a user body shape deformation model to judge the deformation of the user's body shape image; step S04: performing deformation skeleton positioning and adjustment on the user based on the deformation judgment result; step S05: completing the extraction and output of the user's clothing parameters, accurately capturing the user's body shape characteristics, and generating clothing parameters that fit the user's body shape.
[0035] Based on edge detection technology, the contour line of the user's body shape is extracted, and combined with the calculation of the deformation index, the deformation situation of the user's body shape can be accurately judged, ensuring that the extracted clothing parameters are more in line with the user's actual body shape; by establishing a user body shape deformation model, the deformation of the user's body shape image is automatically judged and adjusted, reducing manual intervention and improving the intelligent level of parameter extraction; based on the skeleton point positioning technology, the deformation of the user's body shape is automatically adjusted to ensure the accuracy and consistency of the clothing parameters, avoiding errors caused by manual operation in the traditional method. Description of the Drawings
[0036] Figure 1 It is a flow schematic diagram of a clothing parameter extraction method. Detailed Embodiments
[0037] The following will clearly and completely describe the technical solutions in the present invention in conjunction with the accompanying drawings. Additionally, the forms of each structure described in the following embodiments are merely examples. A method and device for extracting garment-making parameters, a garment customization method, and a system related to the present invention are not limited to the structures described in the following embodiments. All other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the scope of protection of the present invention.
[0038] As Figure 1 shown, the present invention provides a method for extracting garment-making parameters, including the following steps:
[0039] Step S01: Perform three-dimensional digital extraction on the user through laser scanning and obtain the user's three-dimensional body shape image: Use a laser scanner to perform a full-body scan on the user. The scanner emits a laser beam and receives the reflected signal to obtain the three-dimensional digital information of the user and generate the user's three-dimensional body shape image;
[0040] Step S02: Perform contour digital extraction on the user's three-dimensional body shape image: Perform edge detection on the user's three-dimensional body shape image to obtain the contour line of the user's body shape, and extract the three-dimensional coordinates of each contour point based on the position information of the pixel points on the contour line;
[0041] Step S03: Establish a user body shape deformation model to judge the deformation of the user's body shape image: Establish a user body shape deformation model, input the three-dimensional coordinates of the user's body shape contour points into the model to calculate the user's body shape deformation index and perform deformation judgment;
[0042] Step S04: Locate and adjust the deformation skeleton of the user based on the deformation judgment result: Locate the skeleton points on the user's body shape contour when the user's body shape deforms, and perform deformation adjustment based on the line segments formed between the skeleton points, and return to Step S03 for deformation judgment after adjustment;
[0043] Step S05: Complete the extraction of the garment-making parameters of the user and output: Extract the garment-making parameters of the user when the user's body shape does not deform, and output the extracted garment-making parameter results to the user terminal.
[0044] In this embodiment, it should be specifically noted that in step S01, three-dimensional digital extraction of the user is performed through laser scanning to obtain the user's three-dimensional body shape image. A laser scanner is used to scan the user's whole body. During the scanning process, the scanner moves according to preset parameters and paths. The preset parameters include scanning speed, scanning angle, and the intensity of the laser beam to ensure that all parts of the user's body are scanned. After the scanning is completed, the scanner generates a large amount of point cloud data, which contains the three-dimensional digital information of the user. The large amount of scanned point cloud data is imported into three-dimensional processing software to obtain the required three-dimensional digital information of the user. The digital extraction format is point cloud data.
[0045] In this embodiment, it should be specifically noted that in step S02, before the contour digital extraction of the user's three-dimensional body shape image, image preprocessing is performed on the user's three-dimensional body shape image. The image preprocessing is as follows: denoising, smoothing, and image enhancement processing are performed on the user's three-dimensional body shape image to improve the quality of the image and ensure the accuracy of subsequent edge detection.
[0046] After preprocessing, edge detection is performed on the user's three-dimensional body shape image to obtain the contour line of the user's body shape. The data content of the point cloud data includes the three-dimensional coordinate information (x i , y i , z i ) of each pixel point on the user's body shape contour line. i represents the number of each pixel point on the user's body shape contour line, i = 1, 2, 3,..., n, where n represents the total number of pixel points on the user's body shape contour line. x i represents the X-axis coordinate value of each pixel point on the user's body shape contour line, y i represents the Y-axis coordinate value of each pixel point on the user's body shape contour line, and z i represents the Z-axis coordinate value of each pixel point on the user's body shape contour line.
[0047] In this embodiment, it should be specifically noted that the specific content of establishing a user body shape deformation model to judge the deformation of the user body shape image in step S03 is as follows:
[0048] The pixel points on the user's body shape contour line are divided into left pixel point coordinates (xl a , yl a , zl a ) and right pixel point coordinates (xr a , yr a , zr a) where 2a = n, a represents the total number of left - hand side pixel points and right - hand side pixel points on the user's body contour line. a = 1, 2, 3,..., A, and each left - hand side pixel point has a corresponding right - hand side pixel point. The total number of left - hand side pixel points and right - hand side pixel points on the user's body contour line is the same. Specifically, a represents each left - hand side pixel point in a sequence, and at the same time, each left - hand side pixel point corresponds to a right - hand side pixel point, ensuring a one - to - one correspondence between the left - hand side and right - hand side pixel points;
[0049] Calculate the center - point coordinates of the left - hand side and right - hand side pixel points based on the coordinates of the left - hand side pixel points and right - hand side pixel points of the user's body contour. The calculation formula is: where x a ′ represents the coordinate value of the center - point of the left - hand side and right - hand side pixel points on the X - axis, y a ′ represents the coordinate value of the center - point of the left - hand side and right - hand side pixel points on the Y - axis, z a ′ represents the coordinate value of the center - point of the left - hand side and right - hand side pixel points on the Z - axis, xl a and xr a represent the coordinate values of the left - hand side pixel point and right - hand side pixel point of the user's body contour on the X - axis respectively, yl a and yr a represent the coordinate values of the left - hand side pixel point and right - hand side pixel point of the user's body contour on the Y - axis respectively, zl a and zr a represent the coordinate values of the left - hand side pixel point and right - hand side pixel point of the user's body contour on the Z - axis respectively;
[0050] Compare the center - point coordinates of the left - hand side and right - hand side pixel points of the user's body contour with the center - point coordinates of the preset standard body contour (X a , Y a , Z a ) to establish a user body - shape deformation model and calculate the user body - shape deformation index. The calculation formula is: where ε represents the user body - shape deformation index, X a represents the coordinate value of the center - point of the preset standard body contour on the X - axis, Y a represents the coordinate value of the center - point of the preset standard body contour on the Y - axis, Z a represents the coordinate value of the center - point of the preset standard body contour on the Z - axis;
[0051] Compare the user body - shape deformation index with the preset deformation judgment threshold. If the user body - shape deformation index is less than the preset deformation judgment threshold, it is judged that the user's three - dimensional body image has not deformed. On the contrary, if the user body - shape deformation index is greater than or equal to the preset deformation judgment threshold, it is judged that the user's three - dimensional body image has deformed.
[0052] In this embodiment, it should be specifically noted that in step S04, the specific content of positioning and adjusting the deformation skeleton of the user based on the deformation judgment result is as follows:
[0053] When the three-dimensional body image of the user deforms, perform nearest neighbor analysis on each pixel point on the body contour line of the user. If there are more than one nearest neighbor points for the pixel point on the body contour line of the user, then the pixel point is a deformation skeleton point;
[0054] Locate the M deformation skeleton points, establish a two-dimensional coordinate system, connect the M deformation skeleton points pairwise in a clockwise direction to form M - 1 line segments, and calculate the rotation angle of the line segments formed by the M deformation skeleton points. The calculation formula is: β m = max(θ1 m , θ2 m ) - min(θ1 m , θ2 m ), where m represents the number of the deformation skeleton point, m = 1, 2, 3,..., M, and β m represents the rotation angle of the line segment formed by each deformation skeleton point and the next connected skeleton point. θ1 m represents the angle between the line segment formed by each deformation skeleton point and the next connected skeleton point and the horizontal coordinate axis in the two-dimensional coordinate system, and θ2 m represents the angle between the line segment formed by each deformation skeleton point and the next connected skeleton point and the vertical coordinate axis in the two-dimensional coordinate system;
[0055] Perform deformation adjustment on each deformation skeleton point according to the rotation angle of the line segment formed by each deformation skeleton point and the next connected skeleton point. After the deformation adjustment, the coordinates of each deformation skeleton point in the two-dimensional coordinate system are: where (J m , K m )′ represents the coordinates of each deformation skeleton point in the two-dimensional coordinate system after the deformation adjustment, and (J m , K m ) represents the coordinates of each deformation skeleton point in the two-dimensional coordinate system before the deformation adjustment;
[0056] After the deformation adjustment, return to step S03 to perform deformation judgment on the user body image until the judgment result is that the user body image does not deform.
[0057] In this embodiment, it should be specifically noted that in step S05, the specific content of extracting and outputting the clothing-making parameters for the user is as follows: receiving the judgment result that the user's body shape image has not deformed, extracting the clothing-making parameters based on the contour line of the user's three-dimensional body shape image and the corresponding three-dimensional coordinate information of the pixel points, and outputting the extracted parameter results to the user terminal. The clothing-making parameters include key dimensions such as chest circumference, waist circumference, hip circumference, shoulder width, and sleeve length.
[0058] In this embodiment, it should be specifically noted that a clothing-making parameter extraction device, characterized in that it is implemented based on the above-mentioned clothing-making parameter extraction method, includes: a three-dimensional scanning module, a data processing module, and a communication module;
[0059] The three-dimensional scanning module is used to perform a full-body scan of the user using a laser scanner to obtain the three-dimensional digital information of the user and generate a user's three-dimensional body shape image;
[0060] The data processing module is used to perform data analysis on the three-dimensional digital information of the user;
[0061] The communication module is used to transmit the finally extracted clothing-making parameter results to the user terminal device.
[0062] In this embodiment, it should be specifically noted that a clothing customization method is implemented based on a clothing-making parameter extraction method. The output clothing-making parameters are input into the clothing customization system, and the system automatically matches the clothing styles and sizes suitable for the user according to the parameters, and performs personalized clothing customization production according to the matched clothing styles and sizes.
[0063] In this embodiment, it should be specifically noted that a clothing customization system is implemented based on a clothing-making parameter extraction method. The system includes a clothing-making parameter input module, a clothing style and size matching module, and a clothing-making control module;
[0064] The clothing-making parameter input module is used to receive and store clothing-making parameters;
[0065] The clothing style and size matching module is used to automatically match the clothing styles and sizes suitable for the user according to the received clothing-making parameters;
[0066] The clothing-making control module is used to control the clothing-making device to perform personalized clothing customization production according to the matched clothing styles and sizes.
[0067] The main difference between this embodiment and the prior art lies in that this embodiment includes step S01: performing three-dimensional digital extraction on the user through laser scanning and obtaining the user's three-dimensional body shape image; step S02: performing contour digital extraction on the user's three-dimensional body shape image; step S03: establishing a user body shape deformation model to judge the deformation of the user's body shape image; step S04: positioning and adjusting the deformation skeleton of the user based on the deformation judgment result; step S05: completing the extraction and output of the clothing-making parameters for the user, accurately capturing the user's body shape characteristics, and generating clothing-making parameters that fit the user's body shape.
[0068] Based on edge detection technology to extract the contour line of the user's body shape and combined with the calculation of the deformation index, it can accurately judge the deformation of the user's body shape, ensuring that the extracted clothing-making parameters are more in line with the user's actual body shape; by establishing a user body shape deformation model, automatically judging and adjusting the deformation of the user's body shape image, reducing manual intervention and improving the intelligent level of parameter extraction; based on the skeleton point positioning technology, automatically adjusting the deformation of the user's body shape, ensuring the accuracy and consistency of the clothing-making parameters, and avoiding the errors caused by manual operation in the traditional method.
[0069] Finally: The above are only the preferred embodiments of the present invention and are not used to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present invention shall be included within the protection scope of the present invention.
[0070] The above is only the specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art within the technical scope disclosed in the present application can easily think of changes or replacements, which should all be covered within the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims
1. A method for extracting clothing parameters, characterized in that: The following steps are involved: Step S01: Perform three-dimensional digital extraction of the user through laser scanning and obtain a three-dimensional body image of the user: Use a laser scanner to perform a full body scan of the user, the scanner emits a laser beam and receives a reflected signal, obtains the three-dimensional digital information of the user and generates a three-dimensional body image of the user; Step S02: extracting the contour of the user's three-dimensional body image digitally: performing edge detection on the user's three-dimensional body image to obtain the contour line of the user's body, and extracting the three-dimensional coordinates of each contour point according to the position information of the pixel points on the contour line; Step S03: Establishing a user body deformation model to perform deformation judgment on the user body image: Establishing a user body deformation model, inputting the three-dimensional coordinates of the user's body contour points into the model to calculate the user's body deformation index and perform deformation judgment; Step S04: positioning and adjusting the deformation skeleton of the user based on the deformation judgment result: positioning the skeleton points of the user's body contour when the user's body shape is deformed, and performing deformation adjustment based on the line segments formed between the skeleton points; Step S05: Complete the extraction and output of the user's clothing parameters: extract the user's clothing parameters when the user's body shape has not changed, and output the extracted clothing parameter results to the user terminal.
2. A method for extracting clothing parameters according to claim 1, characterized in that: In the step S01, three-dimensional digital extraction of the user is performed through laser scanning and a three-dimensional body image of the user is obtained. The user is scanned throughout the body using a laser scanner. During the scanning process, the scanner moves according to preset parameters and paths. The preset parameters include scanning speed, scanning angle, and intensity of the laser beam. The digital extraction format is point cloud data.
3. A method for extracting clothing parameters according to claim 1, characterized in that: In step S02, the user's three-dimensional body image is preprocessed before the contour is digitized and extracted. After the preprocessing, the user's three-dimensional body image is edge detected to obtain the contour line of the user's body. The data content of the point cloud data includes the three-dimensional coordinate information (x i ,y i , z i ), i represents the number of each pixel point on the user's body contour line, i=1, 2, 3, ..., n, where n represents the total number of pixel points on the user's body contour line.
4. A method for extracting clothing parameters according to claim 1, characterized in that: The specific contents of establishing the user body deformation model and performing deformation judgment on the user body image in step S03 are as follows: The pixel points on the user's body contour line are divided into left pixel point coordinates (xl a , yl a , zl a ) and the right pixel coordinates (xr a ,yr a , zr a ), where 2a=n, a represents the total number of left pixel points and the total number of right pixel points on the user's body contour line, a=1, 2, 3, ..., A; The coordinates of the center point of the left and right pixels are calculated based on the coordinates of the left and right pixels of the user's body contour. The calculation formula is: where x a ′ represents the coordinate value of the center point of the left and right pixels on the X axis, y a ′ represents the coordinate value of the center point of the left and right pixels on the Y axis, z a ' represents the coordinate value of the center point of the left and right pixels on the Z axis, xl a and xr a Respectively represent the X-axis coordinate values of the left and right pixels of the user's body contour, yl a and yr a Respectively represent the Y-axis coordinate values of the left and right pixels of the user's body contour, zl a and zr a Respectively represent the Z-axis coordinate values of the left and right pixels of the user's body contour; According to the center coordinates of the pixels on the left and right sides of the user's body contour and the center coordinates of the preset standard body contour (X a , Y a , Z a ) are compared, and a user body deformation model is established to calculate the user body deformation index. The calculation formula is: Where ε represents the user's body deformation index, X a Indicates the coordinate value of the center point of the preset standard body shape contour on the X-axis, Y a Indicates the coordinate value of the center point of the preset standard body contour on the Y axis, a Indicates the coordinate value of the center point of the preset standard body contour on the Z axis; The user's body deformation index is compared with a preset deformation judgment threshold. If the user's body deformation index is less than the preset deformation judgment threshold, it is determined that the user's three-dimensional body image has not been deformed. Otherwise, it is determined that the user's three-dimensional body image has been deformed.
5. A method for extracting clothing parameters according to claim 1, characterized in that: In step S04, the specific contents of positioning and adjusting the user's deformable skeleton based on the deformation judgment result are as follows: When the user's three-dimensional body image is deformed, a nearest neighbor point analysis is performed on each pixel point on the user's body contour line. If a pixel point on the user's body contour line has more than one nearest neighbor point, the pixel point is a deformation skeleton point. Locate the M deformation skeleton points, establish a two-dimensional coordinate system, connect the M deformation skeleton points in pairs in a clockwise direction to form M-1 line segments, and calculate the rotation angle of the line segments formed by the M deformation skeleton points. The calculation formula is: β m =max(θ1 m ,θ2 m )-min(θ1 m ,θ2 m ), where m represents the number of the deformation skeleton point, m = 1, 2, 3, ..., M, β m Represents the rotation angle of the line segment formed by each deformed skeleton point and the next connected skeleton point, θ1 m The angle between the line segment formed by each deformed skeleton point and the next connected skeleton point and the horizontal axis in the two-dimensional coordinate system, θ2 m Represents the angle between the line segment formed by each deformed skeleton point and the next connected skeleton point and the ordinate axis in the two-dimensional coordinate system; Each deformable skeleton point is deformed and adjusted according to the rotation angle of the line segment formed by each deformable skeleton point and the next skeleton point connected to it. After the deformation adjustment, the coordinates of each deformable skeleton point in the two-dimensional coordinate system are: Among them (J m , K m )′ represents the coordinates of each deformed skeleton point in the two-dimensional coordinate system after deformation adjustment, (J m , K m ) represents the coordinates of each deformation skeleton point in the two-dimensional coordinate system before deformation adjustment; After the deformation adjustment, the process returns to step S03 to determine the deformation of the user's body image until the determination result is that the user's body image has not been deformed.
6. A method for extracting clothing parameters according to claim 1, characterized in that: In step S05, the specific contents of completing the extraction and output of the user's clothing parameters are as follows: receiving the judgment result that the user's body image has not been deformed, extracting the clothing parameters according to the contour lines of the user's three-dimensional body image and the corresponding three-dimensional coordinate information of the pixel points, and outputting the extracted parameter results to the user terminal.
7. A clothing parameter extraction device, characterized in that: It is implemented based on a method for extracting clothing parameters according to any one of claims 1 to 6, and comprises: a three-dimensional scanning module, a data processing module and a communication module; The three-dimensional scanning module is used to use a laser scanner to perform a full-body scan on the user, obtain the three-dimensional digital information of the user, and generate a three-dimensional body image of the user; The data processing module is used to implement data analysis of the user's three-dimensional digital information; The communication module is used to transmit the final extracted clothing parameter results to the user terminal device.
8. A clothing customization method is implemented based on a clothing parameter extraction method according to claims 1-6 above, and the output clothing parameters are input into a clothing customization system. The system automatically matches clothing styles and sizes suitable for users according to the parameters, and performs personalized clothing customization production according to the matched clothing styles and sizes.
9. A clothing customization system is implemented based on a clothing parameter extraction method according to claims 1 to 6, the system comprising a clothing parameter input module, a clothing style and size matching module and a clothing control module; The clothing making parameter input module is used to receive and store clothing making parameters; The clothing style and size matching module is used to automatically match the clothing style and size suitable for the user according to the received clothing parameters; The clothing control module is used to control the clothing device to carry out personalized clothing customization production according to the matching clothing styles and sizes.
Citation Information
Patent Citations
Novel virtual fitting method and system
CN102737338A
Method for displaying virtual fitting effect
CN103578004A
Real-time three-dimensional virtual fitting method based on mobile terminal
CN108010134A
Virtual three-dimensional fitting method and system
CN108389108A
Three-dimensional deformation model generation method and system based on nuclear magnetic resonance data and electronic equipment
CN111080769A