With the improvement of life quality,people’s definition of "fit" for clothes is no longer limited to whether they can be worn,but also whether they fit well.When joining various groups or participating in various group activities,it is necessary to order clothes in a unified manner.When there are too many people,height and weight are usually used as the standard to determine clothes size in order to simplify the complicated human body size acquisition and clothing selection.However,everyone has different proportions of body structure,which often leads to the phenomenon of "inappropriate" clothing.In order to meet the needs of users for mass customization of clothing,a non-contact measurement technology for human body size is proposed.However,the traditional non-contact measurement method relies too much on three-dimensional scanning instruments and other equipment,which has some problems such as high cost,too much space and not easy to move.Therefore,the essay designs and develops a set of automatic human body size measurement and clothing selection system based on two-dimensional body images.It is designed to simply,quickly and accurately obtain the user’s real size and suitable clothing size,and can display the degree of fit of the selected clothing in an intuitive way.Users can obtain the size data of various parts of the human body through a series of image processing operations through the front and side human body images,automatically match the clothing type of the corresponding model according to the selected clothing type,and observe whether the clothing size fits through the3 D model virtual fitting effect,and achieve the effect of clothing size customization through the adjustment of clothing pieces.First of all,in order to reduce the influence of the input two-dimensional human body image on the human feature point detection steps,the shooting conditions and processing process of two-dimensional human body image are designed.According to the actual shooting environment,a single channel extraction method is proposed to process the image in order to obtain the binary image of human body most quickly and simply,and the advantages and disadvantages of different edge extraction operators are analyzed.Then the most appropriate operator is selected for extraction,so as to obtain a complete and clear contour image of the human body for the subsequent human feature point detection steps.Aiming at the feature point detection method of different parts,the detection algorithm is designed by analyzing the geometric features of each part of the human body on the two-dimensional image and combining with the definition of physical measurement of each part.A dynamic search method is proposed based on the improved eight-chain code traversal in combination with the geometric features of this part in the specified area,and the width and thickness of the human body are obtained by calculating the detected feature points.To provide data support for human body circumference fitting.In terms of circumference fitting,it is proposed to obtain the contour fitting curve and circumference size of various parts of the actual human body by establishing the center line in the profile image of the human body with the side seam of clothing and then dividing the front and back of the human body,and fixing the difference integral of the human body section after scaling in proportion,so as to obtain the circumference size of the human body more accurate,so as to more accurately match the clothing model.In the aspect of virtual display,a preliminary study was made on the establishment of the model and the display of the virtual fitting effect.The function of adjusting the garment parameters was designed,the garment model was established and the fitting effect could be changed by modifying the garment parameters,so as to achieve the purpose of visual modification until the garment is close to the body.Finally,through the integration of modules,a set of automatic body size measurement and clothing selection system is realized,and the system is introduced.The system implemented in the essay has certain practical value in clothing customization. |