From: Samiov on 13 May 2010 20:40 ImageAnalyst <imageanalyst(a)mailinator.com> wrote in message <d597391b-e906-427e-ad68-8d593882ed79(a)l28g2000yqd.googlegroups.com>... > But your image is not such that they should be all the same size > squares so why do you want to do this? > > In any event, one way is to just average together the widths and > heights of all the tiles and center the new tile sizes on each (old) > tile centroid. Of course some tile edges will no longer align with > your fabric weave. ___________________________________________________________________________ I must do that cause in theory it's how we represent a fabric weave and it's the final result that I must reach.. the tiles must have a regular square's form so I thought that going all over the image with rectangular painted (gray level of centers) tiles, I can construct an image that respects more the theory and has a regular tile's form (100x100)
From: ImageAnalyst on 13 May 2010 20:43 On May 13, 8:40 pm, "Samiov " <Samy...(a)yahoo.fr> wrote: > I must do that cause in theory it's how we represent a fabric weave and it's the final result that I must reach.. the tiles must have a regular square's form so I thought that going all over the image with rectangular painted (gray level of centers) tiles, I can construct an image that respects more the theory and has a regular tile's form (100x100) --------------------------------------------------------------------------------- And what if you have a satin weave or basketweave? They're not square.
From: Samiov on 13 May 2010 20:55 ImageAnalyst <imageanalyst(a)mailinator.com> wrote in message <5506725e-63b5-4bfd-86cd-b60333b079b9(a)k29g2000yqh.googlegroups.com>... > On May 13, 8:40 pm, "Samiov " <Samy...(a)yahoo.fr> wrote: > > I must do that cause in theory it's how we represent a fabric weave and it's the final result that I must reach.. the tiles must have a regular square's form so I thought that going all over the image with rectangular painted (gray level of centers) tiles, I can construct an image that respects more the theory and has a regular tile's form (100x100) > --------------------------------------------------------------------------------- > And what if you have a satin weave or basketweave? They're not > square. ------------------------------------------------------------------------------------------------------ It's always the same..even if the yarns are thinner or more thick, the fabric is always represented in this way (plain, satin, twill,...) cause here, we are interested sin the intersections between yarns...This will help us on reproduce it...the thickness will be taken in consideration after...
From: Samiov on 14 May 2010 03:36 Good morning ImageAnalyst, Hope you understood what I said.. At the end, the image must look like a checker board..if the square's tile is white, then it means that the vertical yarn is in high position and if it's black it's in low position. Hope there's a method to detect the colour of each tile (that now each one has a unique gray colour) and to put it in a new image composed of the same number of tiles but these tiles have a uniform size (100 x 100 for example). It will be great if we reach this step and finally finish the work.
From: Samiov on 14 May 2010 20:14
"Samiov " <Samyw69(a)yahoo.fr> wrote in message <hsiuh8$oml$1(a)fred.mathworks.com>... > Good morning ImageAnalyst, > Hope you understood what I said.. At the end, the image must look like a checker board..if the square's tile is white, then it means that the vertical yarn is in high position and if it's black it's in low position. Hope there's a method to detect the colour of each tile (that now each one has a unique gray colour) and to put it in a new image composed of the same number of tiles but these tiles have a uniform size (100 x 100 for example). > It will be great if we reach this step and finally finish the work. __________________________________________________________________________ To avoid confusions due to my bad english, Here's what I want to do: http://drop.io/mqlwmho# I've tried all day to solve it but I can't please it's urgent for me |