This package provides a set of tools for 3-D localisation of single particles in brightfield and fluorescent microscopy using local gradients. The package is provided in LabVIEW, Matlab and Python and have been tested to provide the same result (within the rounding errors). Please, note that the calculated position of the particle in xy is defined accourding to the array indexing convenience in the specific language (i.e. the position from LabVIEW will be 1 pixel smaller than the result from Matlab for the same image)
For the usage of the package please see the examples provided for each language. Examples were preset to run the images in test_images folder
The easiest way to calculate the position of the particle is from xyz_express.m and xyz_fluor_express.m (for brightfield and fluorescent images correspondingly). For more efficient calculations see examples.
Matlab (tested for 2019b)
Image Processing Toolbox
The easiest way to calculate the position of the particle is from SubVI/xyz-express.vi and SubVI/xyz-fluor_express.vi (for brightfield and fluorescent images correspondingly). For more efficient calculations see examples.
Labview 2015 SP1 or newer (tested on 2015 SP1 only)
Vision Acquisition Software 2016 (for example file only)
local_gradient_math.py contains all the necessary methods for particle localization.
If you use this package, please, cite us as:
Kashchuk, Anatolii V., Oleksandr Perederiy, Chiara Caldini, Lucia Gardini, Francesco Saverio Pavone, Anatoliy M. Negriyko, and Marco Capitanio. “Particle localization using local gradients and its application to nanometer stabilization of a microscope.” Preprint. Biophysics, November 12, 2021. https://doi.org/10.1101/2021.11.11.468294.
Kashchuk, Anatolii V., et al. Particle Localization Using Local Gradients and Its Application to Nanometer Stabilization of a Microscope. Cold Spring Harbor Laboratory, Nov. 2021, doi:10.1101/2021.11.11.468294.
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!