Re: Add images together

2007-02-26 Thread bearophileHUGS
On Feb 26, 10:16 pm, "iceman" <[EMAIL PROTECTED]> wrote: > a)Yes, I am using PIL. > b)The color of each pixel over a sequence of frames I think PIL has it for 2 images, you may have to build a binary tree of merged images: http://www.pythonware.com/library/pil/handbook/image.htm#blend Bye, bearop

Re: Add images together

2007-02-26 Thread zefciu
iceman wrote: > a)Yes, I am using PIL. > b)The color of each pixel over a sequence of frames > If you want to add numerical values of each pixel's colour then itereate through the pixels using nested for loops. But I (and I thing the rest of people here) can't be sure, what in fact you are tryi

Re: Add images together

2007-02-26 Thread iceman
a)Yes, I am using PIL. b)The color of each pixel over a sequence of frames -- http://mail.python.org/mailman/listinfo/python-list

Re: Add images together

2007-02-26 Thread bearophileHUGS
iceman: > What i am trying to do > is to calculate a color-over-time-function for each pixel. Are you using PIL? What does it means color-over-time-function? Bye, bearophile -- http://mail.python.org/mailman/listinfo/python-list

Re: Add images together

2007-02-26 Thread Bruno Desthuilliers
iceman a écrit : > Hi, > > I am trying to add together a number of images: > > im = image1 + image2 + ... > > How can i do this? > > I have tried to add two image instances > together but i get the following error: > TypeError: unsupported operand type(s) for +: 'instance' and > 'instance' >

Re: Add images together

2007-02-26 Thread iceman
What i am trying to do is to separate the foreground object from the background.All my images contain a foreground object (i don't have a reference image). What i am trying to do is to calculate a color-over-time-function for each pixel. -- http://mail.python.org/mailman/listinfo/python-list

Re: Add images together

2007-02-26 Thread Diez B. Roggisch
iceman schrieb: > Hi, > > I am trying to add together a number of images: > > im = image1 + image2 + ... > > How can i do this? I have tried to add two image instances > together but i get the following error: > TypeError: unsupported operand type(s) for +: 'instance' and > 'instance' Create a

Add images together

2007-02-26 Thread iceman
Hi, I am trying to add together a number of images: im = image1 + image2 + ... How can i do this? I have tried to add two image instances together but i get the following error: TypeError: unsupported operand type(s) for +: 'instance' and 'instance' -- http://mail.python.org/mailman/listinfo/