Nonlinear Drift Correction from Scanning Probe Microscopy (SPM) Orthogonal Image Pairs

Correct nonlinear drift distortions in scanning probe images.
501 Downloads
Updated 26 Feb 2016

View License

This collection of scripts is intended to correct nonlinear drift distortions in images recorded using any scanning probe microscopy technique (where there is a slow and a fast scan direction). It uses a minimum of two images, with scan directions as close to 90 degrees apart as possible. The first script initializes the data structure, the second performs drift correction and the third generates high quality output images using kernel density estimation. A preprint describing the method can be found here: http://arxiv.org/abs/1507.00320 . The peer-reviewed manuscript can be found here: http://dx.doi.org/10.1016/j.ultramic.2015.12.002 .

Cite As

Colin Ophus (2024). Nonlinear Drift Correction from Scanning Probe Microscopy (SPM) Orthogonal Image Pairs (https://www.mathworks.com/matlabcentral/fileexchange/51941-nonlinear-drift-correction-from-scanning-probe-microscopy-spm-orthogonal-image-pairs), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.1.0.0

Fixed link to Ultramicroscopy paper.
Very minor plotting bug fix
-Numerous small bug fixes.
-Most important one is to the standard deviation of the kernel density estimator for the moving average applied to scanline origins, behaviour should be more sensible now.
-Removed dependence on "hanning" function.

1.0.0.0

Add image to description.

Added link to paper.
Fix preview image in description.