CN111461142A - Fabric simulation method and system based on yarn and storage medium - Google Patents

Fabric simulation method and system based on yarn and storage medium Download PDF

Info

Publication number
CN111461142A
CN111461142A CN202010241028.XA CN202010241028A CN111461142A CN 111461142 A CN111461142 A CN 111461142A CN 202010241028 A CN202010241028 A CN 202010241028A CN 111461142 A CN111461142 A CN 111461142A
Authority
CN
China
Prior art keywords
yarn
image
fabric
extracting
generate
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.)
Granted
Application number
CN202010241028.XA
Other languages
Chinese (zh)
Other versions
CN111461142B (en
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.)
Guangdong Esquel Textiles Co Ltd
Original Assignee
Guangdong Esquel Textiles Co 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 Guangdong Esquel Textiles Co Ltd filed Critical Guangdong Esquel Textiles Co Ltd
Priority to CN202010241028.XA priority Critical patent/CN111461142B/en
Publication of CN111461142A publication Critical patent/CN111461142A/en
Application granted granted Critical
Publication of CN111461142B publication Critical patent/CN111461142B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • G06V10/44Local feature extraction by analysis of parts of the pattern, e.g. by detecting edges, contours, loops, corners, strokes or intersections; Connectivity analysis, e.g. of connected components
    • G06V10/443Local feature extraction by analysis of parts of the pattern, e.g. by detecting edges, contours, loops, corners, strokes or intersections; Connectivity analysis, e.g. of connected components by matching or filtering
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/70Arrangements for image or video recognition or understanding using pattern recognition or machine learning
    • G06V10/74Image or video pattern matching; Proximity measures in feature spaces
    • G06V10/75Organisation of the matching processes, e.g. simultaneous or sequential comparisons of image or video features; Coarse-fine approaches, e.g. multi-scale approaches; using context analysis; Selection of dictionaries
    • G06V10/751Comparing pixel values or logical combinations thereof, or feature values having positional relevance, e.g. template matching
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Computing Systems (AREA)
  • Artificial Intelligence (AREA)
  • Health & Medical Sciences (AREA)
  • Databases & Information Systems (AREA)
  • Evolutionary Computation (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Software Systems (AREA)
  • Woven Fabrics (AREA)
  • Knitting Of Fabric (AREA)

Abstract

Embodiments of the present disclosure provide a method, system, and storage medium for yarn-based fabric simulation, where the system includes: the image acquisition equipment is used for acquiring images of single yarns; an image processing device for extracting yarn features from the image of the single yarn; generating a virtual yarn according to the yarn characteristics; arranging the virtual yarns in a specified weaving structure to generate a basic fabric drawing; forming a specified pattern on the basic fabric drawing to generate a pattern fabric drawing; and adjusting the color attribute of the pattern fabric drawing according to the specified color value to generate a target fabric drawing. The embodiment of the specification can improve the fabric simulation efficiency and reduce the fabric simulation cost.

Description

Fabric simulation method and system based on yarn and storage medium
Technical Field
The specification relates to the technical field of fabric simulation, in particular to a yarn-based fabric simulation method, a yarn-based fabric simulation system and a storage medium.
Background
In order to obtain the finished product effect of the fabric finished product, the traditional scheme is to use a specified real fabric to make a real finished product. However, if the desired effect of the actual product is not achieved, it is wasted. Therefore, in order to reduce the cost, a scanning instrument is generally used to scan a real fabric, then a virtual fabric is generated based on a fabric image obtained by scanning, and then a virtual fabric finished product is generated according to the virtual fabric.
However, this method based on scanning the real fabric is premised on producing the real fabric; if the real fabric is not produced, simulation cannot be carried out; thus, simulation efficiency is affected. Moreover, once the virtual fabric finished product does not achieve the expected effect, the real fabric is wasted.
Disclosure of Invention
An object of an embodiment of the present specification is to provide a fabric simulation method, system and storage medium based on yarn, so as to improve fabric simulation efficiency and reduce fabric simulation cost.
To achieve the above objects, in one aspect, the present specification provides a yarn-based fabric simulation system, including:
the image acquisition equipment is used for acquiring images of single yarns;
an image processing device for extracting yarn features from the image of the single yarn; generating a virtual yarn according to the yarn characteristics; arranging the virtual yarns in a specified weaving structure to generate a basic fabric drawing; forming a specified pattern on the basic fabric drawing to generate a pattern fabric drawing; and adjusting the color attribute of the pattern fabric drawing according to the specified color value to generate a target fabric drawing.
In an embodiment of the present description, said extracting yarn features from the image of the single yarn comprises:
extracting image characteristics of an axial scanning image of a single yarn;
and determining the number of turns within a unit length range in the image characteristics, and determining the twist of the yarn according to the number of turns.
In an embodiment of the present description, said extracting yarn features from the image of the single yarn comprises:
extracting image characteristics of an axial scanning image of a single yarn;
and matching the image characteristics with a preset twisting direction characteristic template, and determining the twisting direction of the yarn according to a matching result.
In an embodiment of the present description, said extracting yarn features from the image of the single yarn comprises:
extracting image characteristics of a cross section scanning image of a single yarn;
and determining the number of closed curves in the image characteristics, and determining the number of strands of the yarn according to the number of the closed curves.
In embodiments of the present description, the target fabric map is a vector map.
In another aspect, embodiments of the present disclosure also provide a method for simulating a fabric based on yarn, including:
extracting yarn characteristics from the image of a single yarn;
generating a virtual yarn according to the yarn characteristics;
arranging the virtual yarns in a specified weaving structure to generate a basic fabric drawing;
forming a specified pattern on the basic fabric drawing to generate a pattern fabric drawing;
and adjusting the color attribute of the pattern fabric drawing according to the specified color value to generate a target fabric drawing.
In an embodiment of the present description, the extracting yarn features from an image of an individual yarn includes:
extracting image characteristics of an axial scanning image of a single yarn;
and determining the number of turns within a unit length range in the image characteristics, and determining the twist of the yarn according to the number of turns.
In an embodiment of the present description, the extracting yarn features from an image of an individual yarn includes:
extracting image characteristics of an axial scanning image of a single yarn;
and matching the image characteristics with a preset twisting direction characteristic template, and determining the twisting direction of the yarn according to a matching result.
In an embodiment of the present description, the extracting yarn features from an image of an individual yarn includes:
extracting image characteristics of a cross section scanning image of a single yarn;
and determining the number of closed curves in the image characteristics, and determining the number of strands of the yarn according to the number of the closed curves.
In another aspect, embodiments of the present specification further provide a computer storage medium having a computer program stored thereon, the computer program, when executed by a processor, implementing the steps of:
extracting yarn characteristics from the image of a single yarn;
generating a virtual yarn according to the yarn characteristics;
arranging the virtual yarns in a specified weaving structure to generate a basic fabric drawing;
forming a specified pattern on the basic fabric drawing to generate a pattern fabric drawing;
and adjusting the color attribute of the pattern fabric drawing according to the specified color value to generate a target fabric drawing.
As can be seen from the technical solutions provided by the embodiments of the present specification, since the embodiments of the present specification can directly generate a virtual fabric by scanning an image of a real yarn, it is no longer necessary to produce a real fabric for simulating a fabric, thereby reducing the fabric simulation cost. Moreover, fabric simulation and subsequent fabric finished product simulation can be carried out as long as yarns exist, and waiting for production of real fabrics in the prior art is not needed, so that the fabric simulation efficiency is improved by the implementation scheme of the specification. Moreover, because the embodiment of the specification realizes the fabric simulation according to the yarn characteristics of the real yarns, the simulated fabric is closer to the real fabric, and the simulation precision is further ensured.
Drawings
In order to more clearly illustrate the embodiments of the present specification or the technical solutions in the prior art, the drawings 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 specification, and other drawings can be obtained by those skilled in the art without inventive labor. In the drawings:
FIG. 1 is a schematic structural view of a yarn-based fabric simulation system in some embodiments of the present description;
FIG. 2 is a block diagram showing the structure of an image processing apparatus according to an embodiment of the present specification;
FIG. 3 is a schematic axial scan image of a yarn in an exemplary embodiment of the present description;
FIG. 4 is a schematic cross-sectional scan image of a yarn in an exemplary embodiment of the present description;
FIG. 5 is a schematic illustration of looping in an exemplary embodiment of the present description;
FIG. 6 is a schematic illustration of a tuck in an exemplary embodiment of the present description;
FIG. 7 is a schematic illustration of an empty needle in an exemplary embodiment of the present description;
FIG. 8 is a schematic illustration of a base fabric produced in an exemplary embodiment of the present description;
FIG. 9 is a schematic view of a sliver-form fabric produced in an exemplary embodiment of the present description;
fig. 10 is a flow diagram of a yarn-based fabric simulation system in some embodiments of the present description.
Detailed Description
In order to make the technical solutions in the present specification better understood, the technical solutions in the embodiments of the present specification will be clearly and completely described below with reference to the drawings in the embodiments of the present specification, and it is apparent that the described embodiments are only a part of the embodiments of the present specification, but not all of the embodiments. All other embodiments obtained by a person skilled in the art without making creative efforts based on the embodiments in the present specification shall fall within the protection scope of the present specification.
Referring to fig. 1, a yarn-based fabric simulation system according to some embodiments of the present disclosure may include an image processing apparatus 100 and an image capture apparatus 200. Wherein the image capturing device 200 may be configured to capture an image of a single yarn; the image processing device 100 may be used to extract yarn features from the image of the single yarn; generating a virtual yarn according to the yarn characteristics; arranging the virtual yarns in a specified weaving structure to generate a basic fabric drawing; forming a specified pattern on the basic fabric drawing to generate a pattern fabric drawing; and adjusting the color attribute of the pattern fabric drawing according to the specified color value to generate a target fabric drawing. Subsequently, a fabric finished product (such as three-dimensional clothes and the like) can be simulated according to the virtual target fabric graph.
It follows that because embodiments of the present description can generate a virtual fabric directly by scanning an image of real yarns, there is no need to produce a real fabric for simulating the fabric, thereby reducing fabric simulation costs. Moreover, fabric simulation and subsequent fabric finished product simulation can be carried out as long as yarns exist, and waiting for production of real fabrics in the prior art is not needed, so that the fabric simulation efficiency is improved by the implementation scheme of the specification. Moreover, because the embodiment of the specification realizes the fabric simulation according to the yarn characteristics of the real yarns, the simulated fabric is closer to the real fabric, and the simulation precision is further ensured.
In some embodiments of the present disclosure, the image capturing apparatus 200 may be any video camera, digital still camera, scanner, etc. whose image resolution can meet the set requirement, and may be specifically selected according to the actual requirement, which is not limited in this disclosure. For example, in one exemplary embodiment of the present description, the image capture device 200 may be a fabric scanner or the like.
In some embodiments of the present description, image processing device 100 may be any suitable computer device. As shown in fig. 2, the computer device comprises a memory, a processor, and a computer program (including an image processing program) stored on the memory, which computer program, when executed by the processor, can extract yarn characteristics from an image of a single yarn; generating a virtual yarn according to the yarn characteristics; arranging the virtual yarns in a specified weaving structure to generate a basic fabric drawing; forming a specified pattern on the basic fabric drawing to generate a pattern fabric drawing; and adjusting the color attribute of the pattern fabric drawing according to the specified color value to generate a target fabric drawing. For example, in one exemplary embodiment of the present description, the image processing apparatus 100 may be a desktop computer, a tablet computer, a notebook computer, a smart phone, or the like.
In some application scenes, the fabric of the finished fabric product can be woven by yarns of one specification; the image capturing device 200 may capture an image of only one yarn for subsequent fabric simulation and fabric product simulation. In other application scenes, the fabric of the finished fabric product can be woven by yarns with various specifications; the image capturing device 200 may capture an image of one yarn of each gauge for subsequent fabric simulation and fabric end product simulation. It should be noted that the single yarn mentioned in this specification may be a single yarn, or may be a strand formed by twisting a plurality of single yarns (i.e., a plied yarn).
Generally, the image capturing apparatus 200 may communicate with the image processing apparatus 100 so that the image capturing apparatus 200 may provide the captured yarn image to the image processing apparatus 100 for processing.
In some embodiments of the present description, the image processing apparatus 100 may extract yarn characteristics from the image of the single yarn after acquiring the image, so as to acquire characteristic attributes of the yarn. For example, in one exemplary embodiment of the present description, the extracted yarn characteristics may include twist, twist direction, number of strands, and the like. The twist is the number of turns (also called as the number of turns and the number of turns) formed by twisting the fiber in a unit length (for example, one meter, one inch or 10 cm) of the yarn. The twist direction is used to characterize the twisting direction of the yarn (i.e., the direction in which the fibers on the surface of the yarn are inclined); in some exemplary embodiments, the twist direction of the yarn may include Z twist, S twist, ZS twist, ZZ twist, ZSZ twist, and the like. The number of strands is defined as the number of strands in a strand formed by combining n (n.gtoreq.2) single yarns. When n is 2, the yarn is a plied yarn formed by matching two single yarns, and when n is 3, the yarn is a plied yarn formed by matching three single yarns; and so on. Of course, if a single yarn is a single yarn, its number of strands is 1.
For the sake of understanding, the following description will be given taking the characteristics of twist, twist direction and number of strands of the extracted yarn as an example. However, those skilled in the art will appreciate that this is merely an exemplary illustration, and in other embodiments of the present disclosure, the extracted yarn features may further include more or less feature indicators (e.g., the extracted yarn features may further include color features, etc.), as desired, and the present disclosure is not limited thereto.
1. Twist recognition
Extracting image features of an axial scan image (such as that shown in FIG. 3) of a single yarn; after obtaining the image characteristics of the axial scanning image of a single yarn, the twist of the yarn can be determined by identifying the number of turns in the unit length range in the image characteristics. For ease of identification, the length of the individual yarns being collected may be exactly the unit length dimension (e.g., one meter, one inch, or 10 centimeters). For example, if the number of twists in the unit length range in the image feature is 6, the twist of the yarn is 6, and if the number of twists in the unit length range in the image feature is 10, the twist of the yarn is 10.
2. Twist direction identification
Extracting image characteristics of an axial scanning image of a single yarn; and matching the image characteristics with a preset twisting direction characteristic template, and determining the twisting direction of the yarn according to a matching result. When the image feature is most similar to which twist direction feature template, the twist direction corresponding to the twist direction feature template can be identified as the twist direction of the yarn. The preset twist-direction characteristic templates are multiple, and can include, but are not limited to, a Z twist template, an S twist template, a ZS twist template, a ZZ twist template, a ZSZ twist template, and the like. For example, taking the axial scanning image of a single yarn as shown in fig. 3 as an example, since the image feature of the yarn is most similar to the S-twist template, the twist direction of the yarn can be identified as S-twist.
3. Strand number identification
And extracting image characteristics of the cross-section scanning image of the single yarn. Identifying the number of closed curves (or blocks) in the image characteristics, and determining the number of strands of the yarn according to the number of closed curves. In theory, the cross-section of the single yarn is circular or quasi-circular. However, due to the interaction between the single yarns after twisting, the individual yarns are generally deformed to a different extent, resulting in a deformation of their cross-sectional shape. As can be seen from the cross-sectional scan image (e.g., shown in fig. 4), a closed curve (or block) represents a single yarn; thus, the number of strands of the yarn can be identified by identifying the number of closed curves (or blocks) in the image feature. For example, taking the cross-sectional scan image of a single yarn shown in fig. 4 as an example, the number of strands of the yarn can be identified as 7 strands because it contains 7 closed curves (i.e., 7 circles in fig. 4).
After the yarn characteristics are obtained, corresponding virtual yarns can be constructed according to the yarn characteristics. For example, in one exemplary embodiment of the present description, when the yarn characteristics obtained include: after a twist of 6, a twist direction of ZS twist and a number of strands of 3, a virtual yarn with a twist of 6, a twist direction of ZS twist and a number of strands of 3 can be produced.
In some embodiments of the present description, arranging the dummy yarns in a specified weave configuration to generate the base fabric map may include: a base fabric map (e.g., as shown in fig. 8) may be generated by determining a knitting structure based on a knitting structure operation of a user and then drawing the knitting structure with the virtual yarn within a specified range. The basic fabric drawing refers to the fabric with patterns and colors which are not drawn yet.
In one embodiment of the present description, the weave structure operation may be a selection operation, i.e., a user may select a weave structure from a set of weave structures provided by the system to facilitate improved simulation efficiency. The weaving structure set may include a plurality of elements such as a plain structure, a twill structure, a satin structure, and the like. In another embodiment of the present disclosure, the operation of the weave structure may also be a self-defining operation, that is, a user may define a weave structure according to an edit window provided by the system, so as to meet the personalized requirements of the user. Wherein, tool bars such as 'looping', 'tucking' and 'empty needle' can be provided in a tool bar of the editing window. Different knitting structures may be formed by a combination of knitting (e.g., as shown by the thick black lines in fig. 5), tucking (e.g., as shown by the thick black lines in fig. 6), and empty needles (e.g., as shown by the thick black lines in fig. 7).
In one embodiment of the present disclosure, the system may be provided with a pattern set, and the pattern set may include various patterns such as striped patterns, lattice patterns, and dot patterns, so as to facilitate selection by a user, thereby facilitating improvement of simulation efficiency. When a user selects a pattern, a layer of the pattern can be generated on a layer of a basic fabric drawing. In addition, the size and the density of the patterns can be adjusted according to needs. Certainly, in order to meet the personalized requirements of the user, the system can also provide a pattern editing window so as to facilitate the user to define the personalized pattern. On this basis, the color attribute of the pattern fabric drawing is adjusted according to the color value (e.g., RGB value) specified by the user, so that the target fabric drawing (e.g., the black and white stripe fabric drawing shown in fig. 9) can be generated.
For convenience of description, the above devices are described as being divided into various units by functions, and are described separately. Of course, the functions of the various elements may be implemented in the same one or more software and/or hardware implementations of the present description.
Corresponding to the yarn-based fabric simulation system described above, the present specification provides a yarn-based fabric simulation method. Referring to fig. 10, in some embodiments of the present description, a yarn-based fabric simulation process may include the steps of:
s101, extracting yarn characteristics from the image of the single yarn.
And S102, generating a virtual yarn according to the yarn characteristics.
S103, arranging the virtual yarns in a specified weaving structure to generate a basic fabric drawing.
And S104, forming a specified pattern on the basic fabric drawing to generate a pattern fabric drawing.
And S105, adjusting the color attribute of the pattern fabric drawing according to the specified color value to generate a target fabric drawing.
In the yarn-based fabric simulation method of some embodiments of the present description, the extracting yarn features from the image of the single yarn includes:
extracting image characteristics of an axial scanning image of a single yarn;
and determining the number of turns within a unit length range in the image characteristics, and determining the twist of the yarn according to the number of turns.
In the yarn-based fabric simulation method of some embodiments of the present description, the extracting yarn features from the image of the single yarn includes:
extracting image characteristics of an axial scanning image of a single yarn;
and matching the image characteristics with a preset twisting direction characteristic template, and determining the twisting direction of the yarn according to a matching result.
In the yarn-based fabric simulation method of some embodiments of the present description, the extracting yarn features from the image of the single yarn includes:
extracting image characteristics of a cross section scanning image of a single yarn;
and determining the number of closed curves in the image characteristics, and determining the number of strands of the yarn according to the number of the closed curves.
In correspondence with the yarn-based fabric simulation method described above, the present specification provides a computer storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of:
extracting yarn characteristics from the image of a single yarn;
generating a virtual yarn according to the yarn characteristics;
arranging the virtual yarns in a specified weaving structure to generate a basic fabric drawing;
forming a specified pattern on the basic fabric drawing to generate a pattern fabric drawing;
and adjusting the color attribute of the pattern fabric drawing according to the specified color value to generate a target fabric drawing.
While the process flows described above include operations that occur in a particular order, it should be appreciated that the processes may include more or less operations that are performed sequentially or in parallel (e.g., using parallel processors or a multi-threaded environment).
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present description may be provided as a method, system, or computer program product. Accordingly, the description may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the description may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
This description may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for system embodiments, because they are substantially similar to process embodiments, the description is relatively simple, and reference may be made to some descriptions of process embodiments for related points.
The above description is only an embodiment of the present disclosure, and is not intended to limit the present disclosure. Various modifications and alterations to this description will become apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present specification should be included in the scope of the claims of the present specification.

Claims (10)

1. A yarn-based fabric simulation system, comprising:
the image acquisition equipment is used for acquiring images of single yarns;
an image processing device for extracting yarn features from the image of the single yarn; generating a virtual yarn according to the yarn characteristics; arranging the virtual yarns in a specified weaving structure to generate a basic fabric drawing; forming a specified pattern on the basic fabric drawing to generate a pattern fabric drawing; and adjusting the color attribute of the pattern fabric drawing according to the specified color value to generate a target fabric drawing.
2. The yarn-based fabric simulation system of claim 1, wherein the extracting yarn features from the image of the single yarn comprises:
extracting image characteristics of an axial scanning image of a single yarn;
and determining the number of turns within a unit length range in the image characteristics, and determining the twist of the yarn according to the number of turns.
3. The yarn-based fabric simulation system of claim 1, wherein the extracting yarn features from the image of the single yarn comprises:
extracting image characteristics of an axial scanning image of a single yarn;
and matching the image characteristics with a preset twisting direction characteristic template, and determining the twisting direction of the yarn according to a matching result.
4. The yarn-based fabric simulation system of claim 1, wherein the extracting yarn features from the image of the single yarn comprises:
extracting image characteristics of a cross section scanning image of a single yarn;
and determining the number of closed curves in the image characteristics, and determining the number of strands of the yarn according to the number of the closed curves.
5. The yarn-based fabric simulation system of claim 1, wherein the target fabric graphic is a vector graphic.
6. A fabric simulation method based on yarn is characterized by comprising the following steps:
extracting yarn characteristics from the image of a single yarn;
generating a virtual yarn according to the yarn characteristics;
arranging the virtual yarns in a specified weaving structure to generate a basic fabric drawing;
forming a specified pattern on the basic fabric drawing to generate a pattern fabric drawing;
and adjusting the color attribute of the pattern fabric drawing according to the specified color value to generate a target fabric drawing.
7. The yarn-based fabric simulation method of claim 6, wherein the extracting yarn features from the image of the single yarn comprises:
extracting image characteristics of an axial scanning image of a single yarn;
and determining the number of turns within a unit length range in the image characteristics, and determining the twist of the yarn according to the number of turns.
8. The yarn-based fabric simulation method of claim 6, wherein the extracting yarn features from the image of the single yarn comprises:
extracting image characteristics of an axial scanning image of a single yarn;
and matching the image characteristics with a preset twisting direction characteristic template, and determining the twisting direction of the yarn according to a matching result.
9. The yarn-based fabric simulation method of claim 6, wherein the extracting yarn features from the image of the single yarn comprises:
extracting image characteristics of a cross section scanning image of a single yarn;
and determining the number of closed curves in the image characteristics, and determining the number of strands of the yarn according to the number of the closed curves.
10. A computer storage medium having a computer program stored thereon, the computer program, when executed by a processor, performing the steps of:
extracting yarn characteristics from the image of a single yarn;
generating a virtual yarn according to the yarn characteristics;
arranging the virtual yarns in a specified weaving structure to generate a basic fabric drawing;
forming a specified pattern on the basic fabric drawing to generate a pattern fabric drawing;
and adjusting the color attribute of the pattern fabric drawing according to the specified color value to generate a target fabric drawing.
CN202010241028.XA 2020-03-31 2020-03-31 Yarn-based fabric simulation method, system and storage medium Active CN111461142B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010241028.XA CN111461142B (en) 2020-03-31 2020-03-31 Yarn-based fabric simulation method, system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010241028.XA CN111461142B (en) 2020-03-31 2020-03-31 Yarn-based fabric simulation method, system and storage medium

Publications (2)

Publication Number Publication Date
CN111461142A true CN111461142A (en) 2020-07-28
CN111461142B CN111461142B (en) 2023-07-28

Family

ID=71682945

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010241028.XA Active CN111461142B (en) 2020-03-31 2020-03-31 Yarn-based fabric simulation method, system and storage medium

Country Status (1)

Country Link
CN (1) CN111461142B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070156276A1 (en) * 2003-03-07 2007-07-05 John Smedley Process for producing a knitted fabric
CN102831643A (en) * 2012-09-20 2012-12-19 山东大学 Method for establishing colored three-dimensional yarn model by employing Micro-CT
CN203007548U (en) * 2010-10-18 2013-06-19 阜宁县化轻物资有限公司 Straw fiber stereo pattern fabric
CN107369068A (en) * 2017-07-02 2017-11-21 绍兴原色数码科技有限公司 Based on internet printing pattern designing, color separation and digit printing fabric custom-built system
CN108288272A (en) * 2018-02-08 2018-07-17 首都师范大学 Yarn recognition methods and device
CN108305228A (en) * 2018-01-26 2018-07-20 网易(杭州)网络有限公司 Image processing method, device, storage medium and processor
CN108681865A (en) * 2018-06-25 2018-10-19 江苏阳光股份有限公司 Fabric production and sales management system based on database and management method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070156276A1 (en) * 2003-03-07 2007-07-05 John Smedley Process for producing a knitted fabric
CN203007548U (en) * 2010-10-18 2013-06-19 阜宁县化轻物资有限公司 Straw fiber stereo pattern fabric
CN102831643A (en) * 2012-09-20 2012-12-19 山东大学 Method for establishing colored three-dimensional yarn model by employing Micro-CT
CN107369068A (en) * 2017-07-02 2017-11-21 绍兴原色数码科技有限公司 Based on internet printing pattern designing, color separation and digit printing fabric custom-built system
CN108305228A (en) * 2018-01-26 2018-07-20 网易(杭州)网络有限公司 Image processing method, device, storage medium and processor
CN108288272A (en) * 2018-02-08 2018-07-17 首都师范大学 Yarn recognition methods and device
CN108681865A (en) * 2018-06-25 2018-10-19 江苏阳光股份有限公司 Fabric production and sales management system based on database and management method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
胡睿: "基于纱线和编织样式虚拟编织机的实现方法研究基于纱线和编织样式虚拟编织机的实现方法研究", pages 1 - 42 *

Also Published As

Publication number Publication date
CN111461142B (en) 2023-07-28

Similar Documents

Publication Publication Date Title
CN112131724B (en) Three-dimensional design simulation system and method for knitting formed product
CN110373885A (en) The performance data processing method and processing device of fabric
WO2019233079A1 (en) Logo weaving
CN105787163A (en) Generating system and generating method of textile pattern file
US9043009B2 (en) Non-transitory computer-readable medium and device
CN111461142A (en) Fabric simulation method and system based on yarn and storage medium
Zhang et al. IDSS: a novel representation for woven fabrics
CN110751732B (en) Method for converting 2D image into 3D image
CN107145654A (en) One kind is based on internet warp-knitted fabric design method
CN108733900B (en) Method for appearance simulation and visual evaluation of bunchy yarn fabric
Toyoura et al. Generating jacquard fabric pattern with visual impressions
CN111524179B (en) Ironing effect determination method and device of virtual ready-made clothes and computer equipment
CN103911717A (en) Method for adjusting visual effect of tapestry
Ogaki et al. Production ray tracing of feature lines
Oezdemir et al. Computer simulation of plain woven fabric appearance from yarn photographs
Zlatev et al. Transfer of embroidery elements from Bulgarian national folk costume to the contemporary fashion
CN114253199B (en) Weaving control method and system
Kim Development of a parametric design method for various woven fabric structures
JPH06195421A (en) Textile designing device
CN118247514B (en) Pattern automatic identification method and system for jacquard
US20230357968A1 (en) Methods for fabrication of articles from three-dimensional models
CN117522957A (en) Appearance simulation method of knitted fabric based on texture mapping
Li et al. Automatic construction of digital woven fabric by using sequential yarn images
KR19980072618A (en) Fabric design device
CN114398787A (en) Method and device for designing non-jacquard woven tape, computer equipment and storage medium

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
GR01 Patent grant
GR01 Patent grant