Tomography Toolbox    

tom_center_detail_xcorr

centers a detail automatically using image/beamshift

Syntax

[v]=tom_center_detail_xcorr(pic_act,pic_old,pixs)

Input:
pic_act :actual picture (detail not centered)
pic_old :old picture (detail centered)
pixs :pixelsize used for displaying the movement in nm
Output  
v :vector to center the detail

 

Description

tom_center_detail_xcorr compensates the movement of the stage while tilting. The compensation is done by image/beamshift.
The vector for correcting the images is calculated by crosscorrelating
the old image wih the actual image.

Examples

v=tom_center_detail_xcorr(double(ref_image),double(Tracking.Reference.old_ref_image),Tracking.CCD.ObjectPixelsize);

See Also

tom_acquire_tracking, tom_center_detail_xcorr

    tom_center_detail tom_center_slit