POV-Ray : Newsgroups : povray.off-topic : Merge hundreds of images together? : Re: Merge hundreds of images together? Server Time
3 Sep 2024 23:28:40 EDT (-0400)
  Re: Merge hundreds of images together?  
From: Darren New
Date: 2 Jul 2010 14:10:44
Message: <4c2e2ba4$1@news.povray.org>
Shay wrote:
> Average.

If it's really hundreds of images, to the point where simply averaging them 
together fails due to lack of sufficiently deep alpha channels (or some 
such), then the best bet is probably to find NetPBM (aka PBMPlus) and turn 
them all into textual PPM files. (Actually, I suspect ImageMagick can turn 
any file into a PPM file too, for that matter.)

Then write a simple program that reads all the files, does the average with 
longs instead of integers, and then writes out a PPM file you can turn back 
into whatever format you want to use.

If you use the textual version of PPM, you can open it in a text editor and 
deduce the format pretty easily, if you don't want to track down the actual 
specs.

-- 
Darren New, San Diego CA, USA (PST)
    C# - a language whose greatest drawback
    is that its best implementation comes
    from a company that doesn't hate Microsoft.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.