How oakeslab/aft-alignment_by_fourier_transform works
AFT quantifies fibrillar alignment in biological images, with Python and MATLAB implementations. The principal workflow is image input, local Fourier-based orientation estimation, visualization of angle/eccentricity fields, and order-parameter quantification; parameter search helps select analysis scales and compare samples. The Python source excerpt confirms the local computation and order calculation, while the MATLAB modules and notebook workflows are represented from their names and repository documentation; their internal connections are not verified here.
Main entry points: AFT_tools.py Window analysis · AFT_parameter_search_main.m MATLAB search · AFT_function.m Alignment analysis · AFT_SingleImage.ipynb Single image
Components 19
Python analysis
- Single image
Python_implementation/AFT_SingleImage.ipynb - Image stack
Python_implementation/AFT_ImageStack.ipynb - Window analysis
Python_implementation/AFT_tools.py - Periodic decomposition
Python_implementation/AFT_tools.py - FFT magnitude
Python_implementation/AFT_tools.py - Orientation moments
Python_implementation/AFT_tools.py - Alignment maps
Python_implementation/AFT_tools.py - Order parameter
Python_implementation/AFT_tools.py
MATLAB analysis
- Input handling
MATLAB_implementation/user_input.m - Batch workflow
MATLAB_implementation/AFT_batch.m - Alignment analysis
MATLAB_implementation/AFT_function.m - Angle maps
MATLAB_implementation/AFT_anglemat.m - Order maps
MATLAB_implementation/AFT_ordermat.m
Scale selection
- Parameter search
Python_implementation/AFT_Parameter_Search.ipynb - MATLAB search
MATLAB_implementation/parameter_search/AFT_parameter_search_main.m - Search batches
MATLAB_implementation/parameter_search/AFT_batch_parameter_search.m - Periodic decomposition
MATLAB_implementation/parameter_search/periodic_decomposition.m - Search plots
MATLAB_implementation/parameter_search/plot_order_decay.m
Other components
- Image analyst
Connections 19
- Image analyst → Single image: analyzes image
- Image analyst → Image stack: analyzes stack
- Image analyst → Parameter search: selects scales
- Single image → Window analysis: runs analysis
- Image stack → Window analysis: runs analysis
- Window analysis → Periodic decomposition: decomposes windows
Python_implementation/AFT_tools.py - Window analysis → FFT magnitude: computes magnitude
Python_implementation/AFT_tools.py - Window analysis → Orientation moments: estimates orientation
Python_implementation/AFT_tools.py - Window analysis → Alignment maps: produces fields
Python_implementation/AFT_tools.py - Window analysis → Order parameter: calculates order
Python_implementation/AFT_tools.py - Image analyst → Input handling: provides images
- Input handling → Batch workflow: passes inputs
- Batch workflow → Alignment analysis: runs analysis
- Alignment analysis → Angle maps: produces angles
- Alignment analysis → Order maps: produces order
- Image analyst → MATLAB search: selects scales
- MATLAB search → Search batches: searches batches
- MATLAB search → Periodic decomposition: decomposes images
- MATLAB search → Search plots: plots decay