I have a sequence of images that you can get as a stack from here:
https://www.dropbox.com/s/8ds08klvq9irgz9/imagestack.tif?dl=0
Now i have the following image sequence where we can see that the white blob moves a lot
I want to align the images with each other such that the translation and rotation is minimized. I used the following code below:
(* masks are the sequence of images *)
FoldList[ImageAlign[#1, #2, Method -> "Fourier", TransformationClass -> "Rigid"] &,
First@masks, Rest@masks]
the result is:
I think there should be a way to improve it more such that translation and especially rotations are minimized. Would appreciate help !