Melange Yarn Image Creation Apparatus, Melange Yarn Image Creation Method, and Melange Yarn Image Creation Program
For formation of a yarn image of melange yarn, layers of image having multiple types of fibers of differentiated colors arranged randomly are piled one upon another into a stack of multiple layers. The degree of transparency is determined from the brightness of each of the fibers, and an image synthesis is carried out with respect to the image layers piled one upon another, thereby forming a yarn image of melange yarn. Thus, a yarn image can be formed without any test production of melange yarn. Further, there can be realized a real expression of texture sensation owing to vertical piling of differentiated colors.
This invention relates to the creation of an image of mélange yarn.
BACKGROUND ARTMelange yarn is a yarn in which a plurality of types of fiber having different colors are mixed together. At present, the only way to know the color and texture of the mélange yarn that will be obtained by mixing together certain fiber colors in certain ratios is through a process of trial and error in which fibers are actually mixed together to create a mélange yarn. Hence, a large number of trial mélange yarns must be created to obtain a single mélange yarn.
In addition to a mélange yarn design and a trial product, an image of the mélange yarn is required in a simulation of a fiber product using the planned mélange yarn. For example, to simulate a knitted product which uses mélange yarn such that the color and loop shape of the mélange yarn is expressed rather than knitting data, an image of the mélange yarn is required. If the mélange yarn actually exists, an image thereof can be read by a scanner, appropriately reduced, and copied to the fiber product simulation image. However, to simulate a fiber product which uses mélange yarn during the design process, prior to test production of the mélange yarn, an image of the mélange yarn must be created. Note that WO 03/032203 relates to yarn image simulation.
DISCLOSURE OF THE INVENTIONA basic object of this invention is to create a realistic image of a mélange yarn without actually creating the mélange yarn.
Another object of this invention is to facilitate transparency processing required to synthesize the colors between vertically overlapping fibers.
An additional object of this invention is to enable depiction of the degree of mixing of fibers having different colors on a yarn image.
A mélange yarn image creation apparatus according to this invention is an apparatus for creating a mélange yarn image, comprising means for providing a plurality of vertically overlapping image layers in which a plurality of types of fiber having different colors and a predetermined transparency are disposed at random, and means for creating the mélange yarn image by image-synthesizing the vertically overlapping image layers in accordance with the transparency of each of the fiber types.
The mélange yarn image creation apparatus preferably further comprises means for determining the transparency of each of the fiber types using a value of each fiber type and as an increasing function of the value.
Also, the mélange yarn image creation apparatus preferably further comprises means for modifying a resolution of the yarn image in the image layers such that a yarn image in which the fiber types are mixed evenly is created by relatively increasing the resolution of the yarn image, and a yarn image in which the fiber types are mixed unevenly is created by relatively reducing the resolution of the yarn image.
A mélange yarn image creation method according to this invention is a method for creating a mélange yarn image, comprising the steps of providing a plurality of vertically overlapping image layers in which a plurality of types of fiber having different colors and a predetermined transparency are disposed at random, and creating the mélange yarn image by image-synthesizing the vertically overlapping image layers in accordance with the transparency of each of the fiber types.
The transparency of each of the fiber types is preferably determined using a value of each fiber type and as an increasing function of the value.
A mélange yarn image creation program according to this invention is a program for creating a mélange yarn image, comprising a command for providing a plurality of vertically overlapping image layers in which a plurality of types of fiber having different colors and a predetermined transparency are disposed at random, and a command for creating the mélange yarn image by image-synthesizing the vertically overlapping image layers in accordance with the transparency of each of the fiber types.
In the apparatus, method, and program for creating a mélange yarn image according to this invention, a yarn image is constituted by a synthesized image of a plurality of layers, and therefore the color and texture produced by the overlapping fibers on the upper layer and lower layer of the yarn can be depicted. As a result, a realistic yarn image is obtained. The yarn image can be recreated easily by varying the mixing ratios and colors of the fibers, and therefore a mélange yarn evaluation can be performed during the mélange yarn design process without actually mixing together base fibers to create the mélange yarn. As a result, the mélange yarn design process is facilitated. Moreover, the created yarn image may be used in a simulation of a fiber product using the mélange yarn, and hence a simulation of a fiber product using the mélange yarn can be performed without actually creating the mélange yarn.
Note that with respect to the inventions described in the claims and the description of the embodiment, description relating to the yarn image creation apparatus is equally applicable to the yarn image creation method and creation program, and likewise description relating to the creation method is equally applicable to the yarn image creation apparatus and creation program. Furthermore, in this specification the term “at random” means that the fibers of each fiber type appear irregularly, and does not exclude a case in which fibers of the same type are gathered together to a certain degree or the like.
The fiber transparency may be input manually for each fiber type, for example, but by transforming the fiber value into the fiber transparency using a transformation table or the like, the work required to input the transparency can be eliminated. In the case of real fibers, bright colors and nearly white colors often have a high transparency, while dark colors with a low value and nearly black colors often have a low transparency. Hence, by determining the transparency as an increasing function of the value, the transparency can be determined automatically from the value, i.e. the inherent image data of the fibers. In this specification, it is assumed that the lower layer image appears increasingly more clearly as the transparency increases.
In mélange yarn, the plurality of types of base fiber may be mixed sufficiently evenly or less evenly, and the color and texture of the mélange yarn differs depending on whether or not the fibers have been untangled and mixed sufficiently. In order to depict the degree of fiber mixing, the randomness of the fiber arrangement on each layer may be varied such that a sufficiently random arrangement (in which few blocks of fibers of the same type exist) corresponds to a well-mixed yarn and a less random arrangement corresponds to a less well-mixed yarn including parts where fiber of the same type are gathered together. However, by varying the logical pixel count in the circumferential direction of the yarn such that the logical pixel count is reduced when the degree of mixing is low, blocks of fibers of the same type can be depicted, and by varying the logical pixel count in the circumferential direction of the yarn such that the logical pixel count is increased when the degree of mixing is high, a yarn in which the plurality of fiber types are mixed sufficiently evenly can be depicted.
BRIEF DESCRIPTION OF THE DRAWINGS
- 2 yarn image creation apparatus
- 4 fiber data storage unit
- 6 transparency calculation unit
- 8 input interface
- 10 yarn image creation program
- 12 yarn shape data storage unit
- 14 fluff model storage unit
- 16 color printer
- 18 color display unit
- 20 output interface
- 22 layer image storage unit
- 24 fluff image storage unit
- 26 image processing unit
- 27 image synthesis unit
- 28 shadowing/smoothing processing unit
- 29 fluff addition unit
- 32 yarn image storage unit
- 34 reduction processing unit
- 36 knit design unit
- 38 loop simulation unit
- 40 yarn shape data input command
- 42 fiber data input command
- 44 layer image creation command
- 46 transparency calculation command
- 48 image synthesis command
- 50 fluff addition command
- 52 reduction command
- 60 yarn image
- 62 loop image
A best mode for carrying out this invention will be described below.
EmbodimentFIGS. 1 to 15 show an embodiment. In these drawings, 2 is a yarn image creation apparatus, and 4 is a fiber data storage unit which stores parameters relating to base fibers. The fiber data storage unit 4 stores the ratios of the base fibers used in a mélange yarn, color data relating thereto, the thickness, length, and thickness dispersion thereof, the degree of distribution unevenness in the base fibers, indicating whether the fibers are sufficiently untangled and mixed evenly or the base fibers are mixed unevenly, and so on. Note that in this specification, color data are stored as (R, G, B), for example, but the color data may be stored as a hue H, a value V, a saturation C, and so on. Furthermore, in this specification a symbol ac is used for the transparency, and as the value of α increases, the transparency of the lower layer images increases.
In this invention, the transparency a is used to express vertical overlap between fibers having different color data. The transparency is preferably determined for each fiber type, for example, but since it is troublesome to input the transparency of each fiber type, the value of the fiber is approximated by the transparency α. The value V is determined by a transparency calculation unit 6 from the (R, G, B) data, and the transparency a is calculated as a monotonically increasing function thereof. 8 denotes an input interface into which the fiber ratio, thickness, length, thickness dispersion, degree of fiber mixing, and so on are input manually, yarn shape data and the like are input from a scanner not shown in the drawings, and files such as a yarn image creation program 10 are file-input. A yarn shape data storage unit 12 stores the yarn shape data read by the scanner, for example, and may also store yarn main body shape data obtained by removing fluff from the shape data. When reading the yarn shape data, mélange yarn does not have to be read, and a normal yarn image may be read by the scanner. Instead of reading the yarn shape data using the scanner, the count and twist of the yarn, the type of yarn, and so on may be input, converted into yarn shape data, and stored.
14 denotes a fluff model storage unit. The yarn shape data comprise a yarn main body and peripheral fluff, and the fluff model storage unit 14 stores an image of the fluff. Each fiber of the fluff is preferably vectorized and stored as vector data. When the mélange yarn is formed from three types of fiber, for example, the fluff model may be divided into three, and instead of storing a fluff model as vector data, the divided fluff models for each fiber type may be stored such that the final fluff model is obtained by synthesizing the three fluff models. In this case, approximately two to four types of fiber constitute the mélange yarn, and therefore a fluff model divided into two, a fluff model divided into four, and so on are stored in addition to a fluff model divided into three. Further, a plurality of fluff model types are preferably stored in accordance with the fluff pile and so on.
16 is a color printer which outputs created yarn images, loop simulation images, and so on. 18 is a color display unit which displays the created yarn images and loop simulation images. 20 is an output interface which outputs an image file of a created yarn image, design data of a fiber product, a loop simulation image, and so on.
22 is a layer image storage unit for storing layer images obtained by dividing the yarn main body of the yarn image into a plurality of, for example three or four, layers. The images are stored in an (R, G, B) format, for example, and the number of stored layers is between two and four, for example. A fluff image storage unit 24 stores a fluff image of mélange yarn comprising a plurality of types of fiber. When the fluff model is converted into vector data, for example, a single vector corresponds to a single fiber, and color data for a single fiber are allocated to each vector and stored in the fluff image storage unit 24. In parts of the fluff image where fluff overlaps, an average value of the color data for the vertically overlapping fibers may be used, for example. Alternatively, similarly to the yarn main body, the color data overlap of the upper and lower fibers may be determined by determining the transparency of the fiber in accordance with the value thereof. In this case, the transparency in the fluff is preferably set to be equal to or greater than the transparency of the same fiber type in the yarn main body. Further, in a case where the fluff model is formed by dividing the fluff into fiber types and superposing the divided types, the transparency may be allocated to each layer of fluff.
26 is an image processing unit comprising an image synthesis unit 27 for image-synthesizing the images stored in the layer image storage unit 22, a shadowing/smoothing processing unit 28 for implementing shadowing on the image-synthesized yarn image such that a central portion of the yarn image in a lengthwise direction is light and the upper and lower ends are dark, and also for implementing smoothing, and a fluff addition unit 29 for incorporating the fluff image into the yarn image following shadowing and smoothing thereof. Note that the shadowing/smoothing processing unit 28 need not be provided. 32 is a yarn image storage unit for storing the created mélange yarn image. 34 is a reduction processing unit for reducing the yarn image with substantially no smoothing when the yarn image is to be reduced and used in a fiber product simulation such as a loop simulation.
The yarn image creation apparatus 2 has a knitted product design function and a loop simulation function. 36 is a knit design unit which inputs a knitted product design from the input interface 8 or the like and converts the design into knitting data. In a loop simulation unit 38, a loop simulation is performed by creating an image depicting a yarn loop in accordance with the knitting data. The yarn image used in the loop simulation is obtained by reducing the image stored in the yarn image storage unit 32 using the reduction processing unit 34.
During image synthesis, assuming that an upper layer is A, a lower layer is B, and the transparency of the upper layer is αA, the color data of the synthesized image are determined from (1−αA)×(R, G, B)A+αA×(R, G, B)B. When three layers images A, B, C exist, the synthesized image may be determined from (1−αA)×(R, G. B)A+αA×{(1−αB)×(R, G, B)B+αB×(R, G, B)C}. Image synthesis may be performed in a similar manner for four or more layers. In accordance with a fluff addition command 50, the color data of each fiber are allocated to each fiber of the fluff model described above in accordance with a predetermined mixing ratio. A step 6 shown in
FIGS. 6 to 15 show a process for creating a yarn image and a loop simulation image.
The upper portion of
At a resolution of 1200 dpi, the resolution and the fiber width are substantially equal, and therefore an image in which each fiber appears to be mixed perfectly evenly is obtained. However, since every fiber is mixed perfectly at a resolution of 1200 dpi, the unique texture of mélange yarn is not depicted favorably in the loop simulation image. At a resolution of approximately 400 dpi, on the other hand, the texture of mélange yarn is expressed most favorably, and through experiment it was learned that a mélange yarn image is preferably created at a resolution between approximately 300 and 800 dpi. It was learned from the results shown in
In this embodiment, a yarn image, a loop simulation image, and so on are obtained without actually creating the mélange yarn, and hence mélange yarn design, evaluation of a fiber product using the mélange yarn, and so on are facilitated. Moreover, the mixing ratios of the base fibers, the color data of the base fibers, and so on can be modified easily on the yarn image creation apparatus, and therefore an optimum mélange yarn can be designed easily. In this embodiment, a mélange yarn image is obtained by superposing a plurality of layers, and therefore the texture of the mélange yarn, which is produced by overlap between translucent fibers, can be depicted realistically.
Furthermore, by determining the transparency from the fiber value, the transparency can be determined individually and manual work to input the transparency can be eliminated. By converting the fluff into vector data and allocating a single type of base fiber to each vector, the fluff can be depicted realistically. By varying the resolution of the yarn image, the degree of mixing of the base fibers can be depicted realistically. Moreover, by performing non-smoothing reduction during the process to convert the yarn image into a loop simulation image, a loop simulation and the like can be performed while maintaining the unique mélange yarn texture obtained in the yarn image.
Claims
1. A mélange yarn image creation apparatus for creating a mélange yarn image, characterized by:
- means for providing a plurality of vertically overlapping image layers in which a plurality of types of fiber having different colors and a predetermined transparency are disposed at random; and
- means for creating said mélange yarn image by image-synthesizing said vertically overlapping image layers in accordance with said transparency of each of said fiber types.
2. The mélange yarn image creation apparatus according to claim 1, characterized in further comprising means for determining said transparency of each of said fiber types using a value of each of said fiber types and as an increasing function of said value.
3. The mélange yarn image creation apparatus according to claim 1, characterized in further comprising means for modifying a resolution of said yarn image in said image layers such that a yarn image in which said fiber types are mixed evenly is created by relatively increasing said resolution of said yarn image, and a yarn image in which said fiber types are mixed unevenly is created by relatively reducing said resolution of said yarn image.
4. A mélange yarn image creation method for creating a mélange yarn image, characterized in comprising the steps of:
- providing a plurality of vertically overlapping image layers in which a plurality of types of fiber having different colors and a predetermined transparency are disposed at random; and
- creating said mélange yarn image by image-synthesizing said vertically overlapping image layers in accordance with said transparency of each of said fiber types.
5. The mélange yarn image creation method according to claim 4, characterized in that said transparency of each of said fiber types is determined using a value of each of said fiber types and as an increasing function of said value.
6. A mélange yarn image creation program for creating a mélange yarn image, characterized in comprising:
- a command for providing a plurality of vertically overlapping image layers in which a plurality of types of fiber having different colors and a predetermined transparency are disposed at random; and
- a command for creating said mélange yarn image by image-synthesizing said vertically overlapping image layers in accordance with said transparency of each of said fiber types.
Type: Application
Filed: Jun 2, 2005
Publication Date: Oct 18, 2007
Inventor: Tetsuji Maeiwa (Wakayama-shi)
Application Number: 11/628,509
International Classification: D04H 5/08 (20060101);