$$\rightleftharpoonup{xx}$$
$$\longleftharp{xx}$$,
$$\longrightharp{xx}$$,
Our ability to use post-processing software to correct sample drift of datasets derived from extended time-lapse microscopy experiments is restricted by a number of factors. The ability to discern drift versus migratory movement of a sample is dependent on the cellular markers used. Cellular markers that are either widely expressed within a sample or are not involved in migratory events during image acquisition provide the best source for drift correction. The plugin uses a single channel to register the movement between time-points and then applies this registration to all of the channels of the image collected. Therefore, it may be advantageous to use two fluorescent markers in samples of interest. One marker for the cells or structures that will be tracked and a second marker, to label structures that are not expected to migrate apart from drift during the experiment. Registration can be conducted on datasets with a single channel but if so the majority of the data should be stationary in the image with only a small proportion expected to move. If a large proportion of the image moves between time-points that movement will be corrected for, in addition to any drift, resulting in a reduction in the movement measured.
The protocol established in this manuscript assumes that there is no movement between the first and last optical section of each individual time-point. It is not possible to correct for drift that may occur within a single time-point without making assumptions as to the shape of the object being scanned. Ideally the experimental parameters used for image collection would limit the potential for movement to occur within each time-point captured. Thus the time taken to capture the image sequence should be as short as possible. The total time of a single time-point acquisition should be a small fraction of the interval between time-points.
The phase correlation method, which forms the basis of the procedure, determines the translation required to align one time-point with the next. Importantly only translational movements are corrected for and therefore rotation around any of the axis (x,y,z) will not be corrected. For many of the possible causes of drift, such as focal drift, stage position variation, a translation will perfectly describe the movement. However, if the sample movement includes rotation a translation will not be able to describe the necessary correction. The phase-correlation will still allow the most similar positions to be determined and utilize the best translation, resulting in some improvement in registration, but if there were significant rotation alternative methodologies allowing the use of landmarks in the image, would be more suitable.
The plug-in has been designed to work with virtual stacks allowing the viewing and registration of files larger than the available memory. Files are read from disk as required for analysis and the results of the registration saved to disk as an image sequence, rather than a single image file. This allows the use of a computer with less RAM than the total size of the data set, the maximum size of the dataset instead being limited by the hard-disk space available. As each time-point is aligned with the subsequent time-point the computer must have enough memory available to open two time-points and complete the phase correlation analysis. The ability to perform advanced registration and sample correction analysis using freely available software, on systems with limited resources, opens up the ability of sophisticated post-processing to a much wider scientific audience.
We have described the use of the protocol to correct drift in zebrafish confocal datasets but the approach can be applied to results obtained using any type of sample or 3D imaging system. As a result in the future this technique could also be applied to datasets obtained using magnetic resonance imaging, optical projection tomography, x-ray computer tomography, and light sheet microscopy, and other emerging imaging techniques.