coldftreg
This source code is a column-based version of DFT registration. It aligns every column of a matrix X to a reference vector V.
The amount of shift estimated between X and V and be used to align another matrix Y as well. Please run demo.m to see an example.
It is useful in applications like Optical Coherence Tomography where there is sweep-to-sweep variation of the signals (columns of X) due to laser instability.
Version history:
- v1.0: first implementation.
- v2.0: support the case where length(V) < size(X, 1). Add mean subtraction to improve stability. Handle a corner case where the number of rows in X and Y is odd.
Please report bugs with this code to thnguyn@mit.edu.
Cite As
Tan Nguyen (2026). coldftreg (https://uk.mathworks.com/matlabcentral/fileexchange/69818-coldftreg), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Image Processing and Computer Vision > Image Processing Toolbox > Geometric Transformation and Image Registration >
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.