Page 1 of 1

Align/orient images with a reference image

Posted: 2013-10-16T15:01:13-07:00
by marie
Hello, I need to align some images (above 30) to average them. i have a reference image (for example a vertical line) and i would like to orient all the other images (rotated and translated line) in the same position in order to have a clear average image. Is it possible define an algorithm that aligns each image with the reference image?
thanks

Re: Align/orient images with a reference image

Posted: 2013-10-16T15:20:26-07:00
by fmw42
can you post links to the reference image and at least one other image. what is your IM version and platform?

Is the problem one of only shifts and no rotation or is rotation involved? What about scale differences?

If rotation and scale are involved, then you would need to pick 3 control points on each image and then use an affine warp. See
http://www.imagemagick.org/Usage/distorts/#affine
and
http://www.imagemagick.org/Usage/distor ... rol_points