Re: PIL (python imaging library) or Mathematics help both appreciated

2008-11-24 Thread Jorgen Grahn
On Mon, 24 Nov 2008 00:52:02 -0800 (PST), amine <[EMAIL PROTECTED]> wrote: > well, here is the background. I have images of objects (cars, > clothes, ...) with a white background in most of the cases > > I have to build a function with PIL that takes away the background. > it seems simple, just lo

Re: PIL (python imaging library) or Mathematics help both appreciated

2008-11-24 Thread Arnaud Delobelle
Well not much maths in my answers but... On 24 Nov, 08:52, amine <[EMAIL PROTECTED]> wrote: > well, here is the background.  I have images of objects (cars, > clothes, ...) with a white background in most of the cases > > I have to build a function with PIL that takes away the background. > it see

PIL (python imaging library) or Mathematics help both appreciated

2008-11-24 Thread amine
well, here is the background. I have images of objects (cars, clothes, ...) with a white background in most of the cases I have to build a function with PIL that takes away the background. it seems simple, just look for the "white" and make it transparent but the problem is in reality much more c