Homogeneize serial pictures

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
trebol-a
Posts: 6
Joined: 2012-01-18T08:13:42-07:00
Authentication code: 8675308

Homogeneize serial pictures

Post by trebol-a »

Hi all,
look this animated gif
Image

How I can to make homegeneous "homogeneize" (perdon my english) from avoid the flicker effects bettween frames.
Have Imagemagick any "anti-flicker effect" or similar?
Thank you in advance.
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Homogeneize serial pictures

Post by snibgo »

You can pick a "best" frame, and change hue/saturation/lightness of all the others to match. See viewtopic.php?f=1&t=24030
snibgo's IM pages: im.snibgo.com
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Homogeneize serial pictures

Post by fmw42 »

Your animation has brightness changes so that the first and last frames are different enough to notice the flicker when it changes over. Another possible way to mitigate this is to reverse the animation and append to the original.


convert -delay 1 \
\( imagen_20131031_190902.gif -coalesce \) \
\( imagen_20131031_190902.gif -coalesce -reverse \) \
-loop 0 animation.gif
trebol-a
Posts: 6
Joined: 2012-01-18T08:13:42-07:00
Authentication code: 8675308

Re: Homogeneize serial pictures

Post by trebol-a »

Ok, thank you for your comments.
The post of snibgo is just what i was looking for. ;)
Post Reply