The adaptive-additive algorithm was originally created to reconstruct the spatial frequency phase of light intensity in the study of stellar interferometry. Since then, the AA algorithm has been adapted to work in the fields of Fourier Optics by Soifer and Dr. Hill, soft matter and optical tweezers by Dr. Grier, and sound synthesis by Robel.
1. Define input amplitude and random phase
2. Forward Fourier Transform
3. Separate transformed amplitude and phase
4. Compare transformed amplitude/intensity to desired output amplitude/intensity
5. Check convergence conditions
6. Mix transformed amplitude with desired output amplitude and combine with transformed phase
7. Inverse Fourier Transform
8. Separate new amplitude and new phase
9. Combine new phase with original input amplitude
10. Loop back to Forward Fourier Transform
For the problem of reconstructing the spatial frequency phase (k-space) for a desired intensity in the image plane (x-space). Assume the amplitude and the starting phase of the wave in k-space is a and respectively. Fourier transform the wave in k-space to x space.
Then compare the transformed intensity with the desired intensity , where
Check against the convergence requirements. If the requirements are not met then mix the transformed amplitude with desired amplitude .
where a is mixing ratio and
Note that a is a percentage, defined on the interval 0 ≤ a'' ≤ 1.
Combine mixed amplitude with the x-space phase and inverse Fourier transform.
Separate and and combine with . Increase loop by one and repeat.