|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Using Linux?
A BIT on-topic; Pictures produced using POV animation.
composite frame0.png frame1.png ...... frame9.png merged.png
gives a poor result.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Shay <sha### [at] nonenone> wrote:
> Using Linux?
> A BIT on-topic; Pictures produced using POV animation.
> composite frame0.png frame1.png ...... frame9.png merged.png
> gives a poor result.
What do you mean by "merge"?
--
- Warp
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Warp wrote:
> Shay <sha### [at] nonenone> wrote:
>> Using Linux?
>
>> A BIT on-topic; Pictures produced using POV animation.
>
>> composite frame0.png frame1.png ...... frame9.png merged.png
>> gives a poor result.
>
> What do you mean by "merge"?
>
Average.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Shay <sha### [at] nonenone> wrote:
> Warp wrote:
> > Shay <sha### [at] nonenone> wrote:
> >> Using Linux?
> >
> >> A BIT on-topic; Pictures produced using POV animation.
> >
> >> composite frame0.png frame1.png ...... frame9.png merged.png
> >> gives a poor result.
> >
> > What do you mean by "merge"?
> >
> Average.
You could always use this:
http://warp.povusers.org/PovUtils/average/
Of course I wrote that like a millenia ago, and it's just horrible.
Maybe I should make a new version supporting PNGs instead...
--
- Warp
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Am 02.07.2010 18:26, schrieb Shay:
> Using Linux?
>
> A BIT on-topic; Pictures produced using POV animation.
>
> composite frame0.png frame1.png ...... frame9.png merged.png
> gives a poor result.
Why not use POV-Ray for the job?
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Darren New wrote:
> If you use the textual version of PPM, you can open it in a text editor
convert xyz.png -compress None xyz.ppm
Then edit xyz.ppm in a text editor. You'll get a header (P3), the X, Y, and
maximum data value, then X*Y ascii integers.
Read em, average em, convert em back.
--
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
clipka <ano### [at] anonymousorg> wrote:
> Why not use POV-Ray for the job?
Has the limit of 256 elements in a pigment map (and other types of map)
been removed?
--
- Warp
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Shay wrote:
> Warp wrote:
>> Shay <sha### [at] nonenone> wrote:
>>> Using Linux?
>>
>>> A BIT on-topic; Pictures produced using POV animation.
>>
>>> composite frame0.png frame1.png ...... frame9.png merged.png
>>> gives a poor result.
>>
I wrote a utility to do this a while back (but I'm on vacation so
unfortunately I won't be able to find and post it for a while). At any
rate, the trick was to average pairs of images in a binary tree pattern
until you're left with a single image at the root. In this way you
avoid the problems with limited precision that you get using the naive
approach. So long as you have a utility to average a pair of images it
should be easy to write a script to do this.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Kevin Wampler wrote:
> the trick was to average pairs of images in a binary tree pattern
I think that's only going to work if you have a number of images that's a
power of two. Certainly merging 3 images this way isn't going to balance them.
--
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
|
|
| |
| |
|
|
|
|
| |