CN100587716C - Image creation device and image creation method - Google Patents
Image creation device and image creation method Download PDFInfo
- Publication number
- CN100587716C CN100587716C CN200580004003A CN200580004003A CN100587716C CN 100587716 C CN100587716 C CN 100587716C CN 200580004003 A CN200580004003 A CN 200580004003A CN 200580004003 A CN200580004003 A CN 200580004003A CN 100587716 C CN100587716 C CN 100587716C
- Authority
- CN
- China
- Prior art keywords
- yarn
- image
- opacity
- background
- value
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims description 12
- 238000003860 storage Methods 0.000 claims description 15
- 239000000835 fiber Substances 0.000 claims description 10
- 230000003287 optical effect Effects 0.000 claims description 5
- 230000000052 comparative effect Effects 0.000 description 20
- 239000004744 fabric Substances 0.000 description 20
- 238000009940 knitting Methods 0.000 description 8
- 230000035807 sensation Effects 0.000 description 6
- 239000011521 glass Substances 0.000 description 5
- 238000004088 simulation Methods 0.000 description 5
- 239000012467 final product Substances 0.000 description 4
- 238000004519 manufacturing process Methods 0.000 description 4
- 239000000203 mixture Substances 0.000 description 4
- 238000000926 separation method Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 230000001788 irregular Effects 0.000 description 3
- 241001052209 Cylinder Species 0.000 description 2
- 238000013459 approach Methods 0.000 description 2
- 238000004880 explosion Methods 0.000 description 2
- 230000008676 import Effects 0.000 description 2
- 239000000126 substance Substances 0.000 description 2
- 241001270131 Agaricus moelleri Species 0.000 description 1
- 241001269238 Data Species 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 238000005520 cutting process Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 230000004313 glare Effects 0.000 description 1
- 230000002194 synthesizing effect Effects 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T1/00—General purpose image data processing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T11/00—2D [Two Dimensional] image generation
- G06T11/001—Texturing; Colouring; Generation of texture or colour
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T1/00—General purpose image data processing
- G06T1/20—Processor architectures; Processor configuration, e.g. pipelining
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformations in the plane of the image
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2210/00—Indexing scheme for image generation or computer graphics
- G06T2210/16—Cloth
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Image Processing (AREA)
- Processing Or Creating Images (AREA)
- Image Analysis (AREA)
- Processing Of Color Television Signals (AREA)
- Color, Gradation (AREA)
- Editing Of Facsimile Originals (AREA)
- Yarns And Mechanical Finishing Of Yarns Or Ropes (AREA)
Abstract
An acquired image of an object is inputted once by using a white background and once by using a black background. From these two images, the opacity D and a color image X of the object are obtained tocreate an object image. It is possible to easily create a high-quality real image.
Description
Technical field
The present invention relates to the generation of images such as figure warp thread picture.The figure warp thread picture that is generated for example can be used in the generation etc. of the analog image of fibres such as hosiery item, under the situation of the fibres such as clothes beyond yarn, can generate the image of the detail section that shows filoplume, transparent feel etc., under the situation of glassware etc., can access the image that shows transparent feel.
Background technology
In simulation of hosiery item etc., the image of the yarn of pattern of wants coil etc. can not lack high-quality figure warp thread picture to real simulated.In the input of figure warp thread picture, yarn is placed on reads the figure warp thread picture in the scanner, part that will be different with the background color color is imported the image of yarn thus as yarn.The figure warp thread that reads as described above looks like to be used for (patent documentations 1) such as simulations of hosiery item.
The inventor notice use white background read figure warp thread as the time become the figure warp thread picture that turns white, use black background read figure warp thread as the time become the figure warp thread picture of blackout.Think that its reason is: in the translucent portion such as filoplume of yarn, when in the figure warp thread picture, sneaking into background image, in white background, become the image that turns white, in black background, become the image of blackout.
Image and background image as the object of object in translucent part mix, and are difficult to make the situation of its separation, exist equally in the fibre of the clothes beyond yarn etc., the glassware etc.Under the situation of fibres such as clothes, in the hole of filoplume, mesh, extremely thin grey cloth part, background image is sneaked in the image of fibre, is difficult to make its separation.And under the situation of transparent substances such as glassware, be difficult to make separation of images through observable background image of glass and glassware itself.
Patent documentation 1WO 03/032203A1
Summary of the invention
Problem of the present invention is, with respect to the target object with filoplume, transparent feel, can generate true and high-quality image simply.
Another problem of the present invention is, eliminates the influences such as deviation of irregular, each input of background image, can generate real image.
Another problem of the present invention is to obtain the image that the image to new background image and target object synthesizes truly.
Yarn image generating method of the present invention is used to generate the coloured image of the yarn with translucent filoplume, and wherein, (G1 G2) and with optical mode reads input picture A, the C of 2 yarns at least and stores to use different background images; If the coloured image of yarn itself is X, the image of the opacity of yarn is D, to by
A=G1+(X-G1)D
C=G2+(X-G2)D
The simultaneous equations that constitutes is found the solution about X, D; The image D of the opacity of yarn is made as 1 at yarn when being complete opaque pixel, the image D of the opacity of yarn is made as 0 at yarn during for fully transparent pixel, with respect to the pixel of D value below first setting D value is made as 0, and the D value is changed to 1 with respect to the pixel of D value more than second setting; (X D) stores as the coloured image of yarn with the image D of the opacity of the coloured image X of the yarn that obtains itself and yarn.
Preferably, in the reading of the colored input picture of yarn, the colour that yarn is arranged on the band cover cap is swept in the scanner, is opening the colored input picture A that reads yarn under the state of cover cap, is closing the colored input picture C that reads yarn under the state of cover cap.
Preferably, in being provided with of described colour scanner, yarn is not compressed at yarn by cover cap.
Preferably, (X D), generates the analog image of the fibre that uses this yarn to the coloured image of the yarn that use obtains.
In the yarn video generation device of the present invention, be provided with: (G1 G2) and with optical mode reads the colored input picture A of 2 yarns, the reading device of C at least to be used to use different background images; Be used to store the device of the colored input picture of the yarn that reads; If the coloured image of yarn itself is X, the image of the opacity of yarn is D, be used for to by
A=G1+(X-G1)D
C=G2+(X-G2)D
The device that the simultaneous equations that constitutes is found the solution about X, D; Be used for the image D of the opacity of yarn being made as 1 when being complete opaque pixel at yarn, the image D of the opacity of yarn is made as 0 at yarn during for fully transparent pixel, with respect to the pixel of D value below first setting D value is made as 0, and the D value is changed to 1 device with respect to the pixel of D value more than second setting; With the image D of the opacity of the coloured image X of the yarn that is used for obtaining itself and yarn as the coloured image of yarn (X, D) and the device of storage.
Preferably, reading device is arranged on this colour with yarn to sweep in the scanner for the colour scanner of band cover cap, is opening the colored input picture A that reads yarn under the state of cover cap, is closing the colored input picture C that reads yarn under the state of cover cap.
Preferably, (X D), generates the device of the analog image of the fibre that uses this yarn to be provided with the coloured image that is used to use the yarn that obtains.
Yarn image generating program of the present invention is provided with: be used to store use different background images (G1, G2) and read the input picture A of 2 times yarn, the order of C at least with optical mode; If the coloured image of yarn itself is X, the image of the opacity of yarn is D, be used for to by
A=G1+(X-G1)D
C=G2+(X-G2)D
The order that the simultaneous equations that constitutes is found the solution about X, D; Be used for the image D of the opacity of yarn being made as 1 when being complete opaque pixel at yarn, the image D of the opacity of yarn is made as 0 at yarn during for fully transparent pixel, with respect to the pixel of D value below first setting D value is made as 0, and the D value is changed to 1 order with respect to the pixel of D value more than second setting; With the image D of the opacity of the coloured image X of the yarn that is used for obtaining itself and yarn as the coloured image of yarn (X, D) and the order of storage.
Preferably, (X D), generates the order of the analog image of the fibre that uses this yarn to be provided with the coloured image that is used to use the yarn that obtains.
To the simultaneous equations of formula (1), (2), can find the solution closely, also can find the solution approx.When background image for example was white background picture and black background image, the input of image was also easy.Being used to obtain scanner, digital camera of the input picture of target object etc., can be the part of video generation device, perhaps also can separate with video generation device.
The invention effect
Shown in Fig. 5, Fig. 6 etc.,, can generate correct image simply with high-quality with video generation device of the present invention, generation method, generator program.
In the image that is generated, as the hole of the filoplume of yarn, mesh, glassware etc., even in the high part of transparency, the image of target object itself and background image also can not mix, and image can not become because of background and turn white or turn black.Therefore, can obtain following effect.
(1) can be with true and have tone, a liquor style that relief image table reveals target object.Particularly filoplume of object etc. can not turn white or turn black, and can show detail sections such as filoplume fine and smoothly.
(2) even image that will generate with white background and black background are synthetic and show, can not produce white stripes (whitish) on the profile yet.Similarly, even image that will generate with black background and white background are synthetic and show, can not produce blackstreak (blackish) on the profile yet.
Under the situation of figure warp thread picture, when using the image generated that knitted fabric etc. is simulated, because filoplumes etc. comprise its tone and show truly, thereby can be to have stereoscopic sensation and correct hue table reveals knitted fabric etc.
In the generation of image, change background image and input for example 2 images get final product, and can generate image simply.And needn't be as in the past, using stencils (stencil) etc. are used to generate the image of the opacity of image with the manual mode adjustment.
And about opacity, if the following part of first setting is 0, the above part of second setting is 1, when enlarging the dynamic range of the opacity between the described setting, can eliminate the deviation of the camera heads such as deviation, scanner of the rocking of background image, input at every turn, from the scattered light of target object itself, from the influence of the veiling glare in the gap of cover cap and document board etc. etc. etc.
Description of drawings
Fig. 1 is the block diagram of analogue means with yarn image production part of embodiment.
Fig. 2 is the process flow diagram of the input process of the figure warp thread picture among the expression embodiment.
Fig. 3 is the process flow diagram of the generating algorithm of the figure warp thread picture among the expression embodiment.
Fig. 4 is the figure of the extension process of the opacity among the expression embodiment.
Fig. 5 is the figure of the analog image of the knitted fabric that shows in an embodiment the figure warp thread picture that generates and the analog image of the knitted fabric that uses this figure warp thread picture and the figure warp thread picture that generates and use this figure warp thread picture in comparative example.
Fig. 6 is the figure that shows the analog image of another figure warp thread picture that generates in an embodiment and the knitted fabric that uses this figure warp thread picture.
Fig. 7 is the figure that is presented at the analog image of another figure warp thread picture that generates in the comparative example and the knitted fabric that uses this figure warp thread picture.
Fig. 8 is that the image of the clothes of generation in a second embodiment synthesizes and the figure of demonstration with white, black 2 backgrounds.
Fig. 9 is that the clothes image of generation is in the prior embodiment synthesized and the figure of demonstration with white, black 2 backgrounds.
Figure 10 is the figure that shows the image of the white background in the image generation that is used in Fig. 8.
Figure 11 is the figure that shows the image of the black background in the image generation that is used in Fig. 8.
Figure 12 is that the image of the whole body clothes of generation in a second embodiment synthesizes and the figure of demonstration with white, black 2 backgrounds.
Figure 13 is the figure that shows the image of the white background in the image generation that is used in Figure 12.
Figure 14 is the figure that shows the image of the black background in the image generation that is used in Figure 12.
Figure 15 is the synthetic and figure that shows of the image of 2 glass cylinderes will generating in the 3rd embodiment and background image.
Figure 16 is the image of 2 glass cylinderes will generating in the 3rd embodiment and the figure that shows synthetic with white black 2 backgrounds.
Figure 17 is the figure that shows the image of the white background in the image generation that is used in Figure 15, Figure 16.
Figure 18 is the figure that shows the image of the black background in the image generation that is used in Figure 15, Figure 16.
Label declaration
2 analogue means
4 colour scanners
6 keyboards
7 input pens
8 colour picture monitors
10 color printers
The 12LAN interface
14 disc drivers
15 image generating programs
16 input picture memory commands
17 color datas, opacity memory command
The explosion command of 18 opacities
19 image memory commands
20 image production parts
21 white background picture storage parts
22 black background image storage parts
24 color data calculating parts
26 opacity calculating portions
27 extensions
28 image storage parts
30 knitting design portions
32 simulation parts
The 51 figure warp thread pictures that generate in an embodiment
52 demonstrations of figure warp thread picture under black background
53 demonstrations of figure warp thread picture under white background
54 use the analog image of the knitted fabric of the figure warp thread picture that generates in an embodiment
The 55 figure warp thread pictures that in comparative example, use white background to generate
56 demonstrations of figure warp thread picture under black background
57 demonstrations of figure warp thread picture under white background
58 use the analog image of the knitted fabric of the figure warp thread picture that generates in comparative example
The black background of the figure warp thread picture that generates among 61 embodiment shows
The white background of the figure warp thread picture that generates among 62 embodiment shows
63 use the analog image of the knitted fabric of the figure warp thread picture that generates in an embodiment
Use the black background of the figure warp thread picture of white background generation to show in 71 comparative examples
Use the white background of the figure warp thread picture of white background generation to show in 72 comparative examples
73 use the analog image of the knitted fabric of the figure warp thread picture that generates in comparative example
Embodiment
Below illustrate and be used to implement most preferred embodiment of the present invention.
Embodiment
At Fig. 1 to Fig. 6 the example that is generated as of figure warp thread picture is represented initial embodiment, show that at Fig. 7 the figure warp thread picture that obtains in the comparative example is with for referencial use.Fig. 1 represents to use the analogue means 2,4th of the video generation device of embodiment, and colour scanner is used in input, also can be digital camera, monochromatic scanner etc.The 6th, keyboard, the 7th, input pen also may instead be suitable input medias such as mouse, trace ball.The 8th, colour picture monitor, the knitting design data that is used to show resulting figure warp thread picture, generated maybe is modeled to this design data the image of knitted fabric, clothes etc.Color printer 10 is similarly exported figure warp thread picture, knitting design data, analog image etc.
Analogue means 2 links to each other with LAN by LAN interface 12, carries out the input and output of figure warp thread picture, knitting design data or analog image etc., similarly, carries out the input and output of figure warp thread picture, knitting design data, analog image etc. by disc driver 14.And replace obtaining the input picture of yarn, also can in the long-range scanning device, read in, and from inputs such as LAN interface 12, disc drivers 14 from colour scanner 4.
The 15th, image generating program is the program that generates figure warp thread picture etc., reads in analogue means 2 from disc driver 14, LAN interface 12 etc.Image generating program 15 comprises memory command 16, the color data X of yarn and image (X, the memory command 19 D) of the memory command 17 of opacity D, the explosion command 18 of opacity D and the yarn that is generated etc. of the input picture of the yarn under 2 different background images such as white, black.Below with reference to the detailed content of the flowchart text image generating program 15 of Fig. 3.And, only background image is called background sometimes, the coloured image of yarn is called color data.
Be provided with the image production part 20 of yarn etc. as the part of analogue means 2, also can make colour scanner 4 grades and image production part 20 combinations and constitute independent video generation device.The 21st, the white background picture storage part is used for being stored in colour scanner 4 and for example closes cover cap, with white background input figure warp thread as the time input picture.Black background image storage part 22 is used for storage and for example opens cover cap at colour scanner 4, with black background input figure warp thread as the time input picture.At this, though the storage background is 2 white, black images, as long as 2 different images of storage background.
Color data calculating part 24 calculates the colour X of figure warp thread picture, and opacity calculating portion 26 calculates the opacity D of figure warp thread picture.The dynamic range of the 27 couples of D in extension is expanded, for example opacity D is more than 0 below 1, D value below first setting is converted to 0, the D value more than second setting is converted to 1, will be converted to 0~1 from the D value between first setting to the second setting.Also extension 27 can be set.Image storage part 28 is read the color data X of such generation and opacity D (expansion back) and is freely stored.
In an embodiment, color data X handles with the RGB system, also can handle with HVC system, Lab system etc., and opacity D finds the solution each composition of RGB, for example with their mean value as opacity D.Be under the situation of HVC system in addition, the V value shows lightness, in this case, as long as use the V value to calculate opacity D.
Fig. 2 shows the input of the figure warp thread picture that uses colour scanner.Place yarn on the manuscript table glass of scanner etc., cover cap is closed fully, filoplume is defeated and dispersed to prevent yarn from being compressed by cover cap.Open cover cap then and scan, obtain the image of black background.Similarly, close cover cap when scanning, obtain the image of white background.Owing to make these 2 input pictures of black background and white background after overlapping the use, thereby preferably, between 2 times images input, yarn is not moved.And, thereby preferably, specify the scope that reads image with respect to scanner because necessary image is only around yarn.
The generating algorithm that shows images such as yarn at Fig. 3.Read input picture A under the black background from the black background image storage part, read input picture C under the white background from the white background picture storage part.Wherein, the value of establishing the picture black of background is B, and the value of white image is W.As mentioned above, A, B, C, W are the image under the RGB system, have 256 grades of gray scales of 0~255.And establishing opacity is D, and D is a monochrome image, and the increase and decrease degree is 256 grades.
The relation that has A=B+ (X-B) D between the coloured image X of black background image A, black background value B, yarn and the opacity D.Similarly, the relation that has C=W+ (X-W) D between white background picture C, white background value W, coloured image X and the opacity D.Described 2 formulas can be found the solution X and D.Can show D by enough X, for example
D=(A-B)/(X-B)=(C-W)/(X-W) (3)
Or, can show as by obtaining the poor of A and C
A-C=(B-W)-(B-W)D (4)
When thus D being found the solution, become
D={(A+W)-(B+C)}/(W-B) (5)
And can pass through
X={W(A-B)-B(C-W)}/{(A-B)-(C-W) (6)
Obtain X.The solution of simultaneous 1 power formula that is used to obtain D, X is any, not necessarily will solve tight numerical solution, also can only obtain approximate solution.
Then in order input picture is handled, thereby obtained the value of X and D with each pixel.Take out 1 pixel, obtain the value of X and the value of D as described above, carry out repeatedly finishing up to the processing of whole pixels.To have ignored color data X in the above description be the data conditions of RGB system, thereupon for opacity D, the situation of also ignoring the value DR that exist to use the R image to obtain, using the DG that the G image obtains and use the value DB that the B image obtains, the composition of color data X is these 3 of XR, XG, XB, and opacity D is the average of DR, DG, DB.On average having used arithmetic mean, also can be geometric mean, and it is average also can to use median (median) etc. to replace.
Be roughly in the D value under 0 the situation, promptly under the value of the value of A+W and the B+C situation about equally, can think in this pixel, not have yarn, and background image occur.Thereby be roughly in the D value under 0 the situation, D and X are made as 0.Be not under 0 the situation in the D value, the scope of establishing the D value for example is under the situation below 40/255 more than 0 below 1, and D and X are made as 0.Under D is situation more than 210/255, D is made as 1, the X value does not change.Be that the range expansion of D becomes 0~1 under 40/255~210/255 the situation in the D value.As described above whole pixels of input picture are handled, and storage figure warp thread picture (X, D).
The processing when input picture A, C obtain color data X, opacity D, for example also can in (6) formula, obtain the denominator of color data X earlier, its value roughly when 0 equates, also can be made as 0 with opacity D, color data X, is not that D and X are obtained in 0 zone about D.Perhaps also can at first obtain opacity D, obtain color data X in (6) formula then in (5) formula.And individual element is obtained D and X, and perhaps at first entire image being obtained opacity D, then to obtain X etc. be arbitrarily.
Fig. 4 shows the expansion of opacity D, the D value as first setting value as the situation below 40/255 under, the D value is made as 0.The D value as second setting value as the situation more than 210/255 under, the D value is made as 1.Dynamic range to D is expanded, so that remaining D value 40/255~210/255 becomes 0~1.Value after Fig. 4 D ' shows expansion.
In the D value is that transparency is higher under the situation below 40/255, thinks the influence etc. of the light of the deviation of irregular, each input of background image, the yarn scattering from the scanner, rather than has yarn in this pixel.Thereby the D value is to be made as 0 below 40/255.Under the D value is situation more than 210/255, consider the deviation of input, in order not compress yarn, and document board between keep some gaps and close the entanglement etc. of the input that cover cap etc. causes.Therefore, similarly, the D value more than 210/255 is made as 1.
In order to compare, only use white background picture to generate the figure warp thread picture.In the generation of the figure warp thread picture in comparative example, background image is made as white 1 look, the value of input picture is provided with the mask (mask) of opacity D from the part that the value of background begins to change as the figure warp thread picture, and cuts out the coloured image X of yarn.Opacity D approaches 0 in color data X value during near background image, approaches 1 when the difference of color data X and background image increases.But owing to do not obtain real figure warp thread picture with this algorithm, thereby using stencil is manually proofreaied and correct the image of opacity, thus obtain real as far as possible figure warp thread picture.
Show the figure warp thread picture that is generated at Fig. 5.51 of right side is the figure warp thread pictures that generate in an embodiment, the 52nd, show the figure of this figure warp thread picture with black background, and the 53rd, the figure that shows with white image.54 are to use the analog image of the knitted fabric of the figure warp thread picture that generates in an embodiment.The figure warp thread that shows comparative example in the left side of Fig. 5 is as 55, and it is to use white background to generate as described above.The 56th, the figure warp thread picture of comparative example and black background is synthetic and show, the 57th, show the figure warp thread picture of comparative example with white background.58 are to use the analog image of knitted fabric of the figure warp thread picture of comparative example.Wherein, figure warp thread uses identical yarn with figure warp thread as 55 as 51, and imports in same position.
Comparison yarns line image 51 and figure warp thread are as 55, and it is more that side's filoplume of embodiment shows, and becomes the image that turns white in comparative example.In background is the part of black when seeing, in comparative example, the part as white stripes occurs in the both sides of yarn, and this is formation figure warp thread picture because the white of the color data of Yarn filoplume and background colour is mixed.With respect to this, no matter the figure warp thread of embodiment is seen under black background as 51, still sees under white background, all is true true to nature, and filoplume is also abundant.Compare with analog image 54,58, in the image 54 of the figure warp thread picture that uses embodiment, filoplume is abundant, and shows the stereoscopic sensation of knitted fabric.With respect to this, in the image 58 of comparative example, knitted fabric is short of bright-coloured sense, feels thin no stereoscopic sensation.
Fig. 6 shows figure warp thread picture that uses another yarn and generate in an embodiment and the analog image 63,61st that uses this figure warp thread picture, the demonstration of figure warp thread picture under black background, the 62nd, the demonstration under white background.In order to carry out reference, show figure warp thread picture that uses white background and generate with comparative example and the analog image 73 that uses this figure warp thread picture at Fig. 7.The 71st, the black background demonstration of the figure warp thread picture that in comparative example, generates (under white background, generating), the 72nd, white background shows.The figure warp thread picture of comparative example turns white on the whole, and filoplume shows than actual thick.Compare analog image 63,73, very thin in an embodiment filoplume shows to such an extent that follow stereoscopic sensation, on the contrary, shows the filoplume thicker than reality in the analog image 73 of comparative example, and the shortage stereoscopic sensation is gone up in performance.
In an embodiment, can obtain following effect.
(1) uses 2 backgrounds such as white background and black background,, can generate the figure warp thread picture simply by read in the figure warp thread picture for 2 times in same position.
(2) in the figure warp thread picture that is generated, the color data of yarn, opacity are all true, can show yarn main body, filoplume in high quality.
(3) use resulting figure warp thread picture, when generating the analog image of knitted fabric etc., can show the tone of filoplume part, entire image realistically, thereby can correctly show the liquor style of knitted fabric.
In the above-described embodiments with the generation of figure warp thread picture as an example, in addition the present invention can also be used for the image relevant with transparent substances such as fibre, glassware such as clothes and generate.Under the situation of figure warp thread picture, its problem is for cutting out filoplume and background difference.And because the filoplume part is translucent, its problem is that background is not sneaked in the image of the filoplume that cuts out.Automatically cut out filoplume etc. and be difficult to the part that cuts out from background, and to remove background image about translucent part from the image of target object also be important for other fibres.Except clothes, for example also have curtain, woollen blanket, the tablecloth, seat cushion etc. in the fibre.And except fibre, the present invention can also be used for the generation that glassware, film, thin paper etc. have the image of transparent feel.Opacity D can be accessed in the present invention, the image X of the target object that goes out from background separation itself can be accessed simultaneously.The background image that imagination will be synthesized is F, and the image of object is X, when its opacity is D, can be by following (7) formula obtain composograph K.
K=XD+F(1-D)=F+(X-F)D (7)
The background of using is at least 2 kinds, preferred plain color background.And owing to imported in the captured image which partly for background, which partly be a target object, thereby preferably, for example manually imports background parts on a position.
For the clothes of dress such as manikin, furniture, household utensils, glassware etc., be difficult to change background and photographic images with scanner, for example make background become white and black and take with digital camera etc.Using digital camera under indoor situation of taking, if not good shooting environmental such as film studios, more be easy to generate the irregular of background owing to comparing with the situation of scanner, thereby in the extension process of opacity, preferably, make to compare with Fig. 4 a little and enlarge as the scope of D=0, D=1.
The image-related embodiment that shows the knitted garment of the mesh type of wearing at Fig. 8 to Figure 11 with manikin.Figure 10, Figure 11 are that to make background be image white or black and that take with digital camera.Fig. 9 is manually generated template and is cut out the image of clothes by Figure 11, with image white or that black background synthesizes.In the conventional example of Fig. 9, filoplume blackening artificially in white background.This is because owing to be difficult to only cut out the pixel that is equivalent to filoplume, and do not know opacity, thereby be mixed with black background image in the pixel of the filoplume that is cut out.Relative therewith, in the embodiment of Fig. 8,, can both obtain having the image of the filoplume of nature no matter background is made as white or black.
Under with the situation of image as object beyond the yarn, video generation device, program former state are used shown in Figure 1 getting final product, and the generating algorithm former state of image uses algorithm shown in Figure 3 to get final product.The image analyzer that replaces Fig. 2 uses the shooting based on digital camera etc. to get final product as described above.The record relevant with the embodiment of Fig. 1 to Fig. 7 also is directly applied for embodiment 2, embodiment 3.
Figure 12 to Figure 14 is an image of wearing the manikin of same garment, Figure 13, Figure 14 are the photographic images of the digital camera under white or the black background, Figure 12 figure that to be the image that will use Figure 13, Figure 14 and generate by embodiment synthesize with white or black background.Show the sleeve with transparent feel, the mesh of pants.Relative therewith, the image of Figure 13, Figure 14 former state, the bore portion of mesh are difficult to be separated into the image of clothes itself and the image of background.When therefore changing background, can become factitious image.
Embodiment 3
At image-related three embodiment of Figure 15 to Figure 18 demonstration with glassware.Figure 17, Figure 18 take the image of glass cylinder and water bottle with white or black background with digital camera.Thus, obtain the image X of glassware and the image of opacity D thereof by embodiment, the figure with the background image of desk, ashtray after synthetic be Figure 15, and the figure after synthesizing with white, black 2 background images is Figure 16.Owing to obtain the image of opacity D, even if thereby the change background also obtains the image (Figure 16) of nature, even and in the uneven image of the such background of the background with ashtray of Figure 15, also can access the image of nature, follow transparent feel to show surface gloss (Figure 15, Figure 16).
Claims (5)
1. yarn image generating method is used to generate the coloured image of the yarn with translucent filoplume, it is characterized in that,
(G1 G2) and with optical mode reads input picture A, the C of 2 yarns at least and stores to use different background images;
If the coloured image of yarn itself is X, the image of the opacity of yarn is D, to by
A=G1+(X-G1)D
C=G2+(X-G2)D
The simultaneous equations that constitutes is found the solution about X, D;
The image D of the opacity of yarn is made as 1 at yarn when being complete opaque pixel, the image D of the opacity of yarn is made as 0 at yarn during for fully transparent pixel, with respect to the pixel of D value below first setting D value is made as 0, and the D value is changed to 1 with respect to the pixel of D value more than second setting;
With the image D of the opacity of the coloured image X of the yarn that obtains itself and yarn as the coloured image of yarn (X D) stores,
In the reading of the colored input picture of yarn, the colour that yarn is arranged on the band cover cap is swept in the scanner, is opening the colored input picture A that reads yarn under the state of cover cap, is closing the colored input picture C that reads yarn under the state of cover cap.
2. yarn image generating method according to claim 1 is characterized in that, in being provided with of described colour scanner, yarn is not compressed at yarn by cover cap.
3. yarn image generating method according to claim 1 is characterized in that, (X D), generates the analog image of the fibre that uses this yarn to the coloured image of the yarn that use obtains.
4. yarn video generation device is used to generate the image of the yarn with translucent filoplume, it is characterized in that, is provided with:
(G1 G2) and with optical mode reads the colored input picture A of 2 yarns, the reading device of C at least to be used to use different background images;
Be used to store the device of the colored input picture of the yarn that reads;
If the coloured image of yarn itself is X, the image of the opacity of yarn is D, be used for to by
A=G1+(X-G1)D
C=G2+(X-G2)D
The device that the simultaneous equations that constitutes is found the solution about X, D;
Be used for the image D of the opacity of yarn being made as 1 when being complete opaque pixel at yarn, the image D of the opacity of yarn is made as 0 at yarn during for fully transparent pixel, with respect to the pixel of D value below first setting D value is made as 0, and the D value is changed to 1 device with respect to the pixel of D value more than second setting; With
Be used for the coloured image X of the yarn that will obtain itself and yarn opacity image D as the coloured image of yarn (X, D) and the device of storage,
Described reading device is arranged on this colour with yarn to sweep in the scanner for the colour scanner of band cover cap, is opening the colored input picture A that reads yarn under the state of cover cap, is closing the colored input picture C that reads yarn under the state of cover cap.
5. yarn video generation device according to claim 4 is characterized in that, (X D), generates the device of the analog image of the fibre that uses this yarn to be provided with the coloured image that is used to use the yarn that obtains.
Applications Claiming Priority (5)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP026275/2004 | 2004-02-03 | ||
JP2004026275 | 2004-02-03 | ||
JP2004360811A JP4533737B2 (en) | 2004-02-03 | 2004-12-14 | Yarn image creating device, thread image creating method, and thread image creating program |
JP360811/2004 | 2004-12-14 | ||
PCT/JP2005/001651 WO2005076209A1 (en) | 2004-02-03 | 2005-01-28 | Image creation device, image creation method, and image creation program |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1914639A CN1914639A (en) | 2007-02-14 |
CN100587716C true CN100587716C (en) | 2010-02-03 |
Family
ID=34840120
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200580004003A Active CN100587716C (en) | 2004-02-03 | 2005-01-28 | Image creation device and image creation method |
Country Status (8)
Country | Link |
---|---|
US (1) | US7650018B2 (en) |
EP (1) | EP1720127B1 (en) |
JP (1) | JP4533737B2 (en) |
KR (1) | KR101099623B1 (en) |
CN (1) | CN100587716C (en) |
AT (1) | ATE484041T1 (en) |
DE (1) | DE602005023961D1 (en) |
WO (1) | WO2005076209A1 (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1763843A1 (en) * | 2004-07-05 | 2007-03-21 | Matsushita Electric Industrial Co., Ltd. | Method of generating image of component |
JP4977483B2 (en) * | 2007-01-30 | 2012-07-18 | 株式会社島精機製作所 | Knit design system and design method |
US8529263B1 (en) * | 2012-07-13 | 2013-09-10 | Create2Thrive Inc. | System and method for interactive knitting functions |
CN103945139A (en) * | 2014-01-07 | 2014-07-23 | 上海仙视电子有限公司 | Photographing platform for rapidly synthesizing picture with transparent background and image processing method adopted by photographing platform |
JP2019101508A (en) * | 2017-11-28 | 2019-06-24 | パナソニックIpマネジメント株式会社 | Beverage supply system |
US11761128B2 (en) | 2018-03-17 | 2023-09-19 | Drexel University | Topology optimization for modeling and prediction of complex fabric structures and properties |
CN112347685B (en) * | 2020-11-30 | 2021-08-10 | 江南大学 | Construction and application of color fiber two-dimensional color mixing space grid model and grid point array chromatogram |
CN112581600B (en) * | 2020-12-09 | 2024-01-26 | 北京维盛视通科技有限公司 | Qiu Mao effect generation method, device, storage medium and equipment for electronic clothing |
US11859321B2 (en) * | 2021-03-31 | 2024-01-02 | Drexel University | Modular tool for design of self-folding knit fabrics |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030085907A1 (en) * | 2001-11-02 | 2003-05-08 | Nippon Telegraph And Telephone Corporation | Image processing method and image processing apparatus for obtaining overlaid image |
Family Cites Families (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS602238A (en) * | 1983-06-06 | 1985-01-08 | 横河メディカルシステム株式会社 | Ct image display apparatus |
JPH09179977A (en) * | 1995-12-21 | 1997-07-11 | Shimadzu Corp | Automatic processor for intensity level of medical image |
JP3436473B2 (en) * | 1997-06-20 | 2003-08-11 | シャープ株式会社 | Image processing device |
US6377269B1 (en) * | 1998-05-29 | 2002-04-23 | Robert L. Kay | Automated generation of masks for photo-compositing |
US6915024B1 (en) | 2000-09-29 | 2005-07-05 | Hewlett-Packard Development Company, L.P. | Image sharpening by variable contrast mapping |
US20040156557A1 (en) | 2001-05-17 | 2004-08-12 | Van Der Weij Hendricus Hubertus Marie | Device and method for difitizing an object |
EP1445714A4 (en) * | 2001-10-05 | 2008-08-13 | Shima Seiki Mfg | Knit design method and device |
WO2003032203A1 (en) * | 2001-10-05 | 2003-04-17 | Shima Seiki Manufacturing Limited | Knit design method and device |
US7277572B2 (en) * | 2003-10-10 | 2007-10-02 | Macpearl Design Llc | Three-dimensional interior design system |
JP4237601B2 (en) * | 2003-10-15 | 2009-03-11 | 株式会社島精機製作所 | Loop simulation apparatus and method and program thereof |
US7324166B1 (en) * | 2003-11-14 | 2008-01-29 | Contour Entertainment Inc | Live actor integration in pre-recorded well known video |
JP4503312B2 (en) * | 2004-02-26 | 2010-07-14 | 株式会社島精機製作所 | Knit garment wearing simulation method and apparatus, and program thereof |
DE102004053736B4 (en) * | 2004-11-06 | 2013-05-29 | Oerlikon Textile Gmbh & Co. Kg | yarn sensor |
-
2004
- 2004-12-14 JP JP2004360811A patent/JP4533737B2/en active Active
-
2005
- 2005-01-28 CN CN200580004003A patent/CN100587716C/en active Active
- 2005-01-28 DE DE602005023961T patent/DE602005023961D1/en active Active
- 2005-01-28 KR KR1020067014988A patent/KR101099623B1/en active IP Right Grant
- 2005-01-28 US US10/587,930 patent/US7650018B2/en active Active
- 2005-01-28 WO PCT/JP2005/001651 patent/WO2005076209A1/en not_active Application Discontinuation
- 2005-01-28 AT AT05709717T patent/ATE484041T1/en not_active IP Right Cessation
- 2005-01-28 EP EP05709717A patent/EP1720127B1/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030085907A1 (en) * | 2001-11-02 | 2003-05-08 | Nippon Telegraph And Telephone Corporation | Image processing method and image processing apparatus for obtaining overlaid image |
Also Published As
Publication number | Publication date |
---|---|
ATE484041T1 (en) | 2010-10-15 |
DE602005023961D1 (en) | 2010-11-18 |
JP4533737B2 (en) | 2010-09-01 |
US20070127839A1 (en) | 2007-06-07 |
EP1720127B1 (en) | 2010-10-06 |
EP1720127A1 (en) | 2006-11-08 |
JP2005251162A (en) | 2005-09-15 |
EP1720127A4 (en) | 2009-03-18 |
KR20060128951A (en) | 2006-12-14 |
KR101099623B1 (en) | 2011-12-29 |
CN1914639A (en) | 2007-02-14 |
WO2005076209A1 (en) | 2005-08-18 |
US7650018B2 (en) | 2010-01-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100587716C (en) | Image creation device and image creation method | |
Haeberli | Paint by numbers: Abstract image representations | |
NO981132L (en) | Procedures and systems for manipulating images of floor coverings or other fabrics | |
CN106170821B (en) | Image processing apparatus and image processing method | |
Mathur et al. | Color and weave relationship in woven fabrics | |
CN101883218B (en) | Image acquisition and artistic processing method based on camera | |
CN111177929A (en) | Textile fabric physical characteristic digital attribute simulation system and measuring method | |
Stone et al. | Alpha, contrast and the perception of visual metadata | |
JP4085097B2 (en) | How to weave a full-color pile fabric_ | |
CN101689307B (en) | Knitwear simulation method and apparatus | |
JP4174133B2 (en) | Image generation method | |
Toyoura et al. | Generating jacquard fabric pattern with visual impressions | |
WO2003085186A1 (en) | Embroidery simulation method and apparatus, and program and recording medium | |
Luan et al. | Textile image recoloring by polarization observation | |
Kim | A study on structural optimisation and colour mixing systems of digital Jacquard textile based on full-colour compound structure | |
JP2003036449A (en) | Method for automatically generating map data for three- dimensional image generation of textile product and method for generating three-dimensional simulation image of textile product | |
CN114140566A (en) | Real-time rendering method for design effect of building drawing | |
Hume | Fashion and textile design with Photoshop and Illustrator: professional creative practice | |
JPH1153427A (en) | Method and device for setting color pattern of image | |
Mathur et al. | Color on demand for jacquard fabrics | |
Siess et al. | Color preference differences between head mounted displays and PC screens | |
Lo | Digital printing in unconventional knitwear design | |
EP0454477A2 (en) | Image editing system | |
CN112950760B (en) | Three-dimensional synthetic scene data generation system and method | |
Mathur | Advancements in pattern coloration for Jacquard Woven Tapestry Fabrics |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |