[Image-SIG] Image averaging
by Fabrice Capiez other posts by this author
Mar 30 2006 1:27PM messages near this date
[Image-SIG] compile problem
|
[Image-SIG] hair follicle gene expression display
Hello List
Just a call for advice. I am using the VideoCapture module to grab
frames from a webcam and, to reduce the noise, I am averaging several
frames instead of just taking one. (I take microscopic images so the
subject does not move in between)
My first attempt was to convert PIL images to Numeric arrays, average 3
or 4 of these arrays and convert back to a PIL image. This process takes
quite some time so I cannot use it in practicefor my home-made capture
program.
The solution I have adopted right now is to take only 2 frames and use
Image.blend(im1, im2, 0.5). This solution is quite fast but of course I
am limited to 2 frames.
Anyone has an advice on what would be a better (ie : faster) solution ?
Looking forward to any advice on the subject (or any advice in genral
regarding image calculations)
Fabrice C.
--------------------------------------
TSUKAME EIKOU! KAGAYAKE EGAO!
Yahoo! JAPAN JPC OFFICIAL PARTNER INTERNET PORTAL SITE
http://pr.mail.yahoo.co.jp/wintergames/
_______________________________________________
Image-SIG maillist - Image-SIG@[...].org
http://mail.python.org/mailman/listinfo/image-sig
|