How to adjust and combine multiple lower quality photos into one better using FOSS?
Posted
by
Vi
on Super User
See other posts from Super User
or by Vi
Published on 2011-03-12T20:17:24Z
Indexed on
2011/03/13
0:12 UTC
Read the original article
Hit count: 683
I have multiple noisy photos (caputed without tripod) that needs to be adjusted (moved/rotated) and averaged.
How it's better to do it in Linux with FOSS console-based programs?
Current way is something like:
mplayer mf://*.JPG -vo yuv4mpeg:file=qqq.yuv
transcode -i qqq.yuv -y null -J stabilize=maxshift=500:fieldsize=100:fieldnum=6:stepsize=50:shakiness=10
transcode -i qqq.yuv -J transform=smoothing=100000:sharpen=0:optzoom=0 -y raw -o www.yuv
mplayer www.yuv -vo pnm
gm convert -average 0*.ppm q.ppm
i.e.:
- Convert photos to video
- Apply Transcode's "Stabilize" filter
- Convert the video back to images
- Average the images.
It works, but bad: photos still not perfectly adjusted and the whole sequence is very slow.
What is better way of doing it?
© Super User or respective owner