Hi. I am trying to stabilize stage + focus drift of the 4D(3D+time) microscopic images. for single Image volume,  ImageJ's 'Stackreg' works really great to me.

But I need to do stabilization, not an only stage(xy) drift, but also time-based drift. So I made a simple script to register both time and stage drift based on Matlab function 'dftregistration'(Manuel Guizar-Sicairos, Samuel T. Thurman, and James R. Fienup, "Efficient subpixel image registration algorithms," Opt. Lett. 33, 156-158 (2008)). 

It works fine for the just two images, but when dealing with multiple stacks of images than the result looks bit shaky. 

The image attached below was the comparison of results from 'dftregistration-imtranslate' and 'StackReg'. 

So, How can I optimize the image registration function in Matlab to make similar results with StackReg? 

Regards,

How to optimize the image registration function in Matlab like a Stackreg(imageJ) ?.

Similar questions and discussions