Text this: Active microscope stabilization in three dimensions using image correlation