Patent Document ID: 9613424
Application ID: 14990470
Patent Flag: 1

Claim One:
1. A computer system configured to construct a 3D clothing model based on a single image inputted into a computer having computer graphics, comprising: a computer having a processor, data storage device, a display, at least one inputting device and at least one user interface device, the computer being configured to perform the following operations: inputting an image of a person and generating an inputted image corresponding to the image; estimating a 3D model of human body based on the inputted image of the person and constructing a 3D clothing plane according to a clothing silhouette corresponding to the person in the inputted image; displaying the inputted image, the 3D model of human body and the 3D clothing plane on the display; utilizing a method of semi-automatic 3D pose estimation method to estimate estimated 3D pose(s) of human body of the inputted image according to 2D joint(s) of human body in the inputted image specified by a user via the user interface device viewing the display; estimating the 3D model of human body in the inputted image through a method of deformable template according to a human contour line specified in the inputted image by the user and the estimated 3D pose(s) of human body; specifying the clothing silhouette by the user in the inputted image; utilizing the 3D model of human body to divide the clothing silhouette specified by the user into silhouette edge and boundary outline; calculating a projection area of the 3D model of human body on the inputted image and a skeleton related to a clothing area; calculating a directed surface for the skeleton related to the clothing area through 3D coordinate(s) of skeleton joint(s) and a relative rotation matrix; calculating an intersection line between adjacent directed surfaces used to calculate an internal cutting line of the clothing area of the inputted image; utilizing the internal cutting line to divide the clothing area of the inputted image into different parts of which each corresponding to one directed surface; projecting the boundary outline and the internal cutting line of each part of the clothing area of the inputted image on the corresponding directed surface to form 3D clothing area of each part accordingly and display on the display; triangulating the 3D clothing area of each part and utilize apex(s) of common ones of the internal cutting lines between different 3D clothing areas to form an initial 3D clothing plane; duplicating the initial 3D clothing plane; utilizing the apex(s) of the silhouette edge on the initial 3D clothing plane as common ones of the apex(s) to combine these initial 3D clothing planes before and after duplication to form a final 3D clothing plane; utilizing the final 3D clothing plane and the 3D model of human body to yield a smooth 3D clothing model through a deformation algorithm; utilizing a Laplace deformation algorithm to deform the final 3D clothing plane under a set of constraints of outline apex(s) and the 3D model of human body to initialize a 3D clothing model; then calculating a tension degree of each apex of the initial 3D clothing model through calculating the shortest distance between the apex(s) of silhouette edge and the surface of the 3D model of human body; utilizing a rotating surface as a deformation constraint to initialize again the 3D clothing model in the area whose tension degree of apex(s) is marked loose to yield a smooth 3D clothing model; utilizing an intrinsic image decomposition algorithm and a shape-from-shading algorithm to acquire detail information of clothing from the inputted image; shifting acquired detail information of clothing to the smooth 3D clothing mode through a weighted Laplace editing algorithm to yield a final 3D clothing model; utilizing the intrinsic image decomposition algorithm to decompose the inputted image into a shading diagram and a reflectogram; utilizing the shading diagram and the shape-from-shading algorithm to calculate a relative depth value corresponding to each pixel point; establishing a corresponding relation between the clothing area of the inputted image and the final 3D clothing plane, and calculating a change of relative depth of each apex on the final 3D clothing plane according to the depth value corresponding to the pixel point of the clothing area; renewing the final 3D clothing plane according to calculated change of relative depth to yield a 3D clothing detail plane; calculating separately Laplace coordinates of the apex(s) on the final 3D clothing plane and the 3D clothing detail plane; utilizing these two Laplace coordinates of the apex(s) to calculate detail information of surface geometry of the apex(s) on the 3D clothing; utilizing the Laplace coordinates of the apex(s) on the smooth 3D clothing model and calculated detail information of surface geometry to calculate the shortest distance between the apex(s) on the 3D clothing and the apex(s) of silhouette edge so as to build a weighted Laplace deformation energy function; utilizing a linear optimization algorithm to minimize the weighted Laplace deformation energy function mentioned as above to transfer the detail information of clothing surface geometry to the smooth 3D clothing mode to yield a revised final 3D clothing model; and displaying the final 3D clothing model on the display and store the final 3D clothing model in the data storage device.