Article | Open | Published:

# Analysis and correction of errors in nanoscale particle tracking using the Single-pixel interior filling function (SPIFF) algorithm

## Abstract

Particle tracking, which is an essential tool in many fields of scientific research, uses algorithms that retrieve the centroid of tracked particles with sub-pixel accuracy. However, images in which the particles occupy a small number of pixels on the detector, are in close proximity to other particles or suffer from background noise, show a systematic error in which the particle sub-pixel positions are biased towards the center of the pixel. This “pixel locking” effect greatly reduces particle tracking accuracy. In this report, we demonstrate the severity of these errors by tracking experimental (and simulated) imaging data of optically trapped silver nanoparticles and single fluorescent proteins. We show that errors in interparticle separation, angle and mean square displacement are significantly reduced by applying the corrective Single-Pixel Interior Filling Function (SPIFF) algorithm. Our work demonstrates the potential ubiquity of such errors and the general applicability of SPIFF correction to many experimental fields.

## Introduction

Imaging has become an increasingly important part of scientific research. Breakthroughs in biology1, material science2,3 and astrophysics4 have been made possible by advances in imaging systems5 and techniques that allow rapid measurement of physical phenomena below the resolution limit6,7,8,9. In an optical imaging system, light from an object of interest is focused onto a detector and converted to electrons that are digitized and stored as a two-dimensional array (of pixels) representing the position-dependent intensity map in space (and a third dimension as a video, in time). Once the image is obtained, mathematical algorithms are used to determine the particle positions in each frame, and to track them. One needs to establish the unique identities of the individual particles across frames, to create trajectories.

Many particle tracking algorithms use the distribution of pixel intensities along with knowledge about the point-spread function (PSF) of the system to localize the particle with sub-pixel accuracy. Widely used approaches include: the “Crocker-Grier” algorithm10, which determines the “center of mass” of pixel intensities to estimate the location of the particle; the Raghuveer algorithm11, which calculates the maximum radial gradient around the particle to estimate its center; and non-linear fitting of a Gaussian function to the pixel intensity distribution12,13. However, despite continued development of algorithms and benchmark comparisons between them14,15,16, problems still arise with their accuracy and efficacy, especially when images suffer from low signal-to-noise, are cluttered with multiple objects in close proximity, or are of particularly small objects.

One such problem is that most algorithms, to a greater or lesser degree, bias the sub-pixel location of a tracked object towards the center of the calculated pixel. This effect is known as “pixel locking” or “pixel biasing”17,18,19. Recently, Burov et al.20 reported the Single Pixel Interior Fill Function (SPIFF) algorithm that corrects this bias even in cases where the actual tracking is done with a proprietary method and is unknown. The correction of the pixel locking error is done by analyzing a set of images, collecting the fractional part of the tracked locations in a “meta-pixel”, and determining if the resultant distribution is uniform within the meta-pixel. The SPIFF algorithm uses this distribution to estimate the true particle position by expanding the probability distribution such that it uniformly spans the entire meta-pixel. Thus, given a set of estimated sub-pixel values of particle centers $$\{{\hat{X}}_{E}\}$$, the true particle position, $${\hat{X}}_{T}$$, can be calculated by numerically solving the integral20

$${\hat{X}}_{T}=\pm {\int }_{0}^{{\hat{X}}_{E}}P({\hat{X}}_{E}^{\text{'}})d{\hat{X}}_{E}^{\text{'}},$$
(1)

and finding the fraction of estimated values in the range $$(0,{\hat{X}}_{E})$$, where $$P({\hat{X}}_{E}^{\text{'}})$$ is the SPIFF density function, i.e. the probability density of the set $$\{{\hat{X}}_{E}\}$$ (see ref.20 and Supporting Information).

In this report we establish the importance of the SPIFF algorithm by demonstrating the prevalence of pixel locking errors in common experimental systems (beyond the colloidal particles considered in20), their detrimental effect on experimental outcomes, and how they can be identified and corrected. We study tracking errors of nanoparticles and single molecules and demonstrate quantitatively the consequences of the error correction that the SPIFF algorithm provides vis-a-vis its effect on statistical and dynamical properties of these systems. We demonstrate the severity of errors that can arise from biased tracking for common experimental conditions when the size of the particles (and/or the tracking window) is small (i.e. occupies two-square to four-square pixels on the detector), and the sampling rate is high (i.e. particle motion is sub-pixel per frame). We also illustrate how the SPIFF algorithm ameliorates these errors and improves the fidelity of experimentally extracted quantities such as particle trajectories or mean square displacement (MSD). We also show limitations of a “global” SPIFF correction and offer additional strategies for 2nd tier error correction in the Supporting Information. Overall, we demonstrate pixel locking error resulting from common biases inherent to a wide range of experimental measurements can be easily identified and corrected.

## Results

### Nanoparticle imaging

Since nanoparticles are often smaller than the PSF of optical microscopes and thus can be separated by distances less than the resolution limit, errors in their localization can be severe. Therefore, we considered the general problem of tracking several closely spaced nanoparticles. We analyze experimental data obtained by imaging 150 nm diameter Ag nano-particles that are trapped and manipulated using holographic optical tweezers. Our experimental setup is presented in the Supporting Information. Optical tweezers have been used in a wide range of research fields as they allow the manipulation of micro and nanometer sized objects21,22 in order to understand interparticle dynamics and behavior22 or light-matter interactions23. The goal of our experiment is to understand the forces and torques exerted on collections of nanoparticles for different polarization states of the trapping beam. Therefore, extracting accurate interparticle separations and angles from tracking particle locations is crucial.

As shown in Fig. 1, which is a representative frame taken from such an experiment, two or more particles can be confined in the electrodynamic near-field, i.e. they are separated by roughly 200 nm center-to-center making particle tracking difficult due to the overlap of the individual particle images on the detector. The size of the nanoparticles and their proximity necessitates that the window function used for tracking only be a few pixels wide to avoid misidentification of 2 particles as a single one. Such small widows manifest under-sampling errors and cause strong pixel locking20. To reduce or avoid pixel locking, one can increase the size of the tracking window, W, used for fitting to the (expected) Gaussian intensity distribution. This could indeed work when the particles are large (compared to the PSF) or are well separated, but when small particles are in close proximity their images overlap. Thus, the particle center locations are necessarily in error, and an increasing fraction of the particles are misidentified. Misidentification (and undercounting) is not an error that can be corrected by the SPIFF algorithm. More specialized methods that model multiple particles with prior information might be used instead24. Herein, we deal with pixel locking error and SPIFF correction.

The tradeoff between tracking window size and misidentification is demonstrated in Fig. 1, where 1000 frames taken from an experimental video of the Ag nanoparticles were tracked using the Mosaic tracking software for ImageJ25, which uses nonlinear least squares Gaussian fitting for centroid determination. In Fig. 1 we used “circular” windows with radii R = 1, 2, 3  and 7 pixels (window size W is defined as W = 2R + 1). Row 1(a–d) in the figure shows representative images of the localization for each window size while row 1(e–h) shows the corresponding distributions of sub-pixel localizations in the meta-pixel. In addition, we counted the number of particles found for each window radius and calculated the percentage of frames in which 3 particles were identified to be 93%, 83%, 58% and 33%, respectively. The compression of the density toward the center of the meta-pixel in Fig. 1e,f is (a signature of) pixel locking error created by a small window; i.e., a Nyquist sampling error or bias20.

When a small window size is used, almost all the particles are identified and tracked in each frame, but the pixel locking error is pronounced and any metric obtained from the particle tracking (distance, angle, MSD etc.) will be biased. The errors are less pronounced for larger window sizes, but at the cost of misidentifying (and losing) particles. Taken ad absurdum, we reach the results shown in Fig. 1d,h; when the window is large enough to encompass all three particles, the tracking algorithm treats them as a single entity and the pixel locking error vanishes. However, the tracked “particle” clearly has little to do with the actual experimental results.

The magnification of the optical system directly determines the size of the particles on the detector (i.e. the number of in pixels it occupies on the detector) as it determines the effective pixel size of the system. Therefore, it could be assumed that increasing the magnification would allow for a smaller effective pixel and a larger image of the particle, which in turn allows one to increase the size of the tracking window and to circumvent the issue of pixel locking. However, increasing the magnification spreads the photons from the imaged object among more pixels, thereby reducing the signal-to-noise ratio (SNR) of the system. This is of particular concern in the case of photon-starved applications such as high frame rate videos or imaging of single fluorescent particles. An analysis of the behavior of our imaging system and SPIFF correction under different magnifications is given in section 2 of the Supporting Information, in which we compare the SNR of our optical system for different magnification values (60x, 90x, 150x, 225x). We find that the SNR of the system decreases with greater magnification. As a result, the accuracy of particle localization algorithms is reduced, despite the use of a larger tracking window and the avoidance of pixel locking. Therefore, we find that the combination of a larger effective pixel size (and higher SNR) with SPIFF correction gives more accurate localization results than a smaller effective pixel size with a lower SNR (see Figs S2S4). For the experiments presented here, magnification of 90x is suitable for imaging the scattered light from the Ag nanoparticle in accordance to the guidelines given in ref.26.

### Tracking Synthetic experimental data

Since it is impossible to know the “true” positions of the tracked particles in an optical trapping experiment of mobile particles, we simulated the results of such an experiment and applied the tracking algorithm to create a benchmark for the SPIFF correction efficacy. This was achieved by simulating frames of two silver particles at varying separations based on experimental videos (such as that described in22). We used typical background intensity and variation and particle intensity and size to create frames of synthetic data (images) that simulate the intensity distribution on the detector for given particle locations. The procedure for image synthesis is given in the Supporting Information. Representative examples of experimental and synthetic images of two 150 nm Ag particles are shown in Fig. 2a,b. Similar procedures have been used in the past to compare tracking algorithms15 and to assess tracking errors27.

Using this method, we synthesized images of nanoparticles at arbitrary separations and investigated the results of particle tracking. The procedure to create synthetic data was applied to a list of 104 positions in which the first particle was fixed at the center of pixel (0,0) while the second one was randomly positioned around (5,0) according to a normal distribution with standard deviations σ x  = 2 and σ y  = 1 pixels (see Supporting Information). For each frame, we tracked the positions of the particle using the Mosaic algorithm with window radii of R = 1 (essentially a Swiss cross shaped particle identification window), and 2. The tradeoff described earlier was inherent in this analysis as the Mosaic algorithm correctly identified two particles in 84% of all frames when we used a window with R = 1, compared to 79% of all frames with R = 2.

The pixel locking bias is evident in Fig. 2c, which shows the original distribution of particle 2 as well as the tracked positions for all frames where two particles were identified (neglecting cases where the particles were too close to be visually separated). As the tracking algorithm locks the particle location towards the center of a pixel, the distribution of particle positions changes from a Gaussian (blue dots) into sub-pixel regions on a two-dimensional lattice (red and pink sub-pixel size squares). It is evident from this figure that a smaller tracking window compresses the tracked distribution towards the center of the meta-pixel, as shown in Fig. 1. In addition, note the absence of pink dots in the areas where the interparticle separation was small. The fact that only red dots (R = 1) are observed for those small separations means that the algorithm only succeeds in identifying two particles for the smaller value of R.

We corrected the pixel locking bias using the SPIFF algorithm given by Eqn. (1). Figure 2d,e shows the interparticle angles and separations, two metrics commonly used in particle dynamics analysis, generated from the tracked and corrected localizations rate. As evident from Fig. 2d, the calculated interparticle separation is strongly affected by the bias caused by small window sizes due to a Nyquist sampling error. Since the tracked positions are locked to the centers of the pixels, the calculated Cartesian separation becomes discontinuous, evident as red spikes. The SPIFF corrected localizations, represented by the black distributions in the panels, alleviates the pixel locking error. The correction works better for larger separations than for smaller ones. One reason for this is that the intensity distributions overlap more strongly for small separations, thereby decreasing the accuracy of centroid determination20. Additionally, the dearth of points at smaller separations means that the correction obtained from solving Eqn. (1) underrepresents these points and is skewed. We discuss these issues in the Supporting Information.

The calculated interparticle angle, presented as the red distribution in Fig. 2e, shows another striking error. The angles around ± 5° are “forbidden” owing to the discontinuous nature of the pixel locked particle positions. These angular errors are corrected by applying the SPIFF algorithm to the tracked results; the correction is evident by comparing the blue and black distributions that represent the original and SPIFF-corrected interparticle angles, respectively. The improvement in the distribution of angles is better than for the distribution of separations because the SPIFF correction “fills in” all the discontinuities, thereby recovering values of angles that were missing in the original tracking distribution. By contrast, while the SPIFF correction improves the distribution of interparticle separations, it cannot recover instances when the particles are too close together and are not individually identified. Thus, most of the frames in which the interparticle separation is smaller than roughly 5 pixels (i.e. ~360 nm), are not identified, and are therefore unrepresented in the distribution in Fig. 2d. It is worth noting that while the metrics we analyze here are dependent on two particles being tracked, the SPIFF algorithm is not only applicable to experiments with two particles. Since the algorithm corrects the position of each tracked particle independently, it can improve the results obtained from experiments with any number of tracked particles. This is shown later in this paper for a single particle trajectory (such as in the case of MSD – see section Analysis of simulated particle trajectories) and for more than two particles (three particles, see  section SPIFF correction of experimental data).

### Analysis of simulated particle trajectories

Next, we analyze the results from a physically realistic simulation based on a combination of finite difference time domain (FDTD) electrodynamics simulation with Langevin dynamics (termed ED-LD). These particle trajectory data from ED-LD simulations allow analyzing the bias and SPIFF correction when the probability distribution of particle positions, $$P({\hat{X}}_{E}^{\text{'}}),$$ matches experimental results28. The ED-LD simulation data also allows exploring the MSD of a particle. We simulated the trajectories of two 150 nm diameter Ag particles trapped in a focused Gaussian beam linearly polarized along the x axis using methodology and parameters described previously28. We synthesized images of the particles at these simulated positions that were then tracked. The resultant trajectories consist of 3,200 frames with a time step of 0.5 μs. This time step is significantly smaller than what is obtainable by experimental means. However, it is useful as it allows us to gauge the behavior of the tracking algorithm and SPIFF correction when the particle displacement per frame is sub-pixel.

Figure 3 shows the trajectories of two electrodynamically interacting particles and the analysis of the effects of tracking and SPIFF correction (video given in Supporting Information). Figure 3b shows the original trajectory of the particle on the left (in red) as well as its tracked positions, which are the blue dots that are biased towards the pixel centers (i.e. the particle localizations are restricted to the centers of a few pixels). It is clear from the biased distribution that much information about the actual particle dynamics is lost. By contrast, the SPIFF-corrected trajectory (black) in Fig. 3b is a high-fidelity reconstruction of the original particle path. The fidelity of the SPIFF-corrected data is further demonstrated in Fig. 3c,d, which shows the RMS error, defined as the square root of the Cartesian difference between the particle’s true position and its tracked position, before (blue and red) or after (green and purple) SPIFF correction. Figure 3c shows the time evolution of this error throughout the first 150 frames of the simulation and Fig. 3d shows their associated probability densities over the entire simulation. The mean error for the tracked data (using the Mosaic program) are 0.3 and 0.19 pixels with standard deviations of 0.13 and 0.09 for windows of radius R = 1 or 2, respectively. After applying the SPIFF correction algorithm this was improved to 0.11 with a standard deviation of 0.05 pixels for both tracking window sizes (i.e. R = 1, 2).

The SPIFF correction algorithm allows more accurate measurement of physically significant properties such as the mean square displacement (MSD) of a particle, defined as:

$$MSD(\tau )=\overline{{(\vec{x}(t+\tau )-\vec{x}(\tau ))}^{2}},$$
(2)

where $$\vec{x}(\tau )$$is the position of a particle at a time $$\tau$$ and $$\vec{x}(t+\tau )$$ its position after time t. This measure is used to ascertain the nature of particle motion in conjunction with particle tracking algorithms for a wide range of fields including biophysics29 and fluid dynamics30 where the statistical mechanical properties of diffusing and driven particles are of interest. The strength of the SPIFF correction algorithm is evident in Fig. 3e, which shows that the error of the SPIFF corrected MSD is reduced by almost an order of magnitude relative to the tracked data, increasing the fidelity of the measured results to the original trajectory and dynamics. As has been shown in the past17,27, MSD calculations at short lag times are often susceptible to errors from causes such as particle streaking due to finite exposure time. It is worth noting that apparent super-diffusive behavior was reported in27 is in contrast to the apparent sub-diffusive behavior seen in Fig. 3e and in the work by Burov et al.20

Analysis of interparticle separation and angle are shown in Fig. 3f,g. Similar to Fig. 2, we observe significant errors, resulting from discontinuities in the probability distributions that are ameliorated by the SPIFF correction. The correction is better at larger interparticle separations (>5 pixels) than at smaller ones because, as explained previously, the tracking algorithm has difficulty identifying two particles at small separations, and the meta-pixel distribution is increasingly skewed from the pixel center as the separation decreases. This is evident in Fig. 3h, which shows the relationship between the true interparticle separation (black connected dots) and the separation calculated from both the tracked (red) and the SPIFF corrected data (black, using a window with R = 1). As shown in the panel, the error in the calculated separation is not constant but varies with true interparticle separation. This separation-dependent  error can be further used to improve the accuracy of interparticle separation calculations. A simple method to achieving this is by fitting the error curve shown in Fig. 3h to a cubic function and using the resulting fit as a second correction step to improve the SPIFF corrected interparticle separation. This idea is discussed in full in the Supporting Information and is shown to further improve the accuracy of the separation results, especially when the interparticle separation is small.

### SPIFF correction of experimental data

With these insights from simulated data, we applied the SPIFF correction algorithm to experimental data in which three Ag particles were trapped in a linearly polarized Gaussian trap. Due to the tightness of the trap and electromagnetic interactions between the particles, two particles were trapped in close (near-field) proximity near the center of the focused optical beam with a center–to-center separation of approximately 250 nm (~3–4 pixels), while the third particle was trapped close to the optical binding distance22,31,32 with a center-to-center separation of around 470 nm (~6–7 pixels). The particles were trapped using the same laser beam, and any fluctuations in the laser relative intensity33,34 or position due to changes in the laser or the optical setup35 might cause them to move in a correlated fashion. Regardless, this should not affect the particle tracking and SPIFF correction. We captured images at 1000FPS and analyzed 780 frames. Only frames where all three particles were identified were taken into consideration (see video S2). Figure 4 shows a representative frame from the video as well as the distributions of particle localizations obtained using the Mosaic program with an R = 1 window. The distribution of tracked particle positions exhibit significant pixel-locking.

Figure 4b,c shows the same errors that are apparent in our previous analyses of particles at small separations. The distribution of interparticle angles, θ 12 (magenta curve), exhibits a similar angular profile to those observed in the simulated data in Figs 2e and 3g. The omission of some angles for particles in close proximity is entirely the result of pixel-locking. The SPIFF correction recovers a continuous angular distribution as is appropriate for Brownian motion. The simulated errors are also observed for the interparticle distance d 12. Note that the distribution of errors in angle and separation are less prominent, and the SPIFF correction is milder, for particles with larger separations, such as d 13 (cyan curves). However, pixel-locking exists even for particle 3 as shown in Fig. 4a. Despite the relative short length of the time series, the SPIFF correction works well due to the fact that the meta-pixel is composed of the aggregated particle meta-pixel data from all three particles giving roughly 3000 data points. In the Supporting Information we analyze longer experimental videos, which allow for even denser meta-pixels, and compare the tracking results obtained from several widely used algorithms.

### Pixel locking errors and SPIFF correction of single molecule experiments

The determination of the positions and dynamics of single molecules has become an essential experimental method in biophysics and cell biology36,37. The small size, low to moderate SNR of the data (i.e. low counts and/or significant background noise) and potentially crowded nature of single molecule images can all result in tracking errors manifest as pixel-locking. We reviewed the data previously published by Lin et al.38 in which proteins were labeled with fluorophores and imaged as they traveled along flow-extended double-stranded DNA under several flow conditions. The MSD values reported in the paper were obtained from tracking video data using the Gaussian fitting method in DiaTrack 3.0 39 software suite.

We re-analyzed the reported particle trajectories and found pixel-locking in the trajectory data (Fig. 5a). Surprisingly, the SPIFF correction did not improve the results. We attribute this null result to the low frame rate (20FPS) and the associated large displacements of the single molecules in 50 msec. That is, the MSD values obtained (Fig. 5b) are at least two orders of magnitude larger than the pixel locking error (Fig. 5c).

To test this interpretation, we generated synthetic particle trajectories based on the transport properties given by Lin et al.38, used them to generate particle positions and images at higher frame rates (2000 FPS) and tracked them using Mosaic (see Supporting Information). Similar to the results for nanoparticles, we observe errors in the tracked trajectories and MSD values compared to the true (original) values. As can be seen from Fig. 5d–f these errors are reduced by SPIFF correction, and the improvement is greatest for a window with a radius of R = 1. The fact that the SPIFF correction did not reduce the MSD error in the original low frame rate video can be understood as the particle motion being undersampled for efficacious SPIFF correction; i.e. particle displacements between consecutive frames were far larger than the magnitude of the sub-pixel SPIFF corrections. This was confirmed when we reduced the frame rate of our synthesized data (see Supporting Information Figure S15 and section S7).

## Discussion and Conclusions

We have demonstrated the pixel-locking error that is inherent to tracking of nanoscale objects such as nanoparticles, quantum dots and fluorescent single molecules. We showed that this error can be corrected using the SPIFF algorithm, resulting in a marked improvement in the fidelity of the calculated results to the true values. Since the imaging and tracking of nanoscale objects is commonplace in contemporary research, the present work makes clear the ubiquity of tracking errors that can be particularly insidious for such localization studies. The construction of the meta-pixel SPIFF distribution and correction presents a general and straightforward way to identify and correct such errors.

Placed in a broader perspective, SPIFF correction of particle tracking errors is especially valuable when the Nyqiust sampling condition is compromised in both time and space in the experimental data. The SPIFF correction significantly improves the measurement (localization) accuracy when  the tracked particles are small (or when the image is crowded) and the sampling rate is sufficiently large that particle displacement between frames is sub-pixel. Greater magnification cannot simply solve the issue given the diffraction limit and Rayleigh resolution criterion and the tradeoff between precision and accuracy that occurs when spreading a photon-limited source over more pixels (see SI Figures S2S4). If the data is compromised only in space (i.e. the particles are small or the image  is crowded but the particle motion is not sub-pixel), then the SPIFF algorithm will improve the accuracy of spatial metrics such as interparticle separation or interparticle angle, but will not change the accuracy of time dependent measures such as MSD. This was shown in Fig. 5b,c, where the mean displacement of the fluorescent protein was larger than a single pixel and as a result, the sub-pixel enhancement given by the SPIFF algorithm did not significantly improve the MSD. Finally, if the image data is compromised only in time, i.e. the particles are large or well separated, but the frame rate is insufficient to capture sub-pixel dynamics, then the SPIFF algorithm cannot offer any further improvement to the measured accuracy in neither space nor time since there is no pixel-locking to correct (see SI Figure S15).

Therefore, the importance of this analysis and SPIFF correction will grow as researchers continue to improve the resolution and rate of imaging techniques40,41,42,43 and demand greater accuracy.

Publisher's note: Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

## References

1. 1.

Dragovic, R. A. et al. Sizing and phenotyping of cellular vesicles using Nanoparticle Tracking Analysis. Nanomedicine Nanotechnology, Biol. Med. 7, 780–788 (2011).

2. 2.

Weeks, E. R. Three-Dimensional Direct Imaging of Structural Relaxation Near the Colloidal Glass Transition. Science 287, 627–631 (2000).

3. 3.

Wang, J., Chen-Wiegart, Y. K. & Wang, J. In operando tracking phase transformation evolution of lithium iron phosphate with hard X-ray microscopy. Nat. Commun. 5, 1–10 (2014).

4. 4.

Jiang, J., Zhang, G., Wei, X. & Li, X. Rapid star tracking algorithm for star sensor. IEEE Aerosp. Electron. Syst. Mag. 24, 23–33 (2009).

5. 5.

Chung, K., Crane, M. M. & Lu, H. Automated on-chip rapid microscopy, phenotyping and sorting of C. elegans. Nat. Methods 5, 637–643 (2008).

6. 6.

Rust, M. J., Bates, M. & Zhuang, X. STORM. Nat Meth 3, 793–796 (2006).

7. 7.

Willig, K. I., Rizzoli, S. O., Westphal, V., Jahn, R. & Hell, S. W. STED microscopy reveals that synaptotagmin remains clustered after synaptic vesicle exocytosis. Nature 440, 935–939 (2006).

8. 8.

Betzig, E. et al. Imaging intracellular fluorescent proteins at nanometer resolution. Science 313, 1642–5 (2006).

9. 9.

Small, A. R. & Parthasarathy, R. Superresolution Localization Methods. Annu. Rev. Phys. Chem. 65, 107–125 (2014).

10. 10.

Crocker, J. & Grier, D. G. Methods of Digital Video Microscopy for Colloidal Studies. J. Colloid Interface Sci. 179, 298–310 (1996).

11. 11.

Parthasarathy, R. Rapid, accurate particle tracking by calculation of radial symmetry centers. Nat. Methods 9, 724–726 (2012).

12. 12.

Yildiz, A., Tomishige, M., Vale, R. D. & Selvin, P. R. Kinesin walks hand-over-hand. Science 303, 676–8 (2004).

13. 13.

Qu, X., Wu, D., Mets, L. & Scherer, N. F. Nanometer-localized multiple single-molecule fluorescence microscopy. Proc. Natl. Acad. Sci. USA 101, 11298–303 (2004).

14. 14.

Chenouard, N. et al. Objective comparison of particle tracking methods. Nat. Methods 11, 281–9 (2014).

15. 15.

Cheezum, M. K., Walker, W. F. & Guilford, W. H. Quantitative Comparison of Algorithms for Tracking Single Fluorescent Particles. Biophys. J. 81, 2378–2388 (2001).

16. 16.

Meijering, E., Dzyubachyk, O. & Smal, I. In Methods in Enzymology 504, 183–200 (2012).

17. 17.

Crocker, J. C. & Hoffman, B. D. M.-P. Tracking and Two-Point Microrheology in Cells. Methods in Cell Biology 83, 141–178 (2007).

18. 18.

Feng, Y., Goree, J. & Liu, B. Accurate particle position measurement from images. Rev. Sci. Instrum. 78 (2007).

19. 19.

Gao, Y. & Kilfoil, M. L. Accurate detection and complete tracking of large populations of features in three dimensions. Opt. Express 17, 4685 (2009).

20. 20.

Burov, S. et al. Single-pixel interior filling function approach for detecting and correcting errors in particle tracking. Proc. Natl. Acad. Sci. 201619104, doi:10.1073/pnas.1619104114 (2016).

21. 21.

Grier, D. G. A revolution in optical manipulation. Nature 424, 810–816 (2003).

22. 22.

Yan, Z., Gray, S. K. & Scherer, N. F. Potential energy surfaces and reaction pathways for light-mediated self-organization of metal nanoparticle clusters. Nat. Commun. 5, 3751 (2014).

23. 23.

Schwarzkopf, A., Sapiro, R. E. & Raithel, G. Imaging spatial correlations of Rydberg excitations in cold atom clouds. Phys. Rev. Lett. 107 (2011).

24. 24.

van der Wel, C. & Kraft, D. J. Automated tracking of colloidal clusters with sub-pixel accuracy and precision. J. Phys. Condens. Mat. 29, 44001 (2017).

25. 25.

Sbalzarini, I. F. & Koumoutsakos, P. Feature point tracking and trajectory analysis for video imaging in cell biology. J. Struct. Biol. 151, 182–195 (2005).

26. 26.

Pawley, J. B. In Handbook of biological confocal microscopy 59–79 (Springer, 2006).

27. 27.

Savin, T. & Doyle, P. S. Static and dynamic errors in particle tracking microrheology. Biophys. J. 88, 623–638 (2005).

28. 28.

Sule, N. et al. An electrodynamics-Langevin dynamics(ED-LD) approach to simulate metal nanoparticle interactions and motion. Opt. Express 23, 29978 (2015).

29. 29.

Jin, H., Heller, D. A. & Strano, M. S. Single-particle tracking of endocytosis and exocytosis of single-walled carbon nanotubes in NIH-3T3 cells. Nano Lett. 8, 1577–1585 (2008).

30. 30.

Adrian, R. J. Twenty years of particle image velocimetry. in Experiments in Fluids 39, 159–169 (Springer-Verlag, 2005).

31. 31.

Dholakia, K. & Zemánek, P. Colloquium: Gripped by light: Optical binding. Rev. Mod. Phys. 82, 1767–1791 (2010).

32. 32.

Yan, Z. et al. Guiding spatial arrangements of silver nanoparticles by optical binding interactions in shaped light fields. ACS Nano 7, 1790–1802 (2013).

33. 33.

Kuksenkov, D. V., Temkin, H. & Swirhun, S. Polarization instability and relative intensity noise in vertical-cavity surface-emitting lasers. Appl. Phys. Lett. 67, 2141–2143 (1995).

34. 34.

Yifat, Y. & Scheuer, J. Dynamical Slowing and trapping of light in coupled semiconductor laser arrays. Opt. Express 17, 17530–5 (2009).

35. 35.

Persson, M. et al. Minimizing intensity fluctuations in dynamic holographic optical tweezers by restricted phase change. Opt. Express 18, 11250–11263 (2010).

36. 36.

Jaqaman, K. et al. Robust single-particle tracking in live-cell time-lapse sequences. Nat. Methods 5, 695–702 (2008).

37. 37.

Wirtz, D. Particle-tracking microrheology of living cells: principles and applications. Annu. Rev. Biophys. 38, 301–26 (2009).

38. 38.

Lin, Y. et al. Using the bias from flow to elucidate single DNA repair protein sliding and interactions with DNA. Biophys. J. 96, 1911–1917 (2009).

39. 39.

Vallotton, P. & Olivier, S. Tri-track: Free Software for Large-Scale Particle Tracking. Microsc. Microanal. 19, 451–460 (2013).

40. 40.

Pertsinidis, A., Zhang, Y. & Chu, S. Subnanometre single-molecule localization, registration and distance measurements. Nature 466, 647–651 (2010).

41. 41.

Small, A. & Stahlheber, S. Fluorophore localization algorithms for super-resolution microscopy. Nat. Methods 11, 267–79 (2014).

42. 42.

Göttfert, F. et al. Strong signal increase in STED fluorescence microscopy by imaging regions of subdiffraction extent. Proc. Natl. Acad. Sci. 114, 2125–2130 (2017).

43. 43.

Balzarotti, F. et al. Nanometer resolution imaging and tracking of fluorescent molecules with minimal photon fluxes. Science 355, 606–612 (2017).

## Acknowledgements

We thank Prof. Aaron Dinner for stimulating comments. The authors would like to acknowledge support from the Vannevar Bush Faculty Fellowship program sponsored by the Basic Research Office of the Assistant Secretary of Defense for Research and Engineering and funded by the Office of Naval Research through grant N00014-16-1-2502. The ED-LD simulations were performed at the Center for Nanoscale Materials, a U.S. Department of Energy Office of Science, User Facility under Contract No. DE-AC02-06CH11357.

## Author information

### Affiliations

1. #### James Franck Institute, The University of Chicago, Chicago Il, 60637, USA

• Yuval Yifat
• , Nishant Sule
•  & Norbert F. Scherer
2. #### Department of Chemistry, The University of Chicago, Chicago Il, 60637, USA

• Norbert F. Scherer

• Yihan Lin

### Contributions

N.F.S. and Y.Y. designed the study. Y.Y. developed the procedures for SPIFF correction and for frame synthesis and used them to create and analyze the data. N.S. developed the ED-LD simulations and provided the trapped particle trajectories. Y.L. performed the single fluorescent molecule experiments and provided the data for further tracking analysis. Y.Y. and N.F.S. wrote the paper, all the authors reviewed and approved the final manuscript.

### Competing Interests

The authors declare that they have no competing interests.

### Corresponding author

Correspondence to Norbert F. Scherer.

## Electronic supplementary material

### DOI

https://doi.org/10.1038/s41598-017-14166-6

• ### Reactive optical matter: light-induced motility in electrodynamically asymmetric nanoscale scatterers

• Yuval Yifat
• , Delphine Coursault
• , Curtis W. Peterson
• , John Parker
• , Ying Bao
• , Stephen K. Gray
• , Stuart A. Rice
•  & Norbert F. Scherer

Light: Science & Applications (2018)