CN110706359A - Image fitting correction method and system - Google Patents

Image fitting correction method and system Download PDF

Info

Publication number
CN110706359A
CN110706359A CN201910940139.7A CN201910940139A CN110706359A CN 110706359 A CN110706359 A CN 110706359A CN 201910940139 A CN201910940139 A CN 201910940139A CN 110706359 A CN110706359 A CN 110706359A
Authority
CN
China
Prior art keywords
picture
garment
vertex
grid
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910940139.7A
Other languages
Chinese (zh)
Inventor
李小波
杜超
秦晓飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hengxin Oriental Culture Ltd By Share Ltd
Original Assignee
Hengxin Oriental Culture Ltd By Share Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hengxin Oriental Culture Ltd By Share Ltd filed Critical Hengxin Oriental Culture Ltd By Share Ltd
Priority to CN201910940139.7A priority Critical patent/CN110706359A/en
Publication of CN110706359A publication Critical patent/CN110706359A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T19/00Manipulating 3D models or images for computer graphics
    • G06T19/20Editing of 3D images, e.g. changing shapes or colours, aligning objects or positioning parts
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • G06T17/20Finite element generation, e.g. wire-frame surface description, tesselation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T19/00Manipulating 3D models or images for computer graphics
    • G06T19/006Mixed reality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2210/00Indexing scheme for image generation or computer graphics
    • G06T2210/44Morphing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2219/00Indexing scheme for manipulating 3D models or images for computer graphics
    • G06T2219/20Indexing scheme for editing of 3D models
    • G06T2219/2021Shape modification

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Graphics (AREA)
  • Software Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Geometry (AREA)
  • Architecture (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The application discloses a method and a system for image fitting correction, wherein the method for image fitting correction specifically comprises the following steps: acquiring a picture, and preprocessing the picture; carrying out information calibration on the preprocessed picture; carrying out grid reconstruction according to the image after information calibration; judging whether the garment can fit the body or not in the reconstructed grid; if the garment cannot fit the body, a deformed handle is generated, and fitting correction between the garment and the mannequin is performed. This application can carry out meticulous correction with the clothes picture and the people's platform of same posture, makes it reach truer effect, has reduced personnel's cost and time cost simultaneously.

Description

Image fitting correction method and system
Technical Field
The present application relates to the field of image processing, and in particular, to a method and system for image fitting correction.
Background
In the prior art, the way of virtual fitting has become more and more popular, and in the virtual fitting products, after various clothes and accessories are photographed to generate pictures, the pictures of the clothes need to be converted and then attached to the model body to realize the effect of fitting the clothes. To achieve the purpose, a manual adjustment method is generally used, image processing software is used for picture trimming deformation, the efficiency is low, the pertinence is weak, no pertinence processing logic suitable for human bodies and clothes is available, and the automation degree is not high. Therefore, a method for fitting and correcting the clothing pictures more quickly and accurately is needed, so that the clothing in the clothing pictures can be perfectly fitted in the mannequin pictures.
Disclosure of Invention
The application aims to provide an image fitting correction method and system, which can be suitable for various mannequin adaptation synthesis methods in the later stage after clothes pictures are labeled in the earlier stage.
In order to achieve the above object, the present application provides an image fitting correction method, which specifically includes the following steps: acquiring a picture, and preprocessing the picture; carrying out information calibration on the preprocessed picture;
carrying out grid reconstruction according to the image after information calibration; judging whether the garment can fit the body or not in the reconstructed grid; if the garment cannot fit the body, a deformed handle is generated, and fitting correction between the garment and the mannequin is performed.
As above, the picture includes a person table picture and a clothing picture, the picture preprocessing is specifically to perform matting processing on the person table picture and the clothing picture, and the preprocessed picture is stored in a picture format with a transparent channel.
The information calibration of the picture specifically comprises the steps of calibrating the clothing type, the characteristic point coordinates of the opening part of the clothing, the coordinates of the external outline of the clothing and the coordinate information of the human skeleton node on the clothing picture; and calibrating the coordinate information of the human skeleton nodes and the external contour coordinates of the human body on the human platform picture.
The method comprises the steps of loading the preprocessed pictures and the configuration file of the object numbered musical notation into a three-dimensional engine to reconstruct the grid.
As above, wherein the reconstruction of the mesh specifically comprises the following sub-steps: acquiring information; determining a basic unit according to the acquired information; selecting an inner vertex of the outer contour according to the basic unit to generate an inner vertex set; and carrying out instantiation generation of the grid.
The above, wherein, the step of judging whether the garment can fit the body specifically comprises the following substeps: determining a list of openings of the garment in the grid garment picture; determining a line segment list wrapping the body according to the opening list; and putting the opening and contour line segment list and the human body external contour vertex in the same coordinate system for surrounding comparison, and judging whether the garment can cover the body.
As above, the fitting correction of the garment and the mannequin specifically comprises the following sub-steps: generating a deformed handle on a line segment which is not wrapped by the body; searching the vertex of the human body external contour closest to the line segment of the non-wrapped body; and displacing the line segment without wrapping the body according to the vertex.
As above, the deformation handle covers a plurality of mesh vertices, and the deformation handle moves to the closest vertex position of the human body external contour to drive the mesh vertices to displace, thereby completing the displacement of the line segment wrapping the body.
An image fitting correction system, comprising: the device comprises a preprocessing unit, an information calibration unit, a grid reconstruction unit, a judgment unit and a correction and attachment unit; the preprocessing unit is used for preprocessing the picture; the information calibration unit is used for carrying out information calibration on the preprocessed pictures; the grid reconstruction unit is used for reconstructing a grid according to the calibrated image; the judging unit is used for judging whether the clothing can cover the body in the reconstructed grid; and the correction fitting unit is used for generating a deformed handle if the garment cannot wrap the body, and performing fitting correction on the garment and the mannequin.
As above, the mesh reconstruction unit specifically includes the following sub-modules: the system comprises a basic unit determining module, a vertex selecting module and a grid generating module; the basic unit determining module is used for acquiring information and determining a basic unit generated by an internal vertex according to the acquired information; the vertex selection module is used for selecting an external contour vertex and an internal vertex according to the basic unit to obtain a vertex set; and the grid generation module is used for carrying out instantiation generation of the grid.
The application has the following beneficial effects:
(1) the image fitting correction method and the image fitting correction system can finely correct the clothes pictures and the mannequin in the same posture, so that a real effect is achieved.
(2) The method and the system for image fitting correction can automatically fit and correct the clothing picture and the mannequin picture without manual adjustment, and reduce personnel cost and time cost.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the present application, and other drawings can be obtained by those skilled in the art according to the drawings.
FIG. 1 is a flow chart of a method for image fit correction according to an embodiment of the present application;
FIG. 2 is an internal block diagram of an image fit correction system provided in accordance with an embodiment of the present application;
fig. 3 is a structural diagram of an internal sub-module of an image fitting correction system according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application are clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The application relates to a method and a system for image fitting correction. According to the method and the device, the clothes pictures and the mannequin in the same posture can be finely corrected, so that a real effect is achieved.
Fig. 1 is a flowchart of an image fitting correction method provided in the present application, which specifically includes the following steps:
step S110: and acquiring a picture, and preprocessing the picture.
Wherein the pictures comprise a mannequin picture and a clothing picture. Wherein, the mannequin picture and the clothing picture are pictures pre-stored in the system.
The preprocessing of the picture comprises the steps of carrying out matting processing on the clothing and the people's station picture, removing useless information such as background and the like in the picture, only reserving the clothing or the people's station picture, and storing the scratched picture as the PNG format picture with the transparent channel.
Preferably, the matting process can refer to matting techniques in the prior art.
Step S120: and carrying out information calibration on the preprocessed picture.
The information calibration of the picture specifically comprises the steps of calibrating the clothing type, the characteristic point coordinates of the opening part of the clothing, the coordinates of the external contour of the clothing and the coordinates of the human skeleton nodes on the clothing picture. Preferably, the upper left corner of the clothing picture is taken as the origin of coordinates.
It is worth noting that only one garment type is included on each garment panel.
Specifically, the garment types include 13 types, which are respectively: short-sleeved clothes, long-sleeved clothes, short-sleeved coats, long-sleeved coats, vests, slings, shorts, trousers, skirts, short-sleeved one-piece dresses, long-sleeved one-piece dresses, vest dresses and slings one-piece dresses.
The garment opening pattern is divided into 7 types: a collar, a left cuff, a right cuff, a left leg opening, a right leg opening, a waist opening and a skirt lower hem opening.
In the clothing picture, some points are marked at the opening position of the clothing as characteristic points, the pixel position of the characteristic points is the characteristic point coordinates of the opening part of the clothing, for example, 2 points are set at the opening position of the left cuff in the short-sleeve clothing as the characteristic points, and the pixel positions of the two points in the picture are the characteristic point coordinates of the opening part of the clothing.
The garment external contour coordinate is that a plurality of points are set on the edge of the garment, and the pixel positions of the points on the garment external contour in the garment picture are the garment external contour coordinate.
Further, the information calibration of the picture also comprises the step of calibrating the coordinate information of the human skeleton nodes and the external contour coordinates of the human body on the human body table picture. Preferably, the upper left corner of the human platform picture is taken as the origin of coordinates.
Wherein in the present embodiment, the 17 nodes of the human skeleton include: specifically, five nodes on the spine: the lower abdomen, the navel, the chest, the middle of the two shoulders and the throat. The arm contains three nodes: shoulder, elbow, wrist. The leg comprises three nodes: thigh root, knee, ankle.
The human skeleton node is that a plurality of points are set on the human trunk bone and the limbs bone, and the pixel positions of the points on the human external contour in the human platform picture are the human external contour coordinates.
Preferably, the clothing picture and the mannequin picture after information calibration are stored in a configuration file of Json (object notation), wherein the configuration file of the clothing picture is also labeled with a corresponding position of the clothing and a human skeleton node when the clothing is shot.
Step S130: and reconstructing grids according to the calibrated pictures.
The method comprises the steps of loading a preprocessed picture and a Json configuration file into a three-dimensional engine, and reconstructing a mesh, wherein the mesh is a triangular mesh.
Specifically, the mesh reconstruction includes a triangular mesh reconstruction based on a clothing picture and a triangular mesh reconstruction based on a table picture, wherein the triangular mesh reconstruction based on the clothing picture (or the table picture) specifically includes the following steps:
step D1: information is acquired.
If triangular mesh reconstruction of the clothing picture is carried out, the obtained information comprises the clothing type, the characteristic point coordinates of the opening part of the clothing, the coordinates of the external contour of the clothing, the coordinate information of the human skeleton node and the width and the height of the clothing picture. Because the sizes of the clothing picture and the human platform picture are possibly inconsistent, after the information is obtained, the clothing picture and the human platform picture are subjected to displacement scaling transformation by taking the coordinate information or other information of the human skeleton node as a reference, so that the clothing picture and the human skeleton node are basically matched.
If triangular mesh reconstruction of the human platform picture is carried out, the obtained information comprises coordinate information of human skeleton nodes, external contour coordinates of a human body and the width and height of the human platform picture.
Step D2: and determining a basic unit according to the acquired information.
If the triangular mesh reconstruction is carried out on the garment picture, a plurality of points on the garment outer contour are connected to form a garment contour closed curve, and the width and the height of the closed curve are obtained and are respectively marked as a and b.
Preferably, a length of 30 times of the sum of the width and the height of the closed curve of the clothing contour can be used as a basic unit for generating the inner vertex in the clothing contour, namely, the basic unit C is (a + b)/30.
The basic unit is determined according to the width and height values of the garment contour closed curve, a base length which is one-30 times of the sum of the width and the height is only taken as a preferred embodiment, and specific numerical values need to be determined according to actual conditions, and are not limited herein.
If the triangular mesh reconstruction is performed on the table picture, the determination of the basic unit can refer to the calculation mode, namely, the connection is performed according to a plurality of points on the external contour of the human body to form a closed curve of the contour of the human body, and the width and the height of the closed curve are obtained and are respectively marked as a 'and b'.
The length of 30 times of the sum of the width and the height of the closed curve of the human body contour is used as a basic unit for determining the inner vertex in the human body contour, namely, the basic unit C ═ a '+ b')/30.
Step D3: and generating the inner vertex of the outer contour according to the basic unit, and obtaining a vertex set.
The method comprises the steps of determining the positions of original vertexes before vertex filling, wherein the vertex set is a set of a plurality of vertexes generated in a clothing outline (or a human body outline) vertex and the inside, and the position of the upper left corner of a clothing picture (or a mannequin picture) is the position of the original vertex.
Further, according to the rule that the unit length is based on the distance between two points, firstly, based on the original vertex position of the clothing picture (or the mannequin picture), in the horizontal direction and the longitudinal direction, the point which is C (or C ') away from the original vertex is respectively used as a next vertex (horizontal/vertical second vertex), then, based on the horizontal/vertical second vertex, the point which is C (or C ') away from the horizontal/vertical second vertex is used as a next vertex (horizontal/vertical third vertex), and then, the vertex which is C (or C ') away from the horizontal/vertical third vertex is searched until all the vertexes in the horizontal direction and the longitudinal direction are filled on the clothing picture (or the mannequin picture).
Further, excluding the vertexes outside the garment external contour (or the human body external contour), and selecting the vertexes inside the external contour, thereby obtaining a set of vertexes inside the garment or the human body external contour.
Step D4: and carrying out instantiation generation of the grid.
Before the mesh instantiation generation, the method also comprises the determination of a vertex connecting line and UV coordinate information.
NET library, connecting the garment external contour coordinate with a plurality of vertexes in the garment external contour, and converting the vertex coordinate into a planar UV coordinate according to the position information of the vertexes in the space.
And further submitting the obtained vertex set, the vertex connecting line data and the UV coordinate information to a three-dimensional engine so as to generate mesh instantiation. At this time, the grid clothing picture and the grid mannequin picture can be instantiated and generated.
Step S140: and judging whether the clothing can fit the body or not in the reconstructed grid.
Wherein, if the clothing is not fit to or wraps the body, the step S150 is executed, otherwise, the process is exited.
Specifically, step S140 includes the following sub-steps:
step Q1: a list of openings of the garment is determined in the grid garment picture.
Specifically, since the mesh garment picture is generated based on the garment picture, and since the garment exterior contour coordinates and the opening feature point coordinates are calibrated on the garment picture, it is possible to determine which pixel point corresponds to each vertex on the mesh and in the garment picture, that is, it is possible to determine the position of each vertex, that is, it is possible to determine that each vertex on the mesh is an opening vertex or an exterior contour vertex.
Thus, each vertex data in the mesh garment picture is traversed to determine whether it belongs to an opening vertex or an outside contour vertex.
Further, a line segment list at each opening on the garment is obtained according to the obtained vertex data. The list of the opening line segments comprises a plurality of opening line segments, and the opening line segments are obtained by connecting vertexes at the openings.
Illustratively, the top points of the opening position of the left cuff in the clothing picture are 3, the opening line segment is obtained by connecting the 3 top points, and for example, if the top points of the opening position of the collar in the clothing picture are 2, another opening line segment is obtained by connecting the 2 top points.
Step Q2: a list of line segments wrapping the body is thus determined from the list of openings.
Furthermore, because the list of the opening line segments is obtained, the remaining line segments on the external contour of the garment can be reversely obtained by taking the 2 opening line segments as the reference, the corresponding vertexes on the remaining contour are connected to form a plurality of contour line segments, and the plurality of contour line segments are collected to obtain the list of the contour line segments needing to wrap the body.
Step Q3: and judging whether the clothing can cover the body.
Specifically, the list of the opening and the contour line segments and the vertex of the external contour of the human body are placed in the same coordinate system for surrounding comparison, and the configuration file of the clothing picture also marks the corresponding positions of the clothing and the bone nodes of the human body, so that a set of a plurality of line segments which should cover the human body but are in the contour of the human body can be obtained.
Step S150: generating a deformation handle to perform fitting correction of the clothes and the mannequin.
Wherein, the fitting correction of the clothing and the mannequin specifically comprises the fitting of the opening part of the clothing and the fitting correction of the clothing wrapping the body.
In particular, the fitting of a garment for wrapping a body comprises in particular the following sub-steps:
step P1: deformed handles are generated on the segments of the unwrapped body.
Specifically, a set of contour line segments within the human body contour is traversed, the midpoint location of each line segment is found, and a deformed handle is generated at that location.
Specifically, the deformation handle is a substantially circular area for representing the coverage area of the deformation, and the area covers a plurality of grid vertexes.
Step P2: and searching the vertex of the human body external contour which is closest to the line segment of the non-wrapped body.
And locking the line segment which is not wrapped by the body on the clothing picture, and acquiring the vertex position of the human body external contour closest to the line segment.
Step P3: and displacing the line segment without wrapping the body according to the vertex.
Because the vertex of the human body external contour closest to the line segment without wrapping the body is obtained, the deformation handle is partially displaced towards the vertical direction inside the human body to drive the grid vertex to displace, so that the displacement of the line segment wrapping the body is completed, and the line segment is attached to the human body external contour.
Specifically, the displacement of the deformed handle is to displace part of all covered grid vertexes in the deformed handle towards the vertical direction in the human body, so that the edge pixels are prevented from being excessively stretched.
Preferably, before the position of the deformed handle, the method further comprises the step of presetting a parameter for controlling the displacement of the deformed handle, wherein the parameter is specifically set by a worker.
The parameters specifically include the position of the center point of the deformed handle, the weight of the influence range and an attenuation process curve from the center point of the deformed handle to the periphery of the weight. And controlling the displacement of the deformation handle according to the set parameters.
Through the steps, the clothes which are to wrap the body can be completely attached to the corresponding part of the mannequin.
The method for fitting the opening part of the garment can still use the displacement of the deformable handle to perform fitting, and specifically comprises the following steps:
step G1: creating a key point at the site of the opening.
Wherein a plurality of key points may be set at the opening portion, and preferably, 2 key points may be set at both ends of the opening position.
Step G2: and deformation handles are respectively arranged at key points.
Taking the collar as an example, two control handles are respectively created at two key points of the collar, or taking the cuffs and the lower hem thereof as examples, key vertexes at two ends of the opening direction are searched, and then the deformation handles are generated at the end points.
Step G3: the vertex of the human body external contour closest to the opening position is searched, and the handle is displaced.
Still taking the neckline as an example, searching the nearest vertex of the external contour of the human body in the direction of 90 degrees of the chest bone point direction, and if the vertex is searched, performing corresponding displacement of the deformed handle. Or taking the cuff and the lap thereof as an example, the vertex of the external contour of the human body closest to the opening part is transversely searched, so that the handle is displaced and deformed to the outside of the contour point of the transversely closest mannequin, and the correction and the fitting are completed.
The application further provides an image fitting correction system, as shown in fig. 2, the image fitting correction system includes a preprocessing unit 201, an information calibration unit 202, a mesh reconstruction unit 203, a determination unit 204, and a correction fitting unit 205.
Wherein the preprocessing unit 201 is used for preprocessing the picture.
The information calibration unit 202 is connected to the preprocessing unit 201, and is configured to perform information calibration on the preprocessed picture.
The grid reconstruction unit 203 is connected to the information calibration unit 202, and is configured to perform grid reconstruction according to the calibrated image.
Specifically, as shown in fig. 3, the mesh reconstruction unit 203 specifically includes a basic unit determining module 301, a vertex selecting module 302, and a mesh generating module 303.
The basic unit determining module 301 is configured to obtain information, and determine a basic unit of an internal vertex according to the obtained information.
The vertex selecting module 302 is connected to the basic unit determining module 301, and is configured to select an external contour vertex and an internal generated vertex according to the basic unit, so as to obtain a vertex set.
The mesh generation module 303 is connected to the vertex selection module 302, and is configured to perform instantiation generation of a mesh.
The judging unit 204 is connected to the mesh reconstructing unit 203, and is configured to judge whether the garment can cover the body in the reconstructed mesh.
The correction fitting unit 205 is connected to the determining unit 204, and is configured to generate a deformed handle to fit the garment to the mannequin if the garment fails to wrap the body.
The correction fitting unit 205 specifically includes the following sub-modules: the device comprises a deformation handle generating module, a vertex searching module and a displacement module.
The deformation handle generation module is used for generating a deformation handle on a line segment which is not attached to the mannequin.
The vertex searching module is connected with the deformation handle generating module and used for searching the vertex of the human body external contour which is closest to the line segment which is not attached to the mannequin.
The displacement module is connected with the vertex searching module and used for carrying out displacement of the deformation handle according to the vertex.
The application has the following beneficial effects:
(1) the image fitting correction method and the image fitting correction system can finely correct the clothes pictures and the mannequin in the same posture, so that a real effect is achieved.
(2) The method and the system for image fitting correction can automatically fit and correct the clothing picture and the mannequin picture without manual adjustment, and reduce personnel cost and time cost.
Although the present application has been described with reference to examples, which are intended to be illustrative only and not to be limiting of the application, changes, additions and/or deletions may be made to the embodiments without departing from the scope of the application.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. The image fitting correction method is characterized by comprising the following steps:
acquiring a picture, and preprocessing the picture;
carrying out information calibration on the preprocessed picture;
carrying out grid reconstruction according to the image after information calibration;
judging whether the garment can fit the body or not in the reconstructed grid;
if the garment cannot fit the body, a deformed handle is generated, and fitting correction between the garment and the mannequin is performed.
2. The method for image fitting correction according to claim 1, wherein the pictures comprise a table picture and a clothing picture, the picture preprocessing is to perform a matting processing on the table picture and the clothing picture, and the preprocessed pictures are stored in a picture format with a transparent channel.
3. The method for image fitting correction according to claim 1, wherein the information calibration of the picture specifically comprises calibrating the garment type, the coordinates of the characteristic points of the opening part of the garment, the coordinates of the external contour of the garment, and the coordinate information of the human skeleton nodes on the garment picture; and calibrating the coordinate information of the human skeleton nodes and the external contour coordinates of the human body on the human platform picture.
4. The method of image fitting correction according to claim 1, wherein the preprocessed pictures and the configuration file of the object numbered musical notation are loaded into a three-dimensional engine for mesh reconstruction.
5. The method for image fitting correction according to claim 1, wherein the reconstruction of the mesh specifically comprises the sub-steps of:
acquiring information;
determining a basic unit according to the acquired information;
selecting an inner vertex of the outer contour according to the basic unit to generate an inner vertex set;
and carrying out instantiation generation of the grid.
6. The method for image fitting correction according to claim 1, wherein the step of determining whether the garment is fit to the body comprises the sub-steps of:
determining a list of openings of the garment in the grid garment picture;
determining a line segment list wrapping the body according to the opening list;
and putting the opening and contour line segment list and the human body external contour vertex in the same coordinate system for surrounding comparison, and judging whether the garment can cover the body.
7. The method for correcting fit of an image according to claim 1, wherein the correction of fit of the garment to the mannequin comprises the following sub-steps:
generating a deformed handle on a line segment which is not wrapped by the body;
searching the vertex of the human body external contour closest to the line segment of the non-wrapped body;
and displacing the line segment without wrapping the body according to the vertex.
8. The method for image fitting correction according to claim 7, wherein the deformation handle covers a plurality of mesh vertices, and the deformation handle moves to a vertex position of the human body external contour closest to the deformation handle to drive the mesh vertices to displace so as to complete displacement of the line segment wrapping the body.
9. An image fitting correction system is characterized by specifically comprising: the device comprises a preprocessing unit, an information calibration unit, a grid reconstruction unit, a judgment unit and a correction and attachment unit;
the preprocessing unit is used for preprocessing the picture;
the information calibration unit is used for carrying out information calibration on the preprocessed pictures;
the grid reconstruction unit is used for reconstructing a grid according to the calibrated image;
the judging unit is used for judging whether the clothing can cover the body in the reconstructed grid;
and the correction fitting unit is used for generating a deformed handle if the garment cannot wrap the body, and performing fitting correction on the garment and the mannequin.
10. The image fit correction system of claim 9, wherein the mesh reconstruction unit comprises the following sub-modules: the system comprises a basic unit determining module, a vertex selecting module and a grid generating module;
the basic unit determining module is used for acquiring information and determining a basic unit generated by an internal vertex according to the acquired information;
the vertex selection module is used for selecting an external contour vertex and an internal vertex according to the basic unit to obtain a vertex set;
and the grid generation module is used for carrying out instantiation generation of the grid.
CN201910940139.7A 2019-09-30 2019-09-30 Image fitting correction method and system Pending CN110706359A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910940139.7A CN110706359A (en) 2019-09-30 2019-09-30 Image fitting correction method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910940139.7A CN110706359A (en) 2019-09-30 2019-09-30 Image fitting correction method and system

Publications (1)

Publication Number Publication Date
CN110706359A true CN110706359A (en) 2020-01-17

Family

ID=69197376

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910940139.7A Pending CN110706359A (en) 2019-09-30 2019-09-30 Image fitting correction method and system

Country Status (1)

Country Link
CN (1) CN110706359A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111476912A (en) * 2020-06-28 2020-07-31 恒信东方文化股份有限公司 Image matching method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170161948A1 (en) * 2017-02-15 2017-06-08 StyleMe Limited System and method for three-dimensional garment mesh deformation and layering for garment fit visualization
CN107610242A (en) * 2017-09-18 2018-01-19 深圳市云之梦科技有限公司 A kind of method and system of virtual image generation of wearing the clothes
CN108648053A (en) * 2018-05-10 2018-10-12 南京衣谷互联网科技有限公司 A kind of imaging method for virtual fitting
CN110175897A (en) * 2019-06-03 2019-08-27 广东元一科技实业有限公司 A kind of 3D synthesis fitting method and system
CN110189413A (en) * 2019-05-31 2019-08-30 广东元一科技实业有限公司 A kind of method and system generating clothes distorted pattern

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170161948A1 (en) * 2017-02-15 2017-06-08 StyleMe Limited System and method for three-dimensional garment mesh deformation and layering for garment fit visualization
CN107610242A (en) * 2017-09-18 2018-01-19 深圳市云之梦科技有限公司 A kind of method and system of virtual image generation of wearing the clothes
CN108648053A (en) * 2018-05-10 2018-10-12 南京衣谷互联网科技有限公司 A kind of imaging method for virtual fitting
CN110189413A (en) * 2019-05-31 2019-08-30 广东元一科技实业有限公司 A kind of method and system generating clothes distorted pattern
CN110175897A (en) * 2019-06-03 2019-08-27 广东元一科技实业有限公司 A kind of 3D synthesis fitting method and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111476912A (en) * 2020-06-28 2020-07-31 恒信东方文化股份有限公司 Image matching method and system
CN111476912B (en) * 2020-06-28 2020-09-29 恒信东方文化股份有限公司 Image matching method and system

Similar Documents

Publication Publication Date Title
CN104036532B (en) Based on the three-dimensional production method of clothing to the seamless mapping of two-dimentional clothing popularity
US7079134B2 (en) Three-dimensional digital method of designing clothes
CN111291431B (en) Method for producing three-dimensional fully-formed knitted paper pattern
JP6290153B2 (en) Method and system for generating a three-dimensional model of an object
CN110175897A (en) A kind of 3D synthesis fitting method and system
CN104952112A (en) Data processing apparatus and data processing program
CN108346156B (en) User stature parameter acquisition method and device
CN110199296A (en) Face identification method, processing chip and electronic equipment
US20210326955A1 (en) Generation of Improved Clothing Models
CN110706359A (en) Image fitting correction method and system
CN109064386B (en) Method for establishing three-dimensional clothes model
Jeong et al. 3D pattern construction and its application to tight-fitting garments for comfortable pressure sensation
Lee et al. Heuristic misfit reduction: a programmable approach for 3D garment fit customization
CN111476912B (en) Image matching method and system
CN108846892A (en) The determination method and device of manikin
KR20190114675A (en) method for transferring garment draping between avatars
CN106773050B (en) A kind of intelligent AR glasses virtually integrated based on two dimensional image
WO2022166805A1 (en) Virtual fitting method
CN112990997A (en) Virtual fitting method
US10249100B2 (en) Method and system for progressive drape update on avatar morph for virtual fitting
EP3801201A1 (en) Measuring surface distances on human bodies
EP4160545A1 (en) Three-dimensional avatar generation device, three-dimensional avatar generation method, and three-dimensional avatar generation program
TWI484437B (en) Method for collocating clothing accessory on human body
KR20120052017A (en) Apparatus and method for coordinating a simulated clothes with the three dimensional effect at plane using the two dimensions image data
CN110838182B (en) Method and system for attaching image to mannequin

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination