Search found 4 matches

by username
2011-08-21T11:27:29-07:00
Forum: Users
Topic: how to figure out (calculate) the translation of 2 images
Replies: 7
Views: 17511

Re: how to figure out (calculate) the translation of 2 image

et voilà. this is the deshaker or image stabilizer.



#!/bin/bash
#
# Developed by username 8/21/2011, based on NORMCROSSCORR by
# Fred Weinhaus (http://www.fmwconcepts.com/imagemagick/index.html)
#
# USAGE: ./deshaker.sh referencefile.jpg geometry_1 geometry_2
# USAGE: ./deshaker.sh [-h or -help ...
by username
2011-08-19T13:25:11-07:00
Forum: Users
Topic: how to figure out (calculate) the translation of 2 images
Replies: 7
Views: 17511

Re: how to figure out (calculate) the translation of 2 image

thank you for giving hints and the GREAT script collection.
yes, i'm on linux and although i'm not very familiar with bash scripting i try to extend the normcrosscorr.sh to a deshaker.sh.
i add a for loop over all files and calculate an average shift.
after that crop it with something like
convert ...
by username
2011-08-12T03:16:22-07:00
Forum: Users
Topic: how to figure out (calculate) the translation of 2 images
Replies: 7
Views: 17511

how to figure out (calculate) the translation of 2 images

hi everybody,

i want to make a movie of thousands of single pictures, but the pictures are not aligned perfectly.
so i have to calculate the translation value to one reference picture.
theoretically i have to compute the power spectral density and the peak shows me the translation.
is there a way ...